:root {
  --ivory: #fbf7ee;
  --ivory-deep: #f0e6d4;
  --champagne: #d8b78a;
  --champagne-deep: #b8925a;
  --coral: #e9a394;
  --coral-deep: #c97868;
  --pale-blue: #c8dce8;
  --sea: #8eb4c4;
  --sunlight: #ffe8b0;
  --ink: #2c2a26;
  --ink-soft: #5c574e;
  --nacre: rgba(255, 252, 246, 0.78);
  --nacre-strong: rgba(255, 250, 242, 0.94);
  --line: rgba(184, 146, 90, 0.3);
  --shadow: 0 20px 48px rgba(86, 64, 36, 0.1);
  --radius: 20px;
  --font-display: "Saira Condensed", "Avenir Next Condensed", "Segoe UI", sans-serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1100px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(255, 232, 176, 0.55), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, rgba(200, 220, 232, 0.5), transparent 52%),
    radial-gradient(700px 400px at 50% 100%, rgba(233, 163, 148, 0.18), transparent 55%),
    linear-gradient(180deg, #fffaf0 0%, var(--ivory) 40%, #eef4f8 100%);
  min-height: 100vh;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--champagne-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.55em;
  text-transform: none;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.78));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fff9ef 0%, var(--champagne) 42%, var(--pale-blue) 100%);
  box-shadow: 0 0 0 4px rgba(216, 183, 138, 0.22);
  animation: pearl-glow 4.5s ease-in-out infinite;
}

@keyframes pearl-glow {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(216, 183, 138, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(200, 220, 232, 0.35);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--nacre-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-1.5%);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(44, 42, 38, 0.18) 0%, rgba(44, 42, 38, 0.08) 35%, rgba(251, 247, 238, 0.55) 72%, var(--ivory) 100%),
    radial-gradient(600px 280px at 70% 30%, rgba(255, 232, 176, 0.35), transparent 70%);
}

.hero-panel {
  padding: 4.5rem 0 3.5rem;
  max-width: 34rem;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.92;
  margin: 0 0 0.85rem;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: rise-in 0.9s ease both;
}

.hero-line {
  width: 4.5rem;
  height: 2px;
  margin: 0 0 1.1rem;
  border: 0;
  background: linear-gradient(90deg, var(--champagne-deep), var(--coral), var(--pale-blue));
  animation: rise-in 1s ease 0.1s both;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
  animation: rise-in 1.05s ease 0.15s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(145deg, #fff4df 0%, var(--champagne) 45%, var(--coral) 100%);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(86, 64, 36, 0.16);
  color: var(--ink);
}

.btn:hover::before {
  animation: pearl-ripple 1.1s ease-out;
}

.btn:hover::after {
  animation: pearl-ripple 1.1s ease-out 0.15s;
}

@keyframes pearl-ripple {
  0% {
    opacity: 0.7;
    width: 8px;
    height: 8px;
  }
  100% {
    opacity: 0;
    width: 120px;
    height: 120px;
  }
}

.btn-ghost {
  background: var(--nacre-strong);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section {
  padding: 4.25rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.surface {
  background: var(--nacre);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.media-panel {
  overflow: hidden;
  padding: 0;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  padding: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 146, 90, 0.55);
  color: inherit;
}

.service-row img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
}

.service-row h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.service-row p {
  margin: 0;
  font-size: 0.95rem;
}

.service-meta {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--champagne-deep);
  white-space: nowrap;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quote {
  padding: 1.35rem;
  margin: 0;
}

.quote p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem;
}

.page-hero {
  padding: 3.2rem 0 1.2rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.page-hero p {
  max-width: 38rem;
}

.prose {
  max-width: 44rem;
}

.prose.legal h2 {
  margin-top: 1.8rem;
  font-size: 1.45rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.offer-card,
.platform-card,
.post-card {
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}

.offer-card:hover,
.platform-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  color: inherit;
}

.offer-card img,
.post-card img,
.detail-hero img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offer-card .body,
.platform-card .body,
.post-card .body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.platform-card {
  padding: 1.25rem 1.35rem 1.45rem;
}

.platform-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.detail-hero {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.detail-hero img {
  height: min(420px, 55vw);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.includes {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.includes li {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.7);
  border: 1px solid var(--line);
}

.form-shell {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  min-height: 1.1em;
  margin: 0;
}

.form-status {
  margin-top: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.form-status.is-success {
  background: rgba(200, 220, 232, 0.55);
  color: var(--ink);
}

.form-status.is-error {
  background: rgba(233, 163, 148, 0.35);
  color: var(--ink);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(200, 220, 232, 0.22));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3 {
  font-size: 1.2rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--nacre-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .split,
  .quote-grid,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row img {
    width: 100%;
    height: 160px;
  }

  .service-meta {
    white-space: normal;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 1.2rem 1rem;
    background: var(--nacre-strong);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.7rem 0;
  }

  .hero {
    min-height: 78vh;
  }
}
