/* ============================================================
   Fixman Auto Glass — Variant 5: Command Center
   Mobile-first, blue-trust palette, utility / dashboard feel
   ============================================================ */

:root {
  /* Brand */
  --blue: #097BAA;
  --blue-deep: #003388;
  --blue-soft: #33A8D9;
  --blue-tint: #E6F2F8;
  --red: #E51919;
  --red-soft: #FF3838;
  --green: #067963;
  --green-soft: #0FA67F;
  --green-tint: #E5F4EE;
  --orange: #FFA500;
  --orange-tint: #FFF3DF;

  /* Neutrals */
  --ink: #0A0C0F;
  --ink-2: #1A1D24;
  --ink-3: #2A2F3A;
  --graphite: #333333;
  --steel: #69727D;
  --smoke: #F5F7FA;
  --smoke-2: #FAFBFC;
  --paper: #FFFFFF;
  --line: #E4E7EC;
  --line-soft: #F0F2F5;

  /* Type */
  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-display: clamp(2.5rem, 9vw, 5rem);
  --fs-h1: clamp(1.875rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 2.5vw, 1.5rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10,12,15,0.04), 0 1px 1px rgba(10,12,15,0.04);
  --shadow-md: 0 4px 12px rgba(10,12,15,0.06), 0 2px 4px rgba(10,12,15,0.04);
  --shadow-lg: 0 12px 32px rgba(10,12,15,0.08), 0 4px 8px rgba(10,12,15,0.04);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 180ms;
  --t-base: 320ms;

  --header-h: 64px;
  --util-h: 36px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px; /* room for bottom sheet on mobile */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea, button { font: inherit; color: inherit; }

.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
.container--narrow { width: min(100% - 32px, 760px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 var(--s-3); font-weight: 600; letter-spacing: -0.02em; }
.display { font-family: var(--font-display); font-size: var(--fs-display); line-height: 0.95; letter-spacing: -0.035em; font-weight: 600; margin-bottom: var(--s-4); }
.accent { color: var(--blue); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: var(--s-3);
}
.eyebrow--green { color: var(--green); }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: white; padding: 8px 12px; border-radius: 6px;
  z-index: 1000; transition: top 200ms;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px; padding: 0 18px;
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue); color: white; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 1rem; border-radius: var(--r-md); }
.btn--block { width: 100%; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-size: 0.8125rem; font-weight: 500;
  background: var(--smoke);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-2);
}
.pill--green { background: var(--green-tint); color: var(--green); border-color: rgba(6,121,99,0.15); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); box-shadow: 0 0 0 4px rgba(6,121,99,0.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(6,121,99,0.18); } 50% { box-shadow: 0 0 0 7px rgba(6,121,99,0.06); } }

/* ---------- 1. Top utility bar ---------- */
.util-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
}
.util-bar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--util-h);
  gap: var(--s-4);
}
.util-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.util-bar__icbc .util-bar__label { color: white; font-weight: 500; }
.util-bar__city { color: rgba(255,255,255,0.55); font-weight: 500; }
.util-bar__phone { color: white; font-weight: 600; }
.util-bar__phone:hover { color: var(--blue-soft); text-decoration: none; }
.util-bar__item:nth-child(n+3) { display: none; }
@media (min-width: 600px) { .util-bar__item:nth-child(3) { display: inline-flex; } }
@media (min-width: 900px) { .util-bar__item:nth-child(4) { display: inline-flex; } }

/* ---------- 2. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--s-4);
}
.header__logo img { height: 32px; width: auto; }
.header__nav { display: none; gap: var(--s-5); align-items: center; }
.header__nav a { color: var(--ink-2); font-weight: 500; font-size: 0.95rem; }
.header__nav a:hover { color: var(--blue); text-decoration: none; }
.header__cta { display: none; }
.header__menu {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border-radius: var(--r-md);
}
.header__menu span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__menu { display: none; }
}
.mobile-menu {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--line-soft);
  background: white;
  padding: var(--s-2) var(--s-4) var(--s-4);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  display: block; padding: 14px 4px;
  color: var(--ink-2); font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-child { border-bottom: 0; margin-top: 8px; }

/* ---------- 3. Hero ---------- */
.hero {
  padding: var(--s-6) 0 var(--s-7);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--blue-tint) 0%, transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--smoke-2) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 1000px) { .hero__inner { grid-template-columns: 1.4fr 1fr; gap: var(--s-7); align-items: start; } }
.hero__copy { max-width: 720px; }
.hero__tagline { color: var(--steel); font-size: 1.0625rem; margin: 0 0 var(--s-5); }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.tap-call {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--s-4);
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 4px;
}
.tap-call:hover { color: var(--blue); border-color: var(--blue); text-decoration: none; }

/* Calculator */
.calc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  box-shadow: var(--shadow-md);
  display: grid; gap: var(--s-3);
}
@media (min-width: 600px) { .calc { padding: var(--s-5); } }
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__field label { font-size: 0.8125rem; color: var(--steel); font-weight: 500; }
.calc__field select {
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1rem; /* ≥16px to avoid iOS zoom */
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%2369727D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.calc__field select:focus { border-color: var(--blue); outline: 2px solid rgba(9,123,170,0.18); outline-offset: 0; }
.calc__result {
  background: var(--smoke);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-4);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: var(--s-3);
}
.calc__result-label { grid-column: 1; grid-row: 1; font-size: 0.8125rem; color: var(--steel); font-weight: 500; }
.calc__result-value { grid-column: 1; grid-row: 2; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--blue); transition: color var(--t-fast) var(--ease-out); }
.calc__result-value.flash { animation: flash 400ms var(--ease-snap); }
@keyframes flash { 0% { color: var(--green); transform: scale(1.05); } 100% { color: var(--blue); transform: scale(1); } }
.calc__result-time { grid-column: 2; grid-row: 1 / 3; align-self: center; font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-2); padding: 6px 10px; background: white; border: 1px solid var(--line); border-radius: var(--r-pill); }

/* Live feed */
.hero__feed {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--s-4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1000px) { .hero__feed { position: sticky; top: calc(var(--header-h) + var(--util-h) + 16px); } }
.feed__head { display: flex; align-items: center; gap: 8px; padding-bottom: var(--s-3); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: var(--s-3); }
.feed__pulse { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 0 rgba(15,166,127,0.6); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(15,166,127,0.6); } 70% { box-shadow: 0 0 0 8px rgba(15,166,127,0); } 100% { box-shadow: 0 0 0 0 rgba(15,166,127,0); } }
.feed__title { color: white; font-weight: 500; flex: 1; }
.feed__count { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.feed__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; min-height: 200px; }
.feed__item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 6px; transition: background 200ms; }
.feed__item:hover { background: rgba(255,255,255,0.04); }
.feed__item.is-new { background: rgba(15,166,127,0.1); }
.feed__time { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.feed__text { color: rgba(255,255,255,0.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed__text strong { color: white; font-weight: 500; }
.feed__status { font-size: 0.875rem; flex-shrink: 0; }
.feed__status.done { color: var(--green-soft); }
.feed__status.progress { color: var(--orange); }
.feed__foot { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); font-size: 0.75rem; }
.feed__foot kbd { display: inline-block; padding: 1px 5px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; font-size: 0.6875rem; color: white; }

/* ---------- 4. Trust strip ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line-soft); padding: var(--s-5) 0; }
.trust__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-4); }
@media (min-width: 600px) { .trust__row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .trust__row { grid-template-columns: repeat(5, 1fr); } }
.trust__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.trust__item strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue); font-weight: 700; letter-spacing: -0.02em; }
.trust__item span { color: var(--steel); font-size: 0.8125rem; line-height: 1.3; }

/* ---------- 5. Service matrix ---------- */
.services { padding: var(--s-7) 0; }
.section-head { margin-bottom: var(--s-6); max-width: 640px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--steel); margin: 0; }

.svc-grid {
  display: grid; gap: var(--s-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }

.svc-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
  overflow: hidden;
  text-align: left;
  min-height: 168px;
}
.svc-card:hover, .svc-card:focus-within { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }
.svc-card__icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-tint); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700; font-family: var(--font-display);
}
.svc-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; margin: 0; color: var(--ink); }
.svc-card__price { font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-2); font-weight: 500; }
.svc-card__price.is-free { color: var(--green); }
.svc-card__time { font-size: 0.8125rem; color: var(--steel); }
.svc-card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--blue);
  padding-top: var(--s-2);
}
.svc-card__cta::after { content: "→"; transition: transform var(--t-fast) var(--ease-out); }
.svc-card:hover .svc-card__cta::after { transform: translateX(3px); }
.svc-card__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity var(--t-base) var(--ease-out);
  pointer-events: none;
}
.svc-card:hover .svc-card__photo { opacity: 0.15; }
.svc-card__photo-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.5), white 80%); opacity: 0; transition: opacity var(--t-base) var(--ease-out); pointer-events: none; }
.svc-card:hover .svc-card__photo-tint { opacity: 1; }

/* ---------- 6. Chip feature ---------- */
.chip-feature { padding: var(--s-7) 0; background: linear-gradient(180deg, var(--green-tint) 0%, var(--paper) 100%); }
.chip-feature__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .chip-feature__inner { grid-template-columns: 1.2fr 1fr; gap: var(--s-7); } }
.chip-feature__copy h2 { font-size: var(--fs-h2); }
.chip-feature__copy p { color: var(--graphite); font-size: 1.0625rem; margin-bottom: var(--s-5); }
.chip-feature__calc {
  background: var(--paper);
  border: 1px solid rgba(6,121,99,0.2);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.chip-feature__row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line-soft); }
.chip-feature__row:last-of-type { border-bottom: 0; }
.chip-feature__row span { color: var(--steel); font-size: 0.875rem; }
.chip-feature__row strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.chip-feature__row--muted strong { font-family: var(--font-mono); font-size: 0.95rem; }
.chip-feature__price { color: var(--green) !important; font-size: 1.5rem !important; }
.chip-feature__media img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* ---------- 7. Process ---------- */
.process { padding: var(--s-7) 0; background: var(--smoke-2); }
.process__row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 600px) { .process__row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process__row { grid-template-columns: repeat(4, 1fr); } }
.process__step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.process__num { font-family: var(--font-mono); font-size: 0.875rem; color: var(--blue); font-weight: 500; }
.process__step h3 { font-size: 1.125rem; margin: 0; }
.process__step p { color: var(--steel); font-size: 0.9375rem; margin: 0; }

/* ---------- 8. ADAS ---------- */
.adas { padding: var(--s-7) 0; }
.adas__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .adas__inner { grid-template-columns: 1.1fr 1fr; gap: var(--s-7); } }
.adas__copy h2 { font-size: var(--fs-h2); }
.adas__copy h2 em { color: var(--blue); font-style: normal; }
.adas__copy p { color: var(--graphite); font-size: 1.0625rem; margin-bottom: var(--s-5); }
.adas__list { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 8px; }
.adas__list li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.adas__media img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); }

/* ---------- 9. Service area ---------- */
.area { padding: var(--s-7) 0; background: var(--smoke-2); }
.area__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 700px) { .area__grid { grid-template-columns: repeat(3, 1fr); } }
.area__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: 6px; }
.area__card h3 { margin: 0 0 4px; font-size: 1.25rem; }
.area__addr { color: var(--steel); font-size: 0.9375rem; margin: 0 0 var(--s-2); }
.area__phone { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--blue); margin-top: auto; }
.area__phone:hover { color: var(--blue-deep); text-decoration: none; }
.area__hours { font-family: var(--font-mono); font-size: 0.75rem; color: var(--steel); }

/* ---------- 10. Reviews ---------- */
.reviews { padding: var(--s-7) 0; }
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 700px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews__grid { grid-template-columns: repeat(4, 1fr); } }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.review__stars { color: var(--orange); font-size: 1.125rem; letter-spacing: 1px; }
.review blockquote { margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; flex: 1; }
.review figcaption { color: var(--steel); font-size: 0.8125rem; font-weight: 500; }

/* ---------- 11. About ---------- */
.about { padding: var(--s-7) 0; background: var(--ink); color: white; }
.about__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 900px) { .about__inner { grid-template-columns: 1.4fr 1fr; gap: var(--s-7); } }
.about h2 { color: white; font-size: var(--fs-h2); }
.about p { color: rgba(255,255,255,0.75); font-size: 1.0625rem; margin: 0; }
.about__stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.about__stats li { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); }
.about__stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--blue-soft); letter-spacing: -0.02em; }
.about__stats span { color: rgba(255,255,255,0.6); font-size: 0.875rem; }

/* ---------- 12. FAQ ---------- */
.faq { padding: var(--s-7) 0; }
.faq__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.faq__list > li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4); font-weight: 600; font-size: 1rem; text-align: left; color: var(--ink); min-height: 56px; }
.faq__icon { font-size: 1.25rem; color: var(--blue); font-weight: 400; transition: transform var(--t-fast) var(--ease-out); flex-shrink: 0; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease-out); }
.faq__a p { margin: 0; padding: 0 var(--s-4) var(--s-4); color: var(--graphite); }
.faq__q[aria-expanded="true"] + .faq__a { max-height: 300px; }

/* ---------- 13. Contact form ---------- */
.contact { padding: var(--s-7) 0; background: var(--smoke-2); }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); box-shadow: var(--shadow-sm); }
@media (min-width: 600px) { .form { padding: var(--s-6); } }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field span { font-size: 0.8125rem; color: var(--steel); font-weight: 500; }
.form__field input, .form__field select, .form__field textarea {
  min-height: 48px; padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 1rem;
  color: var(--ink);
  width: 100%;
  font-family: var(--font-body);
}
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { border-color: var(--blue); outline: 2px solid rgba(9,123,170,0.18); outline-offset: 0; }
.form__field textarea { min-height: 100px; resize: vertical; }
.form__field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%2369727D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form__status { margin: 0; min-height: 1.5em; font-size: 0.875rem; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--ink-2); color: rgba(255,255,255,0.7); padding: var(--s-7) 0 var(--s-4); }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 700px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-6); } }
.footer__brand img { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 8px; }
.footer__brand p { margin: 0; font-size: 0.875rem; max-width: 280px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col h4 { color: white; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-mono); font-weight: 500; margin: 0 0 8px; }
.footer__col a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; padding: 4px 0; }
.footer__col a:hover { color: white; text-decoration: none; }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: var(--s-5); padding-top: var(--s-4); color: rgba(255,255,255,0.4); }
.footer__legal small { font-size: 0.75rem; }

/* ---------- Bottom sheet (mobile) ---------- */
.bsheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  pointer-events: none;
}
@media (min-width: 900px) { .bsheet { display: none; } }
.bsheet__scrim {
  position: fixed; inset: 0; background: rgba(10,12,15,0.4);
  opacity: 0; transition: opacity var(--t-base) var(--ease-out);
}
.bsheet__panel {
  position: relative;
  background: var(--paper);
  border-top-left-radius: 20px; border-top-right-radius: 20px;
  box-shadow: 0 -8px 32px rgba(10,12,15,0.18);
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform var(--t-base) var(--ease-out);
  max-height: 85vh; overflow-y: auto;
  touch-action: pan-y;
}
.bsheet__handle { width: 40px; height: 4px; background: var(--line); border-radius: 4px; margin: 0 auto 12px; }
.bsheet__row { display: flex; gap: 8px; }
.bsheet__row--mini .bsheet__btn { flex: 1; }
.bsheet[data-state="open"] { pointer-events: auto; }
.bsheet[data-state="open"] .bsheet__panel { transform: translateY(0); }
.bsheet[data-state="open"] .bsheet__scrim { opacity: 1; }
.bsheet[data-state="expanded"] .bsheet__panel { transform: translateY(0); }
.bsheet__form { display: flex; flex-direction: column; gap: var(--s-3); }
.bsheet__form h3 { margin: 0 0 4px; font-size: 1.25rem; }
.bsheet.is-collapsed .bsheet__row--full { display: none; }
.bsheet:not(.is-collapsed) .bsheet__row--mini { display: none; }

/* ---------- Command palette ---------- */
.palette {
  position: fixed; inset: 0; z-index: 80;
  display: none;
}
.palette.is-open { display: block; }
.palette__scrim {
  position: fixed; inset: 0;
  background: rgba(10,12,15,0.5);
  backdrop-filter: blur(2px);
  animation: fadeIn 200ms var(--ease-out);
}
.palette__panel {
  position: fixed; top: 12vh; left: 50%;
  width: min(640px, calc(100% - 24px));
  max-height: 70vh;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(10,12,15,0.24);
  display: flex; flex-direction: column;
  transform: translate(-50%, -8px) scale(0.98);
  opacity: 0;
  animation: pop 180ms var(--ease-out) forwards;
  overflow: hidden;
}
@media (max-width: 600px) {
  .palette__panel { top: 0; left: 0; width: 100%; max-height: 100%; height: 100%; transform: none; border-radius: 0; animation: slideUp 200ms var(--ease-out) forwards; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { to { transform: translate(-50%, 0) scale(1); opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.palette__input { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.palette__icon { font-family: var(--font-mono); font-size: 0.875rem; color: var(--steel); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--smoke); border-radius: 6px; }
.palette__input input { flex: 1; border: 0; outline: 0; font-size: 1rem; background: transparent; color: var(--ink); }
.palette__input kbd { font-family: var(--font-mono); font-size: 0.6875rem; padding: 2px 6px; background: var(--smoke); border: 1px solid var(--line); border-radius: 4px; color: var(--steel); }
.palette__list { list-style: none; padding: 6px; margin: 0; overflow-y: auto; flex: 1; }
.palette__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; cursor: pointer; transition: background 120ms; }
.palette__item.is-active, .palette__item:hover { background: var(--blue-tint); }
.palette__item-icon { width: 28px; height: 28px; background: var(--smoke); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); font-family: var(--font-mono); font-size: 0.75rem; flex-shrink: 0; }
.palette__item-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.palette__item-title { font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.palette__item-desc { font-size: 0.75rem; color: var(--steel); }
.palette__item-kbd { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--steel); padding: 2px 6px; background: var(--smoke); border-radius: 4px; }
.palette__foot { display: flex; gap: 16px; padding: 8px 16px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--steel); }
.palette__foot kbd { font-family: var(--font-mono); font-size: 0.6875rem; padding: 1px 5px; background: var(--smoke); border: 1px solid var(--line); border-radius: 3px; margin-right: 4px; }
.palette__empty { padding: 24px; text-align: center; color: var(--steel); font-size: 0.875rem; }

/* ---------- Command hint ---------- */
.cmd-hint {
  position: fixed; bottom: 100px; right: 16px; z-index: 55;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.75rem; font-weight: 500;
  color: var(--ink-2);
  transition: transform var(--t-fast) var(--ease-out);
}
.cmd-hint:hover { transform: translateY(-2px); }
.cmd-hint kbd { font-family: var(--font-mono); font-size: 0.6875rem; padding: 1px 5px; background: var(--smoke); border: 1px solid var(--line); border-radius: 3px; }
@media (min-width: 900px) { .cmd-hint { display: none; } }
@media (max-width: 899px) {
  .cmd-hint.is-hidden { display: none; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal.is-open { display: block; }
.modal__scrim { position: fixed; inset: 0; background: rgba(10,12,15,0.5); animation: fadeIn 200ms var(--ease-out); }
.modal__panel {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(440px, calc(100% - 24px));
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: 0 24px 64px rgba(10,12,15,0.3);
  animation: pop 200ms var(--ease-out);
}
.modal__panel h3 { margin: 0 0 var(--s-4); font-size: 1.25rem; }
.modal__hours { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-direction: column; gap: 8px; }
.modal__hours li { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.modal__hours li:last-child { border-bottom: 0; }
.modal__hours span { color: var(--steel); font-size: 0.875rem; }
.modal__hours strong { font-family: var(--font-mono); font-size: 0.9375rem; }
.modal__note { font-size: 0.8125rem; color: var(--steel); margin: 0 0 var(--s-4); }

/* ---------- Section padding adjustment ---------- */
.services, .process, .adas, .area, .reviews, .about, .faq, .contact { scroll-margin-top: calc(var(--header-h) + var(--util-h) + 12px); }
