/* ==========================================================================
   Pillai Auto — Ather dealership website (Chennai · Chengalpattu · Puducherry · Chidambaram)
   File: assets/css/main.css
   Version: V2
   Last updated: 22 August 2026
   --------------------------------------------------------------------------
   Order is fixed: tokens -> reset -> primitives -> components -> page
   sections -> media queries. Keep it that way; it is what stops
   specificity fights later.
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* --- dark surface (default) --- */
  --c-bg:          #08090a;
  --c-bg-2:        #0f1113;
  --c-surface:     #16191d;
  --c-surface-2:   #1e2227;
  --c-ink:         #f2f4f5;
  --c-ink-muted:   #9ba3ab;
  --c-line:        rgba(255, 255, 255, .12);
  --c-line-strong: rgba(255, 255, 255, .24);

  /* --- light surface (pricing, finance, forms) --- */
  --c-bg-lt:        #f6f6f4;
  --c-surface-lt:   #ffffff;
  --c-ink-lt:       #12141a;
  --c-ink-muted-lt: #5d646d;
  --c-line-lt:      #e2e2df;

  /* --- brand --- */
  --c-accent:      #00e07a;   /* Pillai Auto electric green */
  --c-accent-dim:  #00b862;
  --c-accent-ink:  #04120a;
  --c-hot:         #ff4b3e;   /* offer / alert red */
  --c-whatsapp:    #25d366;

  /* --- type --- */
  --f-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   clamp(1.35rem, 2.4vw, 1.75rem);
  --t-2xl:  clamp(1.9rem, 4.4vw, 3rem);
  --t-3xl:  clamp(2.6rem, 8vw, 5.5rem);
  --t-mega: clamp(3.2rem, 14vw, 10rem);

  /* --- space --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-section: clamp(3.5rem, 8vw, 7rem);

  /* --- other --- */
  --radius:    6px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --shadow:    0 1px 2px rgba(0,0,0,.24), 0 12px 36px rgba(0,0,0,.28);
  --shadow-lt: 0 1px 2px rgba(16,20,26,.06), 0 12px 32px rgba(16,20,26,.08);
  --ease:      260ms cubic-bezier(.22,.61,.36,1);
  --ease-slow: 620ms cubic-bezier(.22,.61,.36,1);
  --container: 1220px;
  --nav-h:     64px;
  --subnav-h:  56px;
}

/* ==========================================================================
   2. RESET AND BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--subnav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 600;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
p  { text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.15em; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: var(--space-3); top: -5rem; z-index: 200;
  background: var(--c-accent); color: var(--c-accent-ink);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: top var(--ease);
}
.skip-link:focus { top: var(--space-3); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.container--wide { max-width: 1560px; }

section { padding-block: var(--space-section); }
section.is-flush { padding-block: 0; }

.band-light {
  background: var(--c-bg-lt);
  color: var(--c-ink-lt);
}
.band-light h1, .band-light h2, .band-light h3 { color: var(--c-ink-lt); }

.stack > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-5); }

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--space-3);
}
.band-light .eyebrow { color: var(--c-accent-dim); }

.lede {
  font-size: var(--t-lg);
  color: var(--c-ink-muted);
  max-width: 56ch;
}
.band-light .lede { color: var(--c-ink-muted-lt); }

.section-head { margin-bottom: var(--space-6); max-width: 62ch; }

/* --- scroll reveal (progressively enhanced; JS adds .is-in) --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* --- 4.1 offer strip --- */
.offer-strip {
  position: relative; z-index: 60;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: var(--t-sm);
  font-weight: 600;
  overflow: hidden;
}
.offer-strip__track {
  display: flex; align-items: center; gap: var(--space-2);
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  text-align: center;
}
.offer-strip a { color: inherit; }
.offer-strip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-accent-ink);
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes pulse { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

/* --- 4.2 site nav --- */
.site-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(8, 9, 10, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.site-nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: var(--nav-h);
}
.site-nav__logo {
  display: flex; align-items: center; gap: var(--space-2);
  text-decoration: none; flex: none;
}
.site-nav__logo svg { width: 34px; height: 34px; }
.site-nav__logo b {
  font-family: var(--f-display); font-size: 1.05rem;
  letter-spacing: .04em; font-weight: 700; line-height: 1;
}
.site-nav__logo small {
  display: block; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-ink-muted); font-weight: 500;
}
.site-nav__list {
  display: flex; align-items: center; gap: var(--space-4);
  list-style: none; padding: 0; margin: 0;
}
.site-nav__list a {
  text-decoration: none; font-size: var(--t-sm); color: var(--c-ink-muted);
  transition: color var(--ease);
}
.site-nav__list a:hover, .site-nav__list a.is-active { color: var(--c-ink); }
.site-nav__actions { display: flex; align-items: center; gap: var(--space-2); flex: 0 1 auto; min-width: 0; }
.cta-short { display: none; }
.site-nav__toggle {
  display: none; background: none; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 9px 10px; cursor: pointer; line-height: 0;
}
.site-nav__toggle span {
  display: block; width: 18px; height: 2px; background: var(--c-ink); border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.site-nav__toggle span + span { margin-top: 4px; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 4.3 model sub-nav (scrollspy) --- */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 80;
  background: rgba(15, 17, 19, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.subnav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: var(--subnav-h);
}
.subnav__model { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); flex: none; }
.subnav__links {
  display: flex; gap: var(--space-4); list-style: none; padding: 0; margin: 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  position: relative; display: block; padding: 4px 0; white-space: nowrap;
  font-size: var(--t-sm); color: var(--c-ink-muted); text-decoration: none;
  transition: color var(--ease);
}
.subnav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.subnav__links a:hover { color: var(--c-ink); }
.subnav__links a.is-current { color: var(--c-ink); }
.subnav__links a.is-current::after { transform: scaleX(1); }
.subnav__cta { display: flex; gap: var(--space-2); flex: none; }

/* --- 4.4 buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; min-height: 44px;
  background: var(--c-accent); color: var(--c-accent-ink);
  border: 1px solid var(--c-accent); border-radius: 999px;
  font-family: var(--f-display); font-size: var(--t-sm); font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #17f28d; border-color: #17f28d; }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--c-ink); color: var(--c-ink); }
.band-light .btn--ghost { color: var(--c-ink-lt); border-color: var(--c-line-lt); }
.band-light .btn--ghost:hover { background: rgba(16,20,26,.06); border-color: var(--c-ink-lt); color: var(--c-ink-lt); }
.btn--sm { padding: 9px 16px; min-height: 38px; font-size: var(--t-xs); }
.btn--lg { padding: 15px 30px; min-height: 52px; font-size: var(--t-base); }
.btn--wa { background: var(--c-whatsapp); border-color: var(--c-whatsapp); color: #04140a; }
.btn--wa:hover { background: #35e675; border-color: #35e675; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --- 4.5 media frames --- */
.media {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
}
.media img, .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 16 / 9; }
.media--pano { aspect-ratio: 21 / 9; }
.media__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(4,5,6,.92), rgba(4,5,6,0));
  color: #fff;
}
.media__caption h3 { font-size: var(--t-lg); }
.media__caption p { font-size: var(--t-sm); color: rgba(255,255,255,.76); margin-top: 4px; }

/* fallback shown if a remote asset fails to load */
.media__fallback {
  position: absolute; inset: 0; display: none;
  place-items: center; text-align: center; padding: var(--space-4);
  background: repeating-linear-gradient(45deg, #16191d 0 12px, #1b1f24 12px 24px);
  color: var(--c-ink-muted); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase;
}
.media.has-error .media__fallback { display: grid; }
.media.has-error img, .media.has-error video { visibility: hidden; }

/* --- 4.6 cards --- */
.card {
  position: relative;
  padding: var(--space-4);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--c-line-strong); }
.card__title { font-size: var(--t-lg); margin-bottom: var(--space-2); }
.card__text { font-size: var(--t-sm); color: var(--c-ink-muted); }
.card--media { padding: 0; overflow: hidden; }
.card--media .card__body { padding: var(--space-4); }
.band-light .card { background: var(--c-surface-lt); border-color: var(--c-line-lt); box-shadow: var(--shadow-lt); }
.band-light .card__text { color: var(--c-ink-muted-lt); }

/* --- 4.7 spec / stat blocks --- */
.stat-row {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6);
}
.stat__value {
  font-family: var(--f-display); font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
}
.stat__value span { font-size: .48em; font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.stat__label {
  margin-top: 6px; font-size: var(--t-xs); letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-ink-muted);
}

/* --- 4.8 tabs (smarts / cruise) --- */
.tabs__list {
  display: flex; gap: var(--space-2); flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0 0 var(--space-4);
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; min-height: 40px;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: transparent; color: var(--c-ink-muted);
  font-size: var(--t-sm); cursor: pointer;
  transition: all var(--ease);
}
.tab:hover { color: var(--c-ink); border-color: var(--c-line-strong); }
.tab[aria-selected="true"] {
  background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); font-weight: 600;
}
.tab__badge {
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--c-accent); color: var(--c-accent-ink);
  padding: 2px 6px; border-radius: 4px; font-weight: 700;
}
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fadeUp var(--ease-slow) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --- 4.9 accordion (FAQ) --- */
.faq { border-top: 1px solid var(--c-line-lt); }
.faq__item { border-bottom: 1px solid var(--c-line-lt); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  width: 100%; padding: var(--space-4) 0; min-height: 56px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--f-display); font-size: var(--t-lg); font-weight: 600;
  color: var(--c-ink-lt);
}
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px;
  background: currentColor; transform: translateY(-50%);
  transition: transform var(--ease), opacity var(--ease);
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq__a { overflow: hidden; }
.faq__a > div { padding-bottom: var(--space-4); color: var(--c-ink-muted-lt); max-width: 72ch; }
.faq__a[hidden] { display: none; }

/* --- 4.10 forms --- */
.field { display: block; margin-bottom: var(--space-3); }
.field > span { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; min-height: 48px;
  border: 1px solid var(--c-line-lt); border-radius: var(--radius);
  background: var(--c-surface-lt); color: var(--c-ink-lt);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-accent-dim);
  box-shadow: 0 0 0 3px rgba(0, 184, 98, .16);
  outline: none;
}
.field--split { display: grid; grid-template-columns: 92px 1fr; gap: var(--space-2); align-items: end; }
.field--split > span { grid-column: 1 / -1; }
.form-note { font-size: var(--t-xs); color: var(--c-ink-muted-lt); }
.form-status { font-size: var(--t-sm); margin-top: var(--space-3); font-weight: 500; }
.form-status[data-state="error"] { color: #c02b1d; }
.form-status[data-state="ok"] { color: #0a7c46; }
.field-error { color: #c02b1d; font-size: var(--t-xs); margin-top: 4px; display: block; }

/* --- 4.11 floating actions --- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--c-whatsapp); color: #04140a;
  font-family: var(--f-display); font-weight: 700; font-size: var(--t-sm);
  text-decoration: none; box-shadow: var(--shadow);
  transition: transform var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

.to-top {
  position: fixed; right: 18px; bottom: 84px; z-index: 65;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--c-surface-2); color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
  opacity: 0; pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }


/* --- 4.13 nav dropdown menus (native <details>, works with JS off) --- */
.site-nav__list .has-menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--t-sm); color: var(--c-ink-muted);
  transition: color var(--ease);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform var(--ease);
}
.menu[open] > summary::after { transform: rotate(-135deg); margin-top: 2px; }
.menu > summary:hover, .menu[open] > summary { color: var(--c-ink); }
.menu__panel {
  position: absolute; top: calc(100% + 14px); left: -14px; z-index: 95;
  min-width: 264px; padding: var(--space-2);
  background: var(--c-bg-2); border: 1px solid var(--c-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  animation: fadeUp 180ms cubic-bezier(.22,.61,.36,1) both;
}
.menu__panel a {
  display: block; padding: 9px 12px; border-radius: var(--radius);
  text-decoration: none; transition: background var(--ease);
}
.menu__panel a:hover { background: var(--c-surface-2); }
.menu__panel b { display: block; font-family: var(--f-display); font-size: var(--t-sm); color: var(--c-ink); font-weight: 600; }
.menu__panel span { display: block; font-size: var(--t-xs); color: var(--c-ink-muted); margin-top: 1px; }
.menu__all {
  margin-top: 4px; border-top: 1px solid var(--c-line); border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--t-xs); color: var(--c-accent) !important; font-weight: 600;
}

/* --- 4.14 breadcrumbs --- */
.crumbs { font-size: var(--t-xs); color: var(--c-ink-muted); padding-block: var(--space-4) 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--c-ink); }
.band-light .crumbs { color: var(--c-ink-muted-lt); }

/* --- 4.15 page hero (every page except home) --- */
.page-hero { padding-block: var(--space-5) var(--space-6); }
.page-hero h1 { font-size: var(--t-2xl); }
.page-hero .lede { margin-top: var(--space-3); }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5);
  margin-top: var(--space-4); font-size: var(--t-sm); color: var(--c-ink-muted);
}

/* --- 4.16 model cards --- */
.model-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  background: var(--c-surface); overflow: hidden;
  transition: transform var(--ease), border-color var(--ease);
}
.model-card:hover { transform: translateY(-4px); border-color: var(--c-line-strong); }
.model-card__media { position: relative; background: radial-gradient(120% 90% at 50% 20%, #23272d, #0d0f11); }
.model-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: var(--space-4); }
.model-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  background: var(--c-accent); color: var(--c-accent-ink);
}
.model-card__badge--soon { background: var(--c-hot); color: #fff; }
.model-card__body { padding: var(--space-4); display: flex; flex-direction: column; flex: 1; gap: var(--space-3); }
.model-card__eyebrow { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); }
.model-card h3 { font-size: var(--t-lg); }
.model-card__price { font-family: var(--f-display); font-size: var(--t-lg); font-weight: 700; }
.model-card__price small { display: block; font-size: var(--t-xs); font-weight: 400; color: var(--c-ink-muted); letter-spacing: 0; }
.model-card__stats { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: var(--t-xs); color: var(--c-ink-muted); }
.model-card__stats b { color: var(--c-ink); font-family: var(--f-display); }
.model-card .btn-row { margin-top: auto; }
.band-light .model-card { background: var(--c-surface-lt); border-color: var(--c-line-lt); box-shadow: var(--shadow-lt); }
.band-light .model-card h3 { color: var(--c-ink-lt); }
.band-light .model-card__price { color: var(--c-ink-lt); }
.band-light .model-card__price small,
.band-light .model-card__stats { color: var(--c-ink-muted-lt); }
.band-light .model-card__stats b { color: var(--c-ink-lt); }
.band-light .model-card__eyebrow { color: var(--c-accent-dim); }

/* --- 4.17 spec sheet --- */
.spec-sheet { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.spec-sheet th, .spec-sheet td { padding: 13px var(--space-3); text-align: left; border-bottom: 1px solid var(--c-line); }
.spec-sheet th {
  width: 42%; font-weight: 500; color: var(--c-ink-muted);
  font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase;
}
.spec-sheet td { font-weight: 500; }
.band-light .spec-sheet th, .band-light .spec-sheet td { border-color: var(--c-line-lt); }
.band-light .spec-sheet th { color: var(--c-ink-muted-lt); }

/* --- 4.18 comparison table --- */
.compare__wrap { overflow-x: auto; border: 1px solid var(--c-line-lt); border-radius: var(--radius-lg); background: var(--c-surface-lt); }
.compare-table { border-collapse: collapse; font-size: var(--t-sm); min-width: 860px; width: 100%; }
.compare-table th, .compare-table td { padding: var(--space-3); text-align: left; border-bottom: 1px solid var(--c-line-lt); vertical-align: top; }
.compare-table thead th { position: sticky; top: 0; background: var(--c-surface-lt); z-index: 2; border-bottom: 2px solid var(--c-ink-lt); }
.compare-table th[scope="row"] {
  position: sticky; left: 0; background: var(--c-surface-lt); z-index: 1;
  font-weight: 500; color: var(--c-ink-muted-lt);
  font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; min-width: 190px;
}
.compare-table tbody tr:hover td { background: #fafaf9; }
.compare-head strong { font-family: var(--f-display); font-size: var(--t-base); display: block; }
.compare-head span { font-size: var(--t-lg); font-weight: 700; font-family: var(--f-display); }
.compare-head small { display: block; font-size: var(--t-xs); color: var(--c-ink-muted-lt); font-weight: 400; }

/* --- 4.19 branch cards --- */
.branch-card {
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  background: var(--c-surface); padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.branch-card h3 { font-size: var(--t-lg); }
.branch-card address { font-style: normal; color: var(--c-ink-muted); font-size: var(--t-sm); }
.branch-card .btn-row { margin-top: auto; }
.branch-card__tag {
  align-self: flex-start; padding: 3px 10px; border-radius: 999px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
  background: var(--c-accent); color: var(--c-accent-ink);
}
.band-light .branch-card { background: var(--c-surface-lt); border-color: var(--c-line-lt); box-shadow: var(--shadow-lt); }
.band-light .branch-card address { color: var(--c-ink-muted-lt); }

/* --- 4.20 numbered steps --- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-4); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 42px 1fr; gap: var(--space-3); align-items: start; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-accent); color: var(--c-accent-ink);
  font-family: var(--f-display); font-weight: 700;
}
.steps h3 { font-size: var(--t-base); margin-bottom: 4px; }
.steps p { font-size: var(--t-sm); color: var(--c-ink-muted); }
.band-light .steps p { color: var(--c-ink-muted-lt); }

/* --- 4.21 CTA band --- */
.cta-band { background: var(--c-accent); color: var(--c-accent-ink); }
.cta-band h2 { color: var(--c-accent-ink); }
.cta-band p { color: rgba(4,18,10,.78); }
.cta-band .btn { background: var(--c-accent-ink); border-color: var(--c-accent-ink); color: var(--c-accent); }
.cta-band .btn:hover { background: #000; border-color: #000; }
.cta-band .btn--ghost { background: transparent; color: var(--c-accent-ink); border-color: rgba(4,18,10,.35); }
.cta-band .btn--ghost:hover { background: rgba(4,18,10,.1); color: var(--c-accent-ink); }

/* --- 4.22 price breakdown --- */
.breakdown { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.breakdown th, .breakdown td { padding: 12px var(--space-3); border-bottom: 1px solid var(--c-line-lt); text-align: left; }
.breakdown td:last-child, .breakdown th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.breakdown tfoot td, .breakdown tfoot th {
  border-top: 2px solid var(--c-ink-lt); border-bottom: 0;
  font-family: var(--f-display); font-weight: 700; font-size: var(--t-base);
}

/* --- 4.23 pill list / feature chips --- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: var(--t-sm);
  border: 1px solid var(--c-line); color: var(--c-ink-muted);
}
.band-light .chips li { border-color: var(--c-line-lt); color: var(--c-ink-muted-lt); }

/* --- 4.24 coming-soon panel --- */
.soon {
  border: 1px dashed var(--c-line-strong); border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(0,224,122,.12), transparent 60%),
    repeating-linear-gradient(45deg, #101316 0 14px, #14181c 14px 28px);
  padding: clamp(2rem, 6vw, 4.5rem) var(--space-4);
  text-align: center;
}
.soon__date {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; margin-bottom: var(--space-4);
  background: var(--c-hot); color: #fff; font-weight: 700;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
}
.soon__countdown { display: flex; gap: var(--space-4); justify-content: center; margin-top: var(--space-5); flex-wrap: wrap; }
.soon__unit { min-width: 76px; }
.soon__unit b { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; line-height: 1; }
.soon__unit span { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--c-ink-muted); }
.unconfirmed {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  background: rgba(255,75,62,.16); color: #ff8a80; border: 1px solid rgba(255,75,62,.4);
}
.band-light .unconfirmed { background: #fdecea; color: #9c2318; border-color: #f3c4bf; }

/* --- 4.25 notice bar --- */
.notice {
  border-left: 3px solid var(--c-hot); background: var(--c-surface);
  padding: var(--space-4); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: var(--t-sm); color: var(--c-ink-muted);
}
.notice strong { color: var(--c-ink); }
.band-light .notice { background: #fff6f5; color: var(--c-ink-muted-lt); }
.band-light .notice strong { color: var(--c-ink-lt); }

/* --- 4.12 footer --- */
.site-footer {
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-2);
  padding-block: var(--space-6) var(--space-4);
  font-size: var(--t-sm);
  color: var(--c-ink-muted);
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-ink); text-decoration: underline; }
.site-footer h4 {
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: var(--space-3);
}
/* NOTE: a track list containing repeat(auto-fit, …) may not also contain an
   fr track — the whole declaration is thrown away and you silently get one
   column. Explicit breakpoints instead. */
.site-footer__cols { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 620px)  { .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__cols { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 8px; }

/* --- footer: branch row --- */
.site-footer__branches {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-5); margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--c-line);
}
.site-footer__branches p { margin-top: 4px; }
@media (min-width: 620px)  { .site-footer__branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__branches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.site-footer__legal {
  margin-top: var(--space-6); padding-top: var(--space-4);
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between; font-size: var(--t-xs);
}
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.site-footer__legal li + li { margin-top: 0; }
.disclaimer {
  margin-top: var(--space-4); font-size: var(--t-xs); line-height: 1.6;
  color: #8a9199; max-width: 90ch;
}

/* ==========================================================================
   5. PAGE SECTIONS
   ========================================================================== */

/* --- page: hero --- */
.hero {
  position: relative; min-height: min(92svh, 900px);
  display: grid; align-items: end;
  padding-block: 0;
  overflow: hidden;
  background: #000;
}
.hero__media { position: absolute; inset: 0; border-radius: 0; }
/* if the remote hero clip fails, keep the label clear of the headline */
.hero__media .media__fallback { place-items: start center; padding-top: calc(var(--space-6) + 1rem); }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4,5,6,.94) 0%, rgba(4,5,6,.42) 42%, rgba(4,5,6,.28) 70%, rgba(4,5,6,.6) 100%);
}
.hero__inner { position: relative; padding-block: var(--space-6) var(--space-5); width: 100%; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--c-line-strong); background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-size: var(--t-mega); font-weight: 700; letter-spacing: -0.045em; line-height: .88;
}
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero__sub {
  margin-top: var(--space-3); font-size: var(--t-lg); color: rgba(255,255,255,.82); max-width: 44ch;
}
.hero__stats {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6);
  margin-top: var(--space-5);
  padding-top: var(--space-5); border-top: 1px solid var(--c-line);
}
.hero__cta { margin-top: var(--space-5); }
.hero__scroll {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-5); font-size: var(--t-xs);
  letter-spacing: .16em; text-transform: uppercase; color: var(--c-ink-muted);
  text-decoration: none;
}
.hero__scroll i {
  width: 1px; height: 26px; background: var(--c-ink-muted); display: block;
  animation: dropline 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes dropline { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.hero__videobtn {
  position: absolute; right: var(--space-4); top: var(--space-4);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(0,0,0,.42); color: #fff; border: 1px solid var(--c-line-strong);
  backdrop-filter: blur(6px);
}

/* --- page: statement (overtones) --- */
.statement { position: relative; overflow: hidden; }
.statement__media { border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.statement__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.statement__copy {
  position: relative; z-index: 2; text-align: center; max-width: 40ch; margin: 0 auto var(--space-6);
}
.statement h2 { font-size: var(--t-2xl); }
.statement__lines { margin-top: var(--space-4); color: var(--c-ink-muted); }
.statement__lines span { display: block; }

/* --- page: form + function --- */
.ff__hero { border-radius: var(--radius-xl); overflow: hidden; position: relative; margin-bottom: var(--space-5); }
.ff__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ff__hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(4,5,6,.9), transparent);
}
.spec-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-surface); }
.spec-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--ease-slow); }
.spec-card:hover img { transform: scale(1.05); }
.spec-card__body {
  position: absolute; inset: auto 0 0 0; padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(4,5,6,.94) 30%, transparent);
}
.spec-card__kicker {
  font-family: var(--f-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--c-accent);
}
.spec-card__name {
  font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-ink-muted); margin-top: 2px;
}
.spec-card p { font-size: var(--t-sm); color: rgba(255,255,255,.78); margin-top: 10px; }

/* --- page: smarts --- */
.smarts__layout { display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: start; }
.dash-frame {
  position: relative; border-radius: 22px; padding: 10px;
  background: linear-gradient(160deg, #2a2f36, #101316);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow);
}
.dash-frame .media { border-radius: 14px; aspect-ratio: 16 / 10; background: #000; }
.smarts__copy h3 { margin-bottom: var(--space-2); }

/* --- page: voice --- */
.voice-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-line); }
.voice-card .media { border-radius: 0; aspect-ratio: 4 / 3; }
.voice-card__body { padding: var(--space-4); }
.voice-bubble {
  display: inline-block; padding: 9px 14px; border-radius: 14px 14px 14px 4px;
  background: var(--c-surface-2); font-size: var(--t-sm); color: var(--c-ink);
}
.voice-bubble--reply {
  border-radius: 14px 14px 4px 14px; background: var(--c-accent); color: var(--c-accent-ink);
  font-weight: 500; margin-top: 8px;
}

/* --- page: safety --- */
.safety__feature { border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.safety__feature video, .safety__feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.safety__feature-copy {
  position: absolute; inset: auto 0 0 0; padding: var(--space-6) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(4,5,6,.94), transparent);
}
.mode-pills { display: flex; gap: var(--space-2); margin-top: var(--space-3); flex-wrap: wrap; }
.mode-pill {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--c-line-strong);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
}
.mode-pill.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; }

/* --- page: halo --- */
.halo { position: relative; }
.halo__media { border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.halo__media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.halo__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,5,6,.9) 0%, rgba(4,5,6,.62) 45%, rgba(4,5,6,.12) 100%);
}
.halo__copy { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; padding: var(--space-5); }
.halo__pills { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-4); }
.halo__pill {
  padding: 10px 18px; border-radius: 999px; font-size: var(--t-sm);
  background: rgba(0,0,0,.44); border: 1px solid var(--c-line-strong); backdrop-filter: blur(6px);
}

/* --- page: gallery --- */
.gallery__scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 660px);
  gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
}
.gallery__item {
  scroll-snap-align: center; border: 0; padding: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius-lg); overflow: hidden;
}
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--ease-slow); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__nav { display: flex; gap: var(--space-2); justify-content: flex-end; margin-bottom: var(--space-3); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--c-line-strong); color: var(--c-ink); cursor: pointer;
  transition: background var(--ease);
}
.icon-btn:hover { background: rgba(255,255,255,.1); }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  place-items: center; padding: var(--space-4);
  background: rgba(4,5,6,.94); backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(96vw, 1400px); max-height: 84svh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__prev { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }

/* --- page: colours --- */
.colours__stage {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 10%, #23272d 0%, #0b0d0f 70%);
  display: grid; grid-template-columns: minmax(0, 1fr); place-items: center;
  padding: var(--space-5);
  min-height: 320px;
}
.colours__stage img { width: 100%; max-width: 900px; object-fit: contain; transition: opacity var(--ease); }
.colours__stage img.is-swapping { opacity: 0; }
.variant-switch {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  margin-bottom: var(--space-4);
}
.variant-switch button {
  padding: 9px 22px; border-radius: 999px; border: 0; background: none;
  color: var(--c-ink-muted); font-family: var(--f-display); font-weight: 600;
  font-size: var(--t-sm); cursor: pointer; transition: all var(--ease);
}
.variant-switch button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-bg); }
.swatches { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-top: var(--space-4); }
.swatch {
  display: grid; gap: 8px; justify-items: center; cursor: pointer;
  background: none; border: 0; padding: 4px; width: 74px;
}
.swatch__dot {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid transparent; box-shadow: 0 0 0 1px var(--c-line-strong) inset;
  transition: transform var(--ease), border-color var(--ease);
}
.swatch:hover .swatch__dot { transform: scale(1.12); }
.swatch[aria-pressed="true"] .swatch__dot { border-color: var(--c-accent); transform: scale(1.12); }
.swatch__name { font-size: 11px; color: var(--c-ink-muted); line-height: 1.25; text-align: center; }
.swatch[aria-pressed="true"] .swatch__name { color: var(--c-ink); }

/* --- page: pricing --- */
.price-table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.price-table th, .price-table td {
  padding: var(--space-3); text-align: left; border-bottom: 1px solid var(--c-line-lt);
  vertical-align: top;
}
.price-table thead th { border-bottom: 2px solid var(--c-ink-lt); }
.price-table th[scope="row"] {
  font-weight: 500; color: var(--c-ink-muted-lt); width: 30%;
  font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase;
}
.price-table td { font-weight: 500; }
.price-table__wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.price-head {
  display: grid; gap: 4px;
}
.price-head strong { font-family: var(--f-display); font-size: var(--t-xl); display: block; }
.price-head span { font-size: var(--t-lg); font-weight: 700; }
.price-head small { font-size: var(--t-xs); color: var(--c-ink-muted-lt); font-weight: 400; }
.tick { color: #0a7c46; font-weight: 700; }
.cross { color: #b8bcc0; }

/* --- page: finance / EMI --- */
.emi {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
/* a grid item defaults to min-width:auto, which lets a wide table push the
   whole page sideways on a phone. This is the fix. */
.emi > *, .enquire > *, .grid > * { min-width: 0; }
.emi__panel {
  background: var(--c-surface-lt); border: 1px solid var(--c-line-lt);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-lt);
}
.slider { margin-bottom: var(--space-4); }
.slider__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: var(--space-3); }
.slider__label { font-size: var(--t-sm); color: var(--c-ink-muted-lt); }
.slider__val { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); color: var(--c-ink-lt); }
input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 4px;
  background: var(--c-line-lt); border-radius: 999px; outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--c-ink-lt); border: 3px solid var(--c-surface-lt);
  box-shadow: 0 1px 6px rgba(0,0,0,.28); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--c-ink-lt);
  border: 3px solid var(--c-surface-lt); box-shadow: 0 1px 6px rgba(0,0,0,.28); cursor: pointer;
}
.emi__result {
  background: var(--c-ink-lt); color: #fff; border-radius: var(--radius-lg);
  padding: var(--space-5); display: grid; gap: var(--space-3); align-content: start;
}
.emi__amount { font-family: var(--f-display); font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; line-height: 1; }
.emi__amount small { font-size: .3em; font-weight: 500; color: rgba(255,255,255,.7); }
.emi__meta { font-size: var(--t-sm); color: rgba(255,255,255,.72); }
/* the CTA in this panel can be a long sentence — .btn is nowrap by default */
.emi__result .btn { white-space: normal; text-align: center; }
.emi__breakdown { display: grid; gap: 8px; font-size: var(--t-sm); border-top: 1px solid rgba(255,255,255,.16); padding-top: var(--space-3); }
.emi__breakdown div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--space-3); }
.emi__breakdown span, .emi__breakdown strong { min-width: 0; }

/* --- page: running cost --- */
.cost-bars { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.cost-bar__top { display: flex; justify-content: space-between; font-size: var(--t-sm); margin-bottom: 8px; }
.cost-bar__track { height: 34px; border-radius: 8px; background: var(--c-line-lt); overflow: hidden; }
.cost-bar__fill {
  height: 100%; width: 0; border-radius: 8px;
  background: linear-gradient(90deg, #b9bec4, #8f959b);
  transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}
.cost-bar--hero .cost-bar__fill { background: linear-gradient(90deg, var(--c-accent-dim), var(--c-accent)); }

/* --- page: enquiry --- */
.enquire { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
.enquire__panel {
  background: var(--c-surface-lt); border: 1px solid var(--c-line-lt);
  border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-lt);
}
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--c-accent-dim); }
.contact-list strong { display: block; font-family: var(--f-display); }
.contact-list span { color: var(--c-ink-muted-lt); font-size: var(--t-sm); }

/* ==========================================================================
   6. MEDIA QUERIES
   ========================================================================== */
@media (min-width: 700px) {
  .emi { grid-template-columns: 1.25fr 1fr; }
  .enquire { grid-template-columns: 1.05fr .95fr; }
}

@media (min-width: 900px) {
  .smarts__layout { grid-template-columns: 1.15fr .85fr; gap: var(--space-6); align-items: center; }
  .statement__copy { margin-bottom: var(--space-6); }
}

@media (max-width: 899px) {
  .site-nav__toggle { display: block; }
  .site-nav__list {
    display: none; position: absolute; left: 0; right: 0;
    top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg-2); border-bottom: 1px solid var(--c-line);
    padding: var(--space-2) 0 var(--space-4);
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list li { border-top: 1px solid var(--c-line); }
  .site-nav__list a { display: block; padding: var(--space-3) 0; font-size: var(--t-base); }
  .site-nav__actions .btn--desk { display: none; }
  .subnav__model { display: none; }
}

@media (max-width: 620px) {
  .hero__stats { gap: var(--space-4) var(--space-5); }
  .stat__value { font-size: 1.7rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .to-top { bottom: 78px; }
  .subnav__cta .btn { padding: 8px 12px; }
  .emi__result, .emi__panel, .enquire__panel { padding: var(--space-4); }

  /* keep the header on one line: short CTA label, tighter logo */
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .site-nav__actions .btn { padding: 8px 13px; min-height: 36px; }
  .site-nav__logo svg { width: 30px; height: 30px; }
  .site-nav__logo b { font-size: .95rem; }
  .site-nav__logo small { font-size: 9px; letter-spacing: .1em; }
}

@media (max-width: 380px) {
  .site-nav__logo small { display: none; }
}

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

@media (max-width: 899px) {
  /* dropdowns become plain stacked groups inside the burger panel */
  .menu__panel {
    position: static; min-width: 0; border: 0; background: transparent;
    box-shadow: none; padding: 0 0 var(--space-2) var(--space-3); animation: none;
  }
  .menu > summary { padding: var(--space-3) 0; font-size: var(--t-base); color: var(--c-ink); width: 100%; justify-content: space-between; }
  .site-nav__list .has-menu { position: static; }
}
