/* ============================================================= */
/*  Villa Brasini 489 — Landing Destination Weddings             */
/*  Palette: avorio/crema · carbone · oro · serif elegante       */
/* ============================================================= */

:root {
  --ivory:      #f7f3ec;
  --cream:      #efe7d8;
  --cream-dark: #e6dcc8;
  --ink:        #1c1916;
  --ink-soft:   #3a342e;
  --charcoal:   #211d19;
  --charcoal-2: #2b2621;
  --gold:       #b8995a;
  --gold-light: #cdb277;
  --gold-deep:  #9a7d44;
  --muted:      #6f675c;
  --line:       rgba(28,25,22,.12);
  --line-light: rgba(247,243,236,.16);
  --white:      #ffffff;

  --maxw: 1180px;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(28,25,22,.10);
  --shadow-soft: 0 8px 28px rgba(28,25,22,.08);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: .2px;
}

h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.55rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

.center { text-align: center; }
.mt-l { margin-top: 2.8rem; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.eyebrow-light { color: var(--gold-light); }

.lead { font-size: 1.22rem; color: var(--ink-soft); }
.lead-light { color: rgba(247,243,236,.82); }

.stars { color: var(--gold); letter-spacing: 2px; }

/* ============================================================= */
/*  Buttons                                                      */
/* ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .95rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: .7rem 1.3rem; font-size: .72rem; }
.btn-lg { padding: 1.1rem 2.4rem; font-size: .84rem; }

.btn-solid { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #25D366; color: #fff; transition: transform .3s var(--ease);
}
.btn-icon:hover { transform: scale(1.08); }

/* ============================================================= */
/*  0 · Header                                                   */
/* ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: .55rem 0;
}
.site-header.scrolled {
  background: rgba(247,243,236,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(28,25,22,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ivory); transition: color .4s; }
.site-header.scrolled .logo,
.logo-footer { color: var(--ink); }
.logo-villa { font-family: var(--sans); font-weight: 500; letter-spacing: .42em; font-size: .68rem; }
.logo-name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; font-weight: 500; margin-top: 2px; }

.nav-desktop { display: flex; gap: 2.2rem; }
.nav-desktop a {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--ivory); position: relative; padding: .3rem 0; transition: color .3s;
}
.site-header.scrolled .nav-desktop a { color: var(--ink-soft); }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-desktop a:hover { color: var(--gold); }
.nav-desktop a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 1rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ivory); transition: all .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: .2rem;
  background: var(--ivory); padding: 1rem 6% 1.6rem;
  box-shadow: var(--shadow);
}
.nav-mobile a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-mobile a.btn { margin-top: 1rem; border: 0; color: #fff; }
.nav-mobile.open { display: flex; }

/* ============================================================= */
/*  Media slots (placeholder system)                             */
/* ============================================================= */
.media-slot {
  position: relative;
  background:
    repeating-linear-gradient(45deg, var(--cream) 0 14px, var(--cream-dark) 14px 28px);
  overflow: hidden;
  border-radius: var(--radius);
}
/* etichetta del nome file finché la foto non c'è */
.media-slot:not(.is-loaded)::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem 1.2rem;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500;
  background: rgba(247,243,236,.55);
}
.media-slot:not(.is-loaded)::after {
  content: "IMG"; position: absolute; top: 12px; left: 12px;
  font-size: .58rem; letter-spacing: .2em; color: #fff; background: var(--gold);
  padding: 3px 8px; border-radius: 2px; opacity: .9;
}
.media-slot img, .media-slot video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.media-slot.is-loaded { background: var(--cream-dark); }

/* slot opzionali: nascosti finché il file non esiste */
.media-slot.is-optional:not(.is-loaded) { display: none; }

/* ratios */
.ratio-portrait { aspect-ratio: 4/5; }
.ratio-step     { aspect-ratio: 4/3; }
.ratio-space    { aspect-ratio: 3/2; }
.ratio-gallery  { aspect-ratio: 1/1; }
.ratio-video    { aspect-ratio: 16/9; }

/* ============================================================= */
/*  1 · Hero                                                     */
/* ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--ivory);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.hero-media:not(.is-loaded)::before { background: rgba(33,29,25,.6); color: var(--gold-light); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.25) 38%, rgba(20,17,14,.72) 100%);
}
.hero-content { padding: 9rem 0 7rem; max-width: 880px; }
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500; line-height: 1.06;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  margin-bottom: 1.6rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  max-width: 640px; color: rgba(255,255,255,.92); font-weight: 300;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero-trust { font-size: .9rem; letter-spacing: .04em; color: rgba(255,255,255,.9); }
.hero-trust strong { color: #fff; font-weight: 500; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 100%{opacity:0;transform:translateY(14px)} }

/* ============================================================= */
/*  2 · Trust strip                                              */
/* ============================================================= */
.trust-strip { background: var(--ink); color: var(--ivory); padding: 1.4rem 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1.4rem; font-size: .86rem; letter-spacing: .04em;
}
.trust-item { display: inline-flex; align-items: center; gap: .5rem; color: rgba(247,243,236,.8); }
.trust-item strong { color: var(--ivory); font-weight: 500; }
.trust-sep { width: 1px; height: 18px; background: var(--line-light); }
.logos-slot { height: 60px; margin-top: 1.2rem; background: transparent; }

/* ============================================================= */
/*  Sections base                                                */
/* ============================================================= */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section.dark { background: var(--charcoal); color: var(--ivory); }
.section.dark h2 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3.5rem; }
.section-head.center { text-align: center; }
.section-head .lead { margin-top: 1.4rem; }

/* split layout (perché / investimento) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-text h2 { margin-bottom: 1.4rem; }
.split-media .media-slot { box-shadow: var(--shadow); }
.why { background: var(--ivory); }

/* ============================================================= */
/*  4 · Steps                                                    */
/* ============================================================= */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step-card {
  background: var(--charcoal-2); border: 1px solid var(--line-light);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.step-card .media-slot { border-radius: 0; }
.step-num {
  display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: 1.4rem; color: var(--gold-light); margin: 1.4rem 1.5rem 0;
}
.step-card h3 { color: #fff; font-size: 1.3rem; margin: .5rem 1.5rem .6rem; }
.step-card p { margin: 0 1.5rem 1.7rem; font-size: .95rem; color: rgba(247,243,236,.75); }

/* ============================================================= */
/*  5 · Spaces                                                   */
/* ============================================================= */
.spaces-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.space-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s;
}
.space-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.space-card .media-slot { border-radius: 0; }
.space-body { padding: 1.8rem 2rem 2.1rem; }
.space-body h3 { margin-bottom: .6rem; position: relative; padding-bottom: .9rem; }
.space-body h3::after { content:""; position:absolute; left:0; bottom:0; width:44px; height:2px; background: var(--gold); }
.space-body p { margin: 0; color: var(--muted); }

/* ============================================================= */
/*  6 · Real weddings                                            */
/* ============================================================= */
.video-wrap { max-width: 980px; margin: 0 auto 2.5rem; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery .media-slot { border-radius: var(--radius); }

/* ============================================================= */
/*  7 · Services                                                 */
/* ============================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.service-card { background: var(--charcoal); padding: 2.4rem 2rem; transition: background .4s var(--ease); }
.service-card:hover { background: var(--charcoal-2); }
.service-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); }
.service-card h3 { color: #fff; font-size: 1.25rem; margin: .6rem 0 .7rem; }
.service-card p { margin: 0; color: rgba(247,243,236,.72); font-size: .95rem; }
.servizi-slot { aspect-ratio: 21/9; margin-top: 2.5rem; }

/* ============================================================= */
/*  8 · Investment                                               */
/* ============================================================= */
.investment { background: var(--cream); }
.price-anchor {
  font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-weight: 600;
}
.price-anchor[data-placeholder] {
  background: rgba(184,153,90,.14); padding: 0 .35em; border-radius: 2px;
  border-bottom: 1px dashed var(--gold);
}

/* ============================================================= */
/*  9 · Testimonials                                             */
/* ============================================================= */
.testimonials { background: var(--ivory); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testi-card {
  background: var(--white); border-radius: var(--radius); padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-soft); margin: 0;
  display: flex; flex-direction: column;
}
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 1.1rem; }
.testi-card blockquote {
  margin: 0 0 1.6rem; font-family: var(--serif); font-size: 1.32rem; line-height: 1.5;
  color: var(--ink); font-style: italic; flex: 1;
}
.testi-card figcaption { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.testi-avatar { width: 54px; height: 54px; border-radius: 50%; flex: 0 0 54px; }
.testi-avatar.is-avatar:not(.is-loaded)::before { font-size: .52rem; padding: .2rem; letter-spacing: .04em; }
.testi-avatar.is-avatar:not(.is-loaded)::after { display: none; }
.testi-meta { display: flex; flex-direction: column; line-height: 1.3; }
.testi-meta strong { font-weight: 500; color: var(--ink); }
.testi-meta span { font-size: .82rem; color: var(--muted); }

/* ============================================================= */
/*  10 · FAQ                                                     */
/* ============================================================= */
.faq { background: var(--white); }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 500;
  transition: color .3s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--gold);
  transition: transform .3s var(--ease);
}
.acc-item[open] summary { color: var(--gold-deep); }
.acc-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-item summary:hover { color: var(--gold-deep); }
.acc-body { padding: 0 3rem 1.6rem 0; }
.acc-body p { margin: 0; color: var(--muted); }

/* ============================================================= */
/*  11 · Final CTA + form                                        */
/* ============================================================= */
.final-cta { position: relative; color: var(--ivory); isolation: isolate; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.final-bg { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.final-bg:not(.is-loaded)::before { background: rgba(33,29,25,.65); color: var(--gold-light); }
.final-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(20,17,14,.85), rgba(20,17,14,.62)); }
.final-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.final-text h2 { color: #fff; margin-bottom: 1.4rem; }

.lead-form {
  background: rgba(247,243,236,.97); color: var(--ink);
  padding: 2.6rem; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; font-weight: 500; }
.field .req { color: var(--gold-deep); }
.field .opt { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 300; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,153,90,.16);
}
.phone-group { display: flex; gap: .5rem; }
.phone-group select { flex: 0 0 auto; width: 108px; padding-right: .5rem; }
.phone-group input { flex: 1 1 auto; min-width: 0; }
.field-check .check { flex-direction: row; align-items: flex-start; gap: .6rem; font-size: .86rem; text-transform: none; letter-spacing: 0; color: var(--muted); cursor: pointer; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; }
.form-feedback { grid-column: 1/-1; margin: 0; font-size: .9rem; color: var(--gold-deep); }
.form-feedback.error { color: #b3261e; }

/* ============================================================= */
/*  12 · Footer                                                  */
/* ============================================================= */
.site-footer { background: var(--ink); color: rgba(247,243,236,.72); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.footer-brand p { max-width: 380px; margin-top: 1.2rem; font-size: .95rem; }
.logo-footer .logo-villa, .logo-footer .logo-name { color: var(--ivory); }
.footer-col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col p { font-size: .95rem; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); font-size: .82rem; color: rgba(247,243,236,.5); }
.footer-bottom p { margin: 0; }

/* ============================================================= */
/*  WhatsApp fisso (mobile)                                      */
/* ============================================================= */
.wa-fixed {
  display: none;
  position: fixed; bottom: 18px; right: 18px; z-index: 90;
  background: #25D366; color: #fff;
  align-items: center; gap: .5rem;
  padding: .85rem 1.2rem; border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font-size: .85rem; font-weight: 500; letter-spacing: .06em;
}
.wa-fixed svg { flex: 0 0 26px; }

/* ============================================================= */
/*  Reveal on scroll                                             */
/* ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================= */
/*  Responsive                                                   */
/* ============================================================= */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header { padding: .5rem 0; background: rgba(247,243,236,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
  .site-header .logo, .site-header .nav-toggle span { color: var(--ink); }
  .site-header .nav-toggle span { background: var(--ink); }

  .split, .final-inner { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .investment .split-media { order: 0; }
  .testi-grid { grid-template-columns: 1fr; }

  .spaces-grid { grid-template-columns: 1fr; }

  .wa-fixed { display: inline-flex; }
  .hero-content { padding: 7rem 0 6rem; }

  /* gallery -> carosello scorrevole */
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  }
  .gallery .media-slot { flex: 0 0 78%; scroll-snap-align: center; }
}

@media (max-width: 560px) {
  .steps-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lead-form { grid-template-columns: 1fr; padding: 1.8rem; }
  .trust-sep { display: none; }
  .trust-inner { gap: .5rem 1.1rem; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================= */
/*  Thank-you page (grazie.html)                                 */
/* ============================================================= */

.thanks-page .site-header.scrolled {
  position: sticky;
}

.thanks-main {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
}

.thanks-hero {
  width: 100%;
  padding: clamp(4rem, 10vh, 7rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184,153,90,.10), transparent 70%),
    var(--ivory);
}

.thanks-seal {
  color: var(--gold-deep);
  display: inline-flex;
  margin-bottom: 1.6rem;
  animation: sealIn .8s var(--ease) both;
}

@keyframes sealIn {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}

.thanks-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: 1.4rem;
}

.thanks-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.thanks-lead {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: left;
  margin-bottom: 3rem;
}

.thanks-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.thanks-step-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-deep);
  letter-spacing: .18em;
  display: block;
  margin-bottom: .7rem;
}

.thanks-step h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.thanks-step p {
  font-size: .92rem;
  margin: 0;
  color: var(--muted);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
}

@media (max-width: 780px) {
  .thanks-steps { grid-template-columns: 1fr; }
  .thanks-main { min-height: auto; }
}
