/* ============================================================
   GRAND KEREGE — Landing styles
   Design system: editorial-luxury, cream/gold/deep-green
   Fonts: Playfair Display (headings) + Inter (body/UI)
   Mobile-first. 8px spacing rhythm.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colors */
  --green:        #1F3D33;
  --green-deep:   #14291F;
  --gold:         #B8925A;   /* accents / icons / lines only */
  --gold-cta:     #A07A3D;   /* CTA fill (AA-safe with white) */
  --gold-cta-h:   #8C6A33;   /* CTA hover */
  --cream:        #F5F0E8;
  --cream-2:      #ECE4D6;   /* alt section bg */
  --cream-3:      #E3D8C4;
  --ink:          #2B2B2B;
  --ink-soft:     #5A5751;
  --white:        #FFFFFF;
  --line:         rgba(31, 61, 51, 0.14);

  /* Semantic */
  --bg:           var(--cream);
  --surface:      var(--white);
  --text:         var(--ink);
  --text-muted:   var(--ink-soft);
  --heading:      var(--green);

  /* Spacing scale (8px rhythm) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Section vertical rhythm */
  --section-y: clamp(56px, 9vw, 112px);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(20, 41, 31, 0.06);
  --shadow-md: 0 12px 30px rgba(20, 41, 31, 0.10);
  --shadow-lg: 0 24px 60px rgba(20, 41, 31, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 240ms;

  /* Z-index scale */
  --z-header: 100;
  --z-float: 200;
  --z-drawer: 300;
  --z-lightbox: 400;

  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Numbers align nicely */
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--alt { background: var(--cream-2); }
.section--green { background: var(--green); color: #EDE8DF; }
.section--green h2, .section--green h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-cta);
  margin-bottom: var(--sp-4);
}
.section--green .eyebrow { color: var(--gold); }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}

.section-head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.section-head p { margin-top: var(--sp-4); color: var(--text-muted); font-size: 1.05rem; }
.section--green .section-head p { color: #CBD3CC; }

.lead { color: var(--text-muted); }
.stack > * + * { margin-top: var(--sp-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--gold-cta); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-cta-h); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--green);
  border: 1.5px solid rgba(31,61,51,0.35);
}
.btn-ghost:hover { border-color: var(--green); background: rgba(31,61,51,0.05); }

.btn-on-dark { color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-on-dark:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-block { width: 100%; }

/* video pill (play + label) */
.btn-video {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  color: #fff; font-weight: 600; min-height: 48px;
}
.btn-video .play {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  display: grid; place-items: center; flex: none;
  transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.btn-video:hover .play { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.btn-video svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  transition: background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              backdrop-filter var(--dur) var(--ease-out);
  padding-top: env(safe-area-inset-top, 0);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-5);
}
.header.is-solid {
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.logo { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.logo b {
  font-family: "Playfair Display", serif; font-weight: 600;
  font-size: 1.32rem; letter-spacing: 0.02em; color: #fff;
}
.logo span {
  font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); font-weight: 500;
}
.header.is-solid .logo b { color: var(--green); }
.header.is-solid .logo span { color: var(--gold-cta); }

.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.nav__link, .nav__phone {
  color: rgba(255,255,255,0.92); font-weight: 500; font-size: 0.95rem;
  transition: color var(--dur) var(--ease-out);
}
.nav__phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav__link:hover, .nav__phone:hover { color: #fff; }
.header.is-solid .nav__link, .header.is-solid .nav__phone { color: var(--ink); }
.header.is-solid .nav__link:hover, .header.is-solid .nav__phone:hover { color: var(--green); }

/* language switch */
.lang { display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.4); overflow: hidden; }
.header.is-solid .lang { border-color: rgba(31,61,51,0.3); }
.lang button {
  min-height: 34px; padding: 0 12px; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.8); letter-spacing: 0.05em;
  transition: background-color var(--dur), color var(--dur);
}
.header.is-solid .lang button { color: var(--ink-soft); }
.lang button.is-active { background: var(--gold-cta); color: #fff; }

/* header whatsapp round icon */
.wa-round {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.45); color: #fff;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur), transform var(--dur);
}
.wa-round:hover { background: #25D366; border-color: #25D366; transform: scale(1.05); }
.header.is-solid .wa-round { border-color: rgba(31,61,51,0.3); color: var(--green); }
.header.is-solid .wa-round:hover { color:#fff; }
.wa-round svg { width: 22px; height: 22px; }

/* burger */
.burger { display: none; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.header.is-solid .burger span, .header.is-solid .burger span::before, .header.is-solid .burger span::after { background: var(--green); }
.burger span::before { transform: translateY(-7px); }
.burger span::after { transform: translateY(5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 900ms var(--ease-out);
}
.hero__video.is-live { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(16,29,22,0.78) 0%, rgba(16,29,22,0.15) 42%, rgba(16,29,22,0.15) 100%),
    linear-gradient(to right, rgba(16,29,22,0.55) 0%, rgba(16,29,22,0) 55%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  padding-block: clamp(32px, 7vw, 72px);
  padding-top: calc(var(--header-h) + 40px);
}
.hero__eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: #EBD9BB; margin-bottom: var(--sp-4);
  font-variant-numeric: tabular-nums;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__divider { width: 72px; height: 2px; background: var(--gold); margin: var(--sp-5) 0; }
.hero__sub { max-width: 52ch; font-size: clamp(1rem, 2.4vw, 1.18rem); color: rgba(255,255,255,0.92); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); }

/* hero stats bar */
.hero__stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero__stats-inner {
  max-width: var(--container); margin-inline: auto; padding: var(--sp-5) var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4);
}
.stat { display: flex; align-items: center; gap: var(--sp-3); color: #fff; }
.stat svg { width: 30px; height: 30px; color: var(--gold); flex: none; stroke-width: 1.4; }
.stat b { font-family: "Playfair Display", serif; font-size: 1.25rem; font-weight: 600; display: block; line-height: 1.1; }
.stat small { font-size: 0.8rem; color: rgba(255,255,255,0.72); }

.scroll-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.7); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; display: none;
}

/* ============================================================
   ABOUT — facts grid
   ============================================================ */
.about-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; }
.about-text p + p { margin-top: var(--sp-4); }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.facts {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.fact { background: var(--cream); padding: var(--sp-5); }
.section--alt .fact { background: var(--cream-2); }
.fact b { display: block; font-family: "Playfair Display", serif; color: var(--green);
  font-size: 1.08rem; margin-bottom: 4px; }
.fact span { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   LOCATION
   ============================================================ */
.loc-grid { display: grid; gap: clamp(28px, 5vw, 48px); grid-template-columns: 1fr; align-items: start; }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.loc-map img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.loc-address {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: var(--gold-cta); font-weight: 600; margin: var(--sp-4) 0 var(--sp-5);
}
.loc-address svg { width: 20px; height: 20px; flex:none; }
.infra { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.infra li { background: var(--cream); padding: var(--sp-4) var(--sp-5); display: flex; gap: var(--sp-4); align-items: flex-start; }
.infra .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(184,146,90,0.14);
  display: grid; place-items: center; flex: none; }
.infra .ico svg { width: 22px; height: 22px; color: var(--gold-cta); }
.infra b { display:block; color: var(--green); font-family: "Playfair Display", serif; font-size: 1.02rem; }
.infra span { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   ARCHITECTURE — materials
   ============================================================ */
.arch-grid { display: grid; gap: clamp(28px, 5vw, 48px); grid-template-columns: 1fr; }
.arch-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.arch-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.materials { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.material {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: var(--sp-4);
}
.section:not(.section--green) .material { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.material b { display:block; font-family: "Playfair Display", serif; font-size: 1.02rem; margin-bottom: 2px; }
.section--green .material b { color: #fff; }
.material span { font-size: 0.85rem; color: var(--text-muted); }
.section--green .material span { color: #B9C2BB; }

/* ============================================================
   YARD — features + gallery
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: clamp(24px,4vw,40px); }
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 500; font-size: 0.92rem; color: var(--green);
}
.chip svg { width: 18px; height: 18px; color: var(--gold-cta); }

.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3;
  transition: transform 600ms var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: 3/4; height: 100%; }

/* ============================================================
   INTERIOR — security cards
   ============================================================ */
.security { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: clamp(28px,4vw,44px); }
.sec-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-5); box-shadow: var(--shadow-sm);
}
.sec-card .ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(31,61,51,0.08);
  display: grid; place-items: center; margin-bottom: var(--sp-3); }
.sec-card .ico svg { width: 24px; height: 24px; color: var(--green); }
.sec-card b { display:block; font-family: "Playfair Display", serif; color: var(--green); font-size: 1.05rem; }
.sec-card span { font-size: 0.88rem; color: var(--text-muted); }

/* ============================================================
   BLOCKS — plan cards
   ============================================================ */
.checklist { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); margin: var(--sp-5) 0 clamp(28px,4vw,44px); }
.checklist li { display: flex; gap: var(--sp-3); align-items: center; color: var(--text); font-size: 0.95rem; }
.checklist svg { width: 20px; height: 20px; color: var(--gold-cta); flex: none; }

.blocks { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.block-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur), transform var(--dur);
}
.block-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.block-card__img { position: relative; cursor: pointer; background: #fff; }
.block-card__img img { width: 100%; aspect-ratio: 1/1; object-fit: contain; padding: 10px; }
.block-card__img .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.block-card__img .zoom svg { width: 20px; height: 20px; color: var(--green); }
.block-card__body { padding: var(--sp-5); border-top: 1px solid var(--line); }
.block-card__body .n { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-cta); font-weight: 600; }
.block-card__body b { display:block; font-family: "Playfair Display", serif; color: var(--green); font-size: 1.3rem; margin: 2px 0 6px; }
.block-card__body span { font-size: 0.92rem; color: var(--text-muted); }

.blocks-cta { margin-top: clamp(28px,4vw,44px); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* ============================================================
   PARKING (split) & COMMERCIAL
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px,5vw,48px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.commercial-gallery { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-top: clamp(28px,4vw,44px); }
.commercial-gallery figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; }
.commercial-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.commercial-gallery figure:hover img { transform: scale(1.05); }

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px,5vw,56px); }
.form { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px);
  box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.field { margin-bottom: var(--sp-5); }
.field label { display:block; font-weight: 600; font-size: 0.92rem; color: var(--green); margin-bottom: var(--sp-2); }
.field label .req { color: #C0392B; }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 52px; padding: 0 16px; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--cream);
  color: var(--ink); transition: border-color var(--dur), background-color var(--dur), box-shadow var(--dur);
}
.field input:focus { outline: none; border-color: var(--gold-cta); background: #fff;
  box-shadow: 0 0 0 3px rgba(160,122,61,0.15); }
.field input[aria-invalid="true"] { border-color: #C0392B; background: #FCF3F2; }
.field .err { display: none; color: #C0392B; font-size: 0.82rem; margin-top: 6px; }
.field .err.show { display: block; }

.consent { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-5); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--gold-cta); }
.consent label { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

.form__status { margin-top: var(--sp-4); font-size: 0.92rem; display: none; padding: 12px 16px; border-radius: var(--radius); }
.form__status.show { display: block; }
.form__status.ok { background: rgba(31,61,51,0.08); color: var(--green); }
.form__status.bad { background: #FCF3F2; color: #C0392B; }

.contact-info .ci { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-4) 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-info .ci .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(184,146,90,0.18);
  display: grid; place-items: center; flex: none; }
.contact-info .ci .ico svg { width: 22px; height: 22px; color: var(--gold); }
.contact-info .ci small { display:block; color:#B9C2BB; font-size: 0.78rem; }
.contact-info .ci b { color: #fff; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-deep); color: #AEB8B0; padding-block: clamp(40px,6vw,72px) 40px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo b { color: #fff; }
.footer .logo span { color: var(--gold); }
.footer__desc { max-width: 46ch; margin-top: var(--sp-4); font-size: 0.92rem; }
.footer__copy { padding-top: var(--sp-5); font-size: 0.8rem; color: #7F8B82; line-height: 1.6; }

/* ============================================================
   FLOATING actions + mobile CTA bar
   ============================================================ */
.wa-float {
  position: fixed; right: 18px; z-index: var(--z-float);
  bottom: calc(18px + env(safe-area-inset-bottom, 0));
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: var(--z-float);
  display: none; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0));
  background: rgba(245,240,232,0.96); backdrop-filter: blur(8px);
  box-shadow: 0 -1px 0 var(--line);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  background: rgba(16,29,22,0.92); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  transition: background-color var(--dur);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__close svg, .lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 16px; top: 50%; transform: translateY(-50%); }

/* video modal */
.videobox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  background: rgba(16,29,22,0.94); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.videobox.open { display: flex; }
/* portrait player for YouTube Shorts (9:16) */
.videobox__frame {
  position: relative; aspect-ratio: 9 / 16;
  height: min(86vh, 900px); max-width: 92vw;
  border-radius: 12px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
}
.videobox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (min-width: 680px) {
  .hero__stats-inner { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .infra { grid-template-columns: repeat(2, 1fr); }
  .materials { grid-template-columns: repeat(3, 1fr); }
  .security { grid-template-columns: repeat(4, 1fr); }
  .blocks { grid-template-columns: repeat(2, 1fr); }
  .checklist { grid-template-columns: repeat(2, 1fr); }
  .commercial-gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — desktop
   ============================================================ */
@media (min-width: 960px) {
  :root { --header-h: 88px; }
  .scroll-hint { display: block; }
  .about-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .loc-grid { grid-template-columns: 1fr 1fr; }
  .arch-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
  .blocks { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}

/* ============================================================
   RESPONSIVE — mobile-only behaviors
   ============================================================ */
@media (max-width: 959px) {
  .nav__link, .nav__phone, .lang, .header .btn-primary, .header .wa-round { display: none; }
  .burger { display: inline-flex; margin-left: auto; }

  /* mobile drawer */
  .drawer {
    position: fixed; inset: 0; z-index: var(--z-drawer);
    background: var(--cream); transform: translateX(100%);
    transition: transform 320ms var(--ease-out); display: flex; flex-direction: column;
    padding: calc(var(--header-h) + env(safe-area-inset-top,0)) var(--gutter) var(--gutter);
    visibility: hidden;
  }
  .drawer.open { transform: none; visibility: visible; }
  .drawer a { padding: var(--sp-4) 0; font-size: 1.15rem; color: var(--green); border-bottom: 1px solid var(--line);
    font-family: "Playfair Display", serif; }
  .drawer .lang-m { display: inline-flex; margin-top: var(--sp-5); border:1px solid var(--line); border-radius: var(--radius-pill); overflow:hidden; align-self: flex-start; }
  .drawer .lang-m button { min-height: 44px; padding: 0 20px; font-weight: 600; color: var(--ink-soft); }
  .drawer .lang-m button.is-active { background: var(--gold-cta); color:#fff; }
  .drawer__close { position: absolute; top: calc(18px + env(safe-area-inset-top,0)); right: var(--gutter);
    width: 46px; height: 46px; display: grid; place-items: center; color: var(--green); }
  .drawer__close svg { width: 26px; height: 26px; }

  .mobile-cta { display: block; }
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom, 0)); width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }

  body { padding-bottom: 0; }
  .footer { padding-bottom: 90px; } /* clear mobile cta bar */

  .gallery .tall { grid-row: span 1; }
  .gallery .tall img { aspect-ratio: 4/3; }
}

@media (min-width: 960px) {
  .drawer, .drawer__close, .mobile-cta { display: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
