
/* Brightwrench: shop-floor signage. Condensed uppercase headings, asphalt and concrete,
   safety orange only for actions; the symptom picker and the inspection report carry the page. */
:root {
  --bg: #F2F2EE; --surface: #FFFFFF; --surface-2: #E6E6E0; --line: #D2D2CB;
  --ink: #20242A; --ink-soft: #4E5560; --heading: #20242A;
  --primary: #E8641B; --primary-ink: #20242A; --primary-hover: #F07A36;
  --accent: #3E5C76; --accent-ink: #FFFFFF;
  --dark: #20242A; --on-dark: #F2F2EE; --on-dark-soft: #C2C8CF;
  --kicker: #3E5C76; --kicker-on-dark: #F2A06B; --link: #2E4A62; --field-border: #7F858C; --star: #20242A;
  --ph-a: #E3E3DD; --ph-b: #D9D9D2; --ph-edge: #7F858C;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display-weight: 700; --display-lh: 1.0; --display-track: 0.005em;
  --radius: 6px; --radius-lg: 10px; --btn-radius: 6px; --chip-radius: 6px; --field-radius: 6px; --nav-radius: 6px;
  --btn-font: "Barlow Condensed", sans-serif; --btn-case: uppercase; --btn-track: 0.04em;
  --hdr-bg: #20242A; --hdr-ink: #F2F2EE; --hdr-line: #20242A; --nav-hover: rgba(242,242,238,.1); --nav-current: rgba(242,242,238,.14);
  --brand-font: "Barlow Condensed", sans-serif; --brand-weight: 800; --brand-size: 1.5rem;
  --fs-h1: clamp(2.8rem, 1.6rem + 4.4vw, 5rem); --fs-h2: clamp(2rem, 1.4rem + 2vw, 3rem); --fs-h3: 1.4rem;
}
h1, h2 { text-transform: uppercase; }
.btn { border-color: var(--primary); }
.btn:not(.btn--ghost):not(.btn--line-light):not(.btn--light) { border-color: var(--ink); }
.hdr .btn, .section--dark .btn:not(.btn--line-light):not(.btn--ghost), .hero .btn:not(.btn--line-light) { border-color: var(--primary); }
.btn--ghost { border-color: var(--ink) !important; }
.kicker { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-name small { letter-spacing: 0.12em; }

.hero { background: var(--dark); color: var(--on-dark); padding-block: clamp(44px, 6vw, 88px); background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
.hero h1 { color: var(--on-dark); }
.hero .lede { color: var(--on-dark-soft); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.tag-line { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; color: #F2A06B; font-weight: 700; }
.hero-proof { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--on-dark-soft); font-size: 0.95rem; }
.hero-proof strong { color: var(--on-dark); font-family: var(--display); font-size: 1.25rem; margin-right: 4px; }

.picker { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 18px; box-shadow: 0 0 0 6px rgba(232,100,27,.9); min-width: 0; }
.picker-q { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; }
.sym-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sym { font: inherit; font-weight: 600; font-size: 0.95rem; text-align: left; padding: 10px 12px; min-height: 48px; border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius); cursor: pointer; color: var(--ink); line-height: 1.25; }
.sym:hover { border-color: var(--ink); }
.sym[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.picker-out { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 14px; }
.po-head h2 { font-size: 1.5rem; }
.po-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.po-label { font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }
.po-list { padding-left: 18px; display: grid; gap: 4px; font-size: 0.95rem; margin-top: 6px; }
.po-big { font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1.05; margin: 2px 0 10px; }
.po-mid { font-weight: 600; margin-top: 2px; }
.po-note { font-size: 0.9rem; background: var(--surface-2); padding: 8px 12px; border-radius: var(--radius); }
.picker .btn { justify-self: start; }

.trust-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-bar ul { list-style: none; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; }
.trust-bar li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.trust-bar svg { width: 24px; height: 24px; color: var(--accent); }

.inspect-split { align-items: center; }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(32,36,42,.5); overflow: hidden; min-width: 0; }
.report-head { background: var(--ink); color: var(--on-dark); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.report-car { font-family: var(--display); font-size: 1.35rem; font-weight: 700; text-transform: uppercase; }
.report-head .small { color: var(--on-dark-soft); }
.report-badge { font-size: 0.72rem; font-weight: 700; border: 1px solid var(--on-dark-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.report-list { list-style: none; padding: 6px 20px; }
.st { display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.st p { font-size: 0.88rem; color: var(--ink-soft); }
.st-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; }
.st--red .st-dot { background: #C62828; } .st--yel .st-dot { background: #E0A100; } .st--grn .st-dot { background: #2E7D32; }
.st-word { font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.st--red .st-word { background: #FDE8E8; color: #9B1C1C; } .st--yel .st-word { background: #FFF4D6; color: #7A5300; } .st--grn .st-word { background: #E5F3E6; color: #1E5E22; }
.st-price { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.report-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 20px 14px; }
.report-actions { display: flex; gap: 8px; padding: 0 20px 20px; flex-wrap: wrap; }
.ra { font-size: 0.85rem; font-weight: 700; padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--line); }
.ra--yes { background: var(--primary); border-color: var(--primary); color: var(--ink); }

.head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.svc-card { display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding-bottom: 18px; }
.svc-card .photo { border-radius: 0; border-width: 0 0 1px; margin-bottom: 12px; --ar: 8 / 5 !important; }
.svc-card:hover { border-color: var(--ink); }
.svc-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; padding: 0 18px; }
.svc-meta { padding: 0 18px; color: var(--ink-soft); }

.rate-row { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.rate-big { font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: 0.9; }

.svc-list { display: grid; gap: 56px; }
.svc-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; scroll-margin-top: 100px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-chip { font-family: var(--display); font-weight: 700; font-size: 1.2rem; background: var(--surface-2); padding: 8px 14px; border-radius: var(--radius); text-transform: uppercase; }

.price-split { grid-template-columns: 1.3fr 0.7fr; }
.row-note { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.warranty { background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; }
.warranty h2 { color: var(--on-dark); font-size: 1.8rem; }
.warranty p { color: var(--on-dark-soft); }
.w-big { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 0.9; color: var(--primary) !important; }
.w-big span { font-size: 1.1rem; margin-left: 8px; color: var(--on-dark); text-transform: uppercase; }

.tech .photo { --ar: 1 / 1 !important; }
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.badge-slot { border: 1.5px dashed var(--field-border); border-radius: var(--radius); min-height: 80px; display: grid; place-items: center; font-weight: 700; color: var(--ink-soft); font-size: 0.9rem; }

.rev-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.rev-sum { position: sticky; top: 100px; display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.bars { list-style: none; padding: 0; display: grid; gap: 8px; margin: 8px 0; }
.bars li { display: grid; grid-template-columns: 52px 1fr 40px; gap: 10px; align-items: center; font-size: 0.88rem; }
.bar { height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ink); }
.rev-col { columns: 2; column-gap: 20px; }
.rev-col .review { break-inside: avoid; margin-bottom: 20px; }

.book-split { grid-template-columns: 1.3fr 0.7fr; }
.leg { grid-column: 1 / -1; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; }
.map-slot { aspect-ratio: 4 / 3; background: repeating-linear-gradient(0deg, transparent 0 38px, var(--line) 38px 40px), repeating-linear-gradient(90deg, var(--surface-2) 0 38px, var(--line) 38px 40px); border: 1.5px dashed var(--field-border); border-radius: var(--radius-lg); display: flex; align-items: flex-end; padding: 12px; }

@media (max-width: 1020px) { .rev-col { columns: 1; } }
@media (max-width: 820px) {
  .hero-grid, .po-grid, .rate-row, .svc-row, .price-split, .rev-layout, .book-split { grid-template-columns: 1fr; }
  .rev-sum { position: static; }
  .st { grid-template-columns: 14px 1fr auto; }
  .st-price { grid-column: 2; text-align: left; }
}
@media (max-width: 420px) { .sym-grid { grid-template-columns: 1fr; } }

/* ---- Motion: gears & diagnostics (Brightwrench Auto Care) ---- */
:root { --shine: rgba(255, 255, 255, .45); }
@keyframes br-spin { to { transform: rotate(360deg); } }
@keyframes br-ping { 0% { box-shadow: 0 0 0 6px rgba(232, 100, 27, .9), 0 0 0 6px rgba(232, 100, 27, .55); } 100% { box-shadow: 0 0 0 6px rgba(232, 100, 27, .9), 0 0 0 34px rgba(232, 100, 27, 0); } }
@keyframes br-scanline { from { top: 0; opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes br-sweep { from { background-position: 0 -60%; } to { background-position: 0 160%; } }
@keyframes br-dot { from { transform: scale(0); } }
@keyframes br-red { 0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .55); } 100% { box-shadow: 0 0 0 10px rgba(198, 40, 40, 0); } }
.br-gears svg { position: absolute; color: rgba(255, 255, 255, .055); }
.br-g1 { width: 540px; right: -150px; top: -150px; }
.br-g2 { width: 300px; right: 300px; bottom: -150px; color: rgba(232, 100, 27, .08) !important; }
html.mo .br-g1 { animation: br-spin 70s linear infinite; }
html.mo .br-g2 { animation: br-spin 40s linear infinite reverse; }
html.mo .picker { animation: bf-rise .8s .3s cubic-bezier(.2, .7, .2, 1) both, br-ping 1.5s 1.2s ease-out 2; }
html.mo .sym { animation: bf-rise .5s ease backwards; }
html.mo .sym:nth-child(1) { animation-delay: .55s; } html.mo .sym:nth-child(2) { animation-delay: .61s; }
html.mo .sym:nth-child(3) { animation-delay: .67s; } html.mo .sym:nth-child(4) { animation-delay: .73s; }
html.mo .sym:nth-child(5) { animation-delay: .79s; } html.mo .sym:nth-child(6) { animation-delay: .85s; }
html.mo .sym:nth-child(7) { animation-delay: .91s; } html.mo .sym:nth-child(n+8) { animation-delay: .97s; }
.picker-out { position: relative; }
.picker-out.br-scan::after { content: ""; position: absolute; left: -8px; right: -8px; height: 44px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(232, 100, 27, .22), transparent); animation: br-scanline .7s ease-out both; }
.report { position: relative; }
html.mo .report.rv.in::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(232, 100, 27, .16), transparent) 0 -60% / 100% 30% no-repeat; animation: br-sweep 1.6s .35s ease-in-out both; }
html.mo .report.rv.in .st-dot { animation: br-dot .4s cubic-bezier(.3, 1.6, .5, 1) backwards; animation-delay: calc(var(--i, 0) * 160ms + .5s); }
html.mo .report.rv.in .st--red .st-dot { animation: br-dot .4s cubic-bezier(.3, 1.6, .5, 1) backwards, br-red 1.8s 2.2s ease-out infinite; animation-delay: calc(var(--i, 0) * 160ms + .5s), 2.2s; }
