/* Your Body Shop template: safety yellow, bronze and charcoal, set in type and SVG */

:root {
  --ink: #141413;
  --char: #1f2023;
  --steel: #2a2a28;
  --steel-2: #353531;
  --paper: #efece4;
  --primer: #dcd8cd;
  --yellow: #f9b52b;
  --yellow-deep: #d6960f;
  --bronze: #ab9459;
  --bronze-ink: #6f5d2b;
  --text-dark: #f3efe6;
  --text-dark-2: #b9b4a7;
  --text-light: #1b1b1a;
  --text-light-2: #4d4a43;
  --rule-dark: rgba(243, 239, 230, 0.14);
  --rule-light: rgba(27, 27, 26, 0.16);

  --f-display: "Big Shoulders Display", "Impact", "Arial Narrow Bold", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --radius: 4px;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-dark);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

img, svg, iframe { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1; }
h2, h3 { text-wrap: balance; }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---------- Template bar ---------- */
.template-bar {
  background: #0b0b0a;
  color: #d8d3c6;
  font-family: var(--f-cond);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px var(--gutter);
  border-bottom: 1px solid rgba(249, 181, 43, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 14px 24px; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffc94d; }

.btn-ghost { background: transparent; color: var(--text-dark); border-color: rgba(243, 239, 230, 0.4); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-dark { background: var(--char); color: var(--text-dark); }
.btn-dark:hover { background: #000; }

.btn-outline { background: transparent; color: var(--text-light); border-color: var(--text-light); }
.btn-outline:hover { background: var(--text-light); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 19, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  padding: 7px 0;
}
.wm-name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--yellow);
}
.wm-sub {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.nav { display: none; }
.header-call { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 52px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(171, 148, 89, 0.18), transparent 60%),
    linear-gradient(rgba(243, 239, 230, 0.035) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(243, 239, 230, 0.035) 1px, transparent 1px) 0 0 / 48px 100%,
    var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23n%29'/%3E%3C/svg%3E");
}
.hero-number {
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(14rem, 52vw, 38rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(171, 148, 89, 0.22);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 10px; height: 10px;
  background: var(--yellow);
  transform: rotate(45deg);
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, min(12.5vw, 13vh), 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.005em;
}
.hero h1 span { display: block; }
.hero h1 .l2 { color: var(--yellow); }
.hero h1 em {
  font-style: normal;
  color: var(--text-dark);
}
.hero h1 .l3 {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-dark);
}
.lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--text-dark-2);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-actions .btn { flex: 1 1 240px; }

/* Ticket */
.ticket {
  position: relative;
  align-self: start;
  background: var(--paper);
  color: var(--text-light);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.2deg);
}
.ticket::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 10px;
  background: var(--hazard);
  border-radius: var(--radius) var(--radius) 0 0;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 20px 12px;
  border-bottom: 2px dashed var(--rule-light);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticket-no { color: var(--bronze-ink); }
.ticket-rows { margin: 0; padding: 6px 20px; }
.ticket-rows .row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-light);
}
.ticket-rows .row:last-child { border-bottom: 0; }
.ticket-rows dt {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-2);
  padding-top: 2px;
}
.ticket-rows dd { margin: 0; font-weight: 500; line-height: 1.45; }
.ticket-rows a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ticket .muted { color: var(--text-light-2); font-weight: 400; font-size: 0.95rem; }
.ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--char);
  color: var(--yellow);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.ticket-foot:hover { background: #000; }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.open-status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}
.open-status.is-open { color: #1f7a3a; }
.open-status.is-open::before { opacity: 1; box-shadow: 0 0 0 3px rgba(31, 122, 58, 0.2); }
.open-status.is-closed { color: #9b2c1f; }
.open-status.is-closed::before { opacity: 1; }

/* ---------- Tape (marquee) ---------- */
.tape {
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
}
.tape::before,
.tape::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  background: var(--hazard);
  z-index: 1;
}
.tape::before { left: 0; }
.tape::after { right: 0; }
.tape-track {
  display: flex;
  width: max-content;
  animation: tape 45s linear infinite;
}
.tape-track span {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.tape-track span::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
  margin-left: 22px;
}
@keyframes tape {
  to { transform: translateX(-50%); }
}

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 36px; max-width: 720px; }
.kicker {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 12px;
}
.section-head h2,
.estimate-copy h2 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 5rem);
  line-height: 0.92;
}
.section-sub {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-dark-2);
  max-width: 36em;
}
.section-head-light .kicker { color: var(--bronze-ink); }
.section-head-light .section-sub { color: var(--text-light-2); }

/* ---------- Damage finder ---------- */
.damage {
  padding: 72px 0;
  background:
    radial-gradient(700px 400px at 15% 30%, rgba(249, 181, 43, 0.06), transparent 70%),
    var(--char);
  border-bottom: 1px solid var(--rule-dark);
}
.damage-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
.car-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 8px;
  background:
    linear-gradient(rgba(243, 239, 230, 0.05) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(243, 239, 230, 0.05) 1px, transparent 1px) 0 0 / 24px 100%;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
}
.car {
  width: min(62vw, 260px);
  height: auto;
  overflow: visible;
}
.car-label {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  fill: var(--text-dark-2);
}
.zone { cursor: pointer; outline: none; }
.zone > * {
  fill: var(--steel-2);
  stroke: #6d6a60;
  stroke-width: 1.4;
  transition: fill 0.18s ease, stroke 0.18s ease;
}
.zone:hover > *,
.zone:focus-visible > * {
  fill: #4a4431;
  stroke: var(--yellow);
}
.zone:focus-visible > * { stroke-width: 2.5; }
.zone.is-active > * {
  fill: url(#hatch);
  stroke: var(--ink);
  stroke-width: 1.6;
}
.zone[data-zone="glass"] > * { fill: #3b4449; }
.zone[data-zone="glass"]:hover > *,
.zone[data-zone="glass"]:focus-visible > * { fill: #4b5a60; }
.zone[data-zone="glass"].is-active > * { fill: url(#hatch); }
.zone[data-zone="under"] > * { fill: #0e0e0d; stroke: #55524a; }
.zone[data-zone="under"]:hover > *,
.zone[data-zone="under"]:focus-visible > * { fill: #262420; stroke: var(--yellow); }
.zone[data-zone="under"].is-active > * { fill: url(#hatch); }

.car-hint {
  margin-top: 10px;
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: opacity 0.3s ease;
}
.car-hint.is-hidden { opacity: 0; }

.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  font-family: var(--f-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(243, 239, 230, 0.28);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.zone-panel {
  background: var(--ink);
  border: 1px solid var(--rule-dark);
  border-left: 6px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px 22px;
  min-height: 260px;
}
.zone-kicker {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.zone-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 0.95;
  margin-bottom: 12px;
}
.zone-blurb { color: var(--text-dark-2); }
.zone-services {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  border-top: 1px solid var(--rule-dark);
}
.zone-services li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-dark);
  font-weight: 500;
}
.zone-services li span:last-child {
  font-family: var(--f-cond);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark-2);
  white-space: nowrap;
}
.zone-panel.is-swapping { animation: panelIn 0.35s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Services ---------- */
.services {
  padding: 72px 0;
  background: var(--paper);
  color: var(--text-light);
}
.svc-groups {
  display: grid;
  gap: 40px;
}
.svc-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--text-light);
}
.swatch {
  width: 22px; height: 22px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  flex: none;
}
.sw-yellow { background: var(--yellow); }
.sw-bronze { background: var(--bronze); }
.sw-glass { background: linear-gradient(135deg, #9fb3ba, #5d7078); }
.sw-steel { background: var(--char); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-light);
}
.svc-list .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bronze-ink);
  padding-top: 2px;
}
.svc-list strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.svc-list p { color: var(--text-light-2); font-size: 1rem; }

/* ---------- Estimate ---------- */
.estimate {
  position: relative;
  padding: 80px 0;
  background: var(--ink);
}
.estimate::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 12px;
  background: var(--hazard);
}
.estimate-grid {
  display: grid;
  gap: 44px;
}
.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--rule-dark);
}
.step-n {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-top: 2px;
  color: var(--yellow);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.4rem;
  line-height: 1;
}
.step-n::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--yellow);
  transform: rotate(45deg);
}
.steps h3 {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.steps p { color: var(--text-dark-2); }
.steps a { color: var(--yellow); }

.form-card {
  background: var(--paper);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 26px 20px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  border-top: 8px solid var(--yellow);
  align-self: start;
}
.form-head h3 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.2rem;
  line-height: 0.95;
}
.form-head p { margin-top: 8px; color: var(--text-light-2); }
.form-head a { color: var(--text-light); font-weight: 600; }
.est-form { margin-top: 20px; display: grid; gap: 16px; }
.field-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; }
.field label,
.field legend {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field .opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light-2);
}
.field input[type="text"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text-light);
  background: #fff;
  border: 1.5px solid #bdb8ab;
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 50px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b1b1a' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 0;
  border-color: var(--text-light);
}
.field input[type="file"] {
  font-size: 16px;
  padding: 10px;
  background: var(--primer);
  border: 1.5px dashed #9d988b;
  border-radius: var(--radius);
  width: 100%;
}
.radios {
  border: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.radios legend { margin-bottom: 8px; padding: 0; }
.radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.05rem;
  min-height: 44px;
  cursor: pointer;
}
.radios input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0 -12px 0 -12px;
  font-size: 16px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle, #fff 0 8px, #6d6a60 8.5px 10px, transparent 10.5px);
}
.radios input:checked {
  background:
    radial-gradient(circle, var(--char) 0 5px, transparent 5.5px),
    radial-gradient(circle, #fff 0 8px, var(--char) 8.5px 10px, transparent 10.5px);
}
.radios input:focus-visible {
  outline: none;
  background:
    radial-gradient(circle, transparent 0 11px, var(--yellow) 11.5px 14px, transparent 14.5px),
    radial-gradient(circle, #fff 0 8px, var(--char) 8.5px 10px, transparent 10.5px);
}
.radios input:checked:focus-visible {
  background:
    radial-gradient(circle, var(--char) 0 5px, transparent 5.5px),
    radial-gradient(circle, transparent 0 11px, var(--yellow) 11.5px 14px, transparent 14.5px),
    radial-gradient(circle, #fff 0 8px, var(--char) 8.5px 10px, transparent 10.5px);
}
.form-note {
  display: grid;
  gap: 6px;
  background: var(--char);
  color: var(--text-dark);
  border-left: 6px solid var(--yellow);
  padding: 16px 18px;
  border-radius: var(--radius);
}
.form-note[hidden] { display: none; }
.form-note a { color: var(--yellow); font-weight: 600; }

/* ---------- Visit ---------- */
.visit {
  padding: 72px 0;
  background: var(--primer);
  color: var(--text-light);
}
.visit-grid { display: grid; gap: 28px; }
.timecard {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule-light);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  align-self: start;
}
.timecard-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 18px 20px;
  background: var(--char);
  color: var(--text-dark);
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--f-cond);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.timecard-head .open-status {
  font-family: var(--f-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dark-2);
}
.timecard-head .open-status.is-open { color: #6fd88f; }
.timecard-head .open-status.is-closed { color: #ff8f7d; }
.hours { width: 100%; border-collapse: collapse; }
.hours th,
.hours td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px dashed var(--rule-light);
  font-size: 1.05rem;
}
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours tr.closed td { color: #9b2c1f; font-weight: 600; }
.hours tr.is-today { background: var(--yellow); }
.hours tr.is-today th::after {
  content: "Today";
  margin-left: 10px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  padding: 2px 7px;
  border-radius: 2px;
  vertical-align: 2px;
}
.hours tr.is-today.closed td { color: var(--ink); }

.place { display: grid; gap: 0; }
.place-card {
  background: var(--paper);
  border: 1px solid var(--rule-light);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.street-sign {
  display: inline-flex;
  align-self: flex-start;
  align-items: stretch;
  margin-bottom: 16px;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #1e5b3c;
}
.street-sign span {
  padding: 6px 12px;
  background: #1e5b3c;
  color: #fff;
}
.street-sign .block {
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.35rem;
}
address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
}
.cross { margin-top: 8px; color: var(--text-light-2); }
.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.place-actions .btn { flex: 1 1 160px; }

/* ---------- FAQ ---------- */
.faq {
  padding: 72px 0;
  background: var(--char);
}
.faq-grid { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--rule-dark); }
.faq details { border-bottom: 1px solid var(--rule-dark); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(243, 239, 230, 0.3);
  border-radius: 50%;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--yellow);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.faq summary:hover { color: var(--yellow); }
.faq details p {
  padding: 0 48px 22px 0;
  color: var(--text-dark-2);
  max-width: 40em;
}
.faq details a { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  padding: 56px 0 32px;
  border-top: 1px solid var(--rule-dark);
  overflow: hidden;
}
.footer-mark {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 13.6vw, 11rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(249, 181, 43, 0.55);
  white-space: nowrap;
  margin-bottom: 36px;
}
.footer-cols {
  display: grid;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-dark);
}
.f-h {
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.site-footer p { color: var(--text-dark-2); }
.site-footer a { color: var(--text-dark); text-underline-offset: 3px; }
.site-footer .muted { color: var(--text-dark-2); font-size: 0.95rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: rgba(20, 20, 19, 0.96);
  border-top: 1px solid var(--rule-dark);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: var(--radius);
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.mb-call { background: var(--yellow); color: var(--ink); }
.mb-est { border: 2px solid rgba(243, 239, 230, 0.35); color: var(--text-dark); }

/* ---------- Load + reveal motion ---------- */
.hero-copy > *,
.ticket {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.22s; }
.hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.ticket { animation-name: rise-tilt; animation-delay: 0.38s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-tilt {
  from { opacity: 0; transform: translateY(24px) rotate(2deg); }
  to { opacity: 1; transform: rotate(-1.2deg); }
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px 30px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .svc-groups { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav {
    display: flex;
    gap: 28px;
  }
  .nav a {
    font-family: var(--f-cond);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-dark-2);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
  }
  .nav a:hover { color: var(--text-dark); border-bottom-color: var(--yellow); }
  .header-call { display: inline-flex; min-height: 44px; padding: 8px 16px; }
  .header-inner { min-height: 72px; }

  .hero { padding: clamp(40px, 8vh, 88px) 0 clamp(56px, 10vh, 104px); }
  .hero h1 { font-size: clamp(3rem, min(9vw, 15vh), 7.5rem); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 56px;
  }
  .hero-actions .btn { flex: 0 0 auto; }

  .damage { padding: 104px 0; }
  .damage-grid {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
  }
  .car { width: 280px; }
  .car-wrap { padding: 32px 0 16px; position: sticky; top: 100px; }

  .services { padding: 104px 0; }
  .svc-groups { grid-template-columns: repeat(2, 1fr); gap: 56px 64px; }

  .estimate { padding: 112px 0; }
  .estimate-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .form-card { position: sticky; top: 100px; }

  .visit { padding: 104px 0; }
  .visit-grid {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
    gap: 36px;
  }
  .place-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
  }

  .faq { padding: 104px 0; }
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
}

/* Laptops with short screens: keep the headline, the call button and the ticket on the first screen */
@media (min-width: 900px) and (max-height: 820px) {
  .hero { padding: 40px 0 56px; }
  .eyebrow { margin-bottom: 14px; }
  .lead { margin-top: 18px; font-size: 1.1rem; }
  .hero-actions { margin-top: 22px; }
  .ticket-head { padding: 18px 20px 10px; }
  .ticket-rows .row { padding: 10px 0; }
  .ticket-foot { padding: 14px 20px; }
}

/* ---------- Footer legal line ---------- */
/* Open·Civ link: 44px-tall tap area without moving the text */
.oc-legal { margin-top: 24px; font-size: 0.95rem; }
.oc-legal a { display: inline-block; padding-block: 14px; margin-block: -14px; }
