/* ==========================================================================
   ENTILLIA 4CS — landing page styles
   Palette: deep navy + gold (matches brand creatives). No framework.
   Layout: mobile-first, custom properties, reduced-motion aware.
   ========================================================================== */

:root {
  --navy-900: #06182b;
  --navy-800: #0a2540;
  --navy-700: #0f3157;
  --navy-600: #17456f;
  --gold-600: #9a7d33;
  --gold-500: #b8963e;
  --gold-400: #c9a84e;
  --gold-300: #ddc882;
  --cream: #f7f8fa;
  --paper: #ffffff;
  --ink: #1a2740;
  --muted: #4a5568;
  --line: rgba(10, 37, 64, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  --grad-gold: linear-gradient(135deg, #ddc882 0%, #b8963e 45%, #96782e 100%);
  --grad-navy: linear-gradient(160deg, #0c2a48 0%, #06182b 100%);

  --shadow-sm: 0 2px 8px rgba(6, 24, 43, 0.07);
  --shadow-md: 0 10px 30px rgba(6, 24, 43, 0.1);
  --shadow-lg: 0 24px 60px rgba(6, 24, 43, 0.18);

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 76px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; letter-spacing: 0.01em; border-radius: 999px;
  padding: 14px 28px; font-size: 1rem; line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative; overflow: hidden; text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: var(--grad-gold); color: var(--navy-900);
  box-shadow: 0 12px 26px rgba(200, 164, 77, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(200, 164, 77, 0.45); }

.btn-navy { background: var(--navy-800); color: var(--gold-300); box-shadow: var(--shadow-md); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--navy-700); padding: 6px 0;
  border-bottom: 2px solid var(--gold-500); border-radius: 0;
  transition: gap 0.2s var(--ease), color 0.2s;
}
.text-link:hover { gap: 12px; color: var(--gold-600); }

/* Button spinner state */
.btn-spinner {
  position: absolute; inset: 0; display: none;
  background: inherit; border-radius: inherit;
}
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading .btn-spinner::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border: 3px solid rgba(6, 24, 43, 0.25); border-top-color: var(--navy-900);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(6, 24, 43, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s;
}
.site-header.is-scrolled { background: rgba(6, 24, 43, 0.96); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.header-inner { display: flex; align-items: center; gap: 26px; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; line-height: 1; letter-spacing: 0.02em;
}
.brand-mark sup { font-size: 0.5em; }
.brand-mark-c { font-style: italic; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; letter-spacing: 0.16em; font-size: 0.92rem; color: #fff; }
.brand-name em { font-style: normal; color: var(--gold-400); }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  color: rgba(255, 255, 255, 0.82); font-size: 0.94rem; font-weight: 500;
  padding: 9px 13px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
}
.header-phone:hover { color: var(--gold-300); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s var(--ease); }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(94vh, 860px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 90px;
  background: var(--navy-900); color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 24, 43, 0.94) 0%, rgba(6, 24, 43, 0.78) 42%, rgba(6, 24, 43, 0.25) 72%, rgba(6, 24, 43, 0.45) 100%),
    linear-gradient(to top, rgba(6, 24, 43, 0.9) 0%, transparent 34%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-300); border: 1px solid rgba(233, 215, 163, 0.4);
  padding: 8px 16px; border-radius: 999px; background: rgba(6, 24, 43, 0.5);
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(217, 188, 110, 0.25); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(217, 188, 110, 0); } }

.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem); color: #fff; margin-bottom: 14px;
  text-wrap: balance;
}
.hero-kicker {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--gold-400); margin-bottom: 16px;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.13rem); color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-bottom: 26px; }

.hero-price {
  display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(233, 215, 163, 0.35);
  border-radius: var(--radius); padding: 12px 20px; margin-bottom: 30px;
  backdrop-filter: blur(8px);
}
.hero-price-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); }
.hero-price-value {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700; color: var(--gold-400); line-height: 1;
}
.hero-price-value small { font-family: var(--font-body); font-size: 0.45em; font-weight: 500; color: rgba(255, 255, 255, 0.75); margin-left: 4px; }
.hero-price-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); border-left: 1px solid var(--line-light); padding-left: 16px; }
.hero-price-note strong { color: var(--gold-300); }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; color: rgba(255, 255, 255, 0.88);
}
.hero-badges .ico { color: var(--gold-400); }
.hero-badges a { color: inherit; text-decoration: underline; text-decoration-color: rgba(233, 215, 163, 0.5); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 44px; border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px; z-index: 3; display: flex; justify-content: center;
}
.hero-scroll span {
  width: 3px; height: 9px; margin-top: 7px; background: var(--gold-400); border-radius: 3px;
  animation: scrollDot 1.8s infinite var(--ease);
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Stats strip ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat {
  padding: 30px 14px; text-align: center; position: relative;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-value {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--navy-800); line-height: 1.1;
}
.stat-label {
  display: block; margin-top: 6px; font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* ---------- Generic section ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
main > section.section:nth-of-type(even):not(.offer):not(.investment) { background: var(--paper); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 12px;
}
.eyebrow-gold { color: var(--gold-400); }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--navy-800); text-wrap: balance; }
.section-title-light { color: #fff; }
.section-lead { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }
.section-lead-light { color: rgba(255, 255, 255, 0.82); }
.body-copy { color: var(--muted); }
.body-light { color: rgba(255, 255, 255, 0.78); }

/* Split layout (overview / location) */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; }
.media-chip {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 9px; width: fit-content; max-width: calc(100% - 32px);
  background: rgba(6, 24, 43, 0.88); color: var(--gold-300);
  font-size: 0.85rem; font-weight: 600; padding: 10px 16px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Overview pillars */
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.pillar {
  display: flex; gap: 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400); border-radius: 12px; font-size: 1.25rem;
}
.pillar h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; color: var(--navy-800); margin-bottom: 4px; }
.pillar p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Offer band ---------- */
.offer { background: var(--grad-navy); position: relative; overflow: hidden; }
.offer::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(200, 164, 77, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.offer-card {
  position: relative; display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(30px, 4vw, 60px); align-items: center;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(233, 215, 163, 0.25);
  border-radius: var(--radius-lg); padding: clamp(30px, 4.5vw, 58px);
}
.offer-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.offer-media img { width: 100%; object-fit: cover; }

.countdown { display: flex; gap: 12px; margin: 26px 0; flex-wrap: wrap; }
.countdown-cell {
  min-width: 78px; text-align: center; padding: 12px 8px;
  background: rgba(6, 24, 43, 0.6); border: 1px solid rgba(233, 215, 163, 0.3);
  border-radius: var(--radius);
}
.cd-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; color: var(--gold-400); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lab { display: block; margin-top: 5px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }

.price-shift {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: rgba(6, 24, 43, 0.55); border-radius: var(--radius);
  padding: 16px 22px; margin-bottom: 28px; width: fit-content;
}
.price-shift span { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.price-shift strong { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; }
.price-shift small { font-family: var(--font-body); font-size: 0.5em; font-weight: 500; margin-left: 3px; }
.price-shift-now strong { color: var(--gold-400); text-decoration: none; }
.price-shift-next strong { color: rgba(255, 255, 255, 0.55); text-decoration: line-through; text-decoration-color: rgba(255, 120, 120, 0.8); }
.price-shift-arrow { color: var(--gold-400); width: 24px; height: 24px; }
.offer-fine { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); margin: 14px 0 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 44px); box-shadow: var(--shadow-md);
}
.price-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.price-figures li {
  text-align: center; padding: 18px 10px; background: var(--cream);
  border: 1px dashed rgba(200, 164, 77, 0.55); border-radius: var(--radius);
}
.pf-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.pf-value { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; color: var(--navy-800); }

.price-extras { display: grid; gap: 2px; margin-bottom: 30px; }
.price-extras li {
  display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: baseline;
  padding: 13px 6px; border-bottom: 1px solid var(--line);
}
.price-extras .ico { color: var(--gold-600); align-self: center; }
.pe-label { font-weight: 600; color: var(--navy-800); font-size: 0.95rem; }
.pe-value { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pe-value span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--muted); }

.price-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.price-poster { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.price-poster img { width: 100%; object-fit: cover; }

/* ---------- Payment plan ---------- */
.plan-card {
  background: var(--paper); border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden;
}
.table-wrap { overflow-x: auto; }
.plan-table thead th {
  background: var(--navy-800); color: var(--gold-300);
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 20px; text-align: left; font-weight: 700;
}
.plan-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.plan-table tbody tr { transition: background 0.2s; }
.plan-table tbody tr:hover { background: rgba(200, 164, 77, 0.07); }
.col-sno { width: 64px; }
.sno {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-300); font-weight: 700; border-radius: 50%; font-size: 0.9rem;
}
.col-pct, .col-amt { text-align: right; font-variant-numeric: tabular-nums; }
.plan-table tfoot td {
  background: var(--navy-800); color: #fff; font-weight: 700;
  font-size: 1.05rem; padding: 18px 20px;
}
.plan-table tfoot .muted { color: rgba(255, 255, 255, 0.6); font-weight: 400; font-size: 0.85rem; }
.plan-table tfoot .col-amt { color: var(--gold-400); }
.plan-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0;
  padding: 16px 22px; background: var(--cream); color: var(--muted);
  font-size: 0.88rem; line-height: 1.55;
}
.plan-note .ico { color: var(--gold-600); flex: none; margin-top: 3px; }

/* ---------- Typologies ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.type-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.type-media { overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-900); }
.type-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.type-card:hover .type-media img { transform: scale(1.06); }
.type-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.type-body h3 { font-size: 1.25rem; color: var(--navy-800); }
.type-body p { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }
.type-body .text-link { align-self: flex-start; font-size: 0.95rem; }

/* ---------- Specifications (comparison table) ---------- */
.spec-table-wrap {
  max-width: 860px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.spec-table thead th {
  padding: 18px 20px 14px; text-align: center; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.04em; color: var(--navy-800);
  border-bottom: 2px solid var(--line); background: var(--cream);
}
.spec-table thead th span {
  display: block; font-weight: 500; font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px;
}
.spec-col-feature { text-align: left !important; width: 42%; }
.spec-col-full {
  width: 29%; color: var(--navy-800);
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(184, 150, 62, 0.07) 0%, transparent 100%) !important;
}
.spec-col-semi { width: 29%; border-left: 1px solid var(--line); }

.spec-cat-row td {
  padding: 12px 20px 8px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600);
  background: var(--cream); border-top: 1px solid var(--line);
}
.spec-cat-row:first-child td { border-top: 0; }

.spec-table tbody tr:not(.spec-cat-row):hover { background: rgba(184, 150, 62, 0.035); }
.spec-table tbody tr:not(.spec-cat-row) td { padding: 11px 20px; border-top: 1px solid rgba(10, 37, 64, 0.06); }
.spec-feat { color: var(--ink); font-weight: 500; }
.spec-tier { display: block; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; }
.spec-tier-sub { display: block; font-weight: 500; font-size: 0.72rem; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }
.spec-col-full .spec-tier { color: var(--gold-600); }

.spec-val {
  text-align: center; border-left: 1px solid rgba(10, 37, 64, 0.06);
  font-size: 0.82rem;
}
.spec-yes, .spec-no { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.spec-yes { color: #1a7a3a; }
.spec-yes .ico { width: 1em; height: 1em; color: #1a7a3a; }
.spec-no { color: #a0a8b8; font-weight: 400; }
.spec-no .ico { width: 0.85em; height: 0.85em; color: #c0c6d2; }

.spec-legend {
  display: flex; justify-content: center; gap: 28px; margin-top: 14px;
  font-size: 0.8rem;
}
.spec-legend-item { display: inline-flex; }

.spec-callout {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 720px; margin: 24px auto 0; padding: 20px 24px;
  background: linear-gradient(135deg, rgba(184, 150, 62, 0.06) 0%, rgba(184, 150, 62, 0.02) 100%);
  border: 1px solid rgba(184, 150, 62, 0.18); border-radius: var(--radius-lg);
}
.spec-callout-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.spec-callout-icon .ico { width: 1.1rem; height: 1.1rem; }
.spec-callout-body strong { display: block; font-size: 0.95rem; color: var(--navy-800); margin-bottom: 4px; }
.spec-callout-body p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

.spec-note {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 720px; margin: 20px auto 0; text-align: left;
  font-size: 0.88rem; color: var(--muted); line-height: 1.55;
}
.spec-note .ico { color: var(--gold-500); flex: none; margin-top: 3px; }

@media (max-width: 640px) {
  .spec-table { font-size: 0.8rem; }
  .spec-table thead th { padding: 12px 8px 10px; font-size: 0.76rem; }
  .spec-tier { font-size: 0.78rem; }
  .spec-tier-sub { font-size: 0.64rem; }
  .spec-col-feature { width: 34%; }
  .spec-col-full, .spec-col-semi { width: 33%; }
  .spec-table tbody tr:not(.spec-cat-row) td { padding: 9px 8px; }
  .spec-cat-row td { padding: 10px 10px 6px; font-size: 0.66rem; }
  .spec-yes, .spec-no { font-size: 0.7rem; gap: 3px; }
  .spec-yes .ico, .spec-no .ico { display: none; }
  .spec-legend { gap: 18px; font-size: 0.74rem; }
  .spec-legend .ico { display: none; }
  .spec-callout { padding: 16px; gap: 12px; margin-top: 20px; }
  .spec-callout-icon { width: 32px; height: 32px; }
  .spec-callout-body strong { font-size: 0.9rem; }
  .spec-callout-body p { font-size: 0.84rem; }
}

/* ---------- Amenities ---------- */
.amenities { background: var(--paper); }
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 18px; }
.amenity {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 26px 14px 22px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.amenity:hover { transform: translateY(-5px); border-color: var(--gold-500); box-shadow: var(--shadow-md); }
.amenity-ico {
  width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.55rem;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400); border-radius: 16px;
}
.amenity-label { font-size: 0.92rem; font-weight: 600; color: var(--navy-800); line-height: 1.35; }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 26px; }
.loc-item {
  display: flex; align-items: center; gap: 12px; font-size: 0.96rem; font-weight: 500;
  color: var(--ink); padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 11px;
  transition: border-color 0.2s, transform 0.2s;
}
.loc-item:hover { border-color: var(--gold-500); transform: translateX(4px); }
.loc-item .ico { color: var(--gold-600); font-size: 1.3rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item-0 { grid-column: span 2; grid-row: span 2; }
.gallery-btn {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-900);
  cursor: zoom-in; padding: 0;
}
.gallery-btn img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.gallery-item-0 .gallery-btn img { aspect-ratio: auto; min-height: 100%; }
.gallery-btn:hover img { transform: scale(1.05); opacity: 0.85; }
.gallery-btn figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 13px;
  background: linear-gradient(to top, rgba(6, 24, 43, 0.92), transparent);
  color: #fff; font-size: 0.88rem; font-weight: 600; text-align: left;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(4, 14, 26, 0.93); padding: 24px;
}
.lightbox img { max-width: min(1100px, 94vw); max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); text-align: center; margin-top: 14px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px;
  display: grid; place-items: center; color: #fff; font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.12); border-radius: 50%;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- Investment ---------- */
.investment { background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.investment::after {
  content: ""; position: absolute; inset: auto auto -140px -140px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200, 164, 77, 0.16) 0%, transparent 70%);
}
.invest-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.invest-copy .btn { margin-top: 10px; }
.invest-points { display: grid; gap: 16px; }
.invest-point {
  display: flex; gap: 16px; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius);
  padding: 20px 22px; transition: border-color 0.25s, transform 0.25s var(--ease);
}
.invest-point:hover { border-color: rgba(233, 215, 163, 0.5); transform: translateY(-3px); }
.invest-ico {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--navy-900); border-radius: 13px; font-size: 1.3rem;
}
.invest-point h3 { font-family: var(--font-body); font-size: 1.03rem; font-weight: 700; color: var(--gold-300); margin-bottom: 5px; }
.invest-point p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); margin: 0; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--navy-800);
  font-size: 1.03rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { transition: transform 0.3s var(--ease); color: var(--gold-600); }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; color: var(--muted); font-size: 0.97rem; }
.faq-answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-gold); padding: clamp(44px, 6vw, 70px) 0; }
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--navy-900); max-width: 640px; }
.cta-band p { margin: 10px 0 0; color: rgba(6, 24, 43, 0.78); font-weight: 500; max-width: 560px; }
.cta-band .btn-navy { box-shadow: 0 16px 40px rgba(6, 24, 43, 0.35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); padding-top: 66px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 44px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-footer { margin-bottom: 18px; }
.footer-blurb { font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.65); max-width: 420px; }
.footer-social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-300); font-size: 0.9rem; font-weight: 600; }
.footer-social a:hover { color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer-col h3 {
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 8px; font-weight: 700;
}
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-address { display: flex; gap: 9px; align-items: flex-start; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); margin: 4px 0 8px; }
.footer-address .ico { color: var(--gold-400); margin-top: 4px; }
.footer-col .btn { margin-top: 4px; }

.footer-legal { padding: 26px 0 108px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal p { margin-bottom: 8px; }
.footer-disclaimer { line-height: 1.6; max-width: 900px; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; background: var(--navy-900);
  border-top: 1px solid rgba(233, 215, 163, 0.3);
  padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: #fff; font-weight: 600; font-size: 0.92rem; padding: 12px 6px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.08);
}
.mobile-bar-cta { background: var(--grad-gold); color: var(--navy-900); }

/* ---------- Floating action stack ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 26px; z-index: 95; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; font-size: 1.45rem; box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab-wa { background: #1fa855; }
.fab-call { background: var(--navy-800); color: var(--gold-300); }
.fab-top { background: var(--gold-500); color: var(--navy-900); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 14, 26, 0.72); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative; display: grid; grid-template-columns: 0.82fr 1.18fr;
  width: min(920px, 100%);
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(0.98); } }

.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 5;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--cream); border-radius: 50%; color: var(--navy-800);
  font-size: 1.1rem; transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--gold-300); transform: rotate(90deg); }

.modal-media { position: relative; background: var(--navy-900); }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-media-scrim {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px;
  background: linear-gradient(to top, rgba(6, 24, 43, 0.96), transparent);
  color: #fff; font-size: 0.95rem;
}
.modal-media-brand { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; color: var(--gold-300); }
.modal-media-brand em { font-style: normal; color: #fff; letter-spacing: 0.06em; }
.modal-media-scrim strong { color: var(--gold-400); }

.modal-form-wrap { padding: clamp(26px, 4vw, 42px); }
.modal-title { font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--navy-800); margin-bottom: 8px; }
.modal-sub { font-size: 0.93rem; color: var(--muted); margin-bottom: 22px; }

/* Form */
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
.field label span { color: #c0392b; }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 0.97rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 164, 77, 0.18);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: #d64545; background: #fff7f7; }
.field-error { min-height: 0; margin: 5px 0 0; font-size: 0.8rem; color: #c0392b; }
.field-error:empty { display: none; }

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

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 4px 0 14px; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--navy-800); flex: none; }

.form-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--muted); margin: 16px 0 0; text-align: center;
}
.form-trust .ico { color: var(--gold-600); }
.form-trust a { color: var(--navy-700); font-weight: 600; }

.lead-success { text-align: center; padding: 34px 10px; }
.success-icon {
  width: 74px; height: 74px; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, #1fa855, #128c46); color: #fff;
  border-radius: 50%; font-size: 2rem; animation: popIn 0.5s var(--ease);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } }
.lead-success h3 { font-size: 1.45rem; color: var(--navy-800); margin-bottom: 10px; }
.lead-success p { color: var(--muted); margin-bottom: 22px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  z-index: 500; background: var(--navy-900); color: #fff; font-size: 0.93rem;
  padding: 13px 24px; border-radius: 999px; box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease); max-width: min(92vw, 480px);
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: #a12f2f; }

/* Reveal on scroll */
/* Scroll reveal — only hides content when JS is running (html.js) so
   no-JS visitors and crawlers still see every section. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: rgba(6, 24, 43, 0.98);
    padding: 14px 20px 22px; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav.is-open a { padding: 13px 12px; font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .split, .offer-card, .pricing-grid, .invest-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .offer-media { max-width: 420px; margin: 0 auto; }
  .price-poster { position: static; max-width: 460px; margin: 0 auto; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item-0 { grid-column: span 2; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }

  /* Header — compact single-line brand + short CTA */
  .header-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { font-size: 1.35rem; }
  .brand-name { font-size: 0.72rem; letter-spacing: 0.1em; white-space: nowrap; }
  .brand-sub { display: none; }
  .header-actions { gap: 8px; margin-left: auto; }
  .header-phone { display: none; }
  .btn-sm { font-size: 0.78rem; padding: 9px 12px; white-space: nowrap; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 44px) 0 74px; }
  .hero-media img { object-position: 78% 40%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(6, 24, 43, 0.88) 0%, rgba(6, 24, 43, 0.7) 55%, rgba(6, 24, 43, 0.92) 100%);
  }
  .hero-ctas .btn { width: 100%; }
  .hero-price { width: 100%; justify-content: space-between; }
  .hero-price-note { border-left: 0; padding-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 10px; }
  .stat:nth-child(2n) { border-right: 0; }
  .pillar-grid, .loc-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item-0 { grid-column: auto; }
  .price-figures { grid-template-columns: 1fr; }
  .price-extras li { grid-template-columns: auto 1fr; }
  .pe-value { grid-column: 1 / -1; text-align: left; padding-left: 34px; }
  .lead-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal-dialog { grid-template-columns: 1fr; }
  .modal-media { display: none; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-legal { padding-bottom: 96px; }
  .mobile-bar { display: flex; }
  .fab-stack { display: none; } /* redundant on mobile — the bar has Call / WhatsApp / Enquire */
  .fab-top { display: none; }
  .plan-table td, .plan-table thead th { padding: 13px 14px; font-size: 0.9rem; }
  .countdown-cell { min-width: 68px; }
  .cd-num { font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .header-actions .btn-sm { padding: 9px 14px; font-size: 0.85rem; }
  .countdown { gap: 8px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
