/* =========================================================
   ACCENT AUTO GLASS — v2 full reimagine
   Identity: taillight red on black & white. Phoenix at night.
   Type: Anton (display) + Inter (text).
   Palette: OKLCH. Strategy: committed red on pure surfaces.
   ========================================================= */

:root {
  /* palette */
  --bg: oklch(1 0 0);                       /* pure white body */
  --night: oklch(0.13 0.005 355);           /* near-black, whisper of the brand hue */
  --night-deep: oklch(0.09 0.005 355);
  --ink: oklch(0.17 0 0);                   /* body text on white ≥7:1 */
  --ink-inverse: oklch(0.97 0 0);           /* text on dark */
  --muted: oklch(0.42 0 0);                 /* secondary on white ≥4.5:1 */
  --muted-inverse: oklch(0.78 0 0);         /* secondary on dark */
  --red: oklch(0.53 0.20 27);               /* taillight red — CTAs, white text on it */
  --red-bright: oklch(0.60 0.21 27);        /* hover/glow */
  --ice: oklch(0.87 0.04 220);              /* glass accent — glints, frost edges */
  --surface: oklch(0.965 0 0);              /* light section alt */
  --line: oklch(0.88 0 0);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1120px;
  --radius: 10px;

  /* z-scale */
  --z-sticky: 100;
  --z-nav: 200;
  --z-mobilebar: 300;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); /* quint-ish */
}

/* ============ reset-ish ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0 0 0.5em; }
p { text-wrap: pretty; }
a { color: var(--red); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-nav);
  background: var(--night); color: var(--ink-inverse); padding: 10px 16px;
}
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-text); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius); border: 0;
  text-decoration: none; cursor: pointer; min-height: 48px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn-red {
  position: relative; overflow: hidden;
  background: var(--red); color: #fff;
}
.btn-red:hover, .btn-red:focus-visible {
  background: var(--red-bright);
  box-shadow: 0 8px 28px oklch(0.53 0.20 27 / 0.35);
  transform: translateY(-1px);
}
/* glass glint sweep on hover */
.btn-red::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, oklch(1 0 0 / 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
}
.btn-red:hover::after { animation: glintSweep 0.8s var(--ease-out); }

.btn-call {
  background: var(--night); color: var(--ink-inverse);
}
.btn-call:hover, .btn-call:focus-visible { background: oklch(0.22 0.005 355); transform: translateY(-1px); }

.btn-call-outline {
  background: transparent; color: var(--ink-inverse);
  border: 1.5px solid oklch(1 0 0 / 0.35);
}
.btn-call-outline:hover, .btn-call-outline:focus-visible { border-color: var(--ice); color: var(--ice); }

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

/* ============ header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: transparent;
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: oklch(0.13 0.005 355 / 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.08);
}
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-word {
  font-family: var(--font-display); font-size: 1.85rem; letter-spacing: 0.02em;
  color: var(--ink-inverse); line-height: 1;
}
.brand-word em { font-style: normal; color: var(--red-bright); display: block; font-size: 0.62em; letter-spacing: 0.18em; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  color: var(--ink-inverse); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  opacity: 0.85; transition: opacity 0.2s;
}
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.header-call { padding: 10px 18px; font-size: 0.9rem; background: var(--red); color: #fff; }
.header-call:hover { background: var(--red-bright); }
.nav-toggle { display: none; }

/* ============ hero ============ */
.hero {
  position: relative; min-height: 92svh;
  display: grid; align-items: center;
  background: var(--night-deep); color: var(--ink-inverse);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.09 0.005 355 / 0.82) 0%, oklch(0.09 0.005 355 / 0.62) 55%, oklch(0.09 0.005 355 / 0.94) 100%),
    url("/images/hero.jpg") center 30% / cover no-repeat;
}
/* faint red horizon glow — taillights on asphalt */
.hero-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: radial-gradient(60% 90% at 50% 100%, oklch(0.35 0.13 27 / 0.35), transparent 70%);
}
.hero-inner {
  position: relative; max-width: var(--wrap); width: 100%;
  margin: 0 auto; padding: clamp(170px, 22vh, 240px) 24px 96px;
}
.hero-answer {
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  color: var(--ice); margin: 0 0 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.98; letter-spacing: 0.005em;
  margin: 0 0 20px; text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line-red { color: var(--red-bright); position: relative; }
/* one signature glint: a light sweep across FIXED TODAY on load */
.glint {
  background-image: linear-gradient(100deg, transparent 42%, oklch(0.97 0.02 220 / 0.9) 50%, transparent 58%);
  background-size: 250% 100%; background-position: 120% 0; background-repeat: no-repeat;
}
@keyframes glintSweep { to { transform: translateX(120%); } }
@keyframes glintTitle { from { background-position: 120% 0; } to { background-position: -130% 0; } }
.glint { animation: glintTitle 1.6s var(--ease-out) 0.7s 1; }

.hero-sub { max-width: 54ch; font-size: 1.12rem; color: var(--muted-inverse); margin-bottom: 30px; }
.hero-sub strong { color: var(--ink-inverse); }

.quick-quote {
  display: flex; gap: 10px; max-width: 620px; margin: 0 0 16px;
  padding: 8px; border-radius: 14px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.16);
  backdrop-filter: blur(14px);
}
.quick-quote input {
  flex: 1; min-width: 0; border: 0; border-radius: 8px;
  background: oklch(1 0 0 / 0.92); color: var(--ink);
  padding: 13px 16px; font-size: 1rem; font-family: var(--font-text);
}
.quick-quote input::placeholder { color: oklch(0.40 0 0); }
.quick-quote input:focus { outline: 2px solid var(--red-bright); }
.hero-actions { margin-bottom: 30px; }
.hero-trust { font-size: 0.98rem; color: var(--muted-inverse); margin: 0; }
.hero-trust strong { color: var(--ink-inverse); }
.stars { color: oklch(0.80 0.14 85); letter-spacing: 2px; }
.trust-since { color: var(--ice); }

/* ============ steps strip ============ */
.steps { background: var(--surface); border-bottom: 1px solid var(--line); }
.steps-track {
  max-width: var(--wrap); margin: 0 auto; padding: 44px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
  list-style: none; counter-reset: none;
}
.steps-track li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; }
.step-n {
  grid-row: 1 / 3;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  color: var(--red);
}
.steps-track h2 { font-size: 1.05rem; margin: 2px 0 4px; font-family: var(--font-text); font-weight: 700; }
.steps-track p { margin: 0; color: var(--muted); font-size: 0.95rem; grid-column: 2; }

/* ============ sections ============ */
.section { padding: 96px 0; }
.section.dark { background: var(--night); color: var(--ink-inverse); }
.sec-title {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: 0.005em;
  margin-bottom: 28px;
}
.sec-title .red { color: var(--red-bright); }
.section:not(.dark) .sec-title .red { color: var(--red); }
.sec-lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; margin-bottom: 40px; }
.section.dark .sec-lede { color: var(--muted-inverse); }

/* ============ services ============ */
.service-list { list-style: none; margin: 48px 0 0; padding: 0; }
.service-list li {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 8px 48px;
  padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.service-list li:last-child { border-bottom: 1px solid var(--line); }
.service-list h3 { font-size: 1.35rem; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
.service-list p { margin: 0; color: var(--muted); max-width: 62ch; }
.badge-adas {
  display: inline-block; margin-left: 10px; vertical-align: middle;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  background: var(--red); color: #fff; border-radius: 999px; padding: 4px 12px;
  white-space: nowrap;
}

/* ============ why us (dark) ============ */
.why-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: center; }
.why-copy p { color: var(--muted-inverse); font-size: 1.08rem; max-width: 58ch; }
.why-copy strong { color: var(--ink-inverse); }
.why-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.why-points li { padding-left: 26px; position: relative; color: var(--muted-inverse); }
.why-points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px;
  background: var(--red-bright); border-radius: 2px; transform: rotate(45deg);
}
.why-points strong { color: var(--ink-inverse); }

.warranty-seal { text-align: center; }
.seal {
  display: inline-grid; gap: 2px; place-items: center;
  width: 240px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--red-bright);
  outline: 1px solid oklch(1 0 0 / 0.15); outline-offset: 8px;
  align-content: center;
  background: radial-gradient(circle at 50% 35%, oklch(0.22 0.03 27 / 0.6), transparent 70%);
}
.seal span { font-family: var(--font-display); line-height: 1.05; text-transform: uppercase; }
.seal-top { font-size: 1.5rem; color: var(--ink-inverse); }
.seal-mid { font-size: 1.9rem; color: var(--red-bright); }
.seal-bot { font-size: 1.5rem; color: var(--ink-inverse); }
.seal-note { margin-top: 14px; color: var(--muted-inverse); font-size: 0.95rem; }

/* ============ gallery ============ */
.work-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
}
.work-grid figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface);
}
.work-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
}
.work-grid figure:hover img { transform: scale(1.035); filter: brightness(1.05); }

/* ============ insurance (dark) ============ */
.glass-panel {
  border-radius: 16px; padding: 44px;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.14);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px oklch(0 0 0 / 0.35);
}
.glass-lede { color: var(--muted-inverse); font-size: 1.1rem; max-width: 60ch; }
.glass-lede strong { color: var(--ink-inverse); }
.ins-steps {
  margin: 28px 0 0; padding: 0 0 0 1.2em; display: grid; gap: 12px;
  color: var(--muted-inverse); font-size: 1.05rem;
}
.ins-steps strong { color: var(--ink-inverse); }
.carriers-label {
  margin: 44px 0 18px; text-align: center; color: var(--muted-inverse); font-weight: 600;
}
.carriers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 22px 30px; align-items: center; justify-items: center;
}
.carriers img {
  height: 34px; width: auto; max-width: 130px; object-fit: contain;
  filter: grayscale(1) brightness(4);
  opacity: 0.85; transition: filter 0.3s, opacity 0.3s;
}
.carriers img:hover { filter: none; opacity: 1; }

/* ============ reviews ============ */
.review-headline {
  display: flex; align-items: center; gap: 28px; margin-bottom: 48px; flex-wrap: wrap;
}
.big-rating {
  font-family: var(--font-display); font-size: clamp(4rem, 9vw, 6rem); line-height: 1;
  color: var(--ink);
}
.big-rating .of { font-size: 0.35em; color: var(--muted); }
.review-headline p { margin: 0; font-size: 1.05rem; color: var(--muted); }
.pull-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.pull-quotes blockquote { margin: 0; padding: 0; }
.pull-quotes p {
  font-size: 1.35rem; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.pull-quotes strong { color: var(--red); }
.pull-quotes cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }

/* ============ area + financing ============ */
.area { background: var(--surface); }
.area-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.hours { color: var(--muted); }
.financing {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; display: grid; gap: 14px; justify-items: start;
}
.financing p { margin: 0; color: var(--muted); }
.financing strong { color: var(--ink); }

/* ============ quote form (dark) ============ */
.contact .glass-panel { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: grid; gap: 6px; margin-bottom: 18px; }
.form-row label { font-weight: 600; font-size: 0.92rem; color: var(--ink-inverse); }
.req { color: var(--red-bright); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border-radius: 8px; border: 1px solid oklch(1 0 0 / 0.22);
  background: oklch(1 0 0 / 0.94); color: var(--ink);
  padding: 12px 14px; font-size: 1rem; font-family: var(--font-text);
}
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--red-bright); border-color: transparent;
}
.form-row.invalid input, .form-row.invalid textarea { outline: 2px solid var(--red-bright); }
.error-msg { color: oklch(0.85 0.09 27); font-size: 0.85rem; min-height: 1em; }
.btn-submit { width: 100%; font-size: 1.1rem; padding: 16px; margin-top: 6px; }
.form-alt { margin: 18px 0 0; text-align: center; color: var(--muted-inverse); font-size: 0.95rem; }
.form-alt a { color: var(--ice); font-weight: 600; }

/* ============ footer ============ */
.site-footer {
  background: var(--night-deep); color: var(--muted-inverse);
  padding: 44px 0;
}
.footer-grid { display: grid; gap: 8px; }
.site-footer .brand-word { font-size: 1rem; }
.site-footer a { color: var(--ice); }
.site-footer p { margin: 0; font-size: 0.95rem; }

/* ============ sticky mobile bar ============ */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
  display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: oklch(0.13 0.005 355 / 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid oklch(1 0 0 / 0.12);
}
.mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: 1rem; }

/* ============ reveals ============ */
/* visible by default; JS adds .anim only when IO + motion allowed */
.reveal { opacity: 1; transform: none; }
.js-anim .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js-anim .reveal.in { opacity: 1; transform: none; }

/* ============ reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glint { animation: none; background-image: none; }
  .btn-red:hover::after { animation: none; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .work-grid img { transition: none; }
  .btn { transition: none; }
}

/* ============ responsive ============ */
@media (max-width: 900px) {
  .why-grid, .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; }
  .steps-track { grid-template-columns: 1fr; gap: 22px; padding: 36px 24px; }
  .section { padding: 72px 0; }
}
@media (max-width: 760px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: oklch(0.13 0.005 355 / 0.98); backdrop-filter: blur(10px);
    padding: 8px 0 14px; border-bottom: 1px solid oklch(1 0 0 / 0.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 24px; }
  .header-call { display: none; }
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto;
    background: none; border: 0; padding: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink-inverse); transition: transform 0.25s var(--ease-out), opacity 0.25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { padding: 110px 24px 72px; }
  .quick-quote { flex-direction: column; }
  .quick-quote .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .glass-panel { padding: 28px 22px; }
  .mobile-bar { display: flex; }
  .pull-quotes p { font-size: 1.15rem; }
}

@media (max-width: 760px) {
  .site-footer { padding-bottom: 110px; }
}

.vin-hint { font-weight: 400; color: var(--muted-inverse); font-size: 0.85em; }

/* ============ tint add-on + demo ============ */
.tint-addon {
  display: flex; gap: 12px; align-items: flex-start;
  background: oklch(1 0 0 / 0.07); border: 1px solid oklch(1 0 0 / 0.16);
  border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; cursor: pointer;
  color: var(--muted-inverse);
}
.tint-addon strong { color: var(--ink-inverse); }
.tint-addon input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }

.tint-row .tint-copy-demo { display: grid; gap: 16px; }
.tint-demo {
  position: relative; height: 120px; max-width: 420px;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, oklch(0.85 0.05 230), oklch(0.93 0.02 230));
  border: 1px solid var(--line);
}
.tint-sun {
  position: absolute; top: 14px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle, oklch(0.92 0.13 85), oklch(0.85 0.15 70));
  box-shadow: 0 0 30px 10px oklch(0.88 0.12 80 / 0.55);
}
.tint-film {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, oklch(0.20 0.01 250 / 0.86) 0%, oklch(0.20 0.01 250 / 0.86) 96%, oklch(0.6 0.02 250 / 0.3) 100%);
  transform: translateX(-101%);
  animation: tintSweep 7s var(--ease-out) infinite;
}
@keyframes tintSweep {
  0%   { transform: translateX(-101%); }
  38%  { transform: translateX(-46%); }
  62%  { transform: translateX(-46%); }  /* hold half-tinted: before/after split */
  90%  { transform: translateX(0%); }
  100% { transform: translateX(0%); }
}
.tint-label-l, .tint-label-r {
  position: absolute; bottom: 8px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.tint-label-l { left: 12px; color: oklch(0.35 0.02 250); }
.tint-label-r { right: 12px; color: oklch(0.9 0.01 250); mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) {
  .tint-film { animation: none; transform: translateX(-46%); }
}

/* ============ review rotator ============ */
.review-rotator { position: relative; min-height: 190px; max-width: 780px; }
.review-rotator .rq {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.review-rotator .rq.active { opacity: 1; transform: none; pointer-events: auto; }
.review-rotator .rq p { font-size: 1.45rem; line-height: 1.45; font-weight: 500; margin: 0 0 14px; }
.review-rotator .rq strong { color: var(--red); }
.review-rotator .rq cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.rq-dots { position: absolute; bottom: -34px; left: 0; display: flex; gap: 8px; }
.rq-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background 0.3s, transform 0.3s;
}
.rq-dots button.on { background: var(--red); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .review-rotator .rq { position: static; opacity: 1; transform: none; margin-bottom: 28px; }
  .rq-dots { display: none; }
}
@media (max-width: 760px) { .review-rotator { min-height: 250px; } .review-rotator .rq p { font-size: 1.15rem; } }

.btn-snap { padding: 12px 22px; font-size: 0.98rem; }
.snap-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

.bbb-link { color: var(--ice); text-decoration: none; border-bottom: 1px solid oklch(0.87 0.04 220 / 0.4); }
.bbb-link:hover { border-bottom-color: var(--ice); }

.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 760px) { .form-grid-3 { grid-template-columns: 1fr; } }
.tint-box { margin: 0 0 18px; }
.tint-box .tint-addon { margin: 0; border-radius: 10px 10px 0 0; }
.tint-options {
  border: 1px solid oklch(1 0 0 / 0.16); border-top: 0; border-radius: 0 0 10px 10px;
  padding: 16px 16px 6px; background: oklch(1 0 0 / 0.04);
}
.tint-note { color: var(--muted-inverse); font-size: 0.85rem; margin: 4px 0 10px; }

/* ============ FORM PIVOT: single column, roomy ============ */
.contact .glass-panel { max-width: 640px; margin-inline: auto; }
.quote-form .form-grid, .quote-form .form-grid-3 { grid-template-columns: 1fr; gap: 0; }
.quote-form .form-row { margin-bottom: 20px; }
.quote-form .form-row input, .quote-form .form-row select, .quote-form .form-row textarea { padding: 14px 16px; font-size: 1.05rem; }
.form-sec {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red-bright); font-size: 1.05rem; margin: 26px 0 14px;
  padding-bottom: 6px; border-bottom: 1px solid oklch(1 0 0 / 0.14);
}
.form-sec:first-of-type { margin-top: 0; }
/* tint options inherit single column */
.tint-options .form-grid-3 { grid-template-columns: 1fr; }

/* ============ signature crack divider ============ */
.crack-divider { height: 60px; background: var(--bg); overflow: hidden; }
.crack-divider svg { width: 100%; height: 100%; display: block; }
.crack-path, .crack-branch {
  stroke: oklch(0.75 0.02 250); stroke-width: 1.6;
  stroke-dasharray: 1300; stroke-dashoffset: 1300;
}
.crack-branch { stroke-width: 1.1; stroke-dasharray: 80; stroke-dashoffset: 80; }
.js-anim .crack-divider.in .crack-path { animation: crackDraw 1.1s var(--ease-out) forwards; }
.js-anim .crack-divider.in .crack-branch { animation: crackDrawB 0.5s var(--ease-out) 0.9s forwards; }
@keyframes crackDraw { to { stroke-dashoffset: 0; } }
@keyframes crackDrawB { to { stroke-dashoffset: 0; } }
/* no-JS / reduced motion: crack fully drawn */
html:not(.js-anim) .crack-path, html:not(.js-anim) .crack-branch { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .crack-path, .crack-branch { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* ============ break-the-glass reviews ============ */
.glass-cover { position: relative; }
.glass-pane {
  position: absolute; inset: -24px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: calc(100% + 48px); border: 0; cursor: pointer; border-radius: 14px;
  background: oklch(0.9 0.01 230 / 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background 0.3s;
}
.glass-pane:hover { background: oklch(0.9 0.01 230 / 0.48); }
.glass-pane:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.pane-label { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--ink); letter-spacing: 0.02em; }
.pane-sub { color: var(--muted); font-weight: 600; }
.pane-cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pane-cracks path { stroke: oklch(0.35 0.01 250 / 0.85); fill: none; stroke-width: 0.35; }
.glass-pane.shatter { animation: paneGone 0.55s var(--ease-out) 0.28s forwards; }
@keyframes paneGone { to { opacity: 0; transform: scale(1.012); visibility: hidden; } }
.glass-pane.gone { display: none; }
/* shards */
.shard {
  position: absolute; z-index: 6; pointer-events: none;
  background: oklch(0.92 0.01 230 / 0.5); backdrop-filter: blur(6px);
  clip-path: polygon(var(--clip)); inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px);
  animation: shardFall 0.7s var(--ease-out) forwards;
}
@keyframes shardFall {
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-pane { display: none; }
  .shard { display: none; }
}
/* no-JS: pane hidden, reviews visible */
html:not(.js-anim) .glass-pane { display: none; }

/* ============ realistic glass upgrades ============ */
.glass-pane {
  background:
    linear-gradient(115deg, transparent 30%, oklch(1 0 0 / 0.16) 38%, transparent 44%, transparent 60%, oklch(1 0 0 / 0.10) 68%, transparent 74%),
    linear-gradient(180deg, oklch(0.93 0.015 200 / 0.55), oklch(0.88 0.02 190 / 0.5));
  border: 1px solid oklch(1 0 0 / 0.5);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.6), inset 0 -1px 0 oklch(0.6 0.02 200 / 0.3), 0 8px 40px oklch(0.3 0.02 220 / 0.18);
}
.pane-cracks path {
  stroke: oklch(0.99 0.005 200 / 0.95); stroke-width: 0.4;
  filter: drop-shadow(0 0 0.6px oklch(0.4 0.02 220 / 0.8));
}
.shard {
  background: linear-gradient(135deg, oklch(0.95 0.015 195 / 0.65), oklch(0.85 0.025 190 / 0.4));
  border: 0.5px solid oklch(1 0 0 / 0.55);
  box-shadow: inset 0 0 8px oklch(1 0 0 / 0.35);
}

.glass-pane.hit { animation: paneShake 0.18s var(--ease-out); }
@keyframes paneShake { 25% { transform: translate(-3px,1px); } 50% { transform: translate(3px,-2px); } 75% { transform: translate(-2px,-1px); } }

/* ============ footer certifications ============ */
.certs-label {
  margin: 0 0 14px; text-align: center; color: var(--muted-inverse, #9fb0c3);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
}
.cert-badges {
  display: flex; justify-content: center; align-items: center; gap: 28px;
  flex-wrap: wrap; margin-bottom: 30px;
}
.cert-badges img {
  height: 108px; width: auto; opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

/* ============ footer social links ============ */
.social-links {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  flex-wrap: wrap; margin: 2px 0 30px;
}
.social-links a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  padding: 7px 16px 7px 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--ice, #dfe9f3); text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}
.social-links a:hover { border-color: #c8102e; background: rgba(200,16,46,0.12); }
.si {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 0.8rem; font-weight: 800; color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.si-google { background: #4285f4; }
.si-yelp   { background: #d32323; }
.si-fb     { background: #1877f2; }
.si-angi   { background: #ff6153; }
.si-li     { background: #0a66c2; font-size: 0.7rem; }
