/* Public website: automotive-editorial visual system.
   Two families: Archivo (display, variable width) and Inter (text).
   Blue is a controlled accent: primary actions, numerals, focus. */

:root {
  /* Surfaces */
  --bg: #fafaf8;
  --paper: #f2f1ed;
  --white: #ffffff;
  --ink: #0e131b;
  --ink-deep: #090c12;

  /* Text */
  --text: #111722;
  --text-2: #4a5462;
  --text-3: #687180;
  --on-ink: #eef0f3;
  --on-ink-2: rgba(238, 240, 243, 0.64);
  --on-ink-3: rgba(238, 240, 243, 0.54);

  /* Lines */
  --line: #e0ded8;
  --line-strong: #c9c7bf;
  --line-ink: rgba(255, 255, 255, 0.13);
  --field: #cfcdc6;

  /* Brand */
  --blue: #0066fe;
  --blue-deep: #003bd6;
  --blue-on-ink: #5c95ff;
  --navy: #0a1640;

  /* Semantic (inspection scale) */
  --good: #1f7a4d;
  --warn: #b5761a;
  --bad: #c0392f;
  --none: #7b8491;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 10vw, 140px);
  --header-h: 76px;
  --radius: 4px;
  --radius-control: 8px;   /* buttons */
  --radius-surface: 14px;  /* cards and photographs */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
em { font-style: normal; font-weight: 500; color: var(--text); }
strong, b { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 560;
  letter-spacing: -0.022em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.375rem, 1.45rem + 3.6vw, 4.625rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.1vw, 3.125rem); line-height: 1.06; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; font-stretch: 104%; letter-spacing: -0.01em; }
.h-soft { color: var(--text-3); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }

.body-lg { font-size: clamp(1.0313rem, 0.98rem + 0.25vw, 1.1563rem); line-height: 1.65; color: var(--text-2); max-width: 36em; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--text-2); max-width: 34em; margin: 28px 0 0; }
.fine-print { font-size: 0.875rem; line-height: 1.55; color: var(--text-3); margin: 0; }

.kicker {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.kicker-num { color: var(--blue); margin-right: 14px; font-variant-numeric: tabular-nums; }
.kicker-num::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: var(--line-strong); }
.kicker-light { color: var(--on-ink-2); }
.kicker-light .kicker-num { color: var(--blue-on-ink); }
.kicker-light .kicker-num::after { background: var(--line-ink); }

.link { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--blue-deep); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  background: linear-gradient(currentColor, currentColor) left calc(100% - 2px) / 100% 1px no-repeat;
  transition: color 0.2s, background-size 0.3s var(--ease);
}
.link-underline:hover { color: var(--blue); }
.link-underline .ico { transition: transform 0.25s var(--ease); }
.link-underline:hover .ico-arrow { transform: translateX(3px); }
.link-light { color: var(--white); }
.link-light:hover { color: var(--white); background-size: 40% 1px; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease);
}
.btn:focus-visible { border-radius: var(--radius-control); }
.btn:active:not([disabled]) { transform: scale(0.98); }
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 1px 2px rgba(0, 40, 120, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text); background: rgba(17, 23, 34, 0.04); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.32); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.header-inner { display: flex; align-items: center; gap: 40px; height: 100%; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-stretch: 112%; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-accent { color: var(--blue); }
/* On dark surfaces (hero header, scrolled dark header, footer) the accent uses the lighter blue for contrast. */
.has-hero .site-header:not(.is-open) .brand-accent, .footer-brand .brand-accent { color: var(--blue-on-ink); }
/* Drawn logo: navy version on light surfaces, white version on the same dark surfaces as above. Height drives the size, ratio stays native. */
.brand-logo { height: 34px; width: auto; }
.brand-logo-dark, .has-hero .site-header:not(.is-open) .brand-logo-light, .footer-brand .brand-logo-light { display: none; }
.has-hero .site-header:not(.is-open) .brand-logo-dark, .footer-brand .brand-logo-dark { display: block; }
.footer-brand .brand-logo { height: 40px; }

.main-nav { flex: 1; }
.nav-links { display: flex; justify-content: center; gap: clamp(18px, 2.2vw, 32px); list-style: none; }
.nav-links a { position: relative; display: block; padding: 8px 0; font-size: 0.875rem; font-weight: 500; color: var(--text-2); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-links a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; }
.nav-mobile-foot { display: none; }

.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone { font-size: 0.875rem; font-weight: 500; color: var(--text-2); font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--text); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle .when-open, .is-open .menu-toggle .when-closed { display: none; }
.is-open .menu-toggle .when-open { display: block; }

/* Over the homepage photograph */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .site-header .nav-links a, .has-hero .site-header .header-phone { color: rgba(255, 255, 255, 0.72); }
.has-hero .site-header .nav-links a:hover, .has-hero .site-header .header-phone:hover { color: var(--white); }
.has-hero .site-header.is-scrolled { background: rgba(14, 19, 27, 0.94); border-color: var(--line-ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ------------------------------------------------------------------ hero (home) */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100svh, 960px);
  padding-top: calc(var(--header-h) + 64px);
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 62%; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 19, 27, 0.92) 0%, rgba(14, 19, 27, 0.74) 40%, rgba(14, 19, 27, 0.12) 75%),
    linear-gradient(0deg, rgba(14, 19, 27, 0.92) 0%, rgba(14, 19, 27, 0) 34%);
}
.hero-copy { max-width: 680px; padding-bottom: clamp(48px, 7vh, 88px); }
.hero-kicker { margin: 0 0 10px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-2); }
.hero-cities { margin: 0 0 28px; font-size: 0.9375rem; font-weight: 500; color: var(--white); text-wrap: balance; }
.hero h1 { color: var(--white); max-width: 10.5em; }
.hero .h-soft { color: var(--on-ink-3); }
.hero .lead { color: var(--on-ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.hero-actions .link-underline { margin-left: 20px; }

.hero-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line-ink); }
.hero-rail > div { padding: 24px 28px 32px; border-left: 1px solid var(--line-ink); }
.hero-rail > div:first-child { padding-left: 0; border-left: 0; }
.hero-rail dt { margin-bottom: 10px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-3); }
.hero-rail dd { margin: 0; font-family: var(--font-display); font-stretch: 104%; font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); white-space: nowrap; }
.hero-rail .num { font-variant-numeric: tabular-nums; }
.hero-rail .unit { font-size: 0.6em; font-weight: 600; letter-spacing: 0.08em; color: var(--on-ink-2); }

/* ------------------------------------------------------------------ principles strip */

.principles { background: var(--white); border-bottom: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.principles p { margin: 0; padding: 30px 28px 32px; border-left: 1px solid var(--line); font-size: 0.9063rem; line-height: 1.5; color: var(--text-2); }
.principles p:first-child { padding-left: 0; border-left: 0; }
.principles strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-stretch: 106%; font-size: 1rem; color: var(--text); }

/* ------------------------------------------------------------------ sections */

.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.section-flush { padding-top: 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink .h-soft { color: var(--on-ink-3); }
.section-ink .body-lg { color: var(--on-ink-2); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.section-head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; max-width: none; }
.section-head-split .body-lg { margin: 0; }

/* Index layout: sticky heading + ruled list */
.index-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.index-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.index-sticky h2 { margin-bottom: 24px; }
.index-sticky .body-lg { margin-bottom: 24px; }
.index-photo { margin-top: 48px; }
.index-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% 50%; border-radius: var(--radius-surface); }

.system-list { list-style: none; border-top: 1px solid var(--text); }
.system-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 24px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); }
.system-num { padding-top: 4px; font-family: var(--font-display); font-stretch: 112%; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.system-body h3 { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); margin-bottom: 8px; }
.system-body p { margin: 0; max-width: 38em; font-size: 0.9688rem; color: var(--text-2); }
.system-count { padding-top: 2px; text-align: right; font-size: 0.8125rem; line-height: 1.35; color: var(--text-3); }
.system-count b { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 1.5rem; font-weight: 500; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }

/* Photo + copy */
.feature-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-surface); }
.feature-photo figcaption, .page-hero-photo figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.8125rem; color: var(--text-3); }
.feature-photo figcaption::before { content: ''; width: 20px; height: 1px; background: var(--line-strong); }
.feature-copy h2 { margin-bottom: 28px; }

.spec-list { margin: 40px 0 0; border-top: 1px solid var(--text); }
.spec-list div { display: grid; grid-template-columns: minmax(150px, 2fr) 3fr; gap: 24px; padding: 18px 0 19px; border-bottom: 1px solid var(--line-strong); }
.spec-list dt { font-family: var(--font-display); font-stretch: 104%; font-weight: 600; font-size: 0.9688rem; }
.spec-list dd { margin: 0; font-size: 0.9375rem; color: var(--text-2); }

/* Process timeline */
.timeline, .columns-3 { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline li, .columns-3 li { position: relative; padding: 36px 36px 0 0; }
.timeline li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--blue); }
.timeline li:first-child::before { background: var(--blue); }
.timeline-label { display: block; margin-bottom: 14px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.timeline h3, .columns-3 h3 { margin-bottom: 10px; }
.timeline p, .columns-3 p { margin: 0; font-size: 0.9375rem; color: var(--text-2); max-width: 26em; }
.section-paper .timeline li::before { background: var(--paper); }

/* ------------------------------------------------------------------ report preview */

.report-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.report-copy h2, .report-copy h1 { margin-bottom: 28px; color: var(--white); }
.report-copy .lead, .report-copy .body-lg { color: var(--on-ink-2); }

.report-preview { width: 100%; max-width: 440px; margin-inline: auto; }
.rp-stack { position: relative; aspect-ratio: 1 / 1.414; margin-right: 22px; }
.rp-sheet {
  position: absolute;
  inset: 0;
  padding: 8% 9%;
  background: var(--white);
  color: var(--text);
  border-radius: 6px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: clamp(8.5px, 1.05vw, 12px);
  line-height: 1.4;
  overflow: hidden;
}
.rp-sheet-back { transform: translate(22px, 22px); background: #d9dce1; box-shadow: none; opacity: 0.35; }
.rp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.9em; border-bottom: 1px solid #e3e6eb; font-size: 0.85em; color: #6b7480; }
.rp-brand { font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.rp-logo { height: 2.4em; width: auto; }
.rp-over { margin: 2.2em 0 0.4em; font-size: 0.72em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.rp-title { margin: 0 0 1.3em; font-family: var(--font-display); font-stretch: 108%; font-size: 1.9em; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); }
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em 1.2em; margin: 0; padding: 1.1em 0; border-block: 1px solid #e3e6eb; }
.rp-grid dt { font-size: 0.68em; letter-spacing: 0.08em; text-transform: uppercase; color: #8a93a0; }
.rp-grid dd { margin: 0.15em 0 0; font-size: 0.92em; font-weight: 600; }
.rp-banner { margin: 1.5em 0 1em; padding: 0.9em 1.1em; background: #fdf5e6; border-left: 3px solid #d9921b; }
.rp-banner small { display: block; font-size: 0.68em; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6a2e; }
.rp-banner b { font-size: 0.98em; color: #5e420f; }
.rp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5em; }
.rp-stats span { padding: 0.55em 0.3em 0.6em; border: 1px solid #e3e6eb; text-align: center; font-size: 0.68em; color: #6b7480; }
.rp-stats b { display: block; font-family: var(--font-display); font-size: 2.1em; font-weight: 600; line-height: 1.15; }
.rp-sub { margin: 1.6em 0 0.4em; font-size: 0.7em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7480; }
.rp-findings { list-style: none; }
.rp-findings li { display: flex; justify-content: space-between; gap: 1em; padding: 0.55em 0; border-bottom: 1px solid #eef0f3; font-size: 0.85em; }
.rp-findings i { font-style: normal; font-weight: 600; font-size: 0.9em; }
.rp-foot { position: absolute; left: 9%; right: 9%; bottom: 5%; padding-top: 0.6em; border-top: 1px solid #eef0f3; font-size: 0.7em; color: #9aa3af; text-align: right; }
.t-good b, i.t-good { color: var(--good); }
.t-warn b, i.t-warn { color: var(--warn); }
.t-bad b, i.t-bad { color: var(--bad); }
.t-none b { color: var(--none); }
.report-preview figcaption { margin-top: 40px; text-align: center; font-size: 0.8125rem; color: var(--on-ink-3); }

/* ------------------------------------------------------------------ pricing */

.pricing { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.pricing-copy h2 { margin-bottom: 28px; }
.pricing-copy .fine-print { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--line-strong); max-width: 34em; }

.price-plate, .aside-plate { padding: clamp(32px, 4vw, 48px); background: var(--ink); color: var(--on-ink); border-radius: 2px; }
.price-plate, .aside-plate { border-radius: var(--radius-surface); }
.price-plate-head { padding-bottom: 28px; border-bottom: 1px solid var(--line-ink); }
.price-plate-label { margin: 0 0 18px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-2); }
.price-figure { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-family: var(--font-display); color: var(--white); }
.price-figure .num { font-stretch: 112%; font-size: clamp(4.5rem, 3.2rem + 4.5vw, 6.75rem); font-weight: 400; line-height: 0.86; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price-figure .unit { padding-top: 0.5em; font-stretch: 118%; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.14em; color: var(--on-ink-2); }
.price-plate-note { margin: 18px 0 0; font-size: 0.875rem; color: var(--on-ink-2); }
.included { list-style: none; margin: 8px 0 32px; }
.included li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-ink); font-size: 0.9375rem; color: var(--on-ink); }
.included li::before { content: ''; width: 12px; height: 1px; background: var(--blue-on-ink); flex-shrink: 0; }
.included li:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------ cities */

.city-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.city-list li + li { border-left: 1px solid var(--line-strong); }
.city-list a { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 36px 32px 40px; transition: background-color 0.3s; }
.city-list li:first-child a { padding-left: 0; }
.city-list a:hover { background: rgba(255, 255, 255, 0.6); }
.city-list li:first-child a:hover { background: none; }
.city-name { font-family: var(--font-display); font-stretch: 110%; font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.625rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.city-text { font-size: 0.9375rem; color: var(--text-2); }
.city-arrow { width: 22px; height: 22px; margin-top: auto; color: var(--blue); transition: transform 0.3s var(--ease); }
.city-list a:hover .city-arrow { transform: translateX(6px); }
@media (min-width: 721px) { .city-list:not(.city-list-compact) a { padding-inline: 24px; } }
.city-list:not(.city-list-compact) .city-name { font-size: clamp(1.75rem, 1rem + 1vw, 1.875rem); }
.city-list-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.city-list-compact a { min-height: 0; }
.city-list-compact .city-arrow { margin-top: 12px; }

/* ------------------------------------------------------------------ FAQ */

.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 8vw, 128px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-aside h2 { margin-bottom: 24px; }
.faq-aside p { color: var(--text-2); }
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-stretch: 104%;
  font-size: clamp(1.0313rem, 0.98rem + 0.3vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size 0.25s var(--ease);
}
.faq details[open] summary::after { background-size: 100% 1.5px, 1.5px 0; }
.faq summary:hover { color: var(--blue); }
.faq details p { margin: -4px 0 0; padding: 0 56px 28px 0; max-width: 44em; color: var(--text-2); }

/* ------------------------------------------------------------------ final CTA */

.final-cta { padding-block: clamp(80px, 10vw, 136px); background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--line-ink); }
.final-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 72px; align-items: end; }
.final-cta h2 { color: var(--white); max-width: 13em; }
.final-cta .h-soft { color: var(--on-ink-3); }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ footer */

.site-footer { padding: clamp(64px, 8vw, 96px) 0 32px; background: var(--ink-deep); color: var(--on-ink-2); font-size: 0.9375rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-ink); }
.footer-brand .brand { color: var(--white); }
.footer-brand p { max-width: 30em; margin: 22px 0 0; line-height: 1.6; }
.footer-cta { display: flex; flex-direction: column; gap: 6px; color: var(--white); }
.footer-cta-label { font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-3); }
.footer-cta-price { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-stretch: 110%; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; transition: color 0.2s; }
.footer-cta-price .ico { width: 0.7em; height: 0.7em; color: var(--blue-on-ink); transition: transform 0.3s var(--ease); }
.footer-cta:hover .footer-cta-price .ico { transform: translateX(6px); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 48px 0 56px; }
.footer-title { margin: 0 0 18px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-3); }
.footer-grid ul { list-style: none; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { transition: color 0.2s; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: 0.8125rem; color: var(--on-ink-3); }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------------ mobile action bar */

.mobile-bar { display: none; }

/* ------------------------------------------------------------------ interior pages */

.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 112px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 11em; font-size: clamp(2.25rem, 1.5rem + 3vw, 4.125rem); }
.page-hero .narrow h1 { max-width: 13em; }
.page-hero-compact { padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-compact + .section-flush, .page-hero + .section-flush { padding-top: clamp(48px, 6vw, 80px); }
.booking-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); }
.booking-hero h1 { max-width: 14em; font-size: clamp(2rem, 1.45rem + 2.2vw, 3.25rem); }
.booking-hero .lead { margin-top: 16px; }
.booking-hero + .section-flush { padding-top: clamp(28px, 4vw, 56px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.page-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.page-hero-photo-wide img { aspect-ratio: 5 / 4; }
.page-hero-media .page-hero-photo img { object-position: 52% 60%; }
.page-hero-ink { background: var(--ink); color: var(--on-ink); border-bottom: 0; }
.page-hero-ink h1 { max-width: 10em; }
.page-hero-ink .h-soft { color: var(--on-ink-3); }
.page-hero-404 { min-height: 60vh; display: flex; align-items: center; }
.page-hero-404 .container { width: 100%; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; font-size: 0.8125rem; color: var(--text-3); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb [aria-current] { color: var(--text-2); }

.fact-row { display: flex; flex-wrap: wrap; margin: 48px 0 0; border-top: 1px solid var(--line-strong); }
.fact-row div { padding: 18px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line-strong); }
.fact-row div:last-child { border-right: 0; margin-right: 0; }
.fact-row dt { margin-bottom: 6px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.fact-row dd { margin: 0; font-family: var(--font-display); font-stretch: 106%; font-size: 1.125rem; font-weight: 600; }

/* Checklist */
.legend-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; }
.tone { display: inline-flex; align-items: center; gap: 9px; font-size: 0.875rem; font-weight: 500; color: var(--text-2); }
.tone::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tone-good::before { background: var(--good); }
.tone-warn::before { background: var(--warn); }
.tone-bad::before { background: var(--bad); }
.tone-none::before { background: transparent; border: 1.5px solid var(--none); }

.checklist { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.checklist-nav { position: sticky; top: calc(var(--header-h) + 40px); }
.checklist-nav ol { list-style: none; border-top: 1px solid var(--text); }
.checklist-nav a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--text-2); transition: color 0.2s; }
.checklist-nav a:hover { color: var(--text); }
.checklist-nav a span { font-family: var(--font-display); font-stretch: 112%; font-size: 0.8125rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; padding-top: 1px; }

.check-group { padding: 0 0 56px; scroll-margin-top: calc(var(--header-h) + 32px); }
.check-group + .check-group { padding-top: 48px; border-top: 1px solid var(--line-strong); }
.check-group header { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 24px; margin-bottom: 28px; }
.check-group h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 10px; }
.check-group header p { margin: 0; max-width: 36em; color: var(--text-2); }
.check-group > h3, .check-items, .check-extra { margin-left: 80px; }
.check-group > h3 { margin-top: 28px; margin-bottom: 4px; font-family: var(--font-display); font-stretch: 118%; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.check-items { list-style: none; columns: 2; column-gap: 48px; }
.check-items li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; break-inside: avoid; }
.check-items li::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 10px; height: 1px; background: var(--text-3); }
.check-extra { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--blue); font-size: 0.9375rem; color: var(--text-2); }

.notice { margin-top: 56px; padding: 32px 36px; background: var(--paper); border-top: 2px solid var(--text); }
.notice h2 { margin-bottom: 12px; font-size: 1.25rem; }
.notice p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }

/* Sample report contents */
.contents-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
.contents-list li { padding: 28px 0 40px; border-top: 1px solid var(--line-strong); }
.contents-list li:nth-child(-n + 3) { border-top-color: var(--text); }
.contents-list h3 { margin: 16px 0 10px; }
.contents-list p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }

/* Articles */
.article { font-size: 1.0625rem; line-height: 1.75; }
.article > p { color: var(--text-2); }
.article h2 { margin: 64px 0 22px; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.article h2:first-child { margin-top: 0; }
.article-num { display: block; margin-bottom: 12px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; color: var(--blue); }
.article-legal h2 { margin-top: 48px; font-size: 1.25rem; }
.rule-list { list-style: none; border-top: 1px solid var(--text); }
.rule-list li { position: relative; padding: 16px 0 17px 32px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.rule-list li::before { content: ''; position: absolute; left: 0; top: 1.95em; width: 14px; height: 1px; background: var(--blue); }
.article .notice { margin-top: 56px; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line-strong); }

/* ------------------------------------------------------------------ booking */

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 7vw, 104px); align-items: start; }
.booking-main { min-width: 0; }

/* Compact price summary: phones and tablets only; on desktop the price card sits beside the form. */
.booking-summary { display: none; align-items: center; gap: 16px; margin-bottom: 28px; padding: 16px 20px; background: var(--ink); color: var(--on-ink); border-radius: var(--radius-surface); }
.booking-summary-price { margin: 0; font-family: var(--font-display); font-stretch: 108%; font-size: 1.75rem; font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.booking-summary-text { display: flex; flex-direction: column; gap: 2px; margin: 0; padding-left: 16px; border-left: 1px solid var(--line-ink); font-size: 0.8125rem; line-height: 1.4; color: var(--on-ink-2); }
.booking-summary-text strong { font-size: 0.9375rem; color: var(--white); }

.form-note { margin: 0 0 28px; font-size: 0.8125rem; color: var(--text-3); }
.booking-form fieldset { margin: 0; padding: 0 0 20px; border: 0; min-width: 0; }
.booking-form fieldset + fieldset { padding-top: 36px; border-top: 1px solid var(--line); }
/* Floated legend: keeps the fieldset divider from running through the heading. */
.booking-form legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 24px; font-family: var(--font-display); font-stretch: 106%; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.015em; }
.booking-form legend + * { clear: both; }
.legend-num { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-grid-3 { grid-template-columns: 1.1fr 1.1fr 0.8fr; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label, .field .label { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.req { color: var(--blue); }
.optional { font-weight: 400; color: var(--text-3); }

.field input, .field select, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: var(--radius-control);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237b8491' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa1ab; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 254, 0.14); }
.field input[aria-invalid='true'], .field input[aria-invalid='true']:focus { border-color: var(--bad); box-shadow: 0 0 0 4px rgba(192, 57, 47, 0.12); }
.field-error { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--bad); }
.field-error::before { content: ''; flex-shrink: 0; width: 5px; height: 5px; margin-top: 0.5em; border-radius: 50%; background: currentColor; }
.field-error:empty { display: none; }

.segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--field); border: 1px solid var(--field); border-radius: var(--radius-control); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.segmented[aria-invalid='true'] { border-color: var(--bad); background: var(--bad); box-shadow: 0 0 0 4px rgba(192, 57, 47, 0.12); }
.segmented label { position: relative; display: block; cursor: pointer; background: var(--white); }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 8px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); transition: background-color 0.2s, color 0.2s; }
.segmented label:hover span { color: var(--text); background: var(--bg); }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -5px; border-radius: 6px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { padding-top: 32px; border-top: 1px solid var(--line); }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; font-size: 0.875rem; line-height: 1.55; color: var(--text-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--blue); }
.consent.is-invalid input { outline: 2px solid var(--bad); outline-offset: 2px; border-radius: 4px; }
.consent-field .field-error { margin: 6px 0 0 34px; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-footer .btn { min-width: 248px; }
.form-footer .fine-print { max-width: 22em; }
.btn-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-loading { opacity: 0.88; cursor: progress; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .ico { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-message:empty { display: none; }
.form-message { margin-top: 20px; padding: 14px 16px; border-radius: var(--radius-control); font-size: 0.9375rem; line-height: 1.5; outline: none; }
.form-message.is-success { background: #eaf4ee; border: 1px solid rgba(31, 122, 77, 0.25); color: #154f33; }
.form-message.is-error { background: #fbeceb; border: 1px solid rgba(192, 57, 47, 0.25); color: #7d231c; }

/* Confirmation: the request is received; the appointment is confirmed later by the team. */
.booking-done { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-surface); box-shadow: 0 30px 60px -40px rgba(14, 19, 27, 0.35); outline: none; animation: rise-in 0.5s var(--ease); scroll-margin-top: calc(var(--header-h) + 24px); }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
.booking-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: #eaf4ee; color: var(--good); }
.booking-done-icon .ico { width: 24px; height: 24px; stroke-width: 2; }
.booking-done h2 { margin-bottom: 14px; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }
.booking-done-lead { max-width: 34em; margin-bottom: 28px; color: var(--text-2); }
.booking-done-recap { margin: 0 0 28px; border-top: 1px solid var(--line); }
.booking-done-recap:empty { display: none; }
.booking-done-recap div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.booking-done-recap dt { color: var(--text-3); }
.booking-done-recap dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.booking-done .mini-steps { margin-bottom: 28px; }
.booking-done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.booking-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.aside-plate .price-figure .num { font-size: clamp(4rem, 3rem + 2.5vw, 5.25rem); }
.aside-plate .price-plate-note { padding-bottom: 20px; border-bottom: 1px solid var(--line-ink); }
.aside-plate .included { margin-bottom: 0; }
.aside-next { padding: 28px 30px 30px; border: 1px solid var(--line-strong); border-radius: var(--radius-surface); }
.aside-title { margin-bottom: 18px; font-size: 1.125rem; }
.mini-steps { list-style: none; counter-reset: step; margin-bottom: 20px; }
.mini-steps li { position: relative; padding: 0 0 14px 36px; counter-increment: step; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.mini-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-display); font-stretch: 112%; font-size: 0.8125rem; font-weight: 600; color: var(--blue); }
.mini-steps b { color: var(--text); }

/* ------------------------------------------------------------------ motion */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------------ responsive */

/* Four cities: one row only when each column can hold the longest name. */
@media (max-width: 1279px) {
  .city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-list li:nth-child(odd) { border-left: 0; }
  .city-list li:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
  .city-list li:nth-child(odd) a { padding-left: 0; }
}

@media (max-width: 1180px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 16px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    background: var(--bg);
    color: var(--text);
    overflow-y: auto;
  }
  .is-open .main-nav { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a, .has-hero .site-header .nav-links a { padding: 18px 0; font-family: var(--font-display); font-stretch: 108%; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
  .nav-links a[aria-current]::after { display: none; }
  .nav-links a[aria-current] { color: var(--blue); }
  .nav-mobile-foot { display: grid; gap: 18px; }
  .nav-mobile-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 0.9375rem; font-weight: 500; color: var(--text-2); }
  .nav-mobile-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; }
  /* backdrop-filter would make the fixed menu panel relative to the header */
  .site-header.is-open, .has-hero .site-header.is-open { background: var(--bg); color: var(--text); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .is-open .header-cta { display: none; }
  html.menu-open { overflow: hidden; }
}

@media (max-width: 1000px) {
  .index-layout, .feature-split, .report-split, .pricing, .faq-layout, .checklist, .booking-layout, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .index-sticky, .faq-aside, .checklist-nav, .booking-aside { position: static; }
  .index-photo { display: none; }
  .feature-photo { max-width: 520px; }
  .section-head-split { grid-template-columns: minmax(0, 1fr); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .contents-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contents-list li:nth-child(3) { border-top-color: var(--line-strong); }
  .report-preview { max-width: 400px; }
  .pricing { align-items: start; }
  .price-plate { max-width: 520px; }
  .checklist-nav { position: sticky; top: var(--header-h); z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line); }
  .checklist-nav ol { display: flex; gap: 24px; overflow-x: auto; border-top: 0; scrollbar-width: none; }
  .checklist-nav ol::-webkit-scrollbar { display: none; }
  .checklist-nav a { padding: 16px 0; border-bottom: 0; white-space: nowrap; gap: 8px; }
  .check-group { scroll-margin-top: calc(var(--header-h) + 72px); }
  .booking-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-summary { display: flex; }
  .page-hero-photo { max-width: 640px; }
  .page-hero-photo img, .page-hero-photo-wide img { aspect-ratio: 3 / 2; }
}

@media (max-width: 900px) {
  /* Home hero: photograph on top, copy below on ink, composed for portrait screens */
  .hero { display: block; min-height: 0; padding-top: 0; }
  /* <picture> is inline by default: it must be a block for its height to apply. */
  .hero-media { position: relative; inset: auto; z-index: 0; display: block; height: clamp(240px, 40svh, 440px); }
  .hero-media img { object-position: 48% 56%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(14, 19, 27, 0.6) 0%, rgba(14, 19, 27, 0) 26%, rgba(14, 19, 27, 0) 58%, var(--ink) 100%); }
  .hero-inner { margin-top: -40px; position: relative; }
  .hero-copy { padding-bottom: 36px; }
  .hero-cities { margin-bottom: 22px; }
  .hero h1 { max-width: none; }
  .hero .lead { margin-top: 20px; }
  .hero-actions { margin-top: 28px; }
  .hero-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-rail > div { padding: 20px 0 24px 20px; border-top: 1px solid var(--line-ink); }
  .hero-rail > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-rail > div:nth-child(-n + 2) { border-top: 0; }
  .principles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles p { padding: 24px 16px 24px 20px; }
  .principles p:nth-child(odd) { padding-left: 0; border-left: 0; }
  .principles p:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .final-cta-inner { grid-template-columns: minmax(0, 1fr); }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 250, 248, 0.96);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(105%);
    transition: transform 0.35s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn-primary { flex: 1; height: 50px; }
  .mobile-bar-wa { width: 50px; height: 50px; padding: 0; }
  .site-footer { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  h1 { letter-spacing: -0.028em; }
  .header-cta { height: 38px; padding: 0 12px; font-size: 0.8125rem; gap: 8px; }
  .brand-name { font-size: 1.125rem; }
  .brand-logo { height: 30px; }
  .system-list li { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; padding: 24px 0; }
  .system-count { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; padding-top: 8px; }
  .system-count b { display: inline; font-size: 1.0625rem; }
  .system-count br { display: none; }
  .spec-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .timeline { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 4px; row-gap: 0; }
  .timeline li { padding: 0 0 36px 28px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 3px; left: -5px; }
  .columns-3 { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .columns-3 li { padding: 24px 0 28px; border-top: 1px solid var(--line-strong); }
  .contents-list { grid-template-columns: minmax(0, 1fr); }
  .contents-list li:nth-child(2) { border-top-color: var(--line-strong); }
  .city-list, .city-list-compact { grid-template-columns: minmax(0, 1fr); }
  .city-list li + li { border-left: 0; border-top: 1px solid var(--line-strong); }
  .city-list a, .city-list li:first-child a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; min-height: 0; padding: 22px 0; }
  .city-text { grid-column: 1; }
  .city-arrow, .city-list-compact .city-arrow { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .city-list a:hover { background: none; }
  .faq summary { padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .check-group header { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .check-group header .system-count { text-align: left; display: flex; gap: 6px; align-items: baseline; }
  .check-group header .system-count b { display: inline; font-size: 1.0625rem; }
  .check-group > h3, .check-items, .check-extra { margin-left: 0; }
  .check-items { columns: 1; }
  .notice { padding: 24px; }
  .fact-row div { padding-right: 20px; margin-right: 20px; }
  .fact-row dd { font-size: 1rem; }
  .form-grid, .form-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .segmented { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segmented span { font-size: 0.875rem; padding: 0 4px; }
  .form-footer .btn { width: 100%; min-width: 0; }
  .booking-done-recap div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .booking-hero .kicker { display: none; }
  .form-note { margin-bottom: 20px; }
  .booking-done-actions .btn { width: 100%; }
  .booking-aside { grid-template-columns: minmax(0, 1fr); }
  .final-cta-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .link-underline { margin: 6px 0 0; }
  .feature-photo img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .article { font-size: 1rem; }
  .article-cta .btn { width: 100%; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .hero-rail dd { font-size: 1.25rem; }
  .hero h1 { font-size: 2.125rem; }
  .hero-kicker-opt { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
