/* ============================================================
   Elenn Eternity — Lead Magnet Landing Page
   Design system matched to Elenn brand (navy · gold · magenta)
   ============================================================ */

:root {
  --navy: #0b2a5b;
  --navy-dark: #071d40;
  --navy-soft: #12376f;
  --gold: #c9a227;
  --gold-light: #e8c87a;
  --gold-pale: #f6ecc9;
  --cream: #fbf5ea;
  --magenta: #e5207c;
  --magenta-dark: #c01564;
  --white: #ffffff;
  --text: #1d2433;
  --muted: #5b6478;
  --line: #e6dfd0;
  --shadow: 0 18px 50px rgba(7, 29, 64, .14);
  --shadow-sm: 0 6px 18px rgba(7, 29, 64, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
s { text-decoration: line-through; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(900px, 92%); }

.ic { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; vertical-align: -.2em; }
.ic--lg { width: 1.6em; height: 1.6em; }
.ic--xl { width: 2.2em; height: 2.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; text-align: center;
  padding: .72em 1.5em; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  color: var(--white); box-shadow: 0 10px 24px rgba(229, 32, 124, .35);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(229, 32, 124, .45); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--wa { background: #1faa53; color: var(--white); box-shadow: 0 10px 24px rgba(31, 170, 83, .3); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--plain { background: none; border: none; color: var(--muted); text-decoration: underline; }
.btn--lg { font-size: 1.02rem; padding: .9em 1.8em; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cdd8ec; font-size: .8rem; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; justify-content: center; padding: .45rem 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .4em; }
.topbar__item strong { color: var(--gold-light); }
.topbar__item s { color: #8fa1c0; }
.topbar__tel { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar__tel:hover { color: var(--gold-light); }
@media (max-width: 640px) { .topbar__item:not(.topbar__offer) { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 42, 91, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; padding: .6rem 0; }
.header__logo img { width: 170px; height: auto; background: var(--white); border-radius: 8px; padding: .28rem .5rem; }
.header__nav { display: flex; gap: 1.3rem; margin-left: auto; }
.header__nav a { color: #d7e0f2; text-decoration: none; font-size: .92rem; font-weight: 600; }
.header__nav a:hover { color: var(--gold-light); }
.header__actions { display: flex; gap: .6rem; align-items: center; }
@media (max-width: 900px) { .header__nav, .header__call { display: none; } .header__inner { justify-content: space-between; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero.jpg") center 65% / cover no-repeat;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 29, 64, .94) 0%, rgba(7, 29, 64, .82) 42%, rgba(11, 42, 91, .55) 100%),
    linear-gradient(0deg, rgba(7, 29, 64, .75) 0%, transparent 45%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem;
  align-items: center; padding: 4.2rem 0 4.6rem;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(232, 200, 122, .14); border: 1px solid rgba(232, 200, 122, .45);
  color: var(--gold-light); font-weight: 700; font-size: .85rem; letter-spacing: .04em;
  padding: .4em 1em; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero__title { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; font-weight: 800; }
.hero__title .price { display: block; color: var(--gold-light); font-size: 1.12em; }
.hero__title .price em { font-style: normal; font-size: .45em; font-weight: 700; color: var(--white); opacity: .85; }
.hero__old-price { margin: .5rem 0 1rem; font-size: 1.05rem; color: #ffd9ec; }
.hero__old-price s { opacity: .75; }
.hero__sub { font-size: 1.06rem; color: #dbe4f5; max-width: 34rem; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0 1.6rem; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: .42em .95em; border-radius: 999px; font-size: .84rem; font-weight: 600;
}
.hero__chips .ic { color: var(--gold-light); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__micro { margin-top: 1rem; font-size: .84rem; color: #b9c6de; display: flex; align-items: center; gap: .45em; }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.2rem; padding: 3rem 0 3.4rem; }
  .hero__content { text-align: center; }
  .hero__eyebrow { margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__chips, .hero__cta { justify-content: center; }
  .hero__micro { justify-content: center; }
}

/* ---------- Form card ---------- */
.form-card {
  position: relative; background: var(--white); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.9rem 1.7rem 1.4rem; border-top: 5px solid var(--magenta);
  scroll-margin-top: 90px;
}
.form-card__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #b8901a); color: var(--navy-dark);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  padding: .35em 1.2em; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.form-card__title { font-family: var(--font-display); font-size: 1.55rem; color: var(--navy); margin-bottom: .3rem; }
.form-card__sub { font-size: .92rem; color: var(--muted); margin-bottom: 1.2rem; }
.form-card__note { display: flex; align-items: center; justify-content: center; gap: .4em; font-size: .78rem; color: var(--muted); margin-top: .8rem; }
.form-card__foot { text-align: center; font-size: .74rem; color: #98a1b3; margin-top: .9rem; }
.form-card__foot a { color: var(--navy-soft); }
.form-card--compact { scroll-margin-top: 90px; border-top-color: var(--gold); }

.field { margin-bottom: .95rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .32rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .72em .9em; font-size: .95rem; font-family: inherit; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(18, 55, 111, .12);
}
.field input.is-err, .field select.is-err { border-color: #d93025; }
.field__err { display: block; color: #d93025; font-size: .76rem; margin-top: .28rem; min-height: 0; }
.phone-input { display: flex; align-items: stretch; }
.phone-input__cc {
  display: flex; align-items: center; padding: 0 .85em;
  background: var(--navy); color: var(--white); font-weight: 700; font-size: .92rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); border: 1.5px solid var(--navy);
}
.phone-input input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; border-left: 0; }
.checkline { display: flex; gap: .6em; align-items: flex-start; font-size: .78rem; color: var(--muted); margin: .2rem 0 .9rem; cursor: pointer; }
.checkline input { margin-top: .22em; accent-color: var(--magenta); width: 1em; height: 1em; flex-shrink: 0; }
.lead-form .btn { margin-top: .1rem; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(90deg, var(--navy), var(--navy-soft)); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 0; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--gold-light); }
.stat__lbl { font-size: .82rem; color: #c6d2e8; letter-spacing: .03em; }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: 4.4rem 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section__head { text-align: center; max-width: 44rem; margin: 0 auto 2.6rem; }
.section__eyebrow {
  color: var(--magenta); font-weight: 800; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .5rem;
}
.section--navy .section__eyebrow { color: var(--gold-light); }
.section__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--navy); line-height: 1.2; }
.section--navy .section__title { color: var(--white); }
.section__sub { margin-top: .7rem; color: var(--muted); }
.section--navy .section__sub { color: #b9c6de; }

/* ---------- Magnet ---------- */
.magnet { background: var(--cream); }
.magnet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.magnet__card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.magnet__card--gold { border-top: 4px solid var(--gold); }
.magnet__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(229, 32, 124, .1); color: var(--magenta); margin-bottom: 1rem;
}
.magnet__icon--gold { background: rgba(201, 162, 39, .14); color: #a8841a; }
.magnet__card h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem; }
.magnet__card p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.tick-list { list-style: none; }
.tick-list li { position: relative; padding-left: 1.7em; font-size: .92rem; margin-bottom: .35rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 1.05em; height: 1.05em; border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2Z"/></svg>') center / 70% no-repeat;
}
.magnet__cta { text-align: center; margin-top: 2.2rem; }
@media (max-width: 760px) { .magnet__grid { grid-template-columns: 1fr; } }

/* ---------- Highlight cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.hcard {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.hcard__body { padding: 1.1rem 1.15rem 1.3rem; }
.hcard__body h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: .3rem; font-weight: 800; }
.hcard__body p { font-size: .86rem; color: var(--muted); }
@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-4 { grid-template-columns: 1fr; } }

/* ---------- Specs ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.spec {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.05rem; display: grid; grid-template-columns: auto 1fr; gap: .15rem .65rem;
  align-items: center;
}
.spec .ic { color: var(--magenta); grid-row: span 2; width: 1.5em; height: 1.5em; }
.spec span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.spec strong { font-size: .92rem; color: var(--navy); }
@media (max-width: 980px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

/* ---------- Amenities ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.amenity {
  display: flex; align-items: center; gap: .7em;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .88rem; font-weight: 500;
}
.amenity .ic { color: var(--gold-light); width: 1.4em; height: 1.4em; }
@media (max-width: 980px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenity-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 620px; }
.price-table thead { background: var(--navy); color: var(--white); }
.price-table th { text-align: left; padding: .95rem 1.2rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table td { padding: 1rem 1.2rem; border-top: 1px solid var(--line); font-size: .95rem; }
.price-table tbody tr:nth-child(even) { background: #fdfaf3; }
.price-table td:last-child { color: var(--navy); }
.price-note { font-size: .8rem; color: var(--muted); margin: 1rem 0 1.6rem; text-align: center; }
.price-cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
@media (max-width: 640px) {
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: var(--white); }
  .price-table td { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px dashed var(--line); padding: .7rem 1rem; }
  .price-table tr:first-child td { border-top: 0; }
  .price-table td::before { content: attr(data-l); font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
}

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.4rem; align-items: start; }
.location__map img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.dist-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.dist-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .6em; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .7rem .9rem; font-size: .88rem;
}
.dist-list .ic { color: var(--magenta); }
.dist-list strong { color: var(--navy); }
.location__addr { margin-top: 1.4rem; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.location__addr h4 { display: flex; align-items: center; gap: .45em; color: var(--gold-light); margin-bottom: .5rem; font-size: .95rem; }
.location__addr p { font-size: .9rem; color: #d5deef; margin-bottom: 1rem; }
.location__addr .btn { border-color: var(--gold-light); color: var(--gold-light); }
.location__addr .btn:hover { background: var(--gold-light); color: var(--navy); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .dist-list { grid-template-columns: 1fr; } }

/* ---------- Master plan ---------- */
.masterplan { position: relative; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.masterplan img { width: 100%; height: auto; }
.masterplan figcaption {
  position: absolute; right: 1rem; bottom: 1rem;
  background: rgba(7, 29, 64, .82); color: var(--white);
  padding: .45em 1em; border-radius: 999px; font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: .4em;
}
.plotsheet { border: 1px solid var(--line); }

.plot-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.2rem; }
.plot-badge {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .9rem 1rem; text-align: center;
}
.plot-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.plot-badge span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.plot-badge--gold { background: var(--navy); border-color: var(--navy); }
.plot-badge--gold strong { color: var(--gold-light); }
.plot-badge--gold span { color: #c6d2e8; }
@media (max-width: 720px) {
  .plot-badges { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .plot-badge strong { font-size: 1.3rem; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item { border: 0; padding: 0; background: none; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; position: relative; }
.gallery__item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center; transition: transform .3s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: rgba(11, 42, 91, 0); transition: background .25s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { background: rgba(11, 42, 91, .18); }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy-dark); }
.video__poster, .video video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: linear-gradient(135deg, var(--magenta), var(--magenta-dark)); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 14px 40px rgba(229, 32, 124, .5);
  transition: transform .2s ease;
}
.video__play:hover { transform: scale(1.07); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: start; }
.about .section__title, .about .section__eyebrow { text-align: left; }
.about__text p { color: #c9d4e8; margin-bottom: 1rem; font-size: .98rem; }
.about__tags, .about__done { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.about__tags span, .about__done span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: .8rem; font-weight: 600; padding: .4em 1em; border-radius: 999px;
}
.about__done h4 { width: 100%; color: var(--gold-light); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.quote {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem; margin-bottom: 1rem; color: #dce4f3;
}
.quote .ic { color: var(--gold-light); margin-bottom: .5rem; }
.quote p { font-size: .92rem; margin-bottom: .6rem; }
.quote strong { color: var(--gold-light); font-size: .84rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.05rem 1.3rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .98rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--magenta); font-weight: 400; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .93rem; }
.faq__item a { color: var(--magenta-dark); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-dark), var(--navy-soft)); color: var(--white); }
.cta-band__grid { display: grid; grid-template-columns: 1fr 420px; gap: 2.6rem; align-items: center; }
.cta-band .section__title { color: var(--white); text-align: left; }
.cta-band .section__eyebrow { text-align: left; color: var(--gold-light); }
.cta-band__text p { color: #c6d2e8; margin-top: .7rem; }
.cta-band__contacts { display: grid; gap: .5rem; margin-top: 1.4rem; }
.cta-band__contacts a { display: inline-flex; align-items: center; gap: .5em; color: var(--gold-light); text-decoration: none; font-weight: 600; }
.cta-band__contacts a:hover { color: var(--white); }
@media (max-width: 900px) { .cta-band__grid { grid-template-columns: 1fr; } .cta-band .section__title, .cta-band .section__eyebrow { text-align: center; } .cta-band__text p { text-align: center; } .cta-band__contacts { justify-items: center; } }

/* ---------- Footer ---------- */
.footer { background: #050f22; color: #9fb0cc; font-size: .88rem; padding: 3rem 0 1.4rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { margin: .9rem 0 1rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); text-decoration: none; font-weight: 700;
}
.footer__social a:hover { background: var(--magenta); }
.footer__col h4 { color: var(--white); font-size: .9rem; margin-bottom: .8rem; letter-spacing: .04em; }
.footer__col a, .footer__col p { display: block; color: #9fb0cc; text-decoration: none; margin-bottom: .45rem; }
.footer__col a:hover { color: var(--gold-light); }
.footer__legal { padding-top: 1.4rem; font-size: .74rem; color: #6d7d99; }
.footer__legal p { margin-bottom: .7rem; }
.footer__legal a { color: #8fa1c0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile bar ---------- */
.stickybar { display: none; }
@media (max-width: 720px) {
  .stickybar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 70;
    bottom: 0; left: 0; right: 0; background: var(--white);
    box-shadow: 0 -8px 30px rgba(0,0,0,.15); padding-bottom: env(safe-area-inset-bottom);
  }
  .stickybar a {
    display: flex; flex-direction: column; align-items: center; gap: .15rem;
    padding: .55rem .3rem .5rem; font-size: .72rem; font-weight: 700; text-decoration: none; color: var(--navy);
  }
  .stickybar a:nth-child(1) { color: var(--navy); }
  .stickybar a:nth-child(2) { color: #1faa53; }
  .stickybar a:nth-child(3) { color: var(--magenta); }
  .stickybar .ic { width: 1.4em; height: 1.4em; }
  body { padding-bottom: 64px; }
}

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(5, 15, 34, .72); backdrop-filter: blur(4px); padding: 1rem;
}
.modal[hidden] { display: none; }
.modal__card {
  position: relative; background: var(--white); border-radius: var(--radius);
  width: min(430px, 100%); padding: 2.2rem 1.9rem 1.8rem; text-align: center;
  box-shadow: var(--shadow); animation: pop .25s ease;
  border-top: 5px solid var(--magenta);
}
.modal__card--exit { border-top-color: var(--gold); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__close {
  position: absolute; top: .6rem; right: .8rem; border: 0; background: none;
  font-size: 1.7rem; color: var(--muted); line-height: 1;
}
.modal__badge {
  width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%;
  background: rgba(31, 170, 83, .12); color: #1faa53; display: grid; place-items: center;
}
.modal__eyebrow { color: var(--magenta); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .4rem; }
.modal__card h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.45rem; margin-bottom: .4rem; }
.modal__sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.modal__card .btn { margin-bottom: .6rem; }
.modal__note { font-size: .78rem; color: #98a1b3; margin-top: .6rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(5, 15, 34, .92);
  display: grid; place-items: center; padding: 2.5rem 1.2rem;
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  max-width: min(1100px, 94vw); max-height: 86vh;
  overflow: auto; -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm); background: rgba(255,255,255,.04);
}
.lightbox__stage img {
  max-width: 100%; max-height: 86vh; width: auto; height: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 0 auto;
}
.lightbox__stage.is-natural { background: var(--white); }
.lightbox__stage.is-natural img { max-width: none; max-height: none; border-radius: 0; box-shadow: none; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0;
  color: var(--white); font-size: 2.4rem; line-height: 1; z-index: 2;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(255,255,255,.12); border: 0; color: var(--white);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav:hover, .lightbox__close:hover { color: var(--gold-light); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Image presentation safety ---------- */
.location__map img, .masterplan img, .hcard img, .gallery__item img { background: #f3efe6; }
.video__poster { background: var(--navy-dark); }

/* ---------- Mobile optimizations ---------- */
@media (max-width: 720px) {
  body { overflow-x: hidden; }

  /* Prevent iOS input zoom: fields must be ≥16px */
  .field input, .field select { font-size: 16px; }
  .field { margin-bottom: .85rem; }

  .header__logo img { width: 142px; }
  .header__inner { gap: .8rem; padding: .5rem 0; }
  .btn--lg { font-size: .95rem; padding: .85em 1.3em; }

  .topbar { font-size: .74rem; }
  .topbar__inner { padding: .4rem 0; }

  .hero__inner { padding: 2.2rem 0 2.6rem; }
  .hero__bg { background-position: 58% center; }
  .hero__title { font-size: clamp(1.65rem, 7.2vw, 2.2rem); }
  .hero__sub { font-size: .95rem; }
  .hero__chips { gap: .4rem; margin: 1rem 0 1.2rem; }
  .hero__chips li { font-size: .74rem; padding: .38em .8em; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__micro { font-size: .76rem; }

  .form-card { padding: 1.6rem 1.15rem 1.2rem; }
  .form-card__title { font-size: 1.35rem; }
  .phone-input input { min-width: 0; }

  .section { padding: 3rem 0; }
  .section__head { margin-bottom: 1.8rem; }

  .stats__grid { gap: .6rem; padding: 1rem 0; }
  .stat__lbl { font-size: .7rem; }

  .magnet__card { padding: 1.4rem 1.2rem; }
  .hcard__body { padding: .9rem 1rem 1.1rem; }
  .spec { padding: .85rem .9rem; }
  .amenity { padding: .75rem .85rem; font-size: .82rem; }

  .location__map img { max-height: 520px; width: auto; max-width: 100%; margin-inline: auto; }
  .location__addr { padding: 1.1rem 1.15rem; }

  .video__play { width: 64px; height: 64px; }
  .video__play .ic--xl { width: 1.7em; height: 1.7em; }

  .quote { padding: 1rem 1.1rem; }
  .faq__item summary { padding: .9rem 1rem; font-size: .9rem; }
  .faq__item p { padding: 0 1rem 1rem; font-size: .87rem; }

  .cta-band__grid { gap: 1.8rem; }
  .form-card--compact { max-width: 420px; width: 100%; margin-inline: auto; }

  .modal__card { padding: 1.8rem 1.2rem 1.4rem; max-height: 88vh; overflow-y: auto; }
  .modal__card h3 { font-size: 1.25rem; }

  .lightbox { padding: 1.5rem .6rem; }
  .lightbox__stage { max-width: 94vw; max-height: 74vh; }
  .lightbox__stage img { max-height: 74vh; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__nav--prev { left: .4rem; }
  .lightbox__nav--next { right: .4rem; }
  .lightbox__close { top: .5rem; right: .7rem; padding: .3rem .5rem; }

  .footer { padding: 2.2rem 0 1.2rem; }
  .price-table td { text-align: right; }
  .price-table td strong { word-break: break-word; }
  .price-cta { flex-direction: column; }
  .price-cta .btn { width: 100%; }
  .pl-head__inner { gap: .7rem; }
  .pl-head__meta { margin-left: 0; width: 100%; }
  .pl-actions { flex-direction: column; }
  .pl-actions .btn { width: 100%; }
}

@media (max-width: 980px) {
  .cta-band__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero__chips li { font-size: .7rem; }
  .stat__num { font-size: 1.25rem; }
  .header__logo img { width: 128px; }
}

/* Respect users who disable animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .hcard, .gallery__item img, .video__play { transition: none; }
}

/* ---------- Print (price list) ---------- */
@media print {
  .topbar, .header, .stickybar, .footer__social, .btn, .modal, .lightbox, .cta-band { display: none !important; }
  body { background: #fff; }
  .section { padding: 1.2rem 0; }
}
