/* ==========================================================================
   SVP WAVE CITY — landing page stylesheet
   Design tokens → base → components → sections → responsive → motion
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink:          #0D1F16;
  --green-900:    #16301F;
  --green-800:    #1C3D29;
  --green-700:    #24503A;
  --green-600:    #2F6547;
  --green-400:    #6FA585;
  --gold:         #C9A227;
  --gold-300:     #E4C768;
  --gold-100:     #F6EDD2;
  --cream:        #F7F4EC;
  --cream-200:    #EFEADD;
  --paper:        #FFFFFF;
  --text:         #22302A;
  --muted:        #5F6F66;
  --line:         rgba(22, 48, 31, .14);
  --danger:       #B3261E;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius:       14px;
  --radius-lg:    22px;
  --pill:         999px;
  --shadow-sm:    0 2px 10px rgba(13, 31, 22, .07);
  --shadow-md:    0 14px 40px rgba(13, 31, 22, .12);
  --shadow-lg:    0 30px 70px rgba(13, 31, 22, .22);

  --container:    1200px;
  --header-h:     74px;
  --ease:         cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 46px); }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; color: var(--green-900); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--green-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 10px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; display: block;
}

.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.015em; }
.section-lead { margin-top: 14px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted); }
.body-text { margin-top: 18px; color: var(--muted); }
.body-text-center { max-width: 660px; margin-inline: auto; }

.section-head-light h2, .section-head-light .body-text { color: #fff; }
.section-head-light .section-lead { color: rgba(255, 255, 255, .78); }

.section-cta { text-align: center; margin-top: clamp(30px, 4vw, 46px); }
.section-cta .btn + .btn { margin-left: 12px; margin-top: 10px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  padding: 14px 28px; font-weight: 600; font-size: 15.5px; line-height: 1;
  letter-spacing: .01em; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold) 55%, #A9851B);
  color: var(--ink); box-shadow: 0 10px 26px rgba(201, 162, 39, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201, 162, 39, .45); }

.btn-outline {
  background: transparent; color: var(--gold-300);
  border-color: rgba(228, 199, 104, .65);
}
.btn-outline:hover { background: rgba(228, 199, 104, .14); border-color: var(--gold-300); transform: translateY(-2px); }

/* Outline variant on light backgrounds */
.highlights .btn-outline, .residences .btn-outline, .gallery .btn-outline,
.final-cta .btn-outline, .faq .btn-outline {
  color: var(--green-800); border-color: rgba(22, 48, 31, .35);
}
.highlights .btn-outline:hover, .residences .btn-outline:hover,
.gallery .btn-outline:hover { background: rgba(22, 48, 31, .06); border-color: var(--green-800); }
.final-cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.final-cta .btn-outline:hover { background: rgba(255, 255, 255, .12); }

.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }

.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 4. Topbar + header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; padding-block: 5px; }
.topbar-msg { letter-spacing: .02em; }
.topbar-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-300); font-weight: 600; white-space: nowrap; }
.topbar-phone:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: nowrap; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { display: grid; place-items: center; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-size: 17.5px; letter-spacing: .06em; color: var(--green-900); }
.logo-text small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; flex-wrap: nowrap; }
.main-nav a {
  display: block; padding: 9px 11px; font-size: 14.5px; font-weight: 500;
  color: var(--text); border-radius: var(--pill); position: relative;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover { color: var(--green-900); background: rgba(22, 48, 31, .05); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--green-800); white-space: nowrap; }
.header-phone svg { color: var(--gold); }
.header-phone span { display: none; }
.header-actions .btn { white-space: nowrap; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(9, 25, 17, .93) 0%, rgba(13, 31, 22, .82) 42%, rgba(13, 31, 22, .35) 70%, rgba(13, 31, 22, .55) 100%),
    linear-gradient(to top, rgba(9, 25, 17, .85) 0%, transparent 38%);
}
.hero-inner { padding: clamp(70px, 11vh, 130px) 0 clamp(90px, 12vh, 140px); }
.hero-copy { max-width: 700px; }
.hero h1 { color: #fff; font-size: clamp(42px, 7.4vw, 84px); letter-spacing: -.02em; }
.hero h1 .line-1, .hero h1 .line-2 { display: block; }
.hero h1 .line-2 {
  background: linear-gradient(120deg, var(--gold-300), var(--gold) 60%, #E9D48B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .87); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-chips li {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(8, 24, 16, .68); border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(10px); border-radius: 14px; padding: 12px 18px; min-width: 168px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}
.hero-chips strong { font-family: var(--font-display); font-size: 17px; color: var(--gold-300); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.hero-chips span { font-size: 12.5px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 27px; height: 44px; border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: var(--pill); display: grid; justify-items: center; padding-top: 7px;
}
.hero-scroll span { width: 3px; height: 9px; border-radius: 3px; background: var(--gold-300); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(15px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 6. Stats ---------- */
.stats { background: var(--green-900); color: #fff; padding: clamp(34px, 5vw, 54px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stat { text-align: center; padding: 10px 14px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); font-weight: 600; color: var(--gold-300); line-height: 1.05; }
.stat-label { display: block; margin-top: 7px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* ---------- 7. Vision ---------- */
.vision { background: var(--cream); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.media-note {
  position: absolute; right: -18px; bottom: -26px; max-width: 300px;
  background: var(--green-900); color: rgba(255, 255, 255, .9);
  padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(228, 199, 104, .35);
  display: flex; gap: 12px; align-items: flex-start;
}
.media-note-mark { color: var(--gold); font-size: 20px; line-height: 1.3; }
.media-note p { font-size: 14.5px; line-height: 1.55; }

.split-copy h2 { font-size: clamp(30px, 4vw, 46px); }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(201, 162, 39, .5); }
.pillar h3 { font-size: 18px; color: var(--green-800); }
.pillar h3::before { content: "◆ "; color: var(--gold); font-size: 12px; vertical-align: 2px; }
.pillar p { margin-top: 7px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.pillar:last-child:nth-child(odd) { grid-column: span 2; }

/* ---------- 8. Highlights ---------- */
.highlights { background: var(--paper); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.highlight-card {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px 26px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.highlight-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.highlight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }
.highlight-card:hover::after { transform: scaleX(1); }
.highlight-index { font-family: var(--font-display); font-size: 14px; color: var(--gold); letter-spacing: .18em; }
.highlight-card h3 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 12px; color: var(--green-900); }
.highlight-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- 9. Residences ---------- */
.residences { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-200) 100%); }
.tower-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tower-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tower-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tower-media { position: relative; background: var(--cream); aspect-ratio: 4 / 3.4; overflow: hidden; }
.tower-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s var(--ease); }
.tower-card:hover .tower-media img { transform: scale(1.04); }
.tower-tag {
  position: absolute; top: 12px; left: 12px; background: var(--green-900); color: var(--gold-300);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--pill);
}
.tower-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tower-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tower-config { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--green-900); line-height: 1; }
.tower-area { font-size: 12.5px; font-weight: 600; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.tower-body h3 { font-size: 17px; margin-top: 8px; color: var(--green-700); font-family: var(--font-body); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tower-body p { margin: 12px 0 20px; font-size: 14.5px; color: var(--muted); flex: 1; }

.senior-panel {
  margin-top: clamp(34px, 5vw, 54px); background: var(--green-900); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(228, 199, 104, .3);
}
.senior-copy h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.senior-copy p:not(.eyebrow) { color: rgba(255, 255, 255, .78); margin-bottom: 24px; font-size: 15.5px; }
.senior-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; align-content: center; }
.senior-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 14px; }
.senior-list svg { color: var(--gold-300); flex: none; margin-top: 3px; }
.senior-list strong { color: var(--gold-300); font-weight: 600; }

/* ---------- 10. Green philosophy ---------- */
.green { position: relative; color: #fff; overflow: hidden; }
.green-bg { position: absolute; inset: 0; z-index: -2; }
.green-bg img { width: 100%; height: 100%; object-fit: cover; }
.green::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 25, 17, .94), rgba(13, 31, 22, .88));
}
.green-inner .section-head { margin-bottom: clamp(30px, 4vw, 46px); }
.green-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.green-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(228, 199, 104, .35);
  border-radius: var(--radius); padding: 26px 22px;
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.green-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.green-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(201, 162, 39, .16); color: var(--gold-300); margin-bottom: 16px;
  border: 1px solid rgba(228, 199, 104, .4);
}
.green-card h3 { color: var(--gold-300); font-size: 20px; }
.green-card p { margin-top: 9px; font-size: 14.5px; color: rgba(255, 255, 255, .8); line-height: 1.55; }
.green-cta { text-align: center; margin-top: clamp(30px, 4vw, 48px); }

/* ---------- 11. Wellness ---------- */
.wellness { background: var(--paper); }
.wellness-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wellness-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  background: linear-gradient(180deg, #fff, var(--cream));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.wellness-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 39, .55); }
.wellness-num { font-family: var(--font-display); color: var(--gold); font-size: 15px; letter-spacing: .2em; }
.wellness-card h3 { margin-top: 10px; font-size: 21px; }
.wellness-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.wellness-media { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: clamp(26px, 4vw, 42px); }
.wellness-media figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.wellness-media img { width: 100%; height: 100%; object-fit: cover; }
.wellness-side figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 22px 20px;
  background: linear-gradient(to top, rgba(9, 25, 17, .92), transparent);
  color: rgba(255, 255, 255, .92); font-size: 14.5px; line-height: 1.55;
}

/* ---------- 12. Master plan ---------- */
.masterplan { background: var(--cream); }
.plan-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--line); }
.plan-zoom { display: block; width: 100%; border: 0; padding: 0; background: #fff; position: relative; cursor: zoom-in; }
.plan-zoom img { width: 100%; }
.plan-zoom-hint {
  position: absolute; right: 16px; bottom: 16px; background: rgba(13, 31, 22, .82);
  color: #fff; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--pill); backdrop-filter: blur(4px);
}
.plan-zoom:hover .plan-zoom-hint { background: var(--gold); color: var(--ink); }

.feature-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(26px, 4vw, 40px); }
.feature-chips li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill);
  padding: 11px 20px; text-align: center; min-width: 150px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-chips li:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, .6); box-shadow: var(--shadow-sm); }
.feature-chips strong { display: block; font-size: 14.5px; color: var(--green-800); }
.feature-chips span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.map-embed {
  margin-top: clamp(26px, 4vw, 40px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.map-embed-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px;
  padding: 13px 20px; background: #fff; border-bottom: 1px solid var(--line);
}
.map-embed-head strong {
  font-family: var(--font-display); font-size: 15px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-800);
}
.map-embed-head span { font-size: 13.5px; color: var(--muted); }
.map-embed iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; background: var(--cream); }

/* ---------- 13. Gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item button {
  position: relative; display: block; width: 100%; border: 0; padding: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--cream); cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item-wide img { aspect-ratio: 16 / 8.2; }
.gallery-item button:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 15px;
  background: linear-gradient(to top, rgba(9, 25, 17, .88), transparent);
  color: #fff; font-size: 14px; font-weight: 500; text-align: left;
  transform: translateY(6px); opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item button:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- 14. FAQ ---------- */
.faq { background: var(--cream); }
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(201, 162, 39, .5); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 16.5px; color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--green-800); transition: opacity .3s var(--ease); }
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after { width: 2px; height: 11px; }
.faq-item[open] .faq-icon { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- 15. Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(1000px 420px at 15% 0%, rgba(201, 162, 39, .18), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--ink));
  color: #fff; padding: clamp(60px, 8vw, 96px) 0;
}
.final-cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.final-cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.015em; }
.final-cta-copy p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.final-cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; text-align: center; }
.final-cta-note { font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 4px; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: clamp(52px, 7vw, 84px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); }
.footer-brand p { margin: 20px 0 24px; font-size: 14.8px; line-height: 1.7; color: rgba(255, 255, 255, .68); max-width: 380px; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: rgba(255, 255, 255, .55); }
.footer-col h3 { color: var(--gold-300); font-family: var(--font-body); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col span { font-size: 14.8px; color: rgba(255, 255, 255, .74); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { margin-top: clamp(34px, 5vw, 54px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 14px; }
.footer-disclaimer { font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .5); }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .62); }

/* ---------- 17. Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(13, 31, 22, .96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(228, 199, 104, .35);
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: 15px; }

/* ---------- 17b. Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 100;
  width: 58px; height: 58px; display: grid; place-items: center;
  background: #25D366; border-radius: 50%;
  box-shadow: 0 10px 28px rgba(10, 40, 20, .35), 0 2px 8px rgba(0, 0, 0, .2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: wa-pop .5s var(--ease) both;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(10, 40, 20, .42); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@keyframes wa-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: calc(74px + 12px); width: 54px; height: 54px; }
}

/* ---------- 18. Modal + form ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(9, 25, 17, .72); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative; width: min(560px, 100%); max-height: min(92vh, 860px);
  overflow-y: auto; background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 40px);
  transform: translateY(24px) scale(.97); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); opacity: 1; }

.modal-close {
  position: absolute; top: 14px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--cream);
  font-size: 24px; line-height: 1; color: var(--green-900);
  display: grid; place-items: center; transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.modal-close:hover { background: var(--gold); transform: rotate(90deg); }

.modal-head { margin-bottom: 24px; padding-right: 36px; }
.modal-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.modal-head h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 8px; }
.modal-head p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.lead-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--green-900); letter-spacing: .02em; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 15.5px; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, .16);
}
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.field-error { font-size: 12.5px; color: var(--danger); min-height: 0; }
.field-error:not(:empty) { min-height: 16px; }

.consent .checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); font-weight: 400; line-height: 1.55; }
.checkline input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green-700); flex: none; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  background: rgba(179, 38, 30, .08); border: 1px solid rgba(179, 38, 30, .35);
  color: var(--danger); font-size: 14px; padding: 12px 15px; border-radius: 10px;
}
.form-alert[hidden] { display: none; }
.form-footnote { text-align: center; font-size: 13.5px; color: var(--muted); }
.form-footnote a { color: var(--green-700); font-weight: 600; }

#leadSubmit[disabled] { opacity: .7; cursor: progress; }

.form-success { text-align: center; padding: 26px 6px 8px; }
.form-success h3 { font-size: 27px; margin-top: 18px; }
.form-success p { margin: 12px 0 24px; color: var(--muted); font-size: 15.5px; }
.success-icon { display: inline-grid; place-items: center; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- 19. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 130; background: rgba(6, 16, 11, .94);
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; font-size: 15px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 28px; line-height: 1; transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox-close:hover { background: var(--gold); color: var(--ink); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 20px; transition: background-color .2s var(--ease);
}
.lightbox-nav:hover { background: var(--gold); color: var(--ink); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ---------- 20. Scroll reveal ----------
   Hidden state is scoped to .js so no-JS visitors always see the content. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 21. Responsive ---------- */
@media (min-width: 1300px) {
  .header-phone span { display: inline; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; z-index: 95;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 14px 20px 22px; transform: translateY(-130%); transition: transform .35s var(--ease);
    margin-left: 0;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--cream-200); border-radius: 0; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }

  .highlight-grid, .tower-grid { grid-template-columns: repeat(2, 1fr); }
  .green-grid { grid-template-columns: repeat(2, 1fr); }
  .wellness-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .media-note { position: static; max-width: none; margin-top: 14px; }
  .senior-panel { grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .final-cta .eyebrow { text-align: center; }
  .wellness-media { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-wide { grid-column: span 2; }
  .topbar-msg { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }

  .hero { min-height: 88vh; }
  .hero-chips li { min-width: calc(50% - 6px); flex: 1; }
  .hero-actions .btn { width: 100%; }

  .highlight-grid, .tower-grid, .green-grid, .wellness-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar:last-child:nth-child(odd) { grid-column: auto; }
  .senior-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
  .feature-chips li { min-width: calc(50% - 6px); }
  .modal { padding: 24px 18px 28px; }
}

/* ---------- 22. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
