/* LVD Refinish — site styles */
/* Option E business-card colorway (approved preview). */

@font-face {
  font-family: "Montserrat";
  src: url("brand/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("brand/fonts/Cinzel-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("brand/fonts/Oswald-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Exact Option E card tokens (from build_options.py / build_cards.py) */
  --cream: #F6F3ED;          /* CREAM 246,243,237 */
  --ink: #1C161A;            /* INK 28,22,26 */
  --purple-ink: #561C50;     /* PURPLE_INK 86,28,80 — wordmark, footer, buttons */
  --purple: #8A327E;         /* PURPLE 138,50,126 — logo cup, hover */
  --purple-deep: #581C52;    /* PURPLE_DEEP 88,28,82 */
  --gold: #C4853A;           /* GOLD 196,133,58 — hairlines, footer CTA */
  --gold-bright: #D49444;    /* GOLD_BRIGHT 212,148,68 */
  --gold-dark: #8C5816;      /* darkened gold, 5.38:1 on cream (card gold is 2.80:1) */
  --metal: #0D080F;          /* brushed-metal header sampled from the card back */

  --bg: #F6F3ED;
  --bg-elevated: #FFFCF7;
  --bg-card: #FFFCF7;
  --border: rgba(86, 28, 80, 0.14);
  --border-strong: rgba(86, 28, 80, 0.26);
  --text: #1C161A;
  --text-muted: #5A4650; /* 7.81:1 on cream */
  --accent: #561C50;
  --accent-soft: rgba(86, 28, 80, 0.10);
  --accent-hover: #8A327E;
  --accent-fg: #FFFFFF;
  --radius: 10px;
  --max: 1080px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Cinzel", "Palatino Linotype", Palatino, serif;
  --font-offer: "Oswald", "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 237, 0.94);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a,
.nav-drop > summary {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  list-style: none;
  cursor: pointer;
}

.nav a:hover,
.nav-drop > summary:hover,
.nav a[aria-current="page"] {
  color: var(--purple-ink);
  background: var(--accent-soft);
  text-decoration: none;
}

.nav-drop {
  position: relative;
}

.nav-drop > summary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-drop > summary::-webkit-details-marker {
  display: none;
}

.nav-drop[open] > summary {
  color: var(--purple-ink);
  background: var(--accent-soft);
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(28, 22, 26, 0.16);
}

.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav-drop-menu a:hover {
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  margin-left: 8px;
  background: var(--accent) !important;
  color: var(--accent-fg) !important;
  font-weight: 600;
  padding: 8px 16px !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  text-decoration: none !important;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Main */
main {
  flex: 1;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.02em;
  max-width: 22ch;
  color: var(--purple-ink);
}

.hero h1 span {
  color: var(--gold-dark);
  font-weight: 550;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--purple);
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.trust strong {
  color: var(--text);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 28px;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--purple-ink);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

a.card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

a.card:hover {
  border-color: var(--gold);
  text-decoration: none;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card .card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-hover);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Page header (inner pages) */
.page-header {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--purple-ink);
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Prose */
.prose {
  max-width: 40rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose h3 {
  margin: 1.75rem 0 0.6rem;
  font-size: 1.05rem;
  color: var(--text);
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* Reviews */
.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.review .stars {
  color: var(--gold-dark);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.review p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.review cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text);
}

/* Forms */
.form-wrap {
  max-width: 520px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.check-row input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

/* Panel selector */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.panel-btn {
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
}

.panel-btn:hover {
  border-color: var(--gold);
  color: var(--text);
}

.panel-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.hidden {
  display: none !important;
}

/* Special pricing */
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.price-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.price-box span {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.price-box strong {
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* Footer (one simple footer on every page: name, phone, email, address, Get Estimate) */
.site-footer {
  border-top: 2px solid var(--gold);
  padding: 32px 0 28px;
  margin-top: auto;
  background: var(--purple-ink);
}

.footer-simple p {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-simple .footer-name {
  color: var(--text);
  font-size: 1rem;
}

.footer-simple address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

/* Mobile */
@media (max-width: 800px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px;
    gap: 2px;
  }

  .nav.open {
    display: flex;
  }

  .nav-drop-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 8px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .grid-3,
  .grid-2,
  .price-row,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 48px 0 40px;
  }
}


/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Info strip */
.info-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.info-strip .card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.info-strip .card p {
  color: var(--text);
  font-size: 0.95rem;
}

/* Mobile call bar */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--bg-elevated);
  border-top: 2px solid var(--gold);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-bar .btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .steps, .info-strip {
    grid-template-columns: 1fr;
  }
  .mobile-bar {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
}

/* ---- Additions (Oct 2026): sticky estimate button, recent work, estimate form ---- */

/* Sticky "Get a free estimate" button (desktop). On mobile the existing .mobile-bar is the sticky CTA. */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  box-shadow: 0 10px 30px rgba(86, 28, 80, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.js-sticky .sticky-cta {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.js-sticky .sticky-cta.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (max-width: 800px) {
  .sticky-cta { display: none; }
}

/* Recent work (homepage) */
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.work-shot,
.work-grid a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.work-shot img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.work-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(13, 8, 15, 0.82);
  color: #F6F3ED;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}
.work-caption {
  margin: 10px 0 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.2s;
}
.work-grid a:hover img { transform: scale(1.03); }
@media (max-width: 800px) {
  .work-shot img { height: 200px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid img { height: 150px; }
}

/* Estimate form */
.opt-set {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
  min-width: 0;
}
.opt-set legend,
.label-note { font-size: 0.88rem; }
.opt-set legend {
  font-weight: 550;
  color: var(--text);
  margin-bottom: 8px;
  padding: 0;
}
.label-note { color: var(--text-muted); font-weight: 400; }
.form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.form-row-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.file-stack { display: grid; gap: 8px; }
.form-group input[type="file"] { padding: 9px 10px; font-size: 0.85rem; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-group label.opt,
label.opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  margin: 0;
}
label.opt-block { margin-bottom: 8px; }
label.opt strong { color: var(--text); font-weight: 600; }
.form-group label.opt input,
label.opt input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
label.opt:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}
label.opt .opt-hint {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.35;
}
.teardown-box {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.teardown-box h3 { margin: 0 0 8px; font-size: 1.05rem; }
.td-text { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 14px; }
.sig-wrap {
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.sig-pad {
  display: block;
  width: 100%;
  height: 160px;
  touch-action: none;
  cursor: crosshair;
}
.sig-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.sig-actions .form-note { margin: 0; }
.btn-sm { padding: 8px 12px; font-size: 0.85rem; }
.form-error {
  color: #8B1E1E;
  background: rgba(139, 30, 30, 0.08);
  border: 1px solid rgba(139, 30, 30, 0.35);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
}
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.thanks-card h3 { margin-bottom: 8px; }
@media (max-width: 800px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
.file-label {
  display: block;
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 550;
}
.contact-grid { grid-template-columns: repeat(3, 1fr); }
.extras-set { margin-top: 8px; }


/* e-sign pages (approve-estimate, pickup) */
.signoff-summary { margin-bottom: 18px; }
.signoff-summary .form-group:last-child { margin-bottom: 0; }
input.is-locked, textarea.is-locked, select.is-locked { background: #f3f4f6; color: #111; border-style: dashed; cursor: default; }
@media (max-width: 480px) { .signoff-form .form-row-2 { grid-template-columns: 1fr; gap: 0; } }

/* Signing pages (approve-estimate, pickup): no sticky Call / Get Estimate bar at the bottom, so nothing near the
   approve button looks like it. Get Estimate is a small text link in the header instead; the footer one is outlined. */
.signoff-doc { margin-bottom: 18px; padding: 2px 0 14px; border-bottom: 1px solid var(--border); }
.signoff-doc-title { margin: 0; font-size: 1.15rem; font-weight: 650; color: var(--text); }
.signoff-doc-meta { margin: 4px 0 0; color: var(--text-muted); font-size: 0.95rem; }
.header-est-link { display: none; font-size: 0.9rem; font-weight: 600; color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; margin-left: auto; }
@media (max-width: 800px) {
  .signing-page .header-est-link { display: inline; }
  .signing-page .header-inner { gap: 14px; }
  body.signing-page { padding-bottom: 0; }
}
.signing-page .site-footer .btn-primary { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.45); }
.signing-page .site-footer { margin-top: 24px; }

.footer-simple .footer-review{margin-top:14px}

.footer-inner .footer-cta{margin-top:12px}
.footer-links-small a{font-size:.9em}

/* Footer restored: logo, name, address, hours, phone/email, review, small links, Get Estimate */
.footer-inner{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:start}
.footer-logo{height:72px;width:auto}
.footer-inner p{margin:0 0 6px;color:var(--text-muted);font-size:.9rem}
.footer-inner strong{color:var(--text)}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:10px}
.footer-links a{color:var(--text-muted);font-size:.85rem}
.footer-links a:hover{color:var(--accent-hover)}
.footer-inner .footer-review{margin-top:10px}
.footer-inner .footer-cta{margin-top:14px}
@media (max-width:800px){.footer-inner{grid-template-columns:1fr}}

/* missing customer / vehicle details on the e-sign pages (js/need-fields.js) */
.need-box { background: var(--bg-card); border: 1px solid rgba(245, 158, 11, 0.55); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.need-box h3 { margin: 0 0 8px; font-size: 1.05rem; }
.need-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.need-grid .need-f[data-need="vin"], .need-grid .need-f[data-need="name"] { grid-column: 1 / -1; }
.need-vin { text-transform: uppercase; letter-spacing: 0.08em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.need-hint { margin: 6px 0 0; }
.need-err { color: #8B1E1E; font-size: 0.85rem; margin: 6px 0 0; }
input.is-invalid { border-color: rgba(239, 68, 68, 0.8) !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2); }
.need-msg { color: #8C5816; background: rgba(196, 133, 58, 0.12); border: 1px solid rgba(196, 133, 58, 0.45); border-radius: 8px; padding: 10px 12px; font-size: 0.9rem; margin: 0 0 12px; }

.later-fields { margin-top: 8px; }
label.opt.later-opt {
  margin-top: 8px;
  padding: 8px 10px;
}

/* ---- Homepage additions (Nov 2026): carousel, header phone, services, Sand & Shoot, insurance, socials ---- */
.nav-phone { color: var(--text) !important; font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) { .nav-phone { display: none; } }

.carousel-wrap { padding: 20px 0 0; }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 380px;
  scroll-snap-align: start;
  overflow: hidden;
}
.carousel-slide.slide-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.carousel-slide figure { position: relative; margin: 0; height: 100%; overflow: hidden; }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 16px 12px;
  color: #fff; font-size: 0.9rem; pointer-events: none;
  background: linear-gradient(to top, rgba(13,8,15,0.85), rgba(13,8,15,0));
}
.carousel-slide video + .carousel-cap { bottom: 44px; padding-top: 12px; background: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(13,8,15,0.78); color: #F6F3ED;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.carousel-btn:hover { background: var(--accent); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--border-strong); cursor: pointer; }
.carousel-dots button.on { background: var(--accent-hover); }
@media (max-width: 800px) {
  .carousel-slide { height: 250px; }
  .carousel-btn { width: 34px; height: 34px; font-size: 1.3rem; }
}

.svc-grid .card h3 { margin-bottom: 6px; }
.special-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 20px; padding: 22px 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}
.special-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.special-card p { margin: 0; color: var(--text-muted); max-width: 40rem; }

.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promo-grid .special-card { margin-top: 0; height: 100%; flex-direction: column; align-items: flex-start; }
.promo-grid .special-actions { margin-top: 12px; }
.promo-grid .btn { white-space: nowrap; }
.promo-section { padding-top: 28px; padding-bottom: 8px; scroll-margin-top: 80px; }
#services { scroll-margin-top: 80px; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .promo-section { padding-bottom: 88px; } }
.starting-price { margin: 8px 0 0; color: var(--text); font-weight: 650; font-size: 0.95rem; }
.starting-price:empty, .starting-price[hidden] { display: none; }
.special-card .starting-price, .card .starting-price { display: block; }
.card .starting-price { margin: 6px 0 0; }
label.opt .starting-price { display: inline; margin: 0 0 0 8px; font-size: 0.85rem; font-weight: 650; white-space: nowrap; vertical-align: middle; }
.price-note { display: block; margin: 8px 0 0; color: var(--text); font-size: 0.9rem; font-weight: 500; line-height: 1.45; max-width: 46rem; white-space: pre-line; }
.price-note:empty, .price-note[hidden] { display: none; }
.special-card .price-note, .card .price-note, .page-header .price-note { display: block; }
.card .price-note { margin-top: 6px; }
label.opt .price-note { margin-top: 6px; font-size: 0.8rem; font-weight: 500; white-space: normal; }
.price-parts-note { display: block; margin: 8px 0 0; color: var(--text); font-size: 0.9rem; font-weight: 600; line-height: 1.4; max-width: 46rem; }
.price-parts-note:empty, .price-parts-note[hidden] { display: none; }
.special-card .price-parts-note, .card .price-parts-note, .page-header .price-parts-note, .price-list .price-parts-note { display: block; }
label.opt .price-parts-note { margin-top: 6px; font-size: 0.8rem; font-weight: 600; white-space: normal; }
.price-disclaimer { display: block; margin: 6px 0 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; max-width: 46rem; }
.price-disclaimer:empty, .price-disclaimer[hidden] { display: none; }
.special-card .price-disclaimer, .card .price-disclaimer, .page-header .price-disclaimer { display: block; }
label.opt .price-disclaimer { margin-top: 4px; font-size: 0.8rem; white-space: normal; }
.price-lists-wrap { margin: 20px 0 24px; }
.price-preview-title { margin: 0 0 12px; font-size: 1.25rem; }
.form-price-preview { margin: 16px 0 22px; }
.price-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 12px; }
.price-lists .price-list { margin: 0; padding: 16px 18px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--bg-elevated); }
.price-list { margin: 0; }
.price-list-intro { margin: 0 0 8px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.4; }
.price-shared-notes { margin: 0 0 8px; max-width: 46rem; }
.price-shared-notes p { margin: 0 0 6px; color: var(--text); font-size: 0.9rem; line-height: 1.4; }
.price-shared-notes .price-parts-note { margin: 0 0 6px; }
@media (max-width: 900px) { .price-lists { grid-template-columns: 1fr; } }
.price-list h3, .price-list-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.price-list ul { margin: 0; padding: 0; list-style: none; }
.price-list li { margin: 0; padding: 2px 0; color: var(--text); font-size: 0.95rem; font-weight: 550; }
.price-list-note { display: block; margin: 8px 0 0; color: var(--text); font-size: 0.9rem; font-weight: 500; line-height: 1.45; max-width: 46rem; }
.price-list-card { padding: 18px 20px; }
.price-list-card .price-list { margin: 0; }
#services .price-list-card { margin: 0; }
.form-price-list { margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--bg-elevated); }
.page-header .price-list { margin-top: 14px; }
#services .special-card, .svc-grid-wrap .special-card { margin-top: 0; margin-bottom: 20px; }
.special-card .special-kicker { margin: 0 0 4px; color: var(--gold-dark); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 650; }
@media (max-width: 800px) { .special-card { flex-direction: column; align-items: flex-start; } }

.insurance-note { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.insurance-note h3 { margin: 0 0 6px; font-size: 1.05rem; }
.insurance-note p { margin: 0; color: var(--text-muted); }
.section + #insurance, #insurance.section { padding-top: 0; }

.footer-inner .footer-social { margin-top: 10px; }
.footer-inner .footer-social a { color: var(--text-muted); }
.footer-inner .footer-social a:hover { color: var(--accent-hover); }
.mobile-bar .btn { padding-left: 6px; padding-right: 6px; }

.see-pricing { margin: 10px 0 0; }
.see-pricing a { font-weight: 600; }
.form-see-pricing { margin: 8px 0 0; font-size: 0.95rem; }

.pricing-estimate-cta { margin-top: 1.5rem; }


/* form-ux missing field highlight */
.form-group.is-invalid,
.form-row.is-invalid,
.form-block.is-invalid,
.option-list.is-invalid,
fieldset.is-invalid {
  outline: 2px solid #c0392b;
  outline-offset: 4px;
  border-radius: 6px;
}

/* Option E footer + heading refinements (card colorway preview) */
.site-footer,
.footer-inner p,
.footer-simple p,
.footer-simple address,
.footer-links a,
.footer-inner .footer-social a {
  color: #E5DCE4;
}
.site-footer a {
  color: #FFFFFF;
}
.footer-links a:hover,
.footer-inner .footer-social a:hover,
.footer-simple a:hover {
  color: var(--gold-bright);
}
.footer-inner strong,
.footer-simple .footer-name {
  color: #FFFFFF;
}
.site-footer .btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.site-footer .btn-primary:hover {
  background: var(--gold-bright);
  color: var(--ink);
}
.card h3,
.step h3,
.info-strip .card p {
  color: var(--ink);
}
.info-strip .card h3 {
  color: var(--gold-dark);
}
.special-card {
  border-color: var(--gold);
  box-shadow: inset 3px 0 0 var(--gold);
}
.special-card h3 {
  font-family: var(--font-display);
  color: var(--purple-ink);
}
.nav-cta:hover {
  color: var(--accent-fg) !important;
}

/* ===== v2: fuse Option E card forms, not just the colors ===== */
/* v2: decorative textures + typography. No copy or logic changes. */

html {
  overflow-x: clip;
}

/* Header: cream field, then gold hairline + purple bar like the card edge */
.site-header {
  border-bottom: none;
  background: rgba(246, 243, 237, 0.96);
}
.site-header::after {
  content: "";
  display: block;
  height: 11px;
  background: var(--purple-ink);
  border-top: 2px solid var(--gold);
  pointer-events: none;
}

/* Card lockup: emblem + tight purple wordmark */
.brand {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--purple-ink);
}
.brand img {
  height: 52px;
  width: auto;
}

.nav-cta {
  font-family: var(--font-offer);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem !important;
}

/* Kickers in the gold title style of "Auto Body & Paint Technician" */
.hero-kicker,
.special-card .special-kicker,
.info-strip .card h3 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

/* Hero: cream field, reserved swoosh pocket, then brushed-metal CTA band */
.hero {
  position: relative;
  padding: 72px 0 0;
  border-bottom: none;
  overflow: visible;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
}
.hero-lead {
  margin: 0;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin: 150px 0 0; /* swoosh pocket above the metal band; keeps the lead on cream */
  padding: 36px max(24px, calc((100vw - var(--max)) / 2 + 20px)) 32px;
  background-color: var(--metal);
  background-image: url("brand/textures/metal-tile.jpg");
  background-size: cover;
  background-position: center;
  border: 0;
}
/* Swoosh is anchored to the top of the metal band so it never covers type */
.hero-actions::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 160px;
  background: url("brand/textures/swoosh.webp") no-repeat right bottom;
  background-size: min(1100px, 92vw) auto;
  pointer-events: none;
  z-index: 0;
}
/* Card-back horizontal stripe where metal meets the cream page below */
.hero-actions::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: url("brand/textures/stripe.webp") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Gold Oswald CTA on metal — same role as the card-back offer, existing wording */
.hero-actions .btn-primary {
  background: transparent;
  color: #D49444; /* gold-bright, 7.67:1 on metal */
  font-family: var(--font-offer);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 3px solid var(--gold);
  border-radius: 0;
  padding: 6px 0 8px;
  line-height: 1.1;
}
.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
  background: transparent;
  color: #E8B35A;
  border-bottom-color: #E8B35A;
  text-decoration: none;
}
.hero-actions .btn-primary:focus-visible {
  outline: 2px solid #D49444;
  outline-offset: 6px;
}
.hero-actions .btn-ghost {
  background: #FFFFFF;
  color: #1C161A;
  border-color: #FFFFFF;
  box-shadow: none;
}
.hero-actions .btn-ghost:hover,
.hero-actions .btn-ghost:focus-visible {
  background: #FFFFFF;
  color: #561C50;
  border-color: #FFFFFF;
  box-shadow: none;
  text-decoration: none;
}

/* Inner pages: swoosh lives in a padded pocket, then the card-edge purple bar */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 44px 0 0;
  border-bottom: none;
}
.page-header .container {
  position: relative;
  z-index: 1;
  padding-bottom: 120px;
}
.page-header::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 11px;
  width: min(720px, 70vw);
  height: 140px;
  background: url("brand/textures/swoosh.webp") no-repeat right bottom;
  background-size: min(720px, 70vw) auto;
  pointer-events: none;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11px;
  background: var(--purple-ink);
  border-top: 2px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}

/* Major section breaks use the card-back metallic stripe */
.section + .section {
  border-top: none;
  background-image: url("brand/textures/stripe.webp");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 12px;
  padding-top: 68px;
}
.trust {
  border-top: none;
  border-bottom: none;
  padding-top: 22px;
}

/* Footer stays the purple bar; slightly stronger gold hairline */
.site-footer {
  border-top: 3px solid var(--gold);
}

@media (max-width: 800px) {
  .nav {
    top: 100%;
  }
  .brand img {
    height: 40px;
  }
  .hero {
    padding: 48px 0 0;
  }
  .hero .container {
    padding-bottom: 0;
  }
  .hero-actions {
    margin-top: 100px;
    padding: 28px 20px 84px; /* clears the fixed mobile call bar */
    gap: 12px 16px;
  }
  .hero-actions::before {
    height: 88px;
    background-size: min(560px, 130vw) auto;
  }
  .hero-actions .btn-primary {
    font-size: 1.28rem;
    width: auto;
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .page-header .container {
    padding-bottom: 96px;
  }
  .page-header::before {
    height: 88px;
    width: min(420px, 88vw);
    background-size: min(420px, 88vw) auto;
  }
}

/* ===== v4: bolder, easier-to-read type ===== */
/* v4: heavier weights + slightly darker muted ink, sitewide. */
/* Needed weights are in the variable fonts already in public/brand/fonts:
   Montserrat 100-900, Cinzel 400-900, Oswald 200-700. */

:root {
  --text-muted: #3F3238; /* was #5A4650 (7.81:1); now 10.99:1 on cream */
}

html, body,
input, select, textarea, button {
  font-weight: 500;
}

p,
li,
.hero-lead,
.section-head p,
.page-header p,
.card p,
.prose p,
.prose li,
.review p,
.step p,
.trust,
.form-note,
.td-text,
.footer-inner p,
.footer-simple p,
.footer-simple address,
.footer-links a,
.work-caption,
.insurance-note p,
.price-list-note,
.price-note,
label.opt .price-note {
  font-weight: 500;
}

/* Beat earlier, more-specific 400-weight form rules */
.form-group label.opt,
label.opt,
label.opt .opt-hint,
.label-note,
.form-group label {
  font-weight: 500;
}

.nav a,
.nav-drop > summary,
.nav-phone,
.footer-links a,
.see-pricing a,
.opt-set legend,
.price-list li,
.price-parts-note {
  font-weight: 600;
}

.hero-kicker,
.special-card .special-kicker,
.info-strip .card h3 {
  font-weight: 700;
}

h1, h2, h3,
.hero h1,
.section-head h2,
.page-header h1,
.special-card h3,
.card h3,
.step h3,
.price-list h3,
.price-list-card h3,
.insurance-note h3,
.signoff-doc-title,
.footer-inner strong,
.footer-simple .footer-name,
.starting-price,
label.opt .starting-price,
label.opt strong {
  font-weight: 700;
}

.hero h1 span {
  font-weight: 650;
}

.btn,
.btn-sm,
.nav-cta,
.hero-actions .btn-primary,
.hero-actions .btn-ghost,
.mobile-bar .btn,
.sticky-cta,
.site-footer .btn-primary,
.panel-btn {
  font-weight: 700;
}
