/* =====================================================================
   HACIENDA SAN ANTONIO — "Editorial Sereno"
   Calm, luxury-minimal relocation concierge. Muted greens + antique gold.
   Audience 50+: large type, high contrast, generous air, no emoji.
   Three comparable directions via [data-direction] (set by the Tweaks panel).
   ===================================================================== */

:root {
  /* Warm ivories / paper */
  --ivory:    #F4F1E8;
  --ivory-2:  #ECE8DB;
  --paper:    #FBFAF4;
  --sage-pale:#E6E9DE;

  /* Muted greens */
  --sage:     #A6AF94;
  --olive:    #6C7458;
  --forest:   #36473A;
  --forest-d: #18241D;   /* deep forest — dark sections */

  /* Antique gold (from the logo) */
  --gold:     #B5934E;
  --gold-d:   #927539;
  --gold-l:   #D8C28A;

  /* Ink */
  --ink:      #23271F;
  --ink-soft: #5B6154;
  --ink-mute: #8A8F80;
  --on-dark:  #EAEBE0;
  --on-dark-soft: #B9C2AE;

  --line:      rgba(35,40,31,.13);
  --line-dark: rgba(234,235,224,.16);

  --shadow-sm: 0 1px 2px rgba(24,36,29,.05), 0 6px 18px rgba(24,36,29,.06);
  --shadow-md: 0 10px 40px rgba(24,36,29,.11);
  --shadow-lg: 0 30px 70px rgba(24,36,29,.16);

  --radius:   6px;
  --radius-lg:12px;
  --maxw:     1200px;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-weight: 600;
  --hero-overlay: linear-gradient(180deg, rgba(16,26,20,.30) 0%, rgba(16,26,20,.06) 32%, rgba(16,26,20,.14) 58%, rgba(13,21,16,.74) 100%), linear-gradient(96deg, rgba(13,21,16,.62) 0%, rgba(13,21,16,.12) 55%, rgba(13,21,16,0) 80%);
}

/* ---- Direction: Bosque (moody, deeper, modern serif) ---- */
[data-direction="bosque"] {
  --ivory:    #E7E9DE;
  --ivory-2:  #DDE0D2;
  --paper:    #F1F2EA;
  --sage-pale:#DCE0D2;
  --forest-d: #131D17;
  --gold:     #C6A961;
  --gold-l:   #E3CF95;
  --font-head: "Fraunces", Georgia, serif;
  --head-weight: 500;
  --hero-overlay: linear-gradient(180deg, rgba(11,19,14,.46) 0%, rgba(11,19,14,.18) 38%, rgba(9,16,12,.55) 72%, rgba(9,16,12,.86) 100%), linear-gradient(96deg, rgba(9,16,12,.74) 0%, rgba(9,16,12,.22) 58%, rgba(9,16,12,0) 84%);
}

/* ---- Direction: Hacienda (warm, earthy, classic serif) ---- */
[data-direction="hacienda"] {
  --ivory:    #F3EAD9;
  --ivory-2:  #ECE0CA;
  --paper:    #FBF6EC;
  --sage-pale:#EAE6D3;
  --olive:    #7B7A4D;
  --forest:   #3C4733;
  --forest-d: #20251A;
  --gold:     #BE8B40;
  --gold-d:   #9C6E2C;
  --gold-l:   #DFB877;
  --font-head: "Playfair Display", Georgia, serif;
  --head-weight: 600;
  --hero-overlay: linear-gradient(180deg, rgba(34,24,12,.30) 0%, rgba(34,24,12,.05) 34%, rgba(28,20,10,.18) 60%, rgba(24,17,8,.78) 100%), linear-gradient(96deg, rgba(28,20,10,.6) 0%, rgba(28,20,10,.12) 56%, rgba(28,20,10,0) 82%);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--forest);
}

p { margin: 0 0 1rem; }
a { color: var(--forest); }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 700; color: inherit; }
em { font-style: italic; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(22px, 5vw, 56px); }
.container--narrow { max-width: 760px; }

::selection { background: var(--gold-l); color: var(--forest-d); }

/* Hairline icon system (replaces emoji) */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex: none; overflow: visible; }

/* ------------------------------ Eyebrow ------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 600;
  font-size: .74rem; color: var(--gold-d); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--gold-l); }

/* ------------------------------ Buttons ------------------------------ */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--ivory);
  display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  letter-spacing: .01em; line-height: 1; text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 1rem 1.6rem; min-height: 54px; white-space: nowrap; text-align: center;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn .ic { width: 1.05em; height: 1.05em; }

.btn--gold  { --btn-bg: var(--gold); --btn-fg: #2A2110; }
.btn--gold:hover { --btn-bg: var(--gold-d); --btn-fg: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest); border-color: var(--line); }
.btn--outline:hover { border-color: var(--forest); background: transparent; }
.btn--glass { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.5); }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--lg { font-size: 1.04rem; padding: 1.15rem 2rem; min-height: 60px; }
.btn--block { width: 100%; }

/* ------------------------------ Nav ------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 32px; width: auto; display: block; transition: filter .35s ease; }
/* Logo is gold artwork; on the photo hero keep it bright */
.nav:not(.is-scrolled) .brand__logo { filter: brightness(0) invert(1); }
[data-direction] .nav:not(.is-scrolled) .brand__logo { filter: brightness(0) invert(1); }
.brand__logo--footer { height: 40px; filter: brightness(0) invert(1); }

.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .92rem; letter-spacing: .01em; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold); transition: right .3s ease; }
.nav__links a:hover { color: var(--forest); }
.nav__links a:hover::after { right: 0; }
.nav:not(.is-scrolled) .nav__links a { color: rgba(255,255,255,.86); }
.nav:not(.is-scrolled) .nav__links a:hover { color: #fff; }
.nav__cta { padding: .65rem 1.25rem; min-height: 44px; font-size: .9rem; }
.nav:not(.is-scrolled) .nav__cta { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.nav:not(.is-scrolled) .nav__cta:hover { background: #fff; color: var(--forest); }

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding-block: clamp(120px, 18vh, 200px) clamp(56px, 9vh, 96px); overflow: hidden; }
.hero--photo { background-image: url('../img/hero.jpg'); background-size: cover; background-position: center 55%; color: var(--ivory); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(13,21,16,var(--hero-shade,0)), rgba(13,21,16,var(--hero-shade,0))), var(--hero-overlay); }
.hero__inner { position: relative; z-index: 2; max-width: 880px; }
.hero__eyebrow { color: var(--gold-l); }
.hero__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(3.4rem, 9vw, 7rem); color: #fff; line-height: .98; letter-spacing: -0.015em; margin-bottom: 1.6rem; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.hero__title em { font-style: italic; color: var(--gold-l); }
.hero__lead { font-size: clamp(1.12rem, 1.9vw, 1.34rem); line-height: 1.6; max-width: 580px; color: rgba(255,255,255,.92); margin-bottom: 2.2rem; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

/* Cinematic "Watch the film" button */
.hero__film { display: inline-flex; align-items: center; gap: 1rem; background: none; border: 0; padding: 0; margin: -.6rem 0 2.2rem; cursor: pointer; color: #fff; font-family: var(--font-body); text-align: left; -webkit-tap-highlight-color: transparent; }
.hero__film-play { position: relative; flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); transition: background-color .3s ease, border-color .3s ease, transform .3s ease; }
.hero__film-play .ic { width: 1.35rem; height: 1.35rem; margin-left: 3px; fill: currentColor; stroke: none; }
.hero__film-play::before, .hero__film-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: filmPulse 3s ease-out infinite; pointer-events: none; }
.hero__film-play::after { animation-delay: 1.5s; }
.hero__film:hover .hero__film-play { background: var(--gold); border-color: var(--gold); color: #2A2110; transform: scale(1.06); }
.hero__film:focus-visible .hero__film-play { outline: 2px solid var(--gold-l); outline-offset: 4px; }
.hero__film-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero__film-label { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.5rem; color: #fff; letter-spacing: .005em; }
.hero__film-sub { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); }
@keyframes filmPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.8rem; padding: 1.5rem 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.22); font-weight: 500; font-size: .94rem; color: rgba(255,255,255,.9); text-align: center; }
.hero__trust li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__trust .ic { width: 1.1em; height: 1.1em; color: var(--gold-l); }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 24px; height: 40px; border: 1px solid rgba(255,255,255,.65); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 3px; background: #fff; animation: scrollDot 1.8s infinite; }

/* ------------------------------ Section scaffolding ------------------------------ */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }

/* ---- Full-viewport sections: each section reads as one complete screen ----
   On larger screens every section fills the viewport (content vertically
   centered) and a gentle scroll-snap keeps them aligned, so the next section
   never peeks in. Disabled on small/short screens to avoid wasted space. */
@media (min-width: 900px) and (min-height: 640px) {
  html { scroll-snap-type: y proximity; }
  .hero, .section, .finalcta { scroll-snap-align: start; }
  .section, .finalcta {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
  }
  /* Let inner wrappers keep their normal block centering inside the flex column */
  .section > .container, .finalcta > .container { width: 100%; }
}
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 76px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.2rem; letter-spacing: -0.01em; }
.section__title em { font-style: italic; color: var(--gold-d); }
.section__title--light { color: #fff; }
.section__sub { font-size: clamp(1.06rem, 1.7vw, 1.2rem); color: var(--ink-soft); line-height: 1.65; max-width: 620px; margin-inline: auto; }
.section__head--left .section__sub { margin-inline: 0; }
.section__sub--light { color: var(--on-dark-soft); }
.section--dark { background: var(--forest-d); color: var(--on-dark); }
.section--dark .section__title { color: #fff; }

/* ------------------------------ Dream / compare ------------------------------ */
.dream { background: var(--ivory); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2rem); align-items: stretch; max-width: 1040px; margin-inline: auto; }
.compare__card { border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.8rem); }
.compare__label { display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; margin-bottom: 1.4rem; }
.compare__card h3 { font-size: 1.7rem; margin-bottom: 1.6rem; }
.compare__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.compare__card li { position: relative; padding-left: 2.4rem; font-size: 1.04rem; line-height: 1.55; }
.compare__card li .ic { position: absolute; left: 0; top: .18em; width: 1.4rem; height: 1.4rem; stroke-width: 1.6; }
.compare__card--cold { background: var(--ivory-2); color: var(--ink-soft); border: 1px solid var(--line); }
.compare__card--cold .compare__label { color: var(--ink-mute); }
.compare__card--cold h3 { color: var(--ink-soft); }
.compare__card--cold li .ic { color: var(--olive); }
.compare__card--warm { background: var(--forest); color: var(--on-dark); }
.compare__card--warm .compare__label { color: var(--gold-l); }
.compare__card--warm h3 { color: #fff; }
.compare__card--warm li .ic { color: var(--gold-l); }
.compare__card--warm strong { color: var(--gold-l); }

/* ------------------------------ Proof / stats ------------------------------ */
.proof { background: var(--forest-d); color: var(--on-dark); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.stat { padding: 2.6rem 1.8rem; border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); text-align: left; }
.stat:nth-child(4n) { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(2.8rem, 5vw, 4rem); color: var(--gold-l); line-height: 1; margin-bottom: .9rem; letter-spacing: -0.01em; }
.stat__label { font-size: .98rem; color: var(--on-dark-soft); margin: 0; line-height: 1.5; }
.stat__label strong { color: #fff; }
.proof__foot { text-align: center; max-width: 760px; margin: clamp(48px,6vw,68px) auto 0; font-size: 1.12rem; color: var(--on-dark-soft); line-height: 1.7; }
.proof__foot strong { color: var(--gold-l); }

/* ------------------------------ Hacienda (the home) ------------------------------ */
.hacienda { background: var(--ivory); }
.hacienda__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; }
.hacienda__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.hacienda__media figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.hacienda__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hacienda__media figure:hover img { transform: scale(1.05); }
.hacienda__media .m-tall { grid-row: 1 / 3; height: 100%; }
.hacienda__media .m-a { aspect-ratio: 4/5; }
.hacienda__media .m-b { aspect-ratio: 3/2; }
.hacienda__media .m-c { aspect-ratio: 3/2; }
.hacienda__copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.3rem; }
.spec { list-style: none; margin: 1.8rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec li { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; color: var(--ink); }
.spec .ic { width: 1.45rem; height: 1.45rem; color: var(--gold-d); stroke-width: 1.6; }
.hacnote { margin: 1.8rem 0 0; color: var(--ink-soft); font-size: 1rem; }

/* ------------------------------ Region / features ------------------------------ */
.region { background: var(--sage-pale); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--paper); padding: clamp(1.8rem, 3vw, 2.6rem); transition: background-color .3s ease; }
.feature:hover { background: var(--ivory); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; color: var(--gold-d); background: var(--ivory); border: 1px solid color-mix(in srgb, var(--gold-d) 35%, transparent); border-radius: 50%; margin-bottom: 1.4rem; }
.feature__icon .ic { width: 1.5rem; height: 1.5rem; stroke-width: 1.6; }
.feature h3 { font-size: 1.5rem; color: var(--forest); margin-bottom: .6rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; line-height: 1.6; }

/* ------------------------------ Fears / FAQ ------------------------------ */
.fears { background: var(--ivory); }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.7rem .25rem; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--forest); transition: color .2s; }
.faq__item summary:hover { color: var(--gold-d); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 20px; height: 20px; color: var(--gold-d); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform .3s ease; }
.faq__plus::before { top: 9px; left: 0; width: 20px; height: 1.5px; }
.faq__plus::after  { left: 9px; top: 0; width: 1.5px; height: 20px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg) scaleX(0); }
.faq__body { padding: 0 .25rem 1.8rem; color: var(--ink-soft); max-width: 760px; }
.faq__body p { margin: 0; font-size: 1.06rem; line-height: 1.7; }

/* ------------------------------ Quiz ------------------------------ */
.quiz { background: var(--sage-pale); }
.quizbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.8rem, 4vw, 3.4rem); max-width: 720px; margin-inline: auto; }
.quizbox__progress { height: 3px; background: var(--ivory-2); border-radius: 999px; overflow: hidden; }
.quizbox__bar { height: 100%; width: 16%; background: var(--gold); border-radius: 999px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.quizbox__step { text-align: center; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-mute); margin: 1.2rem 0 1.8rem; font-size: .74rem; }

.qstep { border: 0; margin: 0; padding: 0; display: none; }
.qstep.is-active { display: block; animation: fadeUp .45s ease; }
.qstep__q { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--forest); text-align: center; margin: 0 auto 1.8rem; padding: 0; max-width: 560px; line-height: 1.15; }
.qstep__hint { display: block; font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--ink-mute); margin-top: .5rem; text-transform: none; letter-spacing: 0; }
.qstep__sub { text-align: center; max-width: 460px; margin: -.9rem auto 1.6rem; font-size: .96rem; color: var(--ink-soft); }
.qstep__opts { display: grid; gap: .7rem; max-width: 560px; margin: 0 auto; }

/* Transition — "calculating your match" */
.qstep--calc { text-align: center; }
.calc { display: flex; flex-direction: column; align-items: center; padding: 1rem 0 .5rem; }
.calc__ring { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 1.8rem; }
.calc__ring svg { width: 132px; height: 132px; display: block; }
.calc__track { fill: none !important; stroke: var(--ivory-2); stroke-width: 7; }
.calc__fill { fill: none !important; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .12s linear; }
.calc__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 2.2rem; color: var(--forest); }
.calc__title { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.5rem, 3.2vw, 2rem); color: var(--forest); margin: 0 0 .6rem; line-height: 1.15; }
.calc__sub { margin: 0; max-width: 420px; color: var(--ink-soft); font-size: 1rem; }

.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt__face { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); font-weight: 500; font-size: 1.04rem; color: var(--ink); transition: border-color .2s, background-color .2s, transform .1s; min-height: 58px; }
.opt__mark { flex: none; width: 20px; height: 20px; border: 1px solid var(--ink-mute); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.opt input[type=checkbox] + .opt__face .opt__mark { border-radius: 5px; }
.opt__mark::after { content: ""; width: 9px; height: 9px; border-radius: inherit; background: var(--gold); transform: scale(0); transition: transform .2s cubic-bezier(.2,.9,.3,1.3); }
.opt:hover .opt__face { border-color: var(--sage); background: var(--sage-pale); }
.opt input:checked + .opt__face { border-color: var(--forest); background: var(--sage-pale); }
.opt input:checked + .opt__face .opt__mark { border-color: var(--forest); }
.opt input:checked + .opt__face .opt__mark::after { transform: scale(1); }
.opt input:focus-visible + .opt__face { outline: 2px solid var(--gold); outline-offset: 2px; }

.field { max-width: 460px; margin: 0 auto 1.1rem; text-align: left; }
.field label { display: block; font-weight: 600; margin-bottom: .45rem; color: var(--forest); font-size: .95rem; }
.field__hint { font-weight: 400; color: var(--ink-mute); }
.field input { width: 100%; font-family: var(--font-body); font-size: 1.04rem; padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); color: var(--ink); transition: border-color .2s, background-color .2s; }
.field input::placeholder { color: var(--ink-mute); }
.field input:focus { outline: none; border-color: var(--forest); background: var(--paper); }
.field input.is-invalid { border-color: #B4533A; background: #f8ebe6; }

.consent { max-width: 460px; margin: 1.4rem auto 0; display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .94rem; color: var(--ink-soft); text-align: left; cursor: pointer; line-height: 1.5; }
.consent input { width: 20px; height: 20px; accent-color: var(--forest); margin-top: 3px; }
.consent a { color: var(--gold-d); }

.quizbox__controls { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; max-width: 560px; margin-inline: auto; }
#quizBack { flex: 0 0 auto; }
.quizfwd { flex: 1; }
.quizfwd__label { display: inline-block; transition: opacity .18s ease; }
.quizfwd.is-final { --btn-bg: var(--gold); --btn-fg: #2A2110; }

/* Result */
.result { text-align: center; animation: fadeUp .5s ease; }
.result__eyebrow { justify-content: center; }
.result__score { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(4.5rem, 15vw, 7rem); color: var(--forest); line-height: 1; }
.result__pct { font-size: .42em; color: var(--gold-d); vertical-align: super; }
.result__title { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--forest); margin: .8rem 0 1.1rem; }
.result__msg { font-size: 1.12rem; color: var(--ink-soft); max-width: 520px; margin: 0 auto 2rem; line-height: 1.65; }
.result__wa { --btn-bg: #1f7a4d; --btn-fg: #fff; }
.result__wa:hover { --btn-bg: #186b42; }
.result__next { margin-top: 1.2rem; font-size: .94rem; color: var(--ink-mute); }

/* ------------------------------ Social / Instagram (now near the end) ------------------------------ */
.social { background: var(--ivory); }
.igfeed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 940px; margin-inline: auto; }
.igpost { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; aspect-ratio: 1/1; }
.igpost__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s ease; }
.igpost:hover .igpost__img { transform: scale(1.06); }
.igpost::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,21,16,0) 45%, rgba(13,21,16,.7) 100%); }
.igpost__play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); color: #fff; border-radius: 50%; z-index: 2; }
.igpost__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: .9rem 1rem; font-weight: 500; font-size: .84rem; color: #fff; }
.igpost__view { color: var(--gold-l); display: inline-flex; align-items: center; gap: .3rem; }
.social__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }

/* ------------------------------ Final CTA ------------------------------ */
.finalcta { position: relative; background: var(--forest-d); color: var(--on-dark); padding-block: clamp(88px, 12vw, 150px); text-align: center; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: 0; background-image: url('../img/aerial.jpg'); background-size: cover; background-position: center; opacity: .16; }
.finalcta__inner { position: relative; z-index: 2; max-width: 760px; }
.finalcta h2 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; margin-bottom: 1.3rem; letter-spacing: -0.01em; }
.finalcta h2 em { font-style: italic; color: var(--gold-l); }
.finalcta p { font-size: 1.18rem; color: var(--on-dark-soft); margin-bottom: 2.4rem; }

/* ------------------------------ Footer ------------------------------ */
.footer { background: #0F1812; color: var(--on-dark-soft); padding-block: 4rem 2.2rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; align-items: flex-start; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand { max-width: 380px; }
.footer__seal { margin: 1.2rem 0 0; font-size: .92rem; color: var(--on-dark-soft); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; line-height: 1.6; }
.footer__seal .ic { width: 1.1em; height: 1.1em; color: var(--gold-l); }
.footer__col h4 { font-family: var(--font-body); font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: var(--on-dark); margin-bottom: 1.1rem; font-weight: 600; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: .8rem; }
.footer__links a, .footer__social a { color: var(--on-dark-soft); text-decoration: none; font-weight: 400; font-size: .96rem; transition: color .2s; }
.footer__links a:hover, .footer__social a:hover { color: var(--gold-l); }
.footer__legal { padding-top: 1.8rem; }
.footer__legal p { font-size: .86rem; color: var(--on-dark-soft); opacity: .8; margin: 0 0 .7rem; }
.footer__disclaimer { opacity: .5 !important; max-width: 820px; line-height: 1.6; }

/* ------------------------------ Sticky mobile CTA ------------------------------ */
.mobilecta { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; text-align: center; background: var(--gold); color: #2A2110; font-weight: 600; text-decoration: none; padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.mobilecta.is-visible { transform: translateY(0); }

/* ------------------------------ Floating WhatsApp ------------------------------ */
.wafab { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: .6rem; height: 56px; padding: 0 20px 0 16px; background: #1f7a4d; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .96rem; box-shadow: 0 14px 34px rgba(13,21,16,.3); animation: wafabIn .5s ease .5s both; transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.wafab:hover { background: #186b42; transform: translateY(-3px); box-shadow: 0 20px 42px rgba(13,21,16,.36); }
.wafab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wafab__label { white-space: nowrap; }
@keyframes wafabIn { from { opacity: 0; transform: translateY(20px) scale(.92); } to { opacity: 1; transform: none; } }

/* ------------------------------ Gallery band ------------------------------ */
.gallery { background: var(--ivory); }
.gallery__band { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(165px, 17vw, 232px); gap: 12px; }
.gallery__band figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery__band img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gallery__band figure:hover img, .gallery__band figure:focus-visible img { transform: scale(1.06); }
.gallery__band figure:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__band .g-a { grid-row: span 2; }
.gallery__band .g-b { grid-column: span 2; grid-row: span 2; }
.gallery__band .g-c { grid-row: span 2; }
.gallery__band .g-d { grid-column: span 2; }
/* Expand affordance on hover */
.gallery__expand { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(13,21,16,.35); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.45); opacity: 0; transform: scale(.85); transition: opacity .3s ease, transform .3s ease, background-color .3s ease; }
.gallery__expand .ic { width: 1.1rem; height: 1.1rem; }
.gallery__band figure:hover .gallery__expand, .gallery__band figure:focus-visible .gallery__expand { opacity: 1; transform: scale(1); }
/* "+N more" tile */
.gallery__more::after { content: ""; position: absolute; inset: 0; background: rgba(13,21,16,.52); transition: background-color .3s ease; z-index: 1; }
.gallery__more:hover::after, .gallery__more:focus-visible::after { background: rgba(13,21,16,.62); }
.gallery__morecount { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; color: #fff; font-weight: 500; font-size: .92rem; letter-spacing: .04em; text-align: center; }
.gallery__morecount strong { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 2.4rem; line-height: 1; color: var(--gold-l); }
/* Video tile */
.gallery__band figure video { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__videobadge { position: absolute; left: 12px; top: 12px; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .7rem .4rem .55rem; border-radius: 999px; background: rgba(13,21,16,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.gallery__videobadge .ic { width: .9rem; height: .9rem; color: var(--gold-l); }
.gallery__videobadge .live { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 0 0 var(--gold-l); animation: vlive 2s infinite; }
@keyframes vlive { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold-l) 70%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.gallery__cap { position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: .82rem; letter-spacing: .04em; text-shadow: 0 1px 12px rgba(0,0,0,.5); z-index: 2; }
.gallery__band figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,21,16,.5)); opacity: 0; transition: opacity .4s ease; }
.gallery__band figure:hover::after { opacity: 1; }
.gallery__note { text-align: center; max-width: 600px; margin: 2.4rem auto 0; color: var(--ink-soft); font-size: 1rem; }

/* ------------------------------ Testimonials ------------------------------ */
.testimonials { background: var(--forest-d); color: var(--on-dark); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.tcard { padding: 2.6rem 2rem; margin: 0; border-bottom: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
.tcard:nth-child(3n) { border-right: 0; }
.tcard__quote { font-size: 2.6rem; line-height: 0; font-family: var(--font-head); color: var(--gold-l); display: block; height: .6em; }
.tcard blockquote { margin: 1rem 0 1.6rem; font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.32; color: #fff; }
.tcard figcaption { font-size: .9rem; color: var(--on-dark-soft); display: flex; flex-direction: column; gap: .3rem; }
.tcard__tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-l); }

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr; }
  .tcard { border-right: 0; }
  .gallery__band { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 40vw, 220px); }
  .gallery__band figure { grid-column: auto !important; grid-row: auto !important; }
}

/* ------------------------------ Reveal on scroll ------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------ Animations ------------------------------ */
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1000px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hacienda__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .mobilecta { display: block; right: 84px; }
  .wafab { right: 14px; bottom: 14px; height: 52px; width: 52px; padding: 0; justify-content: center; }
  .wafab__label { display: none; }
  .compare { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .igfeed { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { gap: 2rem; }
  .hero { align-items: flex-end; }
  .hero__video { display: none; }   /* mobile: static poster/bg, saves data */
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; }
  .hacienda__media { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------ Lightbox (gallery) ------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(11,17,13,.86); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lb__viewport { position: relative; width: min(94vw, 1200px); height: min(78vh, 820px); overflow: hidden; border-radius: var(--radius-lg); }
.lb__track { display: flex; height: 100%; will-change: transform; }
.lb__slide { flex: 0 0 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.lb__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.lb__slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); background: #000; }
.lb__meta { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.1rem; color: rgba(255,255,255,.92); }
.lb__cap { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.3rem; letter-spacing: .01em; }
.lb__count { font-size: .9rem; color: rgba(255,255,255,.6); letter-spacing: .12em; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); transition: background-color .25s ease, transform .25s ease; }
.lb__nav:hover { background: rgba(255,255,255,.22); }
.lb__nav:active { transform: translateY(-50%) scale(.94); }
.lb__nav .ic { width: 1.5rem; height: 1.5rem; }
.lb__prev { left: clamp(10px, 3vw, 40px); }
.lb__next { right: clamp(10px, 3vw, 40px); }
.lb__close { position: absolute; top: clamp(14px, 3vh, 30px); right: clamp(14px, 3vw, 34px); z-index: 4; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); transition: background-color .25s ease, transform .25s ease; }
.lb__close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.lb__close .ic { width: 1.4rem; height: 1.4rem; }
.lb__nav:focus-visible, .lb__close:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; }
.lb__hint { position: absolute; bottom: clamp(10px, 2vh, 18px); left: 50%; transform: translateX(-50%); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
@media (max-width: 700px) {
  .lb__nav { width: 46px; height: 46px; }
  .lb__viewport { height: 64vh; }
  .lb__cap { font-size: 1.1rem; }
}

/* ------------------------------ Film modal (hero presentation) ------------------------------ */
.filmlb { position: fixed; inset: 0; z-index: 210; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; background: rgba(8,12,9,.92); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s ease; padding: 2rem; }
.filmlb.is-open { opacity: 1; pointer-events: auto; }
.filmlb__frame { width: min(94vw, 1180px); aspect-ratio: 16 / 9; max-height: 80vh; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.filmlb__frame video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.filmlb__cap { margin: 0; color: rgba(255,255,255,.7); font-family: var(--font-head); font-style: italic; font-size: 1.05rem; letter-spacing: .01em; }

/* ------------------------------ Soft cursor glow ------------------------------ */.cursor-glow {
  position: fixed; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 60%, transparent) 0%, transparent 68%);
  filter: blur(3px); pointer-events: none; z-index: 9999; opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .35s ease, background-color .25s ease;
  will-change: transform;
}
.cursor-glow.is-active {
  width: 56px; height: 56px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 42%, transparent) 0%, transparent 72%);
}
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
