/* Sharp Auto Paint & Dent Repair — redesign concept styles */
:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --bg-3: #171a21;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef0f3;
  --muted: #a7adb8;
  --dim: #7d8490;
  --red: #e0283a;
  --red-2: #ff4a5a;
  --red-deep: #8f0b19;
  --blue: #3b5bdb;
  --steel: #c9ced6;
  --ok: #3ccf8e;
  --amber: #f5b342;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --stack-h: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--stack-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Top stack: ribbon + header ---------- */
.top-stack { position: sticky; top: 0; z-index: 100; }
.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 34px; padding: 7px 16px;
  background: linear-gradient(90deg, #5e0812, #a3101f 40%, #a3101f 60%, #5e0812);
  color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; text-align: center; line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.ribbon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

.site-header {
  background: rgba(11, 12, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.site-header.is-scrolled { background: rgba(11, 12, 15, 0.92); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-text small { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-weight: 500; font-size: 0.94rem; transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-2), var(--red) 45%, var(--red-deep));
  color: #fff; box-shadow: 0 10px 30px rgba(224, 40, 58, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(224, 40, 58, 0.45), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: rgba(255,255,255,0.06); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover:not(:disabled) { border-color: var(--red-2); color: #fff; background: rgba(224,40,58,0.12); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-xs { --h: 32px; padding: 0 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--stack-h)); min-height: calc(100vh - var(--stack-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 0 40px; overflow: hidden; isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; z-index: -1; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 55%, rgba(179, 16, 31, 0.35), transparent 70%),
    radial-gradient(40% 40% at 85% 30%, rgba(59, 91, 219, 0.18), transparent 70%),
    linear-gradient(180deg, #0d0f13, #0b0c0f);
}
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,12,15,0.92) 0%, rgba(11,12,15,0.55) 38%, rgba(11,12,15,0) 62%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11,12,15,0) 22%);
}
.hero-content { position: relative; max-width: 1200px; }
.hero-content > * { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--red-2); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 22px; }
.grad {
  display: block;
  background: linear-gradient(100deg, #fff 0%, #ffd3d7 25%, var(--red-2) 55%, #b3101f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9cdd4; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.paint-picker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(8px);
}
.paint-label { color: var(--muted); font-size: 0.85rem; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.85), transparent 30%), var(--sw);
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.swatch:hover { transform: scale(1.12); }
.swatch.is-active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.paint-name { font-size: 0.85rem; font-weight: 600; min-width: 92px; }

.hero-facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  list-style: none; padding: 0; margin-top: 56px; margin-bottom: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(10px);
}
.hero-facts li { background: rgba(14, 16, 20, 0.78); padding: 18px 22px; display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.01em; }
.hero-facts span { color: var(--muted); font-size: 0.86rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; display: none;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--steel); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.text-link { color: var(--red-2); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy p { color: #c2c7cf; font-size: 1.07rem; }
.about-copy strong { color: var(--text); }
.panel-card {
  position: relative; overflow: hidden; padding: 36px; border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02) 40%, rgba(255,255,255,0.06) 60%, rgba(255,255,255,0.01)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    #15181e;
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.panel-sheen {
  position: absolute; inset: -50% -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-60%); animation: sheen 7s var(--ease) infinite;
}
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-num {
  display: block; font-family: var(--display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #fff, #9aa1ad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-cap { color: var(--muted); font-size: 0.9rem; }
.panel-divider { height: 1px; background: var(--line-2); margin: 28px 0; }
.panel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.panel-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.panel-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 12px var(--red); flex: none; }

/* Services */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative; padding: 28px 26px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.service-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 40, 58, 0.16), transparent 45%);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(255, 74, 90, 0.35); }
.service-card:hover::after { opacity: 1; }
.service-card svg {
  width: 44px; height: 44px; margin-bottom: 18px; fill: none; stroke: var(--red-2); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Estimate */
.estimate-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.estimate-form { padding: 30px; }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.form-head h3 { margin: 0; font-size: 1.3rem; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: #d7dbe1; }
.req { color: var(--red-2); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.35); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: #15181e; color: var(--text); }
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #6f7682; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(224, 40, 58, 0.2); background: rgba(0,0,0,0.5); }
.field.has-error input, .field.has-error select { border-color: #ff6b78; }
.field-error { color: #ff8a94; font-size: 0.82rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }

.seg { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0; background: rgba(0,0,0,0.35); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  margin: 0; text-align: center; padding: 9px 8px; border-radius: 9px; cursor: pointer; font-size: 0.86rem; font-weight: 600; color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.seg input:checked + label { background: rgba(255,255,255,0.1); color: #fff; }
.seg input#u-urgent:checked + label { background: rgba(224, 40, 58, 0.22); color: #ffd0d5; }
.seg input:focus-visible + label { outline: 2px solid var(--red-2); outline-offset: 1px; }
.hint { color: var(--dim); font-size: 0.8rem; margin: 8px 0 0; }
.fine { color: var(--dim); font-size: 0.78rem; text-align: center; margin: 12px 0 0; }

/* Live preview */
.auto-preview { padding: 26px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.auto-preview::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent); opacity: 0.7;
}
.ap-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ap-head h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.ap-sub { color: var(--dim); font-size: 0.84rem; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(60,207,142,0.6); animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(60,207,142,0.55); } 70% { box-shadow: 0 0 0 9px rgba(60,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,142,0); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.steps li {
  position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 10px;
  border-radius: 10px; background: rgba(0,0,0,0.3); border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 600; color: var(--dim); line-height: 1.2;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.step-ic {
  counter-increment: s; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; border: 1px solid var(--line-2);
  transition: background 0.3s, border-color 0.3s;
}
.step-ic::before { content: counter(s); }
.steps li.is-active { color: var(--text); border-color: rgba(245, 179, 66, 0.5); background: rgba(245, 179, 66, 0.08); }
.steps li.is-active .step-ic { border-color: var(--amber); animation: spinPulse 0.9s infinite; }
@keyframes spinPulse { 50% { box-shadow: 0 0 0 4px rgba(245,179,66,0.18); } }
.steps li.is-done { color: var(--text); border-color: rgba(60, 207, 142, 0.4); background: rgba(60, 207, 142, 0.07); }
.steps li.is-done .step-ic { background: var(--ok); border-color: var(--ok); color: #06291a; }
.steps li.is-done .step-ic::before { content: "✓"; }

.incoming { min-height: 92px; }
.incoming-empty { margin: 0; padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); color: var(--dim); font-size: 0.92rem; text-align: center; }
.req-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.05); border: 1px solid var(--line-2);
  animation: slideIn 0.55s var(--ease) both;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(-14px) scale(0.98); } to { opacity: 1; transform: none; } }
.req-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: linear-gradient(135deg, #2a2f39, #1a1d23); border: 1px solid var(--line-2); color: var(--steel);
}
.req-meta { min-width: 0; }
.req-meta strong { display: block; }
.req-meta span { color: var(--muted); font-size: 0.86rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.req-reason { grid-column: 1 / -1; margin: 0; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-urgent { background: rgba(224, 40, 58, 0.18); color: #ff8f99; border: 1px solid rgba(255, 74, 90, 0.4); }
.badge-standard { background: rgba(59, 91, 219, 0.16); color: #a9b9ff; border: 1px solid rgba(110, 140, 255, 0.35); }
.badge-sorting { background: rgba(245, 179, 66, 0.14); color: #ffd28a; border: 1px solid rgba(245, 179, 66, 0.35); }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: rgba(0,0,0,0.25); }
.table-head, .draft-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table-head h4, .draft-head h4 { margin: 0; font-size: 0.95rem; }
.count { color: var(--dim); font-size: 0.8rem; }
.table-scroll { overflow-x: auto; max-height: 240px; overflow-y: auto; }
.req-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 460px; }
.req-table th { position: sticky; top: 0; background: #14171c; text-align: left; font-weight: 600; color: var(--dim); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 16px; }
.req-table td { padding: 11px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.req-table td:nth-child(3) { white-space: normal; }
.req-table .empty-row td { color: var(--dim); text-align: center; padding: 22px; }
.req-table tr.is-new { animation: rowFlash 1.6s var(--ease); }
@keyframes rowFlash { 0% { background: rgba(245, 179, 66, 0.22); } 100% { background: transparent; } }

.draft { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(0,0,0,0.25); overflow: hidden; }
.draft-body { padding: 16px 18px; font-size: 0.9rem; color: #d2d6dc; min-height: 120px; }
.draft-empty { color: var(--dim); margin: 0; }
.draft-meta { display: grid; gap: 4px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.draft-meta span { color: var(--dim); display: inline-block; min-width: 62px; }
.draft-text { white-space: pre-wrap; margin: 0; font-family: var(--font); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--red-2); vertical-align: -2px; margin-left: 1px; animation: blink 0.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 30px; display: flex; flex-direction: column; }
.quote-mark { width: 32px; height: 32px; fill: var(--red-2); opacity: 0.85; margin-bottom: 16px; }
.review blockquote { margin: 0 0 20px; flex: 1; }
.review blockquote p { margin: 0; color: #d6dae0; font-size: 1rem; }
.review figcaption { font-weight: 600; color: var(--text); }

/* Contact */
.contact { background: radial-gradient(70% 60% at 0% 100%, rgba(179, 16, 31, 0.18), transparent 70%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-cards .info:last-child { grid-column: 1 / -1; }
.info { padding: 24px; }
.info h3 { color: var(--muted); font-family: var(--font); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 12px; }
.info address { font-style: normal; font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.info p { margin: 0 0 6px; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.open-status { margin-top: 12px !important; font-size: 0.86rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.open-status.is-open { color: var(--ok); }
.open-status.is-open::before { background: var(--ok); }
.open-status.is-closed { color: var(--muted); }
.big-link { font-family: var(--display); font-size: 1.5rem; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; word-break: break-word; }
.big-link.small { font-size: 1.1rem; font-weight: 600; }
.big-link:hover { color: var(--red-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: #08090b; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin: 0; }
.footer-tag { color: var(--muted); margin: 4px 0 0; font-size: 0.9rem; }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.8rem; }
.footer-note p { margin: 0 0 4px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-height: 760px) and (min-width: 900px) { .scroll-cue { display: block; } }

@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .estimate-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-call span { display: none; }
  .header-call { --h: 42px; width: 42px; padding: 0; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.06);
    border: 1px solid var(--line-2); cursor: pointer; padding: 0 11px;
  }
  .nav-toggle .bar { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .main-nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 10px 20px 18px;
    background: rgba(11,12,15,0.97); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all 0.25s var(--ease);
  }
  .main-nav ul.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .site-header { position: relative; }
  .header-inner { gap: 12px; }

  .about-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { bottom: auto; height: 58vh; height: 58svh; }
  .hero-vignette {
    background: linear-gradient(180deg, rgba(11,12,15,0) 0%, rgba(11,12,15,0) 55%, var(--bg) 100%);
  }
  .hero { padding-top: 46vh; padding-top: 46svh; }
}

@media (max-width: 600px) {
  :root { --stack-h: 118px; }
  body { font-size: 15.5px; }
  .container { width: calc(100% - 32px); }
  .ribbon { font-size: 0.72rem; padding: 6px 12px; }
  .hero { padding-top: 40vh; padding-top: 40svh; padding-bottom: 28px; }
  .hero-stage { height: 50vh; height: 50svh; }
  .hero-ctas .btn { width: 100%; }
  .paint-picker { flex-wrap: wrap; border-radius: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .seg { grid-template-columns: 1fr 1fr 1fr; }
  .seg label { font-size: 0.78rem; padding: 9px 4px; }
  .estimate-form, .auto-preview { padding: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .req-table { min-width: 0; font-size: 0.8rem; }
  .req-table th, .req-table td { padding: 10px 8px; }
  .req-table td { white-space: normal; }
  .req-table th:first-child, .req-table td:first-child { padding-left: 14px; white-space: nowrap; }
  .req-table .badge { padding: 3px 7px; font-size: 0.66rem; }
}

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