:root {
  --color-primary: 271 65% 40%;
  --color-primary-dark: 271 65% 28%;
  --color-accent: 43 95% 52%;
  --color-accent-dark: 43 95% 40%;
  --color-emergency: 0 72% 50%;
  --color-cream: #f7f5f0;
  --color-cream-2: #efebe2;
  --color-ink: #1a1a1a;
  --color-ink-muted: #6b6560;
  --color-hero-bg: #0d0608;
  --border: #1a1a1a1a;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --section-y: clamp(3rem, 6vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.5;
  padding-bottom: 64px; /* room for mobile sticky bar */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin: 0; }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: hsl(var(--color-primary)); margin: 0 0 0.6rem;
}
.section { padding: var(--section-y) 0; }
.section-white { background: #fff; }
.section-cream { background: var(--color-cream-2); }
.section-dark { background: var(--color-hero-bg); color: #fff; }
.section-dark .eyebrow { color: hsl(var(--color-accent)); }
.section-head { max-width: 44rem; margin: 0 0 2.5rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-head p { color: var(--color-ink-muted); font-size: 1.05rem; margin: 0.75rem 0 0; }
.section-dark .section-head p { color: #ffffffb3; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; font-weight: 700; font-size: 0.95rem; border-radius: 4px;
  border: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, transform 0.1s;
}
.btn-primary { background: hsl(var(--color-primary)); color: #fff; }
.btn-primary:hover { background: hsl(var(--color-primary-dark)); }
.btn-accent { background: hsl(var(--color-accent)); color: #1a1200; }
.btn-accent:hover { background: hsl(var(--color-accent-dark)); }
.btn-outline { background: transparent; border: 1.5px solid #ffffff55; color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: #fffffff2; backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; height: 5rem; }
.logo-link { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-link img { height: 58px; width: auto; }
.header-trust { display: none; font-size: 0.8rem; color: var(--color-ink-muted); font-weight: 600; }
.header-nav { display: none; }
@media (min-width: 900px) {
  .header-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: 1.5rem; }
  .header-nav a { font-size: 0.85rem; font-weight: 600; color: var(--color-ink-muted); transition: color 0.15s; white-space: nowrap; }
  .header-nav a:hover { color: hsl(var(--color-primary)); }
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.phone-pill {
  display: flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.95rem; color: var(--color-ink);
}
.phone-pill svg { width: 16px; height: 16px; color: hsl(var(--color-primary)); flex-shrink: 0; }
@media (min-width: 700px) {
  .header-trust { display: flex; align-items: center; gap: 0.4rem; }
}
@media (max-width: 640px) {
  /* Mobile sticky bar already covers click-to-call, so drop the header's phone
     pill there to avoid it wrapping into multiple lines next to the CTA button. */
  .phone-pill { display: none; }
  .header-actions { margin-left: 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--color-hero-bg); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, #0d0608 15%, #0d0608cc 55%, #0d060866);
}
.hero-inner { position: relative; z-index: 1; padding: 3.5rem 0 3rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; background: #ffffff14; border: 1px solid #ffffff2e;
  padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1.5rem;
}
.hero-badge .stars { color: hsl(var(--color-accent)); letter-spacing: 0.05em; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); max-width: 34rem; }
.hero h1 .accent { color: hsl(var(--color-accent)); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: #ffffffcc; max-width: 32rem; margin: 1.1rem 0 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.25rem; }
.hero-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; max-width: 30rem; }
.hero-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #ffffffd9; }
.hero-list svg { width: 16px; height: 16px; color: hsl(var(--color-accent)); flex-shrink: 0; }

/* Signs grid */
.signs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.sign-card {
  background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.sign-card .ic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 8px; background: hsl(var(--color-primary) / 0.1);
  display: flex; align-items: center; justify-content: center;
}
.sign-card .ic svg { width: 22px; height: 22px; color: hsl(var(--color-primary)); }
.sign-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.35rem; }
.sign-card p { font-size: 0.9rem; color: var(--color-ink-muted); margin: 0; line-height: 1.5; }

/* Repair vs replace */
.rvr-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .rvr-grid { grid-template-columns: 1fr 1fr; } }
.rvr-card { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm, 0 1px 3px #0000001a); }
.rvr-card img { width: 100%; height: 220px; object-fit: cover; }
.rvr-card-body { padding: 1.75rem; }
.rvr-tag { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; margin-bottom: 0.75rem; }
.rvr-tag-repair { background: hsl(var(--color-accent) / 0.18); color: hsl(var(--color-accent-dark)); }
.rvr-tag-replace { background: hsl(var(--color-primary) / 0.12); color: hsl(var(--color-primary)); }
.rvr-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.rvr-card ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--color-ink-muted); font-size: 0.92rem; line-height: 1.7; }

/* Why choose */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-grid img { border-radius: 8px; box-shadow: 0 20px 50px -20px #14121040; }
.why-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.why-list li { display: flex; gap: 0.75rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.why-list li:last-child { border-bottom: 0; }
.why-list svg { width: 20px; height: 20px; color: hsl(var(--color-primary)); flex-shrink: 0; margin-top: 0.1rem; }
.badge-row { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; flex-wrap: wrap; }
.badge-row img { height: 52px; width: auto; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: #ffffff0a; border: 1px solid #ffffff1f; border-radius: 6px; overflow: hidden; }
.review-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.review-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.review-stars { color: hsl(var(--color-accent)); font-size: 0.9rem; margin-bottom: 0.6rem; letter-spacing: 0.05em; }
.review-quote { font-size: 0.9rem; color: #ffffffe0; line-height: 1.6; margin: 0 0 1rem; }
.review-meta { border-top: 1px solid #ffffff1f; padding-top: 0.85rem; }
.review-name { font-weight: 700; font-size: 0.9rem; margin: 0; }
.review-loc { font-size: 0.72rem; color: #ffffff8c; letter-spacing: 0.04em; margin: 0.1rem 0 0; }

/* Service areas */
.areas-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .areas-layout { grid-template-columns: 1.1fr 1fr; } }
.areas-list { display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: flex-start; }
.area-pill {
  background: #fff; border: 1px solid var(--border); padding: 0.45rem 0.9rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--color-ink);
}
.areas-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md, 0 4px 6px #0000001a); aspect-ratio: 4 / 3; }
.areas-map iframe { width: 100%; height: 100%; border: 0; display: block; }


/* Final CTA / form */
.final-cta { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .final-cta { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.lead-form { background: #fff; border-radius: 8px; padding: 2rem; color: var(--color-ink); }
.lead-form h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.lead-form > p { color: var(--color-ink-muted); font-size: 0.9rem; margin: 0 0 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-ink-muted); margin-bottom: 0.4rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1px solid #d8d4cc; background: #fff; padding: 0.75rem 0.85rem; font-size: 0.95rem;
  border-radius: 4px; font-family: inherit; color: var(--color-ink);
}
.form-field textarea { resize: vertical; }
.form-error { color: hsl(var(--color-emergency)); font-size: 0.85rem; text-align: center; margin: 0 0 0.75rem; }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success .check { width: 56px; height: 56px; border-radius: 999px; background: hsl(var(--color-primary) / 0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.form-success .check svg { width: 28px; height: 28px; color: hsl(var(--color-primary)); }

/* Sticky mobile call bar */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: none;
  background: hsl(var(--color-primary)); box-shadow: 0 -6px 20px #00000030;
}
.sticky-bar-inner { display: flex; }
.sticky-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem; color: #fff; font-weight: 700; font-size: 0.9rem; }
.sticky-bar a:first-child { border-right: 1px solid #ffffff30; }
.sticky-bar a.accent { background: hsl(var(--color-accent)); color: #1a1200; }
@media (max-width: 767px) { .sticky-bar { display: block; } }

/* Footer */
.site-footer { background: var(--color-hero-bg); color: #ffffff66; padding: 2.5rem 0; font-size: 0.85rem; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer img { height: 30px; opacity: 0.8; }

.hidden { display: none !important; }
