/* ============================================================================
   The Westin Residences — landing page styles
   Theme: luxury seafront — deep navy/teal base, gold accents, serif display.
   Edit the tokens in :root to retune the whole palette.
   ============================================================================ */

:root {
  --navy: #0a1f33;
  --navy-deep: #061523;
  --teal: #123a4d;
  --teal-soft: #1c5063;
  --gold: #c8a24a;
  --gold-light: #e2c883;
  --sand: #f6f2ea;
  --paper: #fbfaf7;
  --ink: #16202a;
  --muted: #495764;
  --line: rgba(200, 162, 74, 0.28);
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius: 4px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow: 0 18px 50px -20px rgba(6, 21, 35, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.075rem);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; }

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

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

.link { color: var(--teal-soft); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85rem 1.9rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 12px 30px -12px rgba(200, 162, 74, 0.7); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--lg { padding: 1.05rem 2.6rem; font-size: 0.9rem; }
.btn--nav { padding: 0.5rem 1.05rem; font-size: 0.8rem; background: var(--gold); color: var(--navy-deep); white-space: nowrap; }
.btn--nav:hover { background: var(--gold-light); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 1.1rem 0;
}
/* Top scrim so the white brand logo stays legible over bright sky before scroll */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,21,35,0.72) 0%, rgba(6,21,35,0.28) 60%, rgba(6,21,35,0) 100%);
  transition: opacity 0.4s var(--ease);
}
.nav--scrolled::before { opacity: 0; }
.nav--scrolled { background: rgba(6, 21, 35, 0.92); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -18px rgba(0,0,0,0.7); padding: 0.6rem 0; }
.nav__inner { width: min(var(--wrap), 92%); margin: 0 auto; display: flex; align-items: center; gap: 1.1rem; }
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.nav__brand-mark { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.16em; }
.nav__brand-sub { font-size: 0.6rem; letter-spacing: 0.32em; color: var(--gold-light); }
.nav__links { margin-left: auto; display: flex; gap: 1.05rem; }
.nav__links a { position: relative; white-space: nowrap; color: rgba(255,255,255,0.9); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.4); transition: color 0.3s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--white); transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(460px, 74vh, 600px); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--navy-deep);
  background-image: url("../images/hero.jpg");
  background-position: center; background-size: cover; background-repeat: no-repeat;
  transform: scale(1.12); animation: heroZoom 18s ease-out forwards;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(58% 52% at 50% 50%, rgba(6,21,35,0.5) 0%, rgba(6,21,35,0.12) 68%, rgba(6,21,35,0) 100%),
    linear-gradient(180deg, rgba(6,21,35,0.82) 0%, rgba(6,21,35,0.55) 45%, rgba(6,21,35,0.94) 100%);
}
.hero__content { position: relative; z-index: 2; width: min(760px, 90%); padding-top: 6.5rem; }
.hero__eyebrow { letter-spacing: 0.4em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-light); margin: 0 0 1.4rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: 0.03em; line-height: 1.15; margin: 0.6rem 0 0; text-shadow: 0 4px 22px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.5); }
.hero__reassure { font-size: 0.84rem; letter-spacing: 0.02em; margin: 1.1rem 0 0; color: var(--gold-light); text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; color: rgba(255,255,255,0.92); max-width: 44ch; margin: 1.2rem auto 0; text-shadow: 0 2px 12px rgba(0,0,0,0.55); }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.8rem; margin-bottom: 0; }
.hero__content.stagger > .hero__title { opacity: 1; transform: none; }
.hero__title .hero__word { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(2deg); animation: heroWord 0.9s var(--ease) both; }
@keyframes heroWord { to { opacity: 1; transform: none; } }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Stats strip ---------- */
.stats { background: var(--navy-deep); color: var(--white); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.8rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 4.5rem) 1rem; }
.stats__item { display: flex; flex-direction: column; align-items: center; }
.stats__num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--gold-light); }
.stats__label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 0.3rem; }

/* ---------- Section shell ---------- */
.section { width: min(var(--wrap), 92%); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0; scroll-margin-top: 90px; }
.section--alt { width: 100%; max-width: none; background: var(--sand); }
.section--alt > .section__head, .section--alt > .prose, .section--alt > .story, .section--alt > .figures, .section--alt > .spec, .section--alt > .plans, .section--alt > .plans__note, .section--alt > .loc, .section--alt > .gallery, .section--alt > .gallery__note, .section--alt > .gallery__cta, .section--alt > .faq { width: min(var(--wrap), 92%); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__eyebrow { letter-spacing: 0.34em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); margin: 0 0 0.8rem; }
.section__eyebrow--light { color: var(--gold-light); }
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--navy); }
.section__intro { max-width: 42rem; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 2.4rem 2rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: rgba(200, 162, 74, 0.12); color: var(--gold); margin-bottom: 1.3rem; }
.card__icon svg { width: 30px; height: 30px; display: block; }
.card h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Location & connectivity ---------- */
.loc { max-width: 900px; margin-left: auto; margin-right: auto; }
.loc__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 2.6rem; }
.loc__tab {
  font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); background: var(--white); border: 1px solid var(--line);
  padding: 0.8rem 1.7rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.loc__tab:hover { border-color: var(--gold); color: var(--gold); }
.loc__tab.is-active { background: var(--navy); color: var(--gold-light); border-color: var(--navy); box-shadow: var(--shadow); }
.loc__panel { display: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 2rem; animation: planFade 0.4s var(--ease); }
.loc__panel.is-active { display: block; }
.loc__table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.loc__table th { text-align: left; font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding: 0.9rem 1rem 0.9rem 0; }
.loc__table th:last-child, .loc__table td:last-child { padding-right: 0; }
.loc__table td { padding: 0.95rem 1rem 0.95rem 0; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; line-height: 1.6; }
.loc__table tr:first-child td { border-top: none; }
.loc__table td:first-child { font-weight: 400; color: var(--navy); white-space: nowrap; }
.loc__table td:nth-child(2) { color: var(--teal-soft); white-space: nowrap; }
.loc__table td:last-child { color: var(--muted); }

/* ---------- Location map ---------- */
.map { max-width: 1000px; margin-left: auto; margin-right: auto; }
.map__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--white);
}
.map__embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__note { margin: 1.6rem 0 0; text-align: center; color: var(--muted); font-size: 0.94rem; }

/* ---------- Story (two-column: media + prose) ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__media { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.story__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.story:hover .story__media img { transform: scale(1.04); }
.story__badge { position: absolute; left: 1.1rem; bottom: 1.1rem; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); background: rgba(6,21,35,0.6); border: 1px solid rgba(255,255,255,0.25); padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
.story__prose { margin: 0; }
.story__prose .link { display: inline-block; margin-top: 0.6rem; font-weight: 500; letter-spacing: 0.02em; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story__media img { min-height: 240px; }
}

/* ---------- Signature figures band ---------- */
.figures { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0; margin-bottom: 3.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: clamp(1.8rem, 3vw, 2.6rem) 1rem; }
.figure { flex: 1 1 180px; text-align: center; padding: 0.6rem 1.6rem; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure__value { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 700; color: var(--navy); line-height: 1.05; font-variant-numeric: tabular-nums; }
.figure__label { display: block; margin-top: 0.7rem; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Spec sheet (icon grid) ---------- */
.spec { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.spec__item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1.2rem; row-gap: 0.35rem; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.6rem 1.7rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease); }
.spec__item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 162, 74, 0.45); }
.spec__icon { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-pill); background: rgba(200, 162, 74, 0.12); color: var(--gold); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.spec__icon svg { width: 26px; height: 26px; }
.spec__item:hover .spec__icon { background: var(--gold); color: var(--navy-deep); }
.spec__label { align-self: end; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.spec__value { color: var(--ink); font-size: 1.02rem; line-height: 1.5; }

/* ---------- Units ---------- */
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.8rem; }
.unit { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.unit:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.unit__head { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.unit__head h3 { font-size: 1.7rem; color: var(--navy); }
.unit__tag { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); }
.unit__tag--avail { background: rgba(18, 58, 77, 0.1); color: var(--teal-soft); }
.unit__tag--final { background: rgba(200, 162, 74, 0.18); color: #97701f; }
.unit__tag--sold { background: rgba(120, 60, 60, 0.12); color: #9a4b4b; }
.unit__size { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); margin: 0.2rem 0; }
.unit__layout { color: var(--muted); margin: 0; }
.unit__price { color: var(--ink); font-weight: 500; margin: 0.6rem 0 0; }
.unit__avail { color: var(--teal-soft); font-size: 0.82rem; letter-spacing: 0.04em; margin: 0.35rem 0 0; }
.units__note { text-align: center; margin-top: 2.6rem; color: var(--muted); }

/* ---------- Floor plans (tabbed by type) ---------- */
.plans { margin-top: 0.5rem; }
.plans__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-bottom: 3rem; }
.plans__tab {
  font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy); background: var(--white); border: 1px solid var(--line);
  padding: 0.8rem 1.7rem; border-radius: var(--radius-pill); cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.plans__tab:hover { border-color: var(--gold); color: var(--gold); }
.plans__tab.is-active { background: var(--navy); color: var(--gold-light); border-color: var(--navy); box-shadow: var(--shadow); }

.plans__panel { display: none; animation: planFade 0.4s var(--ease); }
.plans__panel.is-active { display: block; }
@keyframes planFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.plans__summary { text-align: center; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--navy); margin: 0 0 2.4rem; }

.plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }

.plan-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-card__zoom { position: relative; display: block; padding: 1.1rem; background: #fff; border: 0; border-bottom: 1px solid var(--line); cursor: zoom-in; width: 100%; }
.plan-card__zoom img { width: 100%; height: 250px; display: block; object-fit: contain; transition: transform 0.5s var(--ease); }
.plan-card__zoom:hover img { transform: scale(1.03); }
.plan-card__zoom::after { content: "⤢ Tap to enlarge"; position: absolute; bottom: 0.8rem; right: 0.8rem; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--white); background: rgba(15, 23, 42, 0.72); padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); opacity: 0.9; transition: opacity 0.3s var(--ease); pointer-events: none; }
.plan-card:hover .plan-card__zoom::after { opacity: 1; }
.plan-card__meta { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.7rem 1.7rem; }
.plan-card__code { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); }
.plan-card__spec { color: var(--ink); font-size: 0.98rem; font-weight: 500; }
.plan-card__levels { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.02em; }

.plans__note { text-align: center; margin-top: 3rem; color: var(--muted); }

/* ---------- Lightbox (full uncropped image on a dark backdrop) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: rgba(6, 21, 35, 0.9);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox__img {
  max-width: min(1200px, 94vw); max-height: 88vh;
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8);
  transform: scale(0.96); transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(1rem, 3vw, 2rem);
  text-align: center; color: rgba(255,255,255,0.82);
  font-size: 0.82rem; letter-spacing: 0.04em; padding: 0 1.5rem;
}
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); border-color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox__img { transition: none; }
  .lightbox__img { transform: none; }
}

/* ---------- Lightbox navigation (prev/next) ---------- */
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); border-color: var(--gold-light); }
.lightbox__nav--prev { left: clamp(0.8rem, 3vw, 2.2rem); }
.lightbox__nav--next { right: clamp(0.8rem, 3vw, 2.2rem); }
.lightbox__nav:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
@media (max-width: 640px) { .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; } }

/* ---------- Showroom gallery (masonry via CSS columns) ---------- */
.gallery { columns: 3 260px; column-gap: 1.4rem; }
.gallery__item { margin: 0 0 1.4rem; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--navy-deep); }
.gallery__zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__zoom img { width: 100%; height: auto; display: block; transition: transform 0.6s var(--ease); }
.gallery__item:hover .gallery__zoom img { transform: scale(1.06); }
.gallery__zoom:focus-visible { outline: 2px solid var(--gold-light); outline-offset: -2px; }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem 0.9rem; margin: 0;
  color: var(--white); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(6,21,35,0) 0%, rgba(6,21,35,0.82) 100%);
  transform: translateY(6px); opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.gallery__item:hover .gallery__cap, .gallery__zoom:focus-visible + .gallery__cap { opacity: 1; transform: none; }
.gallery__note { text-align: center; margin: 2.4rem auto 0; color: var(--muted); font-size: 0.9rem; }
.gallery__cta { text-align: center; margin-top: 2rem; }
@media (max-width: 900px) { .gallery { columns: 2 200px; } }
@media (max-width: 520px) { .gallery { columns: 1; } .gallery__cap { opacity: 1; transform: none; } }

/* ---------- Film (poster + click-to-load, keeps the page fast) ---------- */
.film { max-width: 1000px; margin: 0 auto; }
.film__player {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0;
  aspect-ratio: 16 / 9; background: var(--navy-deep); cursor: pointer;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow);
}
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.film__player:hover .film__poster { transform: scale(1.04); }
.film__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 21, 35, 0.05) 0%, rgba(6, 21, 35, 0.12) 55%, rgba(6, 21, 35, 0.55) 100%); }
.film__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: var(--radius-pill);
  background: rgba(200, 162, 74, 0.94); color: var(--navy-deep);
  box-shadow: 0 16px 40px -12px rgba(6, 21, 35, 0.7); transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.film__play svg { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.film__player:hover .film__play, .film__player:focus-visible .film__play { transform: translate(-50%, -50%) scale(1.08); background: var(--gold-light); }
.film__player:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.film__label {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); white-space: nowrap;
}
.film__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.film__note { text-align: center; margin: 2rem auto 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 520px) {
  .film__play { width: 64px; height: 64px; }
  .film__play svg { width: 26px; height: 26px; }
  .film__label { bottom: 1.1rem; font-size: 0.7rem; letter-spacing: 0.18em; }
}

/* ---------- Staggered reveal (hero content + section heads) ---------- */
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }


@media (max-width: 640px) {
  .plans__tabs { gap: 0.5rem; }
  .plans__tab { padding: 0.65rem 1.2rem; font-size: 0.76rem; }
  .plans__grid { grid-template-columns: 1fr; }
}

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: #3a4750; font-size: 1.08rem; margin: 0 0 1.4rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  line-height: 1.3;
  padding: 1.7rem 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 0 1.9rem; }
.faq__a p { color: #3a4750; font-size: 1.05rem; line-height: 1.75; margin: 0; }

/* ---------- Contact ---------- */
.contact { position: relative; background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%); color: var(--white); text-align: center; padding: clamp(4rem, 9vw, 7rem) 1rem; scroll-margin-top: 90px; }
.contact__inner { width: min(1080px, 92%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; text-align: left; }
.contact__info { align-self: center; }
.contact__title { font-size: clamp(2rem, 5vw, 3rem); margin: 0.4rem 0 1rem; }
.contact__lead { color: rgba(255,255,255,0.82); font-size: 1.08rem; margin: 0 0 2.2rem; max-width: 46ch; }
.contact__cta { margin: 2rem 0; }
.contact__reassure { margin: 1rem 0 0; font-size: 0.86rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.7); }
.contact__meta { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; flex-wrap: wrap; gap: 1.6rem 2.8rem; }
.contact__meta li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact__meta span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.contact__meta a, .contact__meta strong { color: var(--white); font-weight: 400; font-size: 1.02rem; }
.contact__meta a:hover { color: var(--gold-light); }

/* ---------- Enquiry form ---------- */
.contact__form-wrap { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-md); padding: clamp(1.8rem, 3vw, 2.6rem); backdrop-filter: blur(6px); }
.cform__title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 0.4rem; color: var(--white); }
.cform__sub { margin: 0 0 1.8rem; font-size: 0.94rem; color: rgba(255,255,255,0.72); }
.cform__field { margin-bottom: 1.4rem; border: 0; padding: 0; }
.cform__field > label, .cform__units legend { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.55rem; padding: 0; }
.cform__req { color: var(--gold); }
.cform__opt { color: rgba(255,255,255,0.55); letter-spacing: normal; text-transform: none; font-size: 0.72rem; }
.cform input[type="text"] {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--sans); font-size: 1rem; color: var(--white);
  background: rgba(6,21,35,0.35); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cform input[type="text"]::placeholder { color: rgba(255,255,255,0.45); }
.cform input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,0.25); }
.cform input[type="text"].is-invalid { border-color: #e08a8a; box-shadow: 0 0 0 3px rgba(224,138,138,0.22); }
.cform__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.2rem; }
.cform__check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.98rem; color: rgba(255,255,255,0.9); cursor: pointer; text-transform: none; letter-spacing: normal; }
.cform__check input { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }
.cform__error { color: #f0b4b4; font-size: 0.88rem; margin: 0 0 1rem; }
.cform__submit { width: 100%; margin-top: 0.4rem; }
.cform__privacy { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.6); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.68); }
.footer__inner { width: min(var(--wrap), 92%); margin: 0 auto; padding: 3.4rem 0 2.4rem; }
.footer__brand { text-align: center; margin-bottom: 2rem; }
.footer__mark { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; letter-spacing: 0.16em; color: var(--white); display: block; }
.footer__sub { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); }
.footer__disclaimer { border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); padding: 1.8rem 0; margin-bottom: 1.6rem; }
.footer__disclaimer h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer__disclaimer p { font-size: 0.82rem; line-height: 1.7; margin: 0; color: rgba(255,255,255,0.64); text-align: justify; }
.footer__copy { text-align: center; font-size: 0.78rem; margin: 1.6rem 0 0; color: rgba(255,255,255,0.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease);
  animation: waPulse 2.8s var(--ease) 3;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Intermediate range: small laptops / large tablets — keep grids breathing */
@media (max-width: 1024px) {
  .cards { gap: 1.6rem; }
  .units { gap: 1.4rem; }
  .spec { gap: 1.4rem; }
}

/* Stack the contact section (info + form) before it gets cramped */
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 2.6rem; text-align: center; }
  .contact__info { max-width: 620px; margin: 0 auto; }
  .contact__lead { margin-left: auto; margin-right: auto; }
  .contact__meta { justify-content: center; }
  .contact__form-wrap { text-align: left; max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 1024px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; z-index: 60;
    width: min(320px, 82%);
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    gap: 0.4rem; margin: 0;
    background: var(--navy-deep);
    box-shadow: -20px 0 50px -24px rgba(0,0,0,0.7);
    padding: 18rem 2.6rem 18rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    font-size: 1.05rem; color: #fff; text-shadow: none;
    padding: 0.95rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: flex; margin-left: auto; position: relative; z-index: 70; }
  .nav__toggle span { transform-origin: center; }
  .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); }
  .btn--nav { display: none; }
}

@media (max-width: 860px) {
  .figure { flex-basis: 45%; }
}

/* Dim page scrim shown behind the open mobile drawer */
.nav__overlay {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(6, 21, 35, 0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.nav__overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
body.nav-open { overflow: hidden; }
@media (min-width: 861px) {
  .nav__overlay { display: none; }
}

@media (max-width: 640px) {
  .loc__panel { padding: 1.2rem 1.3rem; }
  .loc__table { font-size: 0.94rem; }
  .loc__table td:first-child, .loc__table td:nth-child(2) { white-space: normal; }
  .map__frame { aspect-ratio: 4 / 5; }
  .figures { flex-direction: column; }
  .figure { flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 1.1rem 0.6rem; }
  .figure:last-child { border-bottom: 0; }
}

@media (max-width: 480px) {
  .cform__checks { grid-template-columns: 1fr; }
}

/* ---------- Desktop type scale (larger, more comfortable on wide screens) ---------- */
@media (min-width: 1025px) {
  body { font-size: 1.075rem; }
  .nav__links a { font-size: 0.84rem; }
  .nav__brand-mark { font-size: 1.45rem; }
  .section__title { font-size: clamp(2.4rem, 3vw, 3.4rem); }
  .section__eyebrow { font-size: 0.8rem; }
  .card h3 { font-size: 1.55rem; }
  .card p { font-size: 1.05rem; }
  .spec__label { font-size: 0.76rem; }
  .spec__value { font-size: 1.1rem; }
  .unit__head h3 { font-size: 1.9rem; }
  .unit__size { font-size: 1.65rem; }
  .unit__layout, .unit__price { font-size: 1.05rem; }
  .prose p { font-size: 1.2rem; line-height: 1.8; }
  .faq__a p { font-size: 1.12rem; }
  .contact__lead { font-size: 1.2rem; }
  .loc__table { font-size: 1.04rem; }
  .contact__meta a, .contact__meta strong { font-size: 1.1rem; }
  .stats__label { font-size: 0.78rem; }
  .section__intro { font-size: 1.14rem; }
  .gallery__cap { font-size: 0.86rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gallery__cap { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gallery__zoom img { transition: none !important; }
  .film__poster { transition: none !important; }
  .film__player:hover .film__poster { transform: none !important; }
  .hero__bg { transform: scale(1); }
  .hero__title .hero__word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .faq__item summary::after { transition: none !important; }
}
