/* PC Talks — styles
   Layout concept: a parts counter. Dark "bench" bands (hero, resellers, footer) carry the red brand;
   light "shelf" sections hold the details. Display type is wide and industrial, part numbers sit in mono.
   The site keeps one fixed brand look (it does not switch to dark mode). */
:root {
  color-scheme: light;
  --red: #D71920;
  --red-hot: #F0141B;
  --red-deep: #6B0505;
  --red-tint: #FDECEC;
  --blue: #1F6FEB;          /* repair service accent */
  --blue-deep: #0B3C8C;
  --blue-tint: #E8F0FE;
  --ink: #0C0D10;
  --ink-2: #14161B;
  --ink-3: #1D2027;
  --ink-line: #2B2F38;
  --ink-text: #E9EAEE;
  --ink-muted: #9AA0AC;
  --paper: #FFFFFF;
  --paper-2: #F4F5F7;
  --paper-3: #ECEEF1;
  --text: #121419;
  --muted: #5A606B;
  --line: #E1E4E9;
  --ok: #14804A;

  --f-display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Instrument Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-card: 0 1px 2px rgba(12,13,16,.06), 0 12px 32px -12px rgba(12,13,16,.18);
  --shadow-pop: 0 30px 80px -20px rgba(0,0,0,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; 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; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .95rem; font-weight: 600; color: var(--red); }
.mono { font-family: var(--f-mono); }
.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.35em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(215,25,32,.65); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-dark:hover { box-shadow: 0 10px 24px -10px rgba(12,13,16,.6); }
.btn-ghost { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.btn-ghost:hover { --bd: var(--text); box-shadow: none; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.28); }
.btn-ghost-light:hover { --bd: #fff; box-shadow: none; }
.btn-blue { --bg: var(--blue); }
.btn-blue:hover { box-shadow: 0 10px 24px -10px rgba(31,111,235,.65); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.05rem; padding-inline: 1.7em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--red); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--ink); color: var(--ink-muted); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar a { color: var(--ink-text); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-items span { display: inline-flex; align-items: center; gap: .45em; }
.topbar .icon { width: 14px; height: 14px; color: var(--red-hot); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a.nav-link {
  position: relative; padding: .55em .9em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a.nav-link:hover { color: var(--text); background: var(--paper-2); }
.main-nav a.nav-link[aria-current="page"] { color: var(--text); }
.main-nav a.nav-link[aria-current="page"]::after {
  content: ''; position: absolute; left: .9em; right: .9em; bottom: .2em; height: 2px; background: var(--red); border-radius: 2px;
}
.nav-cta { margin-left: 10px; min-height: 44px; }
@media (min-width: 1101px) { .main-nav .nav-home { display: none; } }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .topbar-hide-sm { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
  }
  .site-header:not(.nav-open) .main-nav { display: none; }
  .main-nav a.nav-link { padding: .9em 1em; border-radius: 12px; font-size: 1.05rem; }
  .main-nav a.nav-link[aria-current="page"] { background: var(--red-tint); color: var(--red); }
  .main-nav a.nav-link[aria-current="page"]::after { display: none; }
  .nav-cta { margin: 10px 0 0; }
  .brand img { height: 38px; }
}

/* ---------- Dark bands ---------- */
.dark { background: var(--ink); color: var(--ink-text); }
.dark .lead { color: var(--ink-muted); }
.dark .eyebrow { color: #FF4148; }
.circuit-bg { position: relative; isolation: isolate; overflow: hidden; }
/* Dark bands: plain near-black with a thin brand-red rule at the bottom (photos do the rest). */
.circuit-bg { position: relative; isolation: isolate; overflow: hidden; border-bottom: 3px solid var(--red); }
.circuit-bg.blue-glow { border-bottom-color: var(--blue); }
.cta-band.circuit-bg, .section.circuit-bg, .nf.circuit-bg { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 .line-red { display: block; color: #F0141B; }

/* Home hero keeps the first design: fine grid, red glow, scan line, gradient headline, numbered finder steps. */
.hero-classic { border-bottom: 0; }
.hero-classic::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
}
.hero-classic::after {
  content: ''; position: absolute; z-index: -1; width: 780px; height: 780px; right: -240px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,25,32,.42), rgba(107,5,5,.18) 45%, transparent 70%);
  filter: blur(10px);
}
.hero-classic h1 .line-red { color: transparent; background: linear-gradient(90deg, #FF3B3F, var(--red) 55%, #A30D12); -webkit-background-clip: text; background-clip: text; }
.eyebrow-tech { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #FF4148; }
.eyebrow-tech::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.hero-classic .field .step { display: inline; font-family: var(--f-mono); color: var(--red); margin-right: .4em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 4px 0 0; list-style: none; color: var(--ink-text); font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: .5em; }
.hero-points .icon { color: #FF4148; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-muted); letter-spacing: .02em; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Page bands (inner pages) ---------- */
.page-band { padding-block: clamp(40px, 6vw, 72px); }
.page-band .wrap { display: grid; gap: 16px; }
.crumbs { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.service-label {
  display: inline-flex; align-items: center; gap: .5em; width: fit-content; padding: .35em .8em; border-radius: 999px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(31,111,235,.16); color: #8DB8FF; border: 1px solid rgba(31,111,235,.4);
}
.service-label.parts { background: rgba(215,25,32,.16); color: #FF8A8E; border-color: rgba(215,25,32,.45); }
.service-label.on-light { background: var(--blue-tint); color: var(--blue-deep); border-color: #C5D9FB; }
.service-label.parts.on-light { background: var(--red-tint); color: #A30D12; border-color: #F6C5C7; }

/* Page band with a photo fading in from the right */
.band-photo { position: relative; isolation: isolate; }
.band-photo .band-img {
  position: absolute; z-index: -1; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.band-photo .wrap > * { max-width: 640px; }
@media (max-width: 760px) {
  .band-photo .band-img { width: 100%; opacity: .28; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
}

/* ---------- Computers ---------- */
.pc-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pc-card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-md); overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.pc-card .pc-img { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--ink); }
.pc-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pc-card:hover .pc-img img { transform: scale(1.05); }
.pc-tag {
  position: absolute; left: 12px; top: 12px; padding: .3em .7em; border-radius: 999px; background: rgba(12,13,16,.78); color: #fff;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pc-card .pc-body { padding: 18px 18px 20px; display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto 1fr auto; }
.pc-card h3 { font-size: 1.12rem; }
.pc-card p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.pc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; align-content: start; }
.pc-card li { display: flex; gap: .5em; align-items: flex-start; }
.pc-card li .icon { width: 15px; height: 15px; color: var(--red); margin-top: 3px; }
@media (max-width: 1080px) { .pc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pc-cards { grid-template-columns: minmax(0, 1fr); } }

/* Home teaser for computers: one big photo card + four small ones */
.pc-teaser { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; }
.pc-teaser-main { position: relative; isolation: isolate; border-radius: var(--r-lg); overflow: hidden; min-height: 440px; color: #fff; display: grid; align-content: end; background: var(--ink); }
.pc-teaser-main > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pc-teaser-main::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,13,16,0) 20%, rgba(12,13,16,.94)); }
.pc-teaser-main .pt-copy { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.pc-teaser-main .lead { color: #C9CCD3; }
.pc-teaser-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-mini { position: relative; isolation: isolate; border-radius: var(--r-md); overflow: hidden; min-height: 200px; display: grid; align-content: end; color: #fff; text-decoration: none; background: var(--ink); }
.pc-mini img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pc-mini:hover img { transform: scale(1.06); }
.pc-mini::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,13,16,0) 35%, rgba(12,13,16,.9)); }
.pc-mini > span { padding: 16px; font-family: var(--f-display); font-stretch: 110%; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pc-mini .icon { color: #FF4148; }
@media (max-width: 900px) { .pc-teaser { grid-template-columns: minmax(0, 1fr); } .pc-teaser-main { min-height: 360px; } }
@media (max-width: 420px) { .pc-mini { min-height: 150px; } .pc-mini > span { padding: 12px; font-size: .92rem; } }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-intro .prose { display: grid; gap: 16px; font-size: 1.05rem; color: var(--muted); max-width: 62ch; }
.about-intro .prose strong { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 20px; border-radius: var(--r-md); background: var(--paper-2); display: grid; gap: 6px; align-content: start; }
.fact small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact strong { font-family: var(--f-display); font-stretch: 112%; font-size: 1.12rem; line-height: 1.25; }
@media (max-width: 860px) { .about-intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.do-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .do-cards { grid-template-columns: minmax(0, 1fr); } }
.about-strip { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.about-strip .as-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--ink); }
.about-strip .as-img img { width: 100%; height: 100%; object-fit: cover; }
.about-strip .as-copy { display: grid; gap: 16px; }
@media (max-width: 860px) { .about-strip { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section.alt { background: var(--paper-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-2); color: var(--ink-text); border-top: 1px solid var(--ink-line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-left: 1px solid var(--ink-line); }
.trust li:first-child { border-left: 0; }
.trust .t-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(215,25,32,.14); color: #FF4148; flex: none; }
.trust .t-ico .icon { width: 22px; height: 22px; }
.trust strong { display: block; font-family: var(--f-display); font-stretch: 110%; font-size: 1rem; }
.trust small { color: var(--ink-muted); font-size: .82rem; }
@media (max-width: 900px) {
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
}
@media (max-width: 460px) {
  .trust li { padding: 16px 10px; gap: 10px; flex-direction: column; align-items: flex-start; }
}

/* ---------- Finder (quote console) ---------- */
.console {
  background: var(--paper); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden; min-width: 0; scroll-margin-top: 110px;
}
.console-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 22px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.console-title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; }
.console-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215,25,32,.16); }
.console.repair .console-title .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(31,111,235,.16); }
.console-tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.console form { padding: 22px; display: grid; gap: 20px; }
.console.flash { animation: flash 1.1s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow-pop); } 30% { box-shadow: 0 0 0 4px rgba(215,25,32,.55), var(--shadow-pop); } }

.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > legend, .field > label, .label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; padding: 0;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--text);
}
.field .step { display: none; }
.chips.parts.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.label-aside { font-weight: 500; color: var(--muted); font-size: .8rem; }
.help-link { background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; font-size: .8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.repair .help-link { color: var(--blue); }

.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease; font-size: 1rem;
}
textarea.input { min-height: 92px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #9AA0AA; }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(12,13,16,.08); }
.input.mono { font-family: var(--f-mono); font-size: .95rem; letter-spacing: .01em; }
.field.invalid .input, .field.invalid .chips { border-color: var(--red); }
.error-msg { color: #B3121A; font-size: .82rem; font-weight: 600; display: flex; gap: .4em; align-items: center; }
.error-msg .icon { width: 16px; height: 16px; }

.chips { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 12px; }
.chips.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips.parts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chip { position: relative; min-width: 0; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 44px; padding: 8px 8px; text-align: center;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .9rem; line-height: 1.2; background: var(--paper);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease; cursor: pointer;
}
.chip:hover span { border-color: #B9BEC7; }
.chip input:checked + span { border-color: var(--text); background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chips.parts .chip span { flex-direction: column; min-height: 78px; font-size: .8rem; gap: 6px; }
.chips.parts .chip svg { width: 30px; height: 30px; }
.chip input:checked + span svg { color: #FF4148; }
.repair .chip input:checked + span { background: var(--blue-deep); border-color: var(--blue-deep); }
.repair .chip input:checked + span svg { color: #8DB8FF; }
.repair .chip input:focus-visible + span { outline-color: var(--blue); }
.chips.list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips.list .chip span { justify-content: flex-start; text-align: left; padding: 10px 12px; }
@media (max-width: 520px) {
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chips.parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chips.list, .chips.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .console form { padding: 18px 16px; }
  .console-head { padding: 14px 16px; }
}

.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.row-2:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 520px) { .row-2 { grid-template-columns: minmax(0, 1fr); } }
.qty-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: end; }
@media (max-width: 420px) { .qty-row { grid-template-columns: minmax(0, 1fr); } }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; height: 50px; width: fit-content; }
.stepper button { width: 46px; height: 100%; border: 0; background: var(--paper-2); cursor: pointer; font-size: 1.3rem; font-weight: 600; }
.stepper button:hover { background: var(--paper-3); }
.stepper input { width: 64px; height: 100%; border: 0; text-align: center; font-family: var(--f-mono); font-weight: 600; font-size: 1.05rem; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.check {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; min-height: 50px; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer;
  font-size: .9rem; line-height: 1.35; font-weight: 500;
}
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; margin: 0; }
.check:has(input:checked) { border-style: solid; border-color: var(--red); background: var(--red-tint); }
.check small { display: block; color: var(--muted); font-weight: 400; }
.form-foot { display: grid; gap: 10px; }
.form-note { display: flex; gap: .5em; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.form-note .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }

/* ---------- Part tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; display: grid; gap: 14px; align-content: start; padding: 22px 20px 20px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line); text-align: left; cursor: pointer; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.tile-art { height: 92px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(160deg, var(--ink-3), var(--ink)); color: #fff; }
.tile-art svg { width: 64px; height: 64px; stroke-width: 1.4; transition: transform .25s ease; }
.tile:hover .tile-art svg { transform: scale(1.08) rotate(-3deg); }
.tile-art { --part-accent: #FF4148; }
.accent { stroke: var(--part-accent, currentColor); }
.tile h3 { font-size: 1.08rem; }
.tile p { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.tile .link-arrow { font-size: .88rem; margin-top: 2px; }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 14px; gap: 10px; }
  .tile-art { height: 74px; }
  .tile-art svg { width: 48px; height: 48px; }
  .tile p { display: none; }
  .tile:last-child { grid-column: 1 / -1; grid-template-columns: 110px minmax(0, 1fr); align-items: center; column-gap: 16px; }
  .tile:last-child .tile-art { grid-row: span 2; }
}

/* ---------- Repair teaser ---------- */
.repair-teaser {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, #0A1A36, #0C0D10 70%); color: var(--ink-text);
}
.repair-teaser .rt-copy { padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: center; }
.repair-teaser .lead { color: #A9B5CA; }
.repair-list { list-style: none; padding: clamp(20px, 3vw, 36px); margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; background: rgba(255,255,255,.03); border-left: 1px solid rgba(255,255,255,.07); align-content: center; }
.repair-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); font-weight: 500; font-size: .92rem; line-height: 1.3; }
.repair-list .icon { color: #6EA4FF; }
@media (max-width: 880px) {
  .repair-teaser { grid-template-columns: minmax(0, 1fr); }
  .repair-list { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 420px) { .repair-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps (How to order) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 0 18px 0 0; counter-increment: step; }
.steps .s-num {
  position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 6px;
  font-family: var(--f-mono); font-weight: 600; font-size: .8rem; color: var(--red);
}
.steps .s-num b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--red); color: var(--red); font-size: .95rem; flex: none; }
.steps .s-num::after { content: ''; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); opacity: .45; }
.steps li:last-child .s-num::after { display: none; }
.steps li:last-child .s-num b { background: var(--red); color: #fff; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .9rem; color: var(--muted); }
.steps .s-eg { font-family: var(--f-mono); font-size: .76rem; color: var(--text); background: var(--paper-3); border-radius: 6px; padding: 4px 8px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 0 0 26px; }
  .steps .s-num { grid-row: span 3; margin: 0; flex-direction: column; align-self: stretch; }
  .steps .s-num span { display: none; }
  .steps .s-num::after { width: 2px; height: auto; flex: 1; background: repeating-linear-gradient(180deg, var(--red) 0 6px, transparent 6px 12px); }
  .steps li:last-child { padding-bottom: 0; }
}

/* ---------- Reseller block ---------- */
.reseller-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.reseller-copy { display: grid; gap: 20px; }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.who {
  display: grid; gap: 10px; padding: 20px; border-radius: var(--r-md); background: var(--ink-3); border: 1px solid var(--ink-line);
  transition: border-color .2s ease, transform .2s ease;
}
.who:hover { border-color: rgba(215,25,32,.6); transform: translateY(-2px); }
.who .icon { width: 28px; height: 28px; color: #FF4148; }
.who strong { font-family: var(--f-display); font-stretch: 110%; font-size: 1.02rem; color: #fff; }
.who small { color: var(--ink-muted); font-size: .84rem; line-height: 1.4; }
@media (max-width: 880px) { .reseller-block { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .who-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Shipping & payment ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-card { padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.sp-head { display: flex; align-items: center; gap: 12px; }
.sp-head .icon { width: 26px; height: 26px; color: var(--red); }
.sp-head h3 { font-size: 1.12rem; }
.sp-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 56px; padding: 8px 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; color: var(--text); text-align: center; line-height: 1.2; min-width: 0;
}
.logo-badge img { display: block; width: auto; max-width: 120px; }
.logo-badge .icon { width: 18px; height: 18px; color: var(--red); }
.logo-badge.wide { grid-column: 1 / -1; gap: .7em; }
.logo-badge.more { color: var(--muted); font-weight: 500; border-style: dashed; }
.sp-sub { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.sp-note { font-size: .88rem; color: var(--muted); }
.sp-hours { display: grid; gap: 8px; font-size: .95rem; }
.sp-hours > span { display: flex; align-items: center; gap: .55em; }
.sp-hours .icon { width: 18px; height: 18px; color: var(--red); }
@media (max-width: 980px) { .sp-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- B2B proof + deliveries ---------- */
.proof-card { display: grid; gap: 14px; padding: 22px 24px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); }
.dark .proof-card { background: var(--ink-3); border-color: var(--ink-line); }
.reseller-block .proof-card { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 16px 32px; }
.proof-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.proof-head .icon { width: 22px; height: 22px; color: var(--red); }
.dark .proof-head .icon { color: #FF4148; }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.proof-list li { display: grid; gap: 2px; }
.proof-list strong { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.dark .proof-list strong { color: #FF4148; }
.proof-list span { font-size: .85rem; color: var(--muted); }
.dark .proof-list span, .dark .proof-card p { color: var(--ink-muted); }
.proof-card p { font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) { .reseller-block .proof-card { grid-template-columns: minmax(0, 1fr); } }
.deliveries { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.deliveries figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; max-width: 100%; background: var(--paper-3); }
.deliveries img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .deliveries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deliveries figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands span {
  display: grid; place-items: center; min-height: 92px; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800; font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: .04em; color: #A5AAB3;
  transition: color .2s ease, background-color .2s ease;
}
.brands span:hover { color: var(--text); background: var(--paper-2); }
.brands span.more { color: var(--red); font-size: .9rem; font-family: var(--f-mono); font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 14px; }
@media (max-width: 700px) { .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brands span { min-height: 70px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-list details[open] { border-color: transparent; box-shadow: var(--shadow-card); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); flex: none; transition: transform .25s ease, background-color .2s ease; }
.faq-list details[open] .plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-list .ans { padding: 0 20px 20px; color: var(--muted); display: grid; gap: 10px; max-width: 68ch; }
.faq-list .ans strong { color: var(--text); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.tbc {
  display: inline-block; vertical-align: middle; margin-left: .35em; padding: .1em .55em; border-radius: 6px; border: 1px dashed #D9A400;
  background: #FFF8DB; color: #7A5B00; font-family: var(--f-mono); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.dark .tbc { background: rgba(255,214,0,.1); color: #F5D46A; border-color: rgba(245,212,106,.5); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: stretch; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.c-card {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px 20px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper);
}
.c-card .c-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.c-card .c-ico .icon { width: 22px; height: 22px; }
.c-card small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-card strong { font-size: 1.05rem; overflow-wrap: anywhere; }
.c-card .c-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mini-btn {
  display: inline-flex; align-items: center; gap: .4em; min-height: 36px; padding: .35em .85em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.mini-btn:hover { border-color: var(--text); }
.mini-btn .icon { width: 15px; height: 15px; }
.c-note { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .45em; font-size: .86rem; color: var(--muted); }
.c-note .icon { width: 15px; height: 15px; }
.c-note .tbc { margin-left: 0; }
.mini-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-box { position: relative; min-height: 360px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    radial-gradient(circle at 50% 46%, rgba(215,25,32,.16), transparent 30%),
    linear-gradient(32deg, transparent 47%, #D9DDE3 47%, #D9DDE3 53%, transparent 53%),
    linear-gradient(-58deg, transparent 48%, #E3E6EA 48%, #E3E6EA 51%, transparent 51%),
    linear-gradient(90deg, transparent 70%, #E3E6EA 70%, #E3E6EA 72%, transparent 72%),
    var(--paper-2);
}
.map-fallback .pin { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 12px 24px -8px rgba(215,25,32,.6); }
.map-fallback .pin span { width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.map-fallback .mf-card { background: var(--paper); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-card); display: grid; gap: 10px; justify-items: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .map-box { min-height: 300px; } }

.delivery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d-card { padding: 22px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.d-card .icon { width: 30px; height: 30px; color: var(--red); }
.d-card h3 { font-size: 1.05rem; }
.d-card p { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .delivery { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Parts page detail ---------- */
.part-rows { display: grid; gap: 14px; }
.part-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px;
  border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 110px;
}
.part-row .tile-art { height: 110px; }
.part-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.part-row p { color: var(--muted); font-size: .93rem; }
.send-list { list-style: none; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); display: grid; gap: 7px; font-size: .88rem; }
.send-list b { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.send-list li { display: flex; gap: .55em; align-items: flex-start; }
.send-list .icon { width: 16px; height: 16px; color: var(--red); margin-top: 3px; }
.send-list code { font-family: var(--f-mono); font-size: .82rem; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
@media (max-width: 1000px) {
  .part-row { grid-template-columns: 110px minmax(0, 1fr); }
  .part-row .tile-art { height: 96px; }
  .part-row .send-list, .part-row > .btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .part-row { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .part-row .tile-art { height: 84px; }
}
.finder-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.finder-section .side { display: grid; gap: 18px; position: sticky; top: 120px; }
@media (max-width: 980px) { .finder-section { grid-template-columns: minmax(0, 1fr); } .finder-section .side { position: static; } }
.tip-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.tip-card .icon { width: 28px; height: 28px; color: var(--red); }
.tip-card.blue .icon { color: var(--blue); }
.tip-card strong { display: block; margin-bottom: 2px; }
.tip-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Repair page ---------- */
.repair-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.r-card { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; align-content: start; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.r-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: transparent; }
.r-card .r-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.r-card .r-ico .icon { width: 24px; height: 24px; }
.r-card h3 { font-size: 1.02rem; }
.r-card p { font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .repair-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .repair-cards { grid-template-columns: minmax(0, 1fr); } .r-card { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; } .r-card .r-ico { grid-row: span 2; } }
.steps.blue .s-num, .steps.blue .s-num b { color: var(--blue); border-color: var(--blue); }
.steps.blue .s-num::after { background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 12px); }
.steps.blue li:last-child .s-num b { background: var(--blue); color: #fff; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .steps.four { grid-template-columns: minmax(0, 1fr); }
  .steps.blue .s-num::after { background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px); }
}
.repair .check input { accent-color: var(--blue); }
.repair .check:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.repair .input:focus { border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(31,111,235,.14); }

/* ---------- Resellers page ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.b-card { padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.b-card .icon { width: 30px; height: 30px; color: var(--red); }
.b-card h3 { font-size: 1.05rem; }
.b-card p { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-muted); padding-block: 64px 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { max-width: 36ch; }
.site-footer h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8rem; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--ink-line); }
.social a:hover { border-color: var(--red); text-decoration: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Floating contact (mobile) ---------- */
.fab-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .fab-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; position: fixed; z-index: 60; left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 8px; border-radius: 18px;
    background: rgba(12,13,16,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
  }
  .fab-bar .btn { min-height: 46px; padding-inline: .8em; font-size: .95rem; }
}

/* ---------- Dialogs (quote sheet, model helper) ---------- */
dialog.sheet {
  width: min(680px, calc(100% - 24px)); max-width: 100%; max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--paper); color: var(--text); box-shadow: var(--shadow-pop); overflow: hidden;
}
dialog.sheet[open] { display: flex; flex-direction: column; animation: rise .28s cubic-bezier(.2,.8,.2,1); }
dialog.sheet::backdrop { background: rgba(8,9,12,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes rise { from { transform: translateY(18px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 18px; background: var(--ink); color: #fff; }
.sheet-head h2 { font-size: 1.45rem; margin-top: 8px; }
.sheet-head p { color: var(--ink-muted); font-size: .9rem; margin-top: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.sheet-body { padding: 22px 24px 26px; overflow-y: auto; display: grid; gap: 20px; }
.summary { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 8px 18px; margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--paper-2); font-size: .92rem; }
.summary dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.msg-box { position: relative; }
.msg-box pre {
  margin: 0; padding: 16px 18px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--paper);
  font-family: var(--f-mono); font-size: .8rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto;
}
.send-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.send-btn {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; text-align: left; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.send-btn:hover { border-color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-card); }
.send-btn .s-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); }
.send-btn .s-ico .icon { width: 22px; height: 22px; }
.send-btn strong { font-size: .95rem; }
.send-btn small { color: var(--muted); font-size: .78rem; line-height: 1.3; overflow-wrap: anywhere; }
.send-btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; grid-column: 1 / -1; }
.send-btn.primary small { color: var(--ink-muted); }
.send-btn.primary .s-ico { background: var(--red); color: #fff; }
.sheet.is-repair .send-btn.primary .s-ico { background: var(--blue); }
@media (max-width: 520px) {
  .send-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-head, .sheet-body { padding-inline: 18px; }
  dialog.sheet { width: 100%; max-height: 92%; margin: auto 0 0; border-radius: 22px 22px 0 0; }
}
.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); z-index: 200;
  display: flex; align-items: center; gap: .6em; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: #4ADE80; }
.photo-tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #FFF8DB; color: #5C4500; font-size: .88rem; line-height: 1.45; }
.photo-tip .icon { width: 22px; height: 22px; flex: none; color: #B98900; }
.next-up { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.next-up .icon { color: var(--ok); }

.helper-art { border-radius: 16px; background: linear-gradient(160deg, var(--ink-3), var(--ink)); padding: 18px; }
.helper-art svg { width: 100%; height: auto; }
.helper-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.helper-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .92rem; }
.helper-steps li > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red-tint); color: var(--red); font-family: var(--f-mono); font-weight: 700; font-size: .85rem; }
.helper-steps code { font-family: var(--f-mono); font-size: .82rem; background: var(--paper-2); border-radius: 5px; padding: 1px 6px; }

/* ---------- 404 ---------- */
.nf { min-height: 64vh; display: grid; align-items: center; padding-block: 72px; }
.nf .code { font-family: var(--f-mono); color: #FF4148; letter-spacing: .1em; }
.nf h1 { margin: 14px 0 16px; }
.nf .hero-actions { margin-top: 28px; }

/* ---------- Motion ---------- */
.scanline { position: absolute; left: 0; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, transparent, rgba(255,65,72,.55), transparent); animation: scan 7s linear infinite; z-index: -1; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(900px); } }
.reveal { animation: up .7s cubic-bezier(.2,.8,.2,1) both; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
@keyframes up { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
