/* ============================================================
   Beacon AI Partners — Demo site design system
   ============================================================ */

:root {
  /* Palette */
  --navy-900: #0b1f33;
  --navy-800: #102b45;
  --navy-700: #16395b;
  --navy-600: #1f4d76;
  --slate-500: #5b7186;
  --slate-400: #8499ad;
  --slate-200: #d9e2ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --amber-500: #e0a13c;
  --amber-400: #f0b95b;
  --amber-100: #fbeccd;
  --teal-500: #1f9e8f;
  --teal-100: #d6f0ec;
  --green-500: #2f9e5f;
  --red-500: #d6533c;
  --ink: #0b1f33;
  --ink-soft: #3a5067;

  --shadow-sm: 0 1px 3px rgba(11, 31, 51, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 31, 51, 0.10);
  --shadow-lg: 0 20px 60px rgba(11, 31, 51, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; color: var(--navy-900); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ink-soft); }
a { color: var(--navy-600); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy-900); color: var(--slate-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--slate-400); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--amber-400); }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 680px; }
.section--navy .lead { color: var(--slate-200); }

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 100px;
  font-weight: 600; font-size: 0.96rem; cursor: pointer;
  border: 1.5px solid transparent; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--amber-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--amber-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--slate-200); }
.btn--ghost:hover { border-color: var(--navy-600); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 249, 251, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--navy-900); letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-500), var(--amber-400));
  display: grid; place-items: center; color: var(--navy-900); font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.brand span.accent { color: var(--amber-500); }
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a {
  padding: 8px 13px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
}
.nav__links a:hover { background: var(--slate-200); color: var(--navy-900); }
.nav__links a.active { color: var(--navy-900); font-weight: 700; }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, var(--navy-700) 0%, var(--navy-900) 55%);
  color: var(--white); padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 26px 26px; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero p.lead { color: #c5d4e2; margin-top: 20px; }
.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero .pill {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: #dbe6f0; padding: 7px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
}
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Hero card */
.hero__card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(6px);
}
.hero__card h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-400); }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.kpi {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px; padding: 16px;
}
.kpi__num { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.kpi__num span { font-size: 1.05rem; color: var(--amber-400); }
.kpi__label { font-size: 0.78rem; color: var(--slate-400); margin-top: 2px; line-height: 1.35; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--amber-100); font-size: 1.4rem; margin-bottom: 16px;
}
.card__icon--teal { background: var(--teal-100); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }
.card__tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--teal-100); color: #14716a; margin-top: 14px;
}
.card__value { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--slate-200); }
.card__value strong { color: var(--green-500); font-size: 1.15rem; }

/* Stat band */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--amber-500); letter-spacing: -0.03em; }
.section--navy .stat__num { color: var(--amber-400); }
.stat__label { font-size: 0.92rem; color: var(--ink-soft); margin-top: 4px; }
.section--navy .stat__label { color: var(--slate-400); }
.stat__src { font-size: 0.72rem; color: var(--slate-400); margin-top: 6px; font-style: italic; }

/* ---------- Section heading helper ---------- */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Solution deep-dive ---------- */
.solution {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.solution__head { display: flex; align-items: center; gap: 18px; padding: 26px 30px; border-bottom: 1px solid var(--slate-200); background: linear-gradient(180deg, #fff, #fbfcfe); }
.solution__num {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: var(--navy-900); color: var(--amber-400); font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
}
.solution__head h3 { font-size: 1.4rem; margin: 0; }
.solution__head p { font-size: 0.9rem; margin-top: 2px; }
.solution__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.solution__main { padding: 28px 30px; }
.solution__side { padding: 28px 30px; background: var(--paper); border-left: 1px solid var(--slate-200); }
.solution__main h4, .solution__side h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); margin: 18px 0 8px;
}
.solution__main h4:first-child { margin-top: 0; }
.howit { list-style: none; counter-reset: step; }
.howit li { position: relative; padding-left: 34px; margin-bottom: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.howit li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber-100); color: #9a6a17; font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}
.valuebox { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 14px; }
.valuebox .big { font-size: 1.7rem; font-weight: 800; color: var(--green-500); letter-spacing: -0.02em; }
.valuebox .lbl { font-size: 0.82rem; color: var(--ink-soft); }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.meta-chip { font-size: 0.78rem; background: var(--white); border: 1px solid var(--slate-200); border-radius: 8px; padding: 6px 11px; color: var(--ink-soft); }
.meta-chip b { color: var(--navy-900); }

/* ---------- Quote / story ---------- */
.story {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
}
.story__quote { font-size: 1.12rem; color: var(--navy-800); font-style: italic; line-height: 1.55; }
.story__person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 1rem;
  background: linear-gradient(135deg, var(--navy-600), var(--teal-500));
}
.story__person small { display: block; color: var(--slate-500); }

/* ---------- Case study ---------- */
.case {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 40px;
}
.case__top { padding: 30px 34px; border-bottom: 1px solid var(--slate-200); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.case__logo { display: flex; align-items: center; gap: 14px; }
.case__logo .mark { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.3rem; }
.case__meta { font-size: 0.86rem; color: var(--slate-500); }
.case__headline { font-size: 1.45rem; font-weight: 700; color: var(--navy-900); max-width: 560px; margin-top: 6px;}
.case__body { display: grid; grid-template-columns: 1.3fr 1fr; }
.case__story { padding: 30px 34px; }
.case__story h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); margin: 20px 0 7px; }
.case__story h4:first-child { margin-top: 0; }
.case__results { padding: 30px 34px; background: var(--navy-900); color: #fff; }
.case__results h4 { color: var(--amber-400); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.result-stat { margin-bottom: 20px; }
.result-stat .num { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.result-stat .num span { color: var(--amber-400); font-size: 1.1rem; }
.result-stat .lbl { font-size: 0.84rem; color: var(--slate-400); }

/* ---------- ROI calculator ---------- */
.calc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--slate-200); }
.calc__inputs { background: var(--white); padding: 34px; }
.calc__output { background: var(--navy-900); color: #fff; padding: 34px; }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; color: var(--navy-900); margin-bottom: 9px; }
.field label .val { color: var(--amber-500); font-weight: 800; }
.field input[type="range"] { width: 100%; accent-color: var(--amber-500); height: 6px; }
.field input[type="number"] {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--slate-200); border-radius: 9px;
  font-size: 1rem; font-family: var(--font); color: var(--navy-900);
}
.field input[type="number"]:focus { outline: none; border-color: var(--amber-500); }
.field .hint { font-size: 0.78rem; color: var(--slate-500); margin-top: 5px; }
.calc__output h3 { color: #fff; }
.bigresult { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; color: var(--amber-400); letter-spacing: -0.03em; line-height: 1.05; margin: 6px 0; }
.calc__breakdown { margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
.brk-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.94rem; }
.brk-row span:first-child { color: var(--slate-400); }
.brk-row span:last-child { font-weight: 700; color: #fff; }
.brk-row.total span { color: var(--amber-400); font-size: 1.05rem; }
.assumption { font-size: 0.76rem; color: var(--slate-500); margin-top: 18px; line-height: 1.5; }

/* ---------- Roadmap / timeline ---------- */
.timeline { position: relative; margin-top: 20px; }
.phase {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 28px 0;
  border-top: 1px solid var(--slate-200);
}
.phase:last-child { border-bottom: 1px solid var(--slate-200); }
.phase__when { }
.phase__badge { display: inline-block; background: var(--navy-900); color: var(--amber-400); font-weight: 700; font-size: 0.8rem; padding: 6px 13px; border-radius: 100px; }
.phase__when h3 { margin-top: 12px; font-size: 1.15rem; }
.phase__when .dur { font-size: 0.85rem; color: var(--slate-500); margin-top: 4px; }
.phase__cost { margin-top: 10px; font-weight: 700; color: var(--green-500); }
.phase__detail ul { list-style: none; }
.phase__detail li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: 0.94rem; color: var(--ink-soft); }
.phase__detail li::before { content: "→"; position: absolute; left: 0; color: var(--amber-500); font-weight: 700; }
.phase__detail .deliver { font-size: 0.82rem; color: var(--slate-500); margin-top: 8px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--slate-200); }
table.data { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.92rem; }
table.data th, table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--slate-200); }
table.data th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:nth-child(even) td { background: #fafbfc; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data .pos { color: var(--green-500); font-weight: 700; }

/* ---------- Reference list ---------- */
.ref { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--slate-200); }
.ref__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--amber-100); color: #9a6a17; font-weight: 700; display: grid; place-items: center; font-size: 0.85rem; }
.ref__body h4 { font-size: 1rem; margin-bottom: 3px; }
.ref__body p { font-size: 0.88rem; }
.ref__src { font-size: 0.8rem; color: var(--slate-500); margin-top: 4px; }
.badge-tier { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.03em; margin-left: 8px; }
.tier-1 { background: var(--teal-100); color: #14716a; }
.tier-2 { background: #f3e6cd; color: #8a6411; }

/* ---------- Chart ---------- */
.chart-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.chart-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.chart-card p.sub { font-size: 0.84rem; margin-bottom: 16px; }
.chart-holder { position: relative; height: 280px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); border-radius: 20px; padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--slate-400); max-width: 560px; margin: 14px auto 0; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-400); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.site-footer .brand { color: #fff; }
.site-footer h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.site-footer a { display: block; color: var(--slate-400); font-size: 0.9rem; padding: 4px 0; }
.site-footer a:hover { color: var(--amber-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 36px; padding-top: 20px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.disclaimer { font-size: 0.76rem; color: var(--slate-500); max-width: 640px; }

/* ---------- Utility ---------- */
.muted { color: var(--slate-500); }
.tiny { font-size: 0.8rem; }
.divider { height: 1px; background: var(--slate-200); margin: 40px 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: 0.78rem; background: var(--paper); border: 1px solid var(--slate-200); border-radius: 100px; padding: 5px 12px; color: var(--ink-soft); }

/* ---------- Immersive tour widget ---------- */
.tour {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200); background: var(--navy-900);
}
.tour__viewer { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.tour__scene {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  display: grid; place-items: center;
}
.tour__scene.active { opacity: 1; }
/* stylized room via layered gradients (floor + back wall + window light) */
.scene-living { background:
  linear-gradient(0deg, #b89274 0%, #cda584 28%, transparent 28%),
  radial-gradient(120% 90% at 75% 18%, rgba(255,247,225,0.7), transparent 55%),
  linear-gradient(180deg, #6f8aa3, #51708c); }
.scene-kitchen { background:
  linear-gradient(0deg, #9aa3ab 0%, #b3bbc2 26%, transparent 26%),
  radial-gradient(120% 90% at 30% 16%, rgba(255,250,235,0.7), transparent 55%),
  linear-gradient(180deg, #d8e0e6, #b6c2cc); }
.scene-bedroom { background:
  linear-gradient(0deg, #a98c79 0%, #c2a48f 30%, transparent 30%),
  radial-gradient(120% 90% at 70% 20%, rgba(255,238,210,0.75), transparent 55%),
  linear-gradient(180deg, #8a7d96, #6b5f7c); }
.scene-bath { background:
  linear-gradient(0deg, #cdd6da 0%, #e3eaed 24%, transparent 24%),
  radial-gradient(120% 90% at 50% 15%, rgba(255,255,255,0.7), transparent 55%),
  linear-gradient(180deg, #cfe0e6, #a8c4cd); }
.tour__furn { font-size: clamp(3rem, 9vw, 6rem); filter: drop-shadow(0 14px 22px rgba(0,0,0,0.28)); transform: translateY(8%); }
.tour__roomtag {
  position: absolute; top: 16px; left: 16px; z-index: 4;
  background: rgba(11,31,51,0.62); color: #fff; backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
}
.tour__roomtag .dot { color: var(--amber-400); }
.tour__badge {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  background: rgba(224,161,60,0.92); color: var(--navy-900);
  padding: 6px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
/* navigation hotspots */
.hotspot {
  position: absolute; z-index: 5; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; background: rgba(255,255,255,0.22); cursor: pointer;
  display: grid; place-items: center; color: #fff; font-size: 0.9rem; backdrop-filter: blur(2px);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.55); animation: ping 2.4s ease-out infinite;
}
.hotspot:hover { background: var(--amber-500); border-color: var(--amber-400); color: var(--navy-900); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.tour__controls {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 6;
  display: flex; gap: 8px; align-items: center;
  background: rgba(11,31,51,0.6); backdrop-filter: blur(8px); padding: 7px 10px; border-radius: 100px;
}
.tour__nav {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.16); color: #fff; font-size: 1rem; display: grid; place-items: center;
  transition: background 0.15s;
}
.tour__nav:hover { background: var(--amber-500); color: var(--navy-900); }
.tour__pips { display: flex; gap: 6px; padding: 0 6px; }
.tour__pip { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.2s; }
.tour__pip.on { background: var(--amber-400); width: 20px; border-radius: 100px; }
/* floor-plan side panel */
.tour__map { background: var(--navy-800); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.tour__map h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.tour__map svg { width: 100%; height: auto; }
.tour__map .room { fill: rgba(255,255,255,0.06); stroke: rgba(255,255,255,0.25); stroke-width: 1.5; cursor: pointer; transition: fill 0.2s; }
.tour__map .room:hover { fill: rgba(224,161,60,0.25); }
.tour__map .room.active { fill: rgba(224,161,60,0.85); stroke: var(--amber-400); }
.tour__map .rlabel { fill: #cdd9e4; font-size: 8px; font-weight: 600; pointer-events: none; }
.tour__map .room.active + .rlabel { fill: var(--navy-900); }
.tour__capnote { font-size: 0.78rem; color: var(--slate-400); margin-top: auto; line-height: 1.5; }
.tour__capnote b { color: var(--amber-400); }

/* iPhone scan illustration */
.scanphone {
  width: 190px; aspect-ratio: 9/19; border-radius: 30px; background: #0b1f33;
  border: 7px solid #1c2c3d; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; flex-shrink: 0;
}
.scanphone__screen { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 50% 30%, rgba(255,247,225,0.5), transparent 60%),
  linear-gradient(180deg, #6f8aa3 0%, #51708c 55%, #cda584 55%, #b89274 100%); }
.scanphone__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(31,158,143,0.55) 1px, transparent 1px), linear-gradient(90deg, rgba(31,158,143,0.55) 1px, transparent 1px);
  background-size: 22px 22px; mix-blend-mode: screen; animation: scanmove 3s linear infinite; }
@keyframes scanmove { from { background-position: 0 0; } to { background-position: 0 22px; } }
.scanphone__beam { position: absolute; left: 0; right: 0; height: 36%;
  background: linear-gradient(180deg, rgba(31,158,143,0.45), transparent); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0%,100% { top: -10%; } 50% { top: 72%; } }
.scanphone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 54px; height: 7px; border-radius: 10px; background: #1c2c3d; z-index: 3; }
.scanphone__dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 8px var(--amber-400); }

/* before/after staging strip */
.ba {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16/10;
  border: 1px solid var(--slate-200);
}
.ba__half { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; }
.ba__before { background: linear-gradient(180deg, #c3ccd2 0%, #d9dfe3 60%, #b8a890 60%); }
.ba__after { background: linear-gradient(180deg, #6f8aa3 0%, #51708c 58%, #cda584 58%, #b89274 100%); clip-path: inset(0 0 0 50%); }
.ba__label { position: absolute; bottom: 10px; z-index: 3; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: 100px; }
.ba__label--b { left: 10px; background: rgba(11,31,51,0.7); color: #fff; }
.ba__label--a { right: 10px; background: var(--amber-500); color: var(--navy-900); }
.ba__divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 4; box-shadow: 0 0 8px rgba(0,0,0,0.3); }

/* ---------- Real-media: embedded 3D tour ---------- */
.media-tour {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12);
  background: #0b1f33; aspect-ratio: 16 / 11;
}
.media-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-tour__tag {
  position: absolute; top: 14px; left: 14px; z-index: 3; pointer-events: none;
  background: rgba(11,31,51,0.72); color: #fff; backdrop-filter: blur(6px);
  padding: 7px 13px; border-radius: 100px; font-size: 0.8rem; font-weight: 700;
}
.media-tour__tag .live { color: var(--amber-400); }
.media-cap { font-size: 0.84rem; color: var(--slate-400); margin-top: 12px; line-height: 1.5; }
.media-cap b { color: #fff; }

/* ---------- Real-media: before/after staging slider ---------- */
.ba-slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 16 / 11; user-select: none; touch-action: none; background: #0b1f33;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before { clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; transform: translateX(-50%);
  z-index: 4; cursor: ew-resize; display: grid; place-items: center;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.4); }
.ba-handle__grip {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--navy-900);
  display: grid; place-items: center; font-size: 1rem; font-weight: 800; box-shadow: var(--shadow-md); z-index: 2;
}
.ba-tag {
  position: absolute; bottom: 12px; z-index: 5; pointer-events: none;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 11px; border-radius: 100px;
}
.ba-tag-l { left: 12px; background: rgba(11,31,51,0.78); color: #fff; }
.ba-tag-r { right: 12px; background: var(--amber-500); color: var(--navy-900); }

/* ---------- Real-media: photo gallery ---------- */
.img-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.img-gallery figure {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; margin: 0; aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-sm);
}
.img-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.img-gallery figure:hover img { transform: scale(1.06); }
.img-gallery figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 12px 8px;
  background: linear-gradient(transparent, rgba(11,31,51,0.85)); color: #fff;
  font-size: 0.76rem; font-weight: 600;
}
@media (max-width: 720px) { .img-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .solution__body { grid-template-columns: 1fr; }
  .solution__side { border-left: none; border-top: 1px solid var(--slate-200); }
  .case__body { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); padding: 14px 24px; border-bottom: 1px solid var(--slate-200); gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .phase { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 36px 22px; }
  .section { padding: 60px 0; }
}
