/* OTJEN GROUP — shared styles
   Layout: a carbon-fibre page opener under a dark header, over a cool concrete page;
   one left-aligned 1160px column. The brand's own type: Rajdhani for headlines and the
   wordmark, Barlow Condensed (tracked capitals) for navigation and buttons, Barlow for text; cobalt from the logo for action,
   workshop-floor yellow only for stars and the open-now light. */

:root {
  --bg: #eceff2;
  --surface: #ffffff;
  --surface-2: #f5f7f9;
  --ink: #121820;
  --muted: #55606d;
  --line: #d3d9e0;
  --accent: #1a55e3;
  --accent-ink: #ffffff;
  --accent-text: #1748c4;
  --accent-soft: #e3ebfd;
  --signal: #f4b400;
  --ok: #16834a;
  --bad: #b8332a;
  --band: #11161d;
  --band-2: #19202a;
  --band-ink: #eef2f7;
  --band-muted: #9ca8b6;
  --band-line: #2a3443;
  --band-accent: #4f86ff;
  --shadow: 0 1px 2px rgba(17, 22, 29, .06), 0 8px 24px rgba(17, 22, 29, .07);

  --font: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Rajdhani", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --step-3: clamp(2.3rem, 1.4rem + 4vw, 4.3rem);
  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1116; --surface: #151b22; --surface-2: #1b222b; --ink: #e5e9ee; --muted: #9aa4b0; --line: #29313b;
    --accent: #2f66ea; --accent-ink: #ffffff; --accent-text: #8aaeff; --accent-soft: #1a2640;
    --signal: #f4b400; --ok: #3fbf78; --bad: #ef6b5f;
    --band: #080b0f; --band-2: #10151c; --band-ink: #eef2f7; --band-muted: #9ca8b6; --band-line: #222b37; --band-accent: #6f9bff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1116; --surface: #151b22; --surface-2: #1b222b; --ink: #e5e9ee; --muted: #9aa4b0; --line: #29313b;
  --accent: #2f66ea; --accent-ink: #ffffff; --accent-text: #8aaeff; --accent-soft: #1a2640;
  --signal: #f4b400; --ok: #3fbf78; --bad: #ef6b5f;
  --band: #080b0f; --band-2: #10151c; --band-ink: #eef2f7; --band-muted: #9ca8b6; --band-line: #222b37; --band-accent: #6f9bff;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  letter-spacing: .003em;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--band); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--band-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 24px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
@media (min-width: 1260px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

/* ---------- Type ---------- */
.display, h1, h2 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: .005em;
  text-wrap: balance; margin: 0;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: 1.35rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.band .lead { color: var(--band-muted); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line);
}
.head-row { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--band-ink); text-decoration: none; flex: none; }
.brand img { height: 30px; width: auto; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.brand .wordmark b { color: var(--band-accent); font-weight: 700; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a {
  color: var(--band-muted); text-decoration: none; font-family: var(--font-label); font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap;
}
.main-nav a:hover { color: var(--band-ink); background: var(--band-2); }
.main-nav a[aria-current="page"] { color: var(--band-ink); box-shadow: inset 0 -2px 0 var(--band-accent); border-radius: 0; }
.head-cta { flex: none; }
.menu-btn {
  display: none; margin-left: auto; background: transparent; border: 1px solid var(--band-line); color: var(--band-ink);
  border-radius: var(--radius-sm); width: 44px; height: 40px; align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--band); border-bottom: 1px solid var(--band-line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--band-line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--band-accent); padding-left: 14px; }
  .menu-btn { display: inline-flex; }
  .head-cta { order: 3; }
}
@media (max-width: 420px) { .brand .wordmark { font-size: 1.2rem; } .head-cta .btn { padding-inline: 12px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-label); font-weight: 600; font-size: .98rem; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  line-height: 1.2; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.band .btn-line { color: var(--band-ink); border-color: var(--band-line); }
.band .btn-line:hover { border-color: var(--band-ink); }
.btn-lg { min-height: 52px; padding-inline: 24px; font-size: 1.05rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Band (dark opener) ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band a:not(.btn) { color: var(--band-ink); }
.carbon {
  position: absolute; inset: 0; pointer-events: none;
  background-color: #07090b;
  background-image:
    linear-gradient(100deg, rgba(8, 10, 13, .92) 0%, rgba(8, 10, 13, .72) 38%, rgba(8, 10, 13, .28) 100%),
    radial-gradient(120% 90% at 85% -10%, rgba(255, 255, 255, .10), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2732%27 height=%2732%27 viewBox=%270 0 32 32%27%3E%3Cdefs%3E%3ClinearGradient id=%27h%27 x1=%270%27 y1=%270%27 x2=%270%27 y2=%271%27%3E%3Cstop offset=%270%27 stop-color=%27%23101318%27/%3E%3Cstop offset=%27.5%27 stop-color=%27%2330363f%27/%3E%3Cstop offset=%271%27 stop-color=%27%23101318%27/%3E%3C/linearGradient%3E%3ClinearGradient id=%27v%27 x1=%270%27 y1=%270%27 x2=%271%27 y2=%270%27%3E%3Cstop offset=%270%27 stop-color=%27%230c0f13%27/%3E%3Cstop offset=%27.5%27 stop-color=%27%23232830%27/%3E%3Cstop offset=%271%27 stop-color=%27%230c0f13%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width=%2732%27 height=%2732%27 fill=%27%2306080a%27/%3E%3Crect x=%270.5%27 y=%270.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%278.5%27 y=%270.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%2716.5%27 y=%270.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%2724.5%27 y=%270.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%270.5%27 y=%278.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%278.5%27 y=%278.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%2716.5%27 y=%278.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%2724.5%27 y=%278.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%270.5%27 y=%2716.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%278.5%27 y=%2716.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%2716.5%27 y=%2716.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%2724.5%27 y=%2716.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%270.5%27 y=%2724.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3Crect x=%278.5%27 y=%2724.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%2716.5%27 y=%2724.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23v%29%27/%3E%3Crect x=%2724.5%27 y=%2724.5%27 width=%277%27 height=%277%27 rx=%271%27 fill=%27url%28%23h%29%27/%3E%3C/svg%3E");
  background-size: auto, auto, 32px 32px;
}
.band > .wrap { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .9rem; font-weight: 550; background: var(--band-2); color: var(--band-ink); border: 1px solid var(--band-line);
  text-decoration: none;
}
.chip .stars { color: var(--signal); letter-spacing: 1px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--band-muted); flex: none; }
.dot.on { background: #3fd17f; box-shadow: 0 0 0 4px rgba(63, 209, 127, .18); }
.dot.off { background: #8a94a3; }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(120px, 14vw, 170px); position: relative; }
.hero-grid { display: grid; gap: 24px; max-width: 900px; }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 5vw, 5.2rem); }

/* ---------- Division tiles ---------- */
.tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-top: calc(-1 * clamp(96px, 11vw, 130px)); position: relative; z-index: 2;
}
@media (max-width: 1020px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 22px 20px;
  background: var(--surface); color: var(--ink); text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 250px; position: relative;
}
.tile:hover { border-color: var(--accent); }
.tile:hover .tile-go { color: var(--accent-text); }
.tile-icon { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.tile-icon .icon { width: 26px; height: 26px; }
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; line-height: 1.1; }
.tile ul { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.tile-go { font-family: var(--font-label); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; gap: 6px; color: var(--ink); }
@media (max-width: 560px) { .tile { min-height: 0; grid-template-columns: auto 1fr; grid-template-rows: auto; column-gap: 14px; align-items: start; } .tile-icon { grid-row: span 3; } .tile ul, .tile-go { grid-column: 2; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section:not(.surface-band) + .section:not(.surface-band) { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 70ch; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; }
@media (max-width: 700px) { .section-head.split { grid-template-columns: 1fr; } }
.surface-band { background: var(--surface); border-block: 1px solid var(--line); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; counter-increment: s; }
.steps li::before {
  content: counter(s); grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1;
  color: var(--accent-text); min-width: 1.2em;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); }

/* promises */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .points { grid-template-columns: 1fr; } }
.points > div { padding: 22px 24px 22px 0; display: grid; gap: 6px; }
.points > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
@media (max-width: 800px) { .points > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }
.points p { color: var(--muted); }

/* ---------- Reviews ---------- */
.rating-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-card {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 240px;
}
.rating-card .big { grid-row: span 2; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.rating-card .stars { color: var(--signal); letter-spacing: 1px; }
.rating-card .meta { font-size: .9rem; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0;
}
.review .stars { color: var(--signal); letter-spacing: 1px; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review .more { background: none; border: 0; padding: 0; color: var(--accent-text); cursor: pointer; font-weight: 600; justify-self: start; }
.review footer { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.review footer img { width: 32px; height: 32px; border-radius: 50%; }
.review footer .who { display: grid; line-height: 1.3; min-width: 0; }
.review footer .who a, .review footer .who span:first-child { font-weight: 650; color: var(--ink); text-decoration: none; }
.review footer .who small { color: var(--muted); }
.review.skeleton blockquote { color: var(--muted); }
.review.skeleton .bar { height: 10px; border-radius: 5px; background: var(--surface-2); }
.google-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.tabs button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Page hero (division pages) ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(36px, 5vw, 60px); position: relative; }
.page-hero .crumb { font-size: .92rem; color: var(--band-muted); margin-bottom: 14px; }
.page-hero .crumb a { color: var(--band-muted); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }
.page-hero h1 { margin-bottom: 16px; }
.contact-card {
  background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px;
}
.contact-card .row { display: flex; align-items: center; gap: 10px; color: var(--band-ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card .row .icon { color: var(--band-accent); }
.contact-card .btn { width: 100%; }
.page-hero .hanzo-logo { height: 54px; width: auto; margin-bottom: 18px; }
.hanzo-fallback { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: .08em; margin-bottom: 14px; color: var(--band-ink); }
.hanzo-fallback b { color: var(--band-accent); }

/* ---------- Services list ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.svc .icon { width: 28px; height: 28px; color: var(--accent-text); grid-row: span 3; margin-top: 2px; }
.svc p { color: var(--muted); }
.svc a { font-weight: 600; font-size: .95rem; justify-self: start; }

/* ---------- Tyre size reader ---------- */
.sizer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .sizer { grid-template-columns: 1fr; } }
.sidewall {
  background: #1a1d21; color: #c9ccd1; border-radius: 14px; padding: 26px 22px 20px; position: relative; overflow: hidden;
  background-image: radial-gradient(120% 140% at 50% 160%, #2a2e34 0 55%, transparent 56%), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px);
}
.sidewall .code { display: flex; flex-wrap: wrap; gap: 0 .2em; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 3.8rem); line-height: 1; }
.sidewall .seg { display: grid; gap: 6px; text-align: center; color: #c9ccd1; text-shadow: 0 -1px 0 rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.14); }
.sidewall .seg small { font-family: var(--font); font-size: .78rem; font-weight: 500; color: #8b939e; text-shadow: none; line-height: 1.2; }
.sidewall .seg.hi { color: #fff; }
.sidewall .facts { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid #33383f; padding-top: 14px; }
.sidewall .facts div { display: grid; font-size: .82rem; color: #8b939e; }
.sidewall .facts b { font-size: 1.15rem; color: #eef0f3; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .87rem; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: 1rem;
}
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.input.big { font-size: 1.6rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.field.error .input { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: .88rem; font-weight: 550; }

/* promo */
.promo {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px 20px; align-items: center;
  padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--accent);
}
.promo .icon { width: 30px; height: 30px; color: var(--accent-text); }
@media (max-width: 700px) { .promo { grid-template-columns: 1fr; } }

/* rental options */
.opt-table { width: 100%; border-collapse: collapse; }
.opt-table th, .opt-table td { text-align: left; padding: 16px 14px 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.opt-table th { font-weight: 600; width: 30%; }
.opt-table td { color: var(--muted); }
@media (max-width: 640px) { .opt-table, .opt-table tbody, .opt-table tr, .opt-table th, .opt-table td { display: block; width: auto; } .opt-table td { border-top: 0; padding-top: 0; } }

/* CTA band */
.cta-band { background: var(--band); color: var(--band-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 36px; }
.cta-band h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 10px 0; border-top: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; }
.hours tr.today td:first-child::after { content: " · today"; font-weight: 500; color: var(--accent-text); }
.lines { display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.line-item .name { font-weight: 650; }
.line-item .num { color: var(--muted); font-variant-numeric: tabular-nums; }
.line-item .btn { grid-row: span 2; }

/* ---------- Footer ---------- */
.site-foot { background: var(--band); color: var(--band-muted); font-size: .95rem; }
.site-foot .wrap { padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { color: var(--band-ink); font-family: var(--font-label); font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--band-muted); text-decoration: none; }
.site-foot a:hover { color: var(--band-ink); text-decoration: underline; }
.foot-base { border-top: 1px solid var(--band-line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }

/* ---------- WhatsApp button ---------- */
.wa-fab {
  position: fixed; z-index: 40;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 0 18px 0 14px; height: 52px; border-radius: 999px;
  background: #1f9d55; color: #fff; border: 0; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.wa-fab .icon { width: 24px; height: 24px; }
.wa-pop {
  position: fixed; z-index: 41; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  width: min(320px, calc(100vw - 36px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
}
.wa-pop p { padding: 8px 10px 4px; font-weight: 650; }
.wa-pop a { display: grid; grid-template-columns: 1fr auto; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.wa-pop a:hover { background: var(--surface-2); }
.wa-pop a small { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Booking ---------- */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
@media (max-width: 940px) { .book-layout { grid-template-columns: 1fr; } }
.stepper { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: st; flex-wrap: wrap; }
.stepper li { counter-increment: st; display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); font-weight: 550; }
.stepper li::before {
  content: counter(st); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line); font-weight: 700; font-size: .85rem; background: var(--surface);
}
.stepper li + li::after { order: -1; content: ""; width: 18px; height: 1.5px; background: var(--line); }
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"]::before { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.stepper li.done::before { content: "✓"; border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 560px) { .stepper li span { display: none; } .stepper li[aria-current="step"] span { display: inline; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px; }
.panel h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.group-label { font-weight: 700; font-size: .95rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
  display: grid; gap: 2px; padding: 12px 14px 12px 42px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; min-height: 64px; position: relative;
}
.choice label::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--muted);
  background: var(--surface);
}
.choice input[type="radio"] + label::before { border-radius: 50%; }
.choice label b { font-weight: 650; }
.choice label small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.choice input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.choice input:checked + label::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
.choice input:focus-visible + label { outline: 3px solid var(--band-accent); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.daystrip { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.day {
  display: grid; justify-items: center; gap: 0; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; scroll-snap-align: start; line-height: 1.25;
}
.day small { font-size: .78rem; color: var(--muted); }
.day b { font-size: 1.55rem; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.day[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.day[aria-pressed="true"] small { color: var(--accent-ink); opacity: .85; }
.day:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { min-height: 46px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; font-family: var(--font-label); font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.slot:disabled { opacity: .4; cursor: not-allowed; }
.slot .full { display: block; font-size: .72rem; font-weight: 500; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 18px; }
.summary { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
@media (max-width: 940px) { .summary { position: static; } }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: grid; gap: 2px; }
.summary dt { font-size: .85rem; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary .to { display: flex; gap: 10px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.done-box { text-align: left; display: grid; gap: 18px; }
.ref { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.notice { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-size: .93rem; }
.notice.warn { border-color: var(--bad); }

/* ---------- Rims catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 22px; }
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field.grow { flex: 2 1 220px; }
.rim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.rim-card {
  display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0; color: var(--ink);
}
.rim-card:hover { border-color: var(--accent); }
.rim-photo { aspect-ratio: 1 / 1; max-width: 100%; background: radial-gradient(circle at 50% 45%, var(--surface) 0 30%, var(--surface-2) 75%); display: grid; place-items: center; position: relative; }
.rim-photo img, .rim-photo svg { width: 100%; height: 100%; object-fit: contain; }
.rim-photo .badge { position: absolute; left: 10px; top: 10px; }
.rim-body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; }
.rim-body h3 { font-size: 1.12rem; }
.rim-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { font-family: var(--font-label); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.badge.in { color: var(--ok); border-color: currentColor; }
.badge.pre { color: var(--accent-text); border-color: currentColor; }
.badge.out { color: var(--muted); }
.badge.sample { color: var(--bad); border-color: currentColor; }
.price { font-weight: 750; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.price small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.empty { padding: 40px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; display: grid; gap: 10px; justify-items: center; color: var(--muted); }

/* modal */
.modal-back { position: fixed; inset: 0; z-index: 70; background: rgba(8, 11, 15, .6); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { width: min(920px, 100%); max-height: 100%; overflow: auto; background: var(--surface); color: var(--ink); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 760px) { .modal { grid-template-columns: 1fr; } }
.modal .gallery { background: var(--surface-2); display: grid; gap: 8px; padding: 12px; align-content: start; }
.modal .gallery .main { aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; }
.modal .gallery .main img, .modal .gallery .main svg { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs button { width: 60px; height: 60px; padding: 2px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.modal .info { padding: 24px; display: grid; gap: 16px; align-content: start; position: relative; }
.modal .close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 1.3rem; line-height: 1; }
.fit-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.fit-table th, .fit-table td { text-align: left; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.fit-table th { font-weight: 600; color: var(--muted); font-size: .85rem; }
.table-scroll { overflow-x: auto; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tile, .rim-card, .btn, .choice label, .day, .slot { transition: border-color .15s, background-color .15s, filter .15s; }
}

/* ---------- Rims admin ---------- */
.admin-list { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 760px) { .admin-row { grid-template-columns: 64px minmax(0, 1fr); } .admin-actions { grid-column: 1 / -1; } }
.admin-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.admin-thumb img, .admin-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.admin-info { display: grid; gap: 4px; min-width: 0; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
.admin-actions .btn { min-height: 38px; padding: 6px 12px; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ph-grid:empty { display: none; }
.ph { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); display: grid; }
.ph img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ph figcaption { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; align-items: center; background: var(--surface); }
.ph figcaption .btn { min-height: 32px; padding: 4px 10px; font-size: .85rem; }
.dropzone { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1.5px dashed var(--line); border-radius: var(--radius); cursor: pointer; color: var(--muted); background: var(--surface); }
.dropzone .icon { width: 28px; height: 28px; color: var(--accent-text); }
.dropzone b { color: var(--ink); }
.dropzone.over, .dropzone:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.fit-edit td { padding: 6px 8px 6px 0; }
.fit-edit .input { min-height: 42px; min-width: 96px; padding: 8px 10px; }
.fit-edit td:last-child .btn { min-height: 42px; padding: 6px 12px; }
.svc { align-content: start; }
[data-open-status] { display: inline-flex; align-items: center; gap: 8px; }
.section-head.split > .btn, .section-head.split > .btn-row { justify-self: start; }
@media (min-width: 701px) { .section-head.split > .btn, .section-head.split > .btn-row { justify-self: end; } }
.rating-card { flex: 1 1 240px; }
.summary .to:empty { display: none; }
h2[tabindex="-1"]:focus, .done-box:focus { outline: none; }
.sidewall .seg { grid-template-columns: min-content; }
@media (max-width: 560px) {
  .rim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rim-body { padding: 10px 12px 12px; }
  .rim-body h3 { font-size: 1rem; }
  .price small { display: block; }
}
.contact-card { background: color-mix(in srgb, var(--band-2) 82%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
