/* First State Door Repair — styles.css
   Mobile-first, no frameworks, system fonts. Navy + safety orange. */

:root {
  --navy: #0e2a47;
  --navy-dark: #0a1f36;
  --navy-light: #16406b;
  --orange: #ff7a1a;
  --orange-dark: #e85f00;
  --ink: #1c2733;
  --muted: #55636f;
  --bg: #ffffff;
  --bg-alt: #f2f5f8;
  --line: #d9e1e8;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  /* room for the mobile sticky call bar */
  padding-bottom: 64px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap-narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.15; color: var(--navy); }
h2 { font-size: 1.7rem; margin-bottom: 0.6rem; }
h3 { font-size: 1.12rem; }

a { color: var(--navy-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  min-height: 52px;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 22px; height: 22px; flex: none; }

.btn-call {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(232, 95, 0, 0.35);
}
.btn-call:hover, .btn-call:focus { background: var(--orange-dark); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover, .btn-ghost:focus { border-color: #fff; color: #fff; }

.btn-big { font-size: 1.15rem; padding: 0.9rem 1.6rem; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand strong { color: var(--orange); display: block; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.header-call { min-height: 48px; padding: 0.5rem 0.9rem; }
.header-call .call-label { display: none; }
.header-call .call-number { font-size: 1rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #eaf1f7;
  padding: 2.6rem 0 2.8rem;
  text-align: left;
}
.hero-kicker {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 0.9rem;
}
.hero-sub { font-size: 1.08rem; max-width: 34rem; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.7rem; max-width: 34rem; }
.hero-points {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.98rem;
}
.hero-points li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  margin-right: 0.5rem;
}

/* ---------- Sections ---------- */
.section { padding: 2.6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-lede { color: var(--muted); max-width: 40rem; margin-bottom: 1.4rem; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}
.service-card h3 { margin: 0.5rem 0 0.4rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; }
.service-icon { width: 34px; height: 34px; color: var(--navy-light); }
.service-card-alert { border-color: var(--orange); background: #fff7f0; }
.service-card-alert .service-icon { color: var(--orange-dark); }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}
.why-item {
  background: #fff;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.why-item h3 { margin-bottom: 0.35rem; }
.why-item p { color: var(--muted); font-size: 0.98rem; }

/* Service area */
.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}
.area-list li {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}
.area-note { color: var(--muted); }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 1.15rem;
  min-height: 52px;
  list-style-position: inside;
}
.faq-item p { padding: 0 1.15rem 1.1rem; color: var(--muted); font-size: 0.98rem; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #eaf1f7;
  text-align: center;
  padding: 2.8rem 0;
}
.cta-band h2 { color: #fff; font-size: 1.9rem; }
.cta-band p { margin-bottom: 1.4rem; }
.cta-band .btn { max-width: 26rem; margin: 0 auto; }
.cta-note { margin: 1rem 0 0; font-size: 0.95rem; color: #b9c9d8; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #b9c9d8;
  padding: 2rem 0 2.4rem;
  text-align: center;
  font-size: 0.95rem;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 0.3rem; }
.site-footer p { margin-bottom: 0.25rem; }
.site-footer a { color: var(--orange); font-weight: 700; text-decoration: none; }
.footer-fine { margin-top: 1rem; font-size: 0.82rem; color: #7e93a8; }

/* Mobile sticky call bar */
.mobile-callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}
.mobile-callbar svg { width: 22px; height: 22px; }
.mobile-callbar:hover, .mobile-callbar:focus { background: var(--orange-dark); color: #fff; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: row; }
  .btn-big { width: auto; }
  .header-call .call-label { display: inline; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-callbar { display: none; }
  .hero { padding: 4rem 0 4.2rem; }
  .hero h1 { font-size: 2.9rem; max-width: 44rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  h2 { font-size: 2rem; }
  .section { padding: 3.4rem 0; }
}
