/* ============================================================
   Panorama City Auto Glass — shared styles
   Color system: warm black top bar, lime-olive accent, off-white surface
   Type: Sora (display) + Inter Tight (body)
   ============================================================ */

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --ink: #14140f;
  --ink-2: #3a3a33;
  --ink-3: #6b6b62;
  --line: #e6e5dd;
  --line-2: #d8d7cc;

  --accent: oklch(0.78 0.18 132);          /* lime-olive */
  --accent-ink: oklch(0.34 0.07 132);
  --accent-soft: oklch(0.95 0.06 132);

  --top: #0d0d0a;

  --r-sm: 6px;
  --r-md: 12px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(20,20,15,.04), 0 6px 18px -8px rgba(20,20,15,.08);
  --shadow-2: 0 1px 0 rgba(20,20,15,.04), 0 18px 40px -16px rgba(20,20,15,.18);

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01","cv11";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: "Sora", "Inter Tight", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); letter-spacing: -0.018em; }
h3 { font-size: 1.15rem; letter-spacing: -0.012em; }
p  { margin: 0 0 0.9rem; text-wrap: pretty; }
a  { color: inherit; text-decoration: none; }
.muted { color: var(--ink-3); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--top);
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar .phone-link {
  color: var(--accent);
  font-weight: 600;
  font-feature-settings: "tnum" 1;
}
.topbar .phone-link:hover { text-decoration: underline; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: #4a4a40; }
.topbar .meta { color: #b9b9ad; }

/* ---------- nav ---------- */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px oklch(0.65 0.18 132);
}
.brand .city { color: var(--ink-3); font-weight: 500; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid oklch(0.7 0.18 132);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-1); background: oklch(0.82 0.18 132); }
.btn.ghost {
  background: transparent; border-color: var(--line-2); color: var(--ink);
}
.btn.ghost:hover { background: #fff; border-color: var(--ink); }
.btn.dark {
  background: var(--top); color: #fff; border-color: var(--top);
}
.btn.dark:hover { background: #232319; border-color: #232319; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- hero ---------- */
.hero {
  background: var(--top);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px 24px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  color: #c8c8bd;
  font-size: 18px;
  margin: 22px 0 32px;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #26261d;
  flex-wrap: wrap;
}
.hero-meta .stat .n {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.hero-meta .stat .l {
  font-size: 13px;
  color: #8a8a7d;
  margin-top: 2px;
}

/* hero visual: photograph of cracked windshield */
.hero-visual {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 18px;
  border: 1px solid #1f1f17;
  overflow: hidden;
  background: #0a0a07;
  box-shadow: var(--shadow-2);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(0.95);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(13,13,10,0) 35%, rgba(13,13,10,.5) 100%),
    radial-gradient(ellipse at 30% 25%, rgba(154,202,60,.08), transparent 55%);
}
.hero-badge {
  position: absolute;
  top: 24px; left: 24px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1);
  color: #d8d8cc;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  display: flex; align-items: center; gap: 8px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(154,202,60,.18);
}

/* ---------- containers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 24px;
}
.section.tight { padding: 64px 24px; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content:""; width: 18px; height: 1.5px; background: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: end;
}
.section-head .lede { color: var(--ink-3); font-size: 17px; max-width: 50ch; }

/* ---------- service cards ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s, transform .15s;
}
.service:hover { border-color: var(--ink); transform: translateY(-2px); }
.service .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}
.service h3 { font-size: 18px; }
.service p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.service .more {
  font-size: 13.5px;
  color: var(--accent-ink);
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex; gap: 6px; align-items: center;
  border-top: 1px solid var(--line);
}

/* ---------- process strip ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.process .step {
  padding: 28px;
  border-right: 1px solid var(--line);
}
.process .step:last-child { border-right: 0; }
.process .step .n {
  font-family: "Sora", sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-soft);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-feature-settings: "tnum" 1;
}
.process .step h4 { font-family: "Sora", sans-serif; font-weight: 600; font-size: 15.5px; margin: 0 0 6px; }
.process .step p { color: var(--ink-3); font-size: 14px; margin: 0; }

/* ---------- two-col content ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.prose p, .prose li { font-size: 16px; color: var(--ink-2); }
.prose h3 { margin: 24px 0 8px; font-size: 17px; color: var(--ink); }
.prose ul { padding-left: 18px; margin: 0 0 1rem; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.prose a:hover { background: var(--accent-soft); }

/* sticky contact card */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  position: sticky;
  top: 96px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 14px; }
.contact-card .row {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-card .row:first-of-type { border-top: 0; padding-top: 0; }
.contact-card .row .k { color: var(--ink-3); width: 90px; flex-shrink: 0; }
.contact-card .row .v { color: var(--ink); }
.contact-card .row .v.phone { color: var(--accent-ink); font-weight: 600; font-feature-settings: "tnum" 1; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ---------- coverage map / zip grid ---------- */
.zip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.zip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-2);
}
.zip .z { color: var(--ink); font-weight: 600; }
.zip .name { color: var(--ink-3); font-family: "Inter Tight", sans-serif; font-size: 12px; }

/* ---------- faq ---------- */
.faq-toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 48px;
}
.faq-toc a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  transition: background .15s;
  border: 1px solid transparent;
}
.faq-toc a:hover { background: var(--accent-soft); border-color: var(--accent); }
.faq-toc a .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.faq-toc a .t {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-section { margin-bottom: 56px; }
.faq-section .h-row {
  display: flex; gap: 16px; align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.faq-section .h-row .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
}
.faq-section h2 { font-size: 1.6rem; }

.qa {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.qa[open] { padding-bottom: 26px; }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex; gap: 16px; align-items: flex-start;
  font-family: "Sora", sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
  padding: 4px 0;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 14px;
  margin-top: 2px;
  transition: transform .2s;
}
.qa[open] summary .chev { transform: rotate(45deg); background: var(--accent); }
.qa .a {
  margin-top: 14px;
  margin-left: 38px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.qa .a a { color: var(--accent-ink); border-bottom: 1px solid var(--accent); }

/* ---------- callout / quote ---------- */
.callout {
  background: var(--top);
  color: #fff;
  border-radius: var(--r-md);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.callout h3 { color: #fff; font-size: 22px; }
.callout p { color: #b9b9ad; margin: 6px 0 0; font-size: 15px; }

/* ---------- neighborhood chip list ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.footer {
  background: var(--top);
  color: #b9b9ad;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  color: #fff;
  font-family: "Sora", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer .legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid #26261d;
  font-size: 13px;
  color: #6e6e60;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer .brand-block .blurb { font-size: 14px; line-height: 1.6; max-width: 36ch; }

/* ---------- breadcrumb ---------- */
.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line-2); }

/* ---------- highlights row (numbers) ---------- */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line);
  background: #fff;
}
.highlights .item {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.highlights .item:last-child { border-right: 0; }
.highlights .item .n {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.highlights .item .n .u { color: var(--accent-ink); }
.highlights .item .l {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px 72px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .services { grid-template-columns: 1fr; }
  .process, .highlights { grid-template-columns: repeat(2, 1fr); }
  .process .step:nth-child(2), .highlights .item:nth-child(2) { border-right: 0; }
  .process .step, .highlights .item { border-bottom: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .callout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .highlights, .process { grid-template-columns: 1fr; }
  .process .step, .highlights .item { border-right: 0; }
}
