/* =====================================================================
   BLUE VALLEY VILLAS — V5.1
   style.css — refined-minimal luxury hospitality / investment
   Dark sections for desire · light/paper sections for trust
   Champagne used only as hairlines, labels and small accents
   ===================================================================== */

/* ----------------------------- TOKENS -------------------------------- */
:root {
  --ink:        #100c0a;
  --charcoal:   #16110d;
  --charcoal-2: #211a14;

  --stone:      #e7dfd1;
  --paper:      #f3eee5;
  --paper-2:    #ece5d8;

  --ivory:        #f4f0e8;
  --ivory-dim:    #a89f90;
  --ink-text:     #2b2620;
  --ink-text-dim: #6e6557;

  --champagne:      #c2a36b;
  --champagne-deep: #a98a52;

  --line-on-dark:  rgba(244, 240, 232, 0.14);
  --line-on-light: rgba(43, 38, 32, 0.16);
  --champ-line:    rgba(194, 163, 107, 0.55);

  --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-h: 74px;
  --container: 1240px;
  --pad-x: clamp(1.5rem, 5.5vw, 5rem);
  --section-y: clamp(3.75rem, 7vh, 6.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------------------------- RESET --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; font-family: var(--sans); font-weight: 300;
  background: var(--charcoal); color: var(--ivory); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

/* ---------------------------- LAYOUT --------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container.narrow { max-width: 880px; }
.section { padding-block: var(--section-y); position: relative; }
section[id] { scroll-margin-top: var(--nav-h); }

.section--dark  { background: var(--charcoal); color: var(--ivory); }
.section--ink   { background: var(--ink);      color: var(--ivory); }
.section--stone { background: var(--stone);    color: var(--ink-text); }
.section--paper { background: var(--paper);    color: var(--ink-text); }

/* Robust image frame */
.frame { position: relative; overflow: hidden; background: var(--charcoal-2); }
.section--stone .frame, .section--paper .frame { background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-wide      { aspect-ratio: 16 / 8; }
.ar-landscape { aspect-ratio: 3 / 2; }
.ar-portrait  { aspect-ratio: 4 / 5; }
.ar-tall      { aspect-ratio: 3 / 4; }

/* --------------------------- TYPOGRAPHY ------------------------------ */
.label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champagne); margin: 0 0 1.2rem; }
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.005em; max-width: 18ch; }
.block-head--center .display, .gallery .display { max-width: none; }

.lede { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.18rem, 1.8vw, 1.5rem); line-height: 1.45; margin-top: 1.2rem; max-width: 56ch; color: inherit; }
.section--dark .lede, .section--ink .lede { color: #ded6c8; }

.overline { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--champagne); letter-spacing: 0.01em; margin-bottom: 1.5rem; max-width: 42ch; }
.footnote, .aside { font-size: 0.77rem; letter-spacing: 0.02em; color: var(--ivory-dim); }
.section--stone .aside, .section--paper .aside { color: var(--ink-text-dim); }

/* ----------------------------- BUTTONS ------------------------------- */
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; border: 1px solid var(--champ-line); background: transparent; color: inherit;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}
.btn--light { color: var(--ivory); }
.btn--light:hover { background: rgba(194, 163, 107, 0.12); border-color: var(--champagne); }
.btn--dark { color: var(--ink-text); border-color: rgba(169, 138, 82, 0.65); }
.btn--dark:hover { background: rgba(169, 138, 82, 0.1); border-color: var(--champagne-deep); }
.btn--primary { color: var(--ivory); border-color: var(--champagne); letter-spacing: 0.24em; }
.btn--primary:hover { background: rgba(194, 163, 107, 0.16); }
.btn--ghost { color: var(--ivory); border-color: var(--line-on-dark); }
.btn--ghost:hover { border-color: var(--champ-line); }

.link-arrow {
  display: inline-block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne-deep);
  padding-bottom: 0.35rem; border-bottom: 1px solid var(--champ-line);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--champagne); border-color: var(--champagne); }
.section--dark .link-arrow, .section--ink .link-arrow { color: var(--ivory); }

/* =============================== NAV ================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}
.nav.is-scrolled { background: rgba(16, 12, 10, 0.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-on-dark); }
.nav__inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); display: flex; align-items: center; justify-content: space-between; }
.nav__brand { font-family: var(--serif); font-size: 1.36rem; letter-spacing: 0.04em; color: var(--ivory); }
.nav__links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__links a { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory); opacity: 0.82; transition: opacity 0.4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__cta { border: 1px solid var(--champ-line); padding: 0.6rem 1.2rem; opacity: 1 !important; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.nav__cta:hover { background: rgba(194, 163, 107, 0.12); border-color: var(--champagne); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; width: 34px; height: 22px; padding: 0; border: 0; background: transparent; justify-content: center; }
.nav__toggle span { display: block; height: 1px; width: 100%; background: var(--ivory); transition: transform 0.4s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 99; background: rgba(16, 12, 10, 0.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.5s var(--ease); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.menu__links a { font-family: var(--serif); font-size: 1.8rem; color: var(--ivory); }
.menu__cta { font-family: var(--sans) !important; font-size: 0.78rem !important; letter-spacing: 0.22em; text-transform: uppercase; border: 1px solid var(--champ-line); padding: 0.9rem 1.9rem; margin-top: 0.6rem; }

/* =============================== HERO ================================ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(16,12,10,0.94) 0%, rgba(16,12,10,0.3) 46%, rgba(16,12,10,0.5) 100%),
    linear-gradient(to right, rgba(16,12,10,0.55), rgba(16,12,10,0.08));
}
.hero__inner { position: relative; z-index: 2; margin-top: auto; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: clamp(2.5rem, 5vh, 4rem); }
.hero__content .label { color: var(--champagne); }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 16ch; }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.85vw, 1.45rem); line-height: 1.5; color: #e6ddcf; margin-top: 1.4rem; max-width: 46ch; }
.hero .btn { margin-top: 2rem; }

/* Hero indicator band */
.hero__statband { position: relative; z-index: 2; border-top: 1px solid var(--champ-line); }
.hstats { display: grid; grid-template-columns: repeat(5, 1fr); }
.hstat { padding: 1.4rem clamp(0.7rem, 1.4vw, 1.4rem); border-right: 1px solid var(--line-on-dark); display: flex; flex-direction: column; gap: 0.45rem; }
.hstat:last-child { border-right: 0; }
.hstat__v { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1; color: var(--ivory); }
.hstat__v--sm { font-size: clamp(1.02rem, 1.4vw, 1.25rem); }
.hstat__c { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); }
.hstats__note { padding: 0.9rem clamp(0.7rem, 1.4vw, 1.4rem) 1.4rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); border-top: 1px solid var(--line-on-dark); }

.hero__caption { position: absolute; z-index: 2; right: var(--pad-x); top: calc(var(--nav-h) + 1rem); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,240,232,0.5); }

/* ============================== WHY NOW ============================== */
.why { position: relative; }
.why::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14vh; background: linear-gradient(to bottom, rgba(231,223,209,0) 0%, var(--stone) 100%); pointer-events: none; }
.why .container { position: relative; z-index: 1; }
.why__head { max-width: 60ch; }

.indicators { margin: clamp(2.5rem, 5vw, 3.75rem) 0 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-on-dark); border-left: 1px solid var(--line-on-dark); }
.ind { padding: clamp(1.5rem, 2.4vw, 2.2rem); border-right: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.ind__v { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--champagne); letter-spacing: -0.01em; }
.ind__c { display: block; margin-top: 0.8rem; font-size: 0.78rem; line-height: 1.5; color: var(--ivory-dim); letter-spacing: 0.02em; }
.indicators__note { font-size: 0.86rem; color: var(--ivory-dim); max-width: 64ch; }

/* ============================== COLLECTION =========================== */
.block-head { max-width: 72ch; }
.block-head--center { text-align: center; margin-inline: auto; }

/* At a glance */
.glance { margin: clamp(2rem, 4vw, 3rem) 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line-on-light); }
.glance__item { padding: 1.4rem clamp(0.8rem, 1.5vw, 1.3rem); border-right: 1px solid var(--line-on-light); display: flex; flex-direction: column; gap: 0.45rem; }
.glance__item:last-child { border-right: 0; }
.glance__val { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1; color: var(--ink-text); }
.glance__val--sm { font-size: clamp(1.02rem, 1.4vw, 1.25rem); }
.glance__cap { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne-deep); }

/* Integrated architectural site plate — no box, blended into the section. */
.siteplate { margin: clamp(2.5rem, 4vw, 3.5rem) auto clamp(3rem, 5vw, 4rem); max-width: 795px; }
.siteplate__frame {
  background: transparent; border: 0; padding: 0;
  /* feather the edges so the source's light field dissolves into the page */
  -webkit-mask-image: radial-gradient(ellipse 94% 92% at 50% 50%, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 94% 92% at 50% 50%, #000 78%, transparent 100%);
}
.siteplate__frame img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.siteplate__cap { margin-top: 0.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-text-dim); }
.status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--champagne-deep); font-weight: 500; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 3px rgba(194,163,107,0.2); }

/* Typology cards */
.typologies { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 3vw, 2.8rem); }
.typology { display: flex; flex-direction: column; }
.typology__media { margin-bottom: 1.3rem; }
.typology__media img { transition: transform 1.2s var(--ease); }
.typology:hover .typology__media img { transform: scale(1.04); }
.typology__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.typology__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.typology__avail { font-size: 0.63rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-deep); white-space: nowrap; }
.typology__price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink-text); margin-top: 0.45rem; }
.typology__spec { margin-top: 0.65rem; font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-text-dim); }
.typology__note { margin-top: 0.85rem; font-size: 0.92rem; color: var(--ink-text-dim); flex-grow: 1; }
.typology .link-arrow { margin-top: 1.3rem; align-self: flex-start; }

.villas__foot { margin-top: clamp(2.8rem, 5vw, 4rem); padding-top: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid var(--line-on-light); }
.availability { font-family: var(--serif); font-style: italic; font-size: clamp(1.18rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink-text); max-width: 60ch; }
.villas__foot-row { margin-top: 1.6rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.villas__foot-row .aside { max-width: 34ch; }

/* ============================== MANAGEMENT =========================== */
.managed__head { max-width: 56ch; }

.returns { margin: clamp(2.2rem, 4vw, 3.25rem) 0; display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); flex-wrap: wrap; padding: clamp(1.5rem, 3vw, 2.2rem) 0; border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.returns__v { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.9; color: var(--champagne); letter-spacing: -0.01em; }
.returns__body { display: flex; flex-direction: column; gap: 0.6rem; max-width: 52ch; }
.returns__c { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ivory); }
.returns__note { font-size: 0.92rem; color: var(--ivory-dim); line-height: 1.6; }

/* Three management pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-on-dark); border-left: 1px solid var(--line-on-dark); }
.pillar { padding: clamp(1.6rem, 2.6vw, 2.3rem); border-right: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.pillar__title { font-family: var(--serif); font-size: 1.4rem; color: var(--ivory); margin-bottom: 1.2rem; }
.pillar__list li { position: relative; padding-left: 1.3rem; margin-bottom: 0.65rem; font-size: 0.9rem; line-height: 1.45; color: #d6cdbf; }
.pillar__list li:last-child { margin-bottom: 0; }
.pillar__list li::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 8px; height: 1px; background: var(--champagne); }
.managed__owner { margin-top: 1.8rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne); }

/* Editorial closing line — intentional, centred conclusion of the operating model */
.pullquote {
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding-top: clamp(2.4rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-on-dark);
  text-align: center; max-width: 30ch;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.3; color: var(--ivory);
}

/* ==================== OWNERSHIP & LEGAL STRUCTURE ==================== */
.ownership__head { max-width: 60ch; }
.legal-grid { margin-top: clamp(2.5rem, 5vw, 3.75rem); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-on-light); border-left: 1px solid var(--line-on-light); }
.legal { padding: clamp(1.6rem, 2.6vw, 2.3rem); border-right: 1px solid var(--line-on-light); border-bottom: 1px solid var(--line-on-light); }
.legal__title { font-family: var(--serif); font-size: 1.4rem; color: var(--ink-text); }
.legal__text { margin-top: 0.7rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-text-dim); }

/* ============================ PAYMENT PLAN ========================== */
.payment__head { max-width: 60ch; }
.payplan { margin-top: clamp(2.5rem, 5vw, 3.75rem); display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 3vw, 2.4rem); }
.paygroup { border: 1px solid var(--line-on-light); }
.paygroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: clamp(1.2rem, 2vw, 1.6rem) clamp(1.4rem, 2.4vw, 2rem); border-bottom: 1px solid var(--line-on-light); background: rgba(43,38,32,0.03); }
.paygroup__tag { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-text); }
.paygroup__share { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; color: var(--champagne-deep); display: inline-flex; align-items: baseline; gap: 0.6rem; }
.paygroup__share span { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-text-dim); }

.paysteps { display: grid; grid-template-columns: repeat(2, 1fr); }
.paysteps--three { grid-template-columns: repeat(3, 1fr); }
.paystep { padding: clamp(1.4rem, 2.4vw, 2rem); border-right: 1px solid var(--line-on-light); display: flex; flex-direction: column; }
.paystep:last-child { border-right: 0; }
.paystep__pct { font-family: var(--serif); font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: 1; color: var(--ink-text); }
.paystep__title { margin-top: 0.6rem; font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-deep); }
.paystep__desc { margin-top: 0.7rem; font-size: 0.88rem; line-height: 1.55; color: var(--ink-text-dim); }

.payplan__note { margin-top: clamp(1.6rem, 3vw, 2.2rem); font-size: 0.8rem; color: var(--ink-text-dim); max-width: 80ch; }
.payment__cta { margin-top: clamp(1.8rem, 3vw, 2.4rem); }

/* ============================== GALLERY ==============================
   Editorial, asymmetric 12-column grid. Theme groups (Architecture /
   Interiors / The Island) are separated by the .gallery-band labels,
   which double as quiet dividers with a hairline above. Each image is
   placed in a frame that respects its natural orientation. */
.gallery .block-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.2vw, 1.8rem); align-items: start; }
.gallery-band { grid-column: 1 / -1; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--champagne); padding-top: clamp(2.2rem, 4vw, 3.25rem); margin-bottom: -0.4rem; border-top: 1px solid var(--line-on-dark); }
.gallery-band:first-child { border-top: 0; padding-top: 0; }
.g-item { margin: 0; }
.g-item .frame img { transition: transform 1.4s var(--ease); }
.g-item:hover .frame img { transform: scale(1.03); }
.g-item figcaption { margin-top: 0.85rem; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-dim); }
.g-item figcaption span { color: rgba(244,240,232,0.4); }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-12 { grid-column: span 12; }

/* Full-image (uncropped) treatment — for important portrait photos that
   must be shown in full. The image is contained, not cropped, and the
   surrounding area is transparent so it dissolves into the dark section. */
.g-item--contain .frame { background: transparent; }
.g-item--contain .frame img { object-fit: contain; }
.g-item--contain:hover .frame img { transform: none; }

.gallery__cta { margin-top: clamp(2.5rem, 5vw, 3.75rem); text-align: center; }

/* =========================== CLOSING / FORM ========================== */
.closing__head { max-width: 56ch; }
.closing__grid { margin-top: clamp(2.5rem, 5vw, 3.75rem); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.closing__intro-label, .corporate__label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1.2rem; display: block; }
.includes { display: grid; }
.includes li { padding: 1rem 0; border-top: 1px solid var(--line-on-dark); font-family: var(--serif); font-size: 1.12rem; color: #ded6c8; line-height: 1.4; }
.includes li:first-child { border-top: 0; padding-top: 0; }
.closing__privacy { margin-top: 1.8rem; font-size: 0.78rem; color: var(--ivory-dim); max-width: 40ch; }

.form { background: var(--charcoal-2); border: 1px solid var(--line-on-dark); padding: clamp(1.6rem, 3vw, 2.6rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.field { margin-bottom: 1.6rem; display: flex; flex-direction: column; }
.field label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 0.7rem; }
.field label .opt { letter-spacing: 0.06em; text-transform: none; color: rgba(168,159,144,0.7); }
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-on-dark); padding: 0.55rem 0;
  transition: border-color 0.4s var(--ease); border-radius: 0;
}
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--champagne); }
.field input::placeholder { color: rgba(168,159,144,0.5); }
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ivory-dim) 50%), linear-gradient(135deg, var(--ivory-dim) 50%, transparent 50%);
  background-position: calc(100% - 9px) 1.1rem, calc(100% - 4px) 1.1rem; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select option { color: #1a1410; background: var(--ivory); }
.field select:invalid { color: rgba(168,159,144,0.55); }
.form__submit { width: 100%; margin-top: 0.4rem; }
.form__call { width: 100%; text-align: center; margin-top: 0.9rem; }
.form__success { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--champagne); }

.corporate { margin-top: clamp(2.8rem, 5vw, 4rem); padding-top: 2.4rem; border-top: 1px solid var(--line-on-dark); font-style: normal; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; font-size: 0.84rem; line-height: 1.9; color: var(--ivory-dim); }
.corporate__col { display: flex; flex-direction: column; }
.corporate__col a { border-bottom: 1px solid var(--champ-line); padding-bottom: 1px; align-self: flex-start; transition: border-color 0.4s var(--ease); }
.corporate__col a:hover { border-color: var(--champagne); }
.corporate__name { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); margin-bottom: 0.3rem; }

/* =============================== FOOTER ============================== */
.footer { background: var(--ink); color: var(--ivory-dim); padding-block: clamp(2.4rem, 4vw, 3.25rem); border-top: 1px solid var(--line-on-dark); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line-on-dark); }
.footer__brand { font-family: var(--serif); font-size: 1.3rem; color: var(--ivory); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav a { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory); opacity: 0.8; transition: opacity 0.4s var(--ease); }
.footer__nav a:hover { opacity: 1; }
.footer__entity { font-size: 0.8rem; letter-spacing: 0.03em; margin-top: 1.6rem; color: var(--ivory); }
.footer__contact { font-size: 0.8rem; margin-top: 0.35rem; }
.footer__contact a { border-bottom: 1px solid var(--champ-line); padding-bottom: 1px; transition: border-color 0.4s var(--ease); }
.footer__contact a:hover { border-color: var(--champagne); }
.footer__disclaimer { margin-top: 1.4rem; font-size: 0.71rem; line-height: 1.75; max-width: 92ch; color: rgba(168,159,144,0.78); }
.footer__copy { margin-top: 1.4rem; font-size: 0.71rem; letter-spacing: 0.08em; }

/* ========================= REVEAL ANIMATIONS ========================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* =========================== RESPONSIVE ============================== */
@media (max-width: 1000px) {
  .indicators, .legal-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .closing__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hstats { grid-template-columns: repeat(3, 1fr); }
  .hstat { border-bottom: 1px solid var(--line-on-dark); }
  .hstat:nth-child(3n) { border-right: 0; }
  .hstat:nth-last-child(-n+2) { border-bottom: 0; }

  .glance { grid-template-columns: repeat(3, 1fr); }
  .glance__item { border-bottom: 1px solid var(--line-on-light); }
  .glance__item:nth-child(3n) { border-right: 0; }
  .glance__item:nth-last-child(-n+3) { border-bottom: 0; }

  .typologies { grid-template-columns: 1fr; gap: clamp(2.2rem, 7vw, 3rem); }
  .typology__media { max-width: 560px; }

  /* Payment steps stack within each group */
  .paysteps, .paysteps--three { grid-template-columns: 1fr; }
  .paystep { border-right: 0; border-bottom: 1px solid var(--line-on-light); }
  .paystep:last-child { border-bottom: 0; }

  /* Gallery → calm vertical sequence, no tiny thumbnails or h-scroll */
  .gallery-grid { grid-template-columns: 1fr; gap: clamp(1.8rem, 6vw, 2.6rem); }
  .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: 1 / -1; }
  .ar-wide { aspect-ratio: 3 / 2; }
  .ar-tall { aspect-ratio: 4 / 5; }

  .corporate { grid-template-columns: 1fr; gap: 1.8rem; }
  .returns { gap: 1.2rem; }
}

@media (max-width: 560px) {
  .hstats { grid-template-columns: repeat(2, 1fr); }
  .hstat:nth-child(3n) { border-right: 1px solid var(--line-on-dark); }
  .hstat:nth-child(2n) { border-right: 0; }
  .hstat:nth-last-child(-n+1) { border-bottom: 0; }

  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance__item:nth-child(3n) { border-right: 1px solid var(--line-on-light); }
  .glance__item:nth-child(2n) { border-right: 0; }
  .glance__item:nth-last-child(-n+2) { border-bottom: 0; }

  .indicators, .legal-grid, .pillars { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .nav__brand { font-size: 1.16rem; }
  .hero__caption { display: none; }
  .paygroup__head { gap: 0.4rem; }
}

/* ====================== REDUCED MOTION SUPPORT ======================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
