/* Jindal One Homes — Premium Design System v3 (2026-10-27)
   Built on top of security + WebP + WhatsApp base
*/
:root {
  --navy: #0c1a26;
  --navy2: #162d42;
  --navy3: #1e3d57;
  --brass: #c9a227;
  --brass-light: #e0bc4a;
  --brass-dark: #a8841a;
  --cream: #f8f5ef;
  --cream2: #f0ebe1;
  --ink: #0f1a24;
  --muted: #5a6a78;
  --line: #e2ddd3;
  --white: #ffffff;
  --h: 'Bricolage Grotesque', Georgia, 'Times New Roman', serif;
  --b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(12, 26, 38, 0.12);
  --shadow-lg: 0 32px 80px rgba(12, 26, 38, 0.18);
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--b);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--h); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
.lead { color: var(--muted); max-width: 58ch; font-size: 1.08rem; margin-bottom: 36px; }
.eyebrow {
  display: inline-block;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* Header */
.hd {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 221, 211, 0.7);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow var(--transition);
}
.hd.scrolled { box-shadow: 0 4px 24px rgba(12, 26, 38, 0.08); }
.hd .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.logo img { height: 42px; width: auto; }
nav { display: flex; gap: 4px; margin-left: auto; }
nav a {
  font-size: 0.92rem; font-weight: 500;
  padding: 9px 14px; border-radius: 10px;
  color: #3d4c5a; transition: all 0.2s;
}
nav a:hover { background: rgba(12, 26, 38, 0.05); color: var(--navy); }
nav a[aria-current] {
  color: var(--navy);
  background: rgba(201, 162, 39, 0.15);
  font-weight: 600;
}
.mb {
  display: none; margin-left: auto;
  background: transparent; border: 1.5px solid var(--line);
  color: var(--navy); border-radius: 10px;
  padding: 8px 14px; font-size: 1.15rem; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--brass), var(--brass-dark));
  color: var(--navy); padding: 15px 28px;
  border: 0; border-radius: 999px;
  font: 700 0.98rem var(--b);
  cursor: pointer; transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.45);
}
.btn.sm { padding: 11px 22px; font-size: 0.9rem; }
.btn.alt {
  background: transparent;
  border: 2px solid currentColor;
  color: inherit; box-shadow: none;
}
.btn.alt:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: none;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.2); }

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(201, 162, 39, 0.22), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(30, 61, 87, 0.5), transparent),
    linear-gradient(145deg, #0c1a26 0%, #162d42 55%, #1e3d57 100%);
  color: #fff; padding: 96px 0 110px; position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.6;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero h1 em { font-style: normal; color: var(--brass-light); }
.hero p {
  max-width: 48ch; margin: 22px 0 32px;
  color: #c5d4e2; font-size: 1.15rem; line-height: 1.7;
}
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.chips {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px;
}
.chips span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 7px 16px;
  font-size: 0.84rem; color: #c5d4e2;
  background: rgba(255, 255, 255, 0.04);
}
.shotstack {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; position: relative;
}
.shotstack .shot { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shotstack .shot.wide { grid-column: 1 / -1; }
.shotstack img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform 0.6s ease; }
.shotstack .shot:hover img { transform: scale(1.04); }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--white); }
.dark { background: var(--navy); color: #fff; }
.dark .lead { color: #b8c9d8; }
.ph1 {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff; padding: 72px 0 64px;
}
.ph1 p { color: #b8c9d8; margin-top: 10px; font-size: 1.1rem; }

/* Cards & Grid */
.grid { display: grid; gap: 24px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.band .card { background: var(--cream); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); font-size: 0.96rem; }
.ic {
  width: 48px; height: 48px; padding: 12px;
  border-radius: 14px; background: linear-gradient(135deg, #f5e9c9, #efe0b0);
  color: #8a6410; stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 16px;
}

/* Packages */
.price { font: 700 2.3rem var(--h); line-height: 1.1; }
.sm { color: var(--muted); font-size: 0.88rem; }
.pk { display: flex; flex-direction: column; }
.pk .top { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 8px; }
.pk.u {
  background: linear-gradient(160deg, var(--navy), var(--navy2));
  color: #fff; border-color: transparent;
  box-shadow: 0 20px 50px rgba(12, 26, 38, 0.25);
}
.pk.u .sm, .pk.u details p { color: #b8c9d8; }
.pk.u .top, .pk.u details { border-color: rgba(255, 255, 255, 0.12); }
.pk.u:hover { transform: translateY(-8px); }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary {
  font-weight: 600; cursor: pointer; font-size: 0.95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; opacity: 0.5; }
details[open] summary::after { content: '−'; }
details p { margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

/* Steps */
.steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; position: relative;
}
.steps li::before {
  content: counter(s);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--brass);
  font: 700 1.1rem var(--h); margin-bottom: 12px;
}
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 0.92rem; }

/* Media / Gallery */
.mediagrid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 32px; align-items: start; margin-top: 32px;
}
.player {
  border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: var(--shadow-lg);
}
.player video { width: 100%; aspect-ratio: 16/9; }
.playcap { padding: 20px 24px; background: var(--navy); color: #fff; }
.playcap .pill {
  display: inline-block; background: var(--brass); color: var(--navy);
  font-size: 0.78rem; font-weight: 700; padding: 4px 12px;
  border-radius: 999px; margin-bottom: 10px;
}
.playcap p { color: #b8c9d8; font-size: 0.92rem; }
.fact {
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; }
.fact b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 0.92rem; }
.dark .fact span { color: #b8c9d8; }

.gal {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 28px;
}
.gal figure {
  border-radius: 14px; overflow: hidden; cursor: pointer;
  position: relative; background: #000;
}
.gal img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.5s ease;
}
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff; font-size: 0.85rem;
}

/* Trust / Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat b {
  display: block; font: 700 2.6rem var(--h);
  color: var(--brass); line-height: 1.1; margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 0.95rem; }
.dark .stat span { color: #b8c9d8; }

/* Cities cards */
.city-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 220px; display: flex; align-items: flex-end;
  background: var(--navy2); color: #fff;
}
.city-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,26,38,0.9) 0%, transparent 60%);
}
.city-card .content { position: relative; z-index: 1; padding: 24px; }
.city-card h3 { margin-bottom: 4px; }
.city-card p { color: #b8c9d8; font-size: 0.92rem; }

/* Footer */
footer {
  background: var(--navy); color: #b8c9d8;
  padding: 64px 0 32px; font-size: 0.94rem;
}
footer a { color: #b8c9d8; transition: color 0.2s; }
footer a:hover { color: var(--brass); }
.f4 {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.f4 h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; font-family: var(--b); font-weight: 600; }
.f4 a { display: block; margin-bottom: 10px; }
.fl { height: 40px; width: auto; margin-bottom: 14px; }
footer .bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.88rem;
}

/* Sticky bar */
.bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(12, 26, 38, 0.95); backdrop-filter: blur(12px);
  padding: 12px 24px; display: flex; justify-content: center;
  z-index: 40; transform: translateY(100%);
  transition: transform 0.35s ease;
}
.bar.show { transform: translateY(0); }
.bar .btn { width: 100%; max-width: 320px; }

/* Note */
.note { color: var(--muted); font-size: 0.9rem; margin-top: 20px; font-style: italic; }

/* Lightbox */
.lb {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 100; display: none; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.lb.open { display: flex; }
.lb img { max-height: 90vh; max-width: 92vw; border-radius: 8px; }
.lb p { position: absolute; bottom: 24px; color: #fff; text-align: center; width: 100%; font-size: 0.95rem; }

/* SEO content blocks */
.seo-block {
  background: var(--cream2); border-radius: var(--radius);
  padding: 40px; margin-top: 48px;
}
.seo-block h2 { font-size: 1.6rem; }
.seo-block p, .seo-block li { color: var(--muted); font-size: 0.98rem; }
.seo-block ul { margin: 16px 0 0 20px; }
.seo-block li { margin-bottom: 8px; }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; font-size: 1.02rem; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* WhatsApp float (from base) */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 45;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mediagrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .f4 { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  nav { display: none; }
  .hd.open nav {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .mb { display: block; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .f4 { grid-template-columns: 1fr; gap: 28px; }
  .gal { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
  section { padding: 64px 0; }
  .shotstack { grid-template-columns: 1fr; }
  .wa-float { bottom: 80px; right: 16px; width: 50px; height: 50px; }
}

/* Extra content helpers for expanded pages */
.content-block { max-width: 720px; }
.content-block p { margin-bottom: 1.1em; color: var(--muted); }
.content-block p strong { color: var(--ink); }
.img-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin: 32px 0;
}
.img-row figure {
  border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: var(--shadow);
}
.img-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.img-row figcaption {
  padding: 12px 14px; background: var(--white);
  font-size: 0.88rem; color: var(--muted); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 14px 14px;
}
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.two-col img { border-radius: 16px; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--muted);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700;
}
.quote-card {
  background: var(--cream2); border-left: 4px solid var(--brass);
  padding: 24px 28px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0; font-size: 1.05rem; color: var(--ink);
}
.quote-card cite { display: block; margin-top: 12px; font-size: 0.9rem; color: var(--muted); font-style: normal; }
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* —— Cost Estimator —— */
.est-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.est-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.est-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.est-card .lead { margin-bottom: 28px; font-size: 0.98rem; }
.field { margin-bottom: 22px; }
.field label {
  display: block; font-weight: 600; font-size: 0.92rem;
  margin-bottom: 8px; color: var(--ink);
}
.field input[type="number"],
.field select {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font: 500 1.05rem var(--b); color: var(--ink);
  background: var(--cream); transition: border-color 0.2s;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}
.presets {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.presets button {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 999px; padding: 6px 14px; font-size: 0.85rem;
  cursor: pointer; color: var(--muted); transition: all 0.2s;
}
.presets button:hover, .presets button.active {
  border-color: var(--brass); background: rgba(201,162,39,0.12);
  color: var(--navy); font-weight: 600;
}
.est-result {
  background: linear-gradient(145deg, var(--navy), var(--navy2));
  color: #fff; border-radius: var(--radius); padding: 28px;
  margin-top: 8px;
}
.est-result .label { font-size: 0.85rem; color: #b8c9d8; margin-bottom: 6px; }
.est-result .amount {
  font: 700 clamp(1.8rem, 4vw, 2.6rem) var(--h);
  color: var(--brass-light); line-height: 1.15;
}
.est-result .gst { font-size: 0.92rem; color: #b8c9d8; margin-top: 6px; }
.est-result .breakdown {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem; color: #c5d4e2;
}
.est-result .breakdown div {
  display: flex; justify-content: space-between; margin-bottom: 6px;
}
.pkg-chips {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px;
}
.pkg-chip {
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 14px; cursor: pointer; transition: all 0.2s;
  background: var(--cream); text-align: left;
}
.pkg-chip:hover { border-color: var(--brass); }
.pkg-chip.active {
  border-color: var(--brass);
  background: rgba(201,162,39,0.15);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.25);
}
.pkg-chip b { display: block; font-size: 0.95rem; }
.pkg-chip span { font-size: 0.82rem; color: var(--muted); }
.side-info .card { margin-bottom: 16px; }
.side-info h3 { font-size: 1.05rem; }
@media (max-width: 900px) {
  .est-wrap { grid-template-columns: 1fr; }
  .pkg-chips { grid-template-columns: 1fr 1fr; }
}

/* Advanced estimator extras */
.est-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px;
}
.est-tabs button {
  border: 1.5px solid var(--line); background: var(--cream);
  border-radius: 999px; padding: 8px 16px; font-size: 0.88rem;
  cursor: pointer; color: var(--muted); font-weight: 500;
}
.est-tabs button.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.toggle-list { list-style: none; padding: 0; margin: 0; }
.toggle-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.toggle-list li:last-child { border-bottom: 0; }
.toggle-list input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brass);
  flex-shrink: 0;
}
.toggle-list label { cursor: pointer; font-size: 0.94rem; }
.toggle-list .addon-price { color: var(--muted); font-size: 0.85rem; }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem;
  margin-top: 16px; background: var(--white);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line);
}
.compare-table th { background: var(--navy); color: #fff; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr.highlight { background: rgba(201,162,39,0.12); }
.compare-table .best { color: var(--brass-dark); font-weight: 700; }
.bar-chart { margin-top: 16px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.bar-row span:first-child { width: 90px; color: var(--muted); flex-shrink: 0; }
.bar-track {
  flex: 1; height: 10px; background: var(--cream2); border-radius: 99px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--brass), var(--brass-dark));
}
.bar-row span:last-child { width: 72px; text-align: right; font-weight: 600; font-size: 0.82rem; }
.milestone-list { list-style: none; padding: 0; margin: 16px 0 0; }
.milestone-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem; color: #c5d4e2;
}
.milestone-list li:last-child { border-bottom: 0; }
.milestone-list b { color: #fff; }
.est-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.est-actions .btn.ghost-dark {
  background: transparent; border: 1.5px solid var(--line); color: var(--navy);
  box-shadow: none;
}
.est-actions .btn.ghost-dark:hover { border-color: var(--brass); background: rgba(201,162,39,0.08); }
@media (max-width: 720px) {
  .field-row { grid-template-columns: 1fr; }
}

/* 3D Visualizer */
.viz-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, #1a3044 0%, #0c1a26 100%);
  border: 1px solid var(--line);
}
.viz-wrap canvas { display: block; width: 100% !important; height: 100% !important; }
.viz-hint {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55); color: #e8eef4;
  font-size: 0.78rem; padding: 6px 12px; border-radius: 99px;
  pointer-events: none; backdrop-filter: blur(6px);
}
.viz-legend {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px;
  font-size: 0.85rem; color: var(--muted);
}
.viz-legend i {
  display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  margin-right: 6px; vertical-align: middle;
}
.viz-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 14px;
}
.viz-stat {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px; text-align: center;
}
.viz-stat b { display: block; font: 700 1.1rem var(--h); color: var(--navy); }
.viz-stat span { font-size: 0.78rem; color: var(--muted); }

/* Isometric CSS 3D house */
.iso-stage {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  perspective: 900px;
  overflow: hidden;
}
.iso-scene {
  position: relative;
  width: 200px; height: 200px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-42deg) scale(var(--scale, 1));
  animation: isoSpin 28s linear infinite;
}
@keyframes isoSpin {
  from { transform: rotateX(58deg) rotateZ(-42deg) scale(var(--scale, 1)); }
  to   { transform: rotateX(58deg) rotateZ(318deg) scale(var(--scale, 1)); }
}
.iso-scene:hover { animation-play-state: paused; }
.iso-ground {
  position: absolute;
  width: 220px; height: 220px;
  left: -10px; top: -10px;
  background: radial-gradient(circle, #4a6b42 0%, #2f4a2c 70%);
  border-radius: 50%;
  transform: translateZ(-2px);
  box-shadow: 0 0 40px rgba(0,0,0,0.35);
}
.iso-house { transform-style: preserve-3d; }
.iso-floor {
  position: absolute;
  width: 120px; height: 90px;
  left: 40px; top: 55px;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--f) * 42px));
}
.iso-face {
  position: absolute;
  background: var(--wall, #f0ebe3);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.iso-front {
  width: 120px; height: 42px;
  transform: rotateX(-90deg) translateZ(45px);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.iso-side {
  width: 90px; height: 42px;
  left: 120px; top: 0;
  transform: rotateX(-90deg) rotateY(90deg) translateZ(0px) translateX(-45px);
  transform-origin: left center;
  background: color-mix(in srgb, var(--wall, #f0ebe3) 82%, #000);
  display: flex; align-items: center; justify-content: center;
}
.iso-win {
  width: 16px; height: 18px;
  background: var(--window, #4a90a8);
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.25);
  opacity: 0.95;
}
.iso-win-side { width: 20px; height: 16px; }
.iso-door {
  position: absolute;
  width: 16px; height: 22px;
  background: #4a3728;
  left: 28px; bottom: 0;
  transform: rotateX(-90deg) translateZ(46px) translateY(10px);
  border-radius: 2px 2px 0 0;
}
.iso-balcony {
  position: absolute;
  width: 50px; height: 8px;
  background: var(--accent, #c9a227);
  left: 35px; top: 0;
  transform: rotateX(-90deg) translateZ(50px) translateY(-4px);
  border-radius: 1px;
  opacity: 0.9;
}
.iso-roof {
  position: absolute;
  width: 128px; height: 98px;
  left: 36px; top: 51px;
  background: var(--roof, #2a3540);
  transform: translateZ(calc(var(--f) * 42px + 2px)) rotateX(0deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border-radius: 2px;
}
.iso-roof::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: -6px; height: 6px;
  background: var(--accent, #c9a227);
  border-radius: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .iso-scene { animation: none; }
}


/* Performance & CLS helpers */
img, picture img {
  max-width: 100%;
  height: auto;
}
img[loading="lazy"] {
  content-visibility: auto;
}
/* Reduce layout shift on hero images */
.hero img, .shot img {
  aspect-ratio: attr(width) / attr(height);
}
/* Font display already handled by Google fonts &display=swap */

/* package specification lists */
.spl { list-style: none; margin: 8px 0 0; padding: 0; }
.spl li { font-size: 0.88rem; color: var(--muted); padding: 5px 0; line-height: 1.45; }
.spl li b { color: var(--ink); font-weight: 600; }
.pk.u .spl li { color: #b8c9d8; }
.pk.u .spl li b { color: #fff; }
