/* ============================================================
   Sparks Appliance Repair — shared site stylesheet
   Direction C — "The Diagnostic". Tokens:
   Navy #000435 · Charcoal #36454F · Khaki/Gold #C3B091
   Area tint #e4dbce · Off-white text #f2f0ea
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Space Grotesk', sans-serif; color: #1c1c1c; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: 6vw; padding-right: 6vw; }

a:focus-visible, button:focus-visible { outline: 2px solid #C3B091; outline-offset: 3px; }

/* ---------- SITE HEADER (every page) ---------- */
.hero-section { background: #000435; color: #f2f0ea; }
nav.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; flex-wrap: wrap; gap: 14px;
}
nav.top .brand { display: flex; align-items: center; gap: 12px; }
nav.top .brand img { height: 42px; width: auto; }
nav.top .brand .wordmark { font-weight: 700; font-size: 16px; letter-spacing: 0.4px; line-height: 1.25; }
nav.top .links { display: flex; align-items: center; flex-wrap: wrap; row-gap: 10px; }
nav.top .links a { font-size: 14.5px; color: #C3B091; margin-left: 30px; }
nav.top .links a:first-child { margin-left: 0; }
nav.top .call-pill {
  background: #C3B091; font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 3px; margin-left: 30px;
}
nav.top .links a.call-pill { color: #000435; }
nav.top .links a.current { color: #f2f0ea; border-bottom: 1px solid #C3B091; padding-bottom: 2px; }

/* ---------- HOME HERO ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding: 48px 0 96px; }
.hero .eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 1.5px; color: #C3B091; margin-bottom: 18px; }
.hero h1 { font-weight: 600; font-size: 50px; line-height: 1.14; letter-spacing: -0.5px; }
.hero h1 .accent { color: #C3B091; }
.hero .sub { font-size: 17.5px; line-height: 1.65; margin-top: 24px; max-width: 46ch; color: #b9c3cf; }
.hero .cta-row { display: flex; align-items: center; margin-top: 34px; flex-wrap: wrap; row-gap: 10px; }
.hero .call-btn, a.call-btn {
  background: #C3B091; color: #000435; font-weight: 600; font-size: 15.5px;
  padding: 15px 30px; border-radius: 3px; display: inline-block;
}
.hero .cta-note { font-size: 13.5px; color: #8b96a3; margin-left: 20px; }

.panel {
  background: rgba(195,176,145,0.06); border: 1px solid rgba(195,176,145,0.25);
  padding: 28px;
}
.panel .panel-label { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 1px; color: #8b96a3; margin-bottom: 16px; }
.panel .status-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid rgba(195,176,145,0.12);
  font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; color: #d8dee5;
}
.panel .status-row:last-child { border-bottom: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.ok { background: #7fbf6a; }
.dot.warn { background: #C3B091; }

/* ---------- INNER PAGE HERO (services / cities / policy pages) ---------- */
.inner-hero { padding: 56px 0 64px; }
.inner-hero .eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 1.5px; color: #C3B091; margin-bottom: 16px; }
.inner-hero h1 { font-weight: 600; font-size: 40px; line-height: 1.18; letter-spacing: -0.3px; max-width: 22ch; }
.inner-hero .sub { font-size: 16.5px; line-height: 1.65; margin-top: 20px; max-width: 60ch; color: #b9c3cf; }
.inner-hero .cta-row { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.inner-hero .secondary-link { font-size: 14.5px; color: #C3B091; border-bottom: 1px solid rgba(195,176,145,0.4); padding-bottom: 2px; }

/* ---------- SERVICES GRID (home) ---------- */
.services-section { background: #36454F; color: #f2f0ea; padding: 84px 0; }
.section-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 1.5px; color: #C3B091; margin-bottom: 12px; }
.section-title { font-weight: 600; font-size: 32px; letter-spacing: -0.3px; max-width: 20ch; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.service-card {
  background: rgba(195,176,145,0.05); border: 1px solid rgba(195,176,145,0.18);
  padding: 26px 22px; display: block; transition: border-color .15s ease, background .15s ease;
}
.service-card:hover { border-color: rgba(195,176,145,0.45); background: rgba(195,176,145,0.09); }
.service-card .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #C3B091; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; line-height: 1.55; color: #c3cbd3; }

/* ---------- WHY / QUOTE ---------- */
.why-section { background: #000435; color: #f2f0ea; padding: 90px 0; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.why-list { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; }
.why-item .mark { font-family: 'IBM Plex Mono', monospace; color: #C3B091; font-size: 14px; padding-top: 2px; margin-right: 16px; }
.why-item h4 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; line-height: 1.6; color: #b9c3cf; }

.quote-panel {
  background: rgba(195,176,145,0.06); border: 1px solid rgba(195,176,145,0.25);
  padding: 40px 36px;
}
.quote-panel .q { font-size: 24px; line-height: 1.4; font-weight: 500; }
.quote-panel .q .accent { color: #C3B091; }
.quote-panel .attribution { margin-top: 24px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #8b96a3; }

/* ---------- BRANDS ---------- */
.brands-section { background: #f6f1e6; color: #000435; padding: 64px 0; }
.brands-section .section-eyebrow { color: #6b5d42; }
.brands-section .section-title { color: #000435; }
.brands-list { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.brand-chip { background: #fff; border: 1px solid rgba(0,4,53,0.14); font-size: 14px; padding: 9px 18px; border-radius: 2px; color: #3a3527; }
.brands-note { font-size: 14px; color: #6b5d42; margin-top: 22px; max-width: 60ch; line-height: 1.6; }

/* ---------- REQUEST SERVICE ---------- */
.request-section { background: #36454F; color: #f2f0ea; padding: 84px 0; text-align: center; }
.request-section .section-eyebrow { color: #C3B091; }
.request-section .section-title { max-width: 26ch; margin: 0 auto; }
.request-sub { font-size: 16px; color: #c3cbd3; margin: 18px auto 0; max-width: 46ch; }
.request-btn {
  display: inline-block; margin-top: 32px; background: #C3B091; color: #000435;
  font-weight: 600; font-size: 16px; padding: 16px 34px; border-radius: 3px;
}

/* ---------- SERVICE AREA ---------- */
.area-section { background: #e4dbce; color: #000435; padding: 80px 0; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.area-section .section-eyebrow { color: #6b5d42; }
.area-section .section-title { color: #000435; }
.area-copy { font-size: 15.5px; line-height: 1.7; color: #3a3527; margin-top: 20px; max-width: 44ch; }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-chip {
  background: #f6f1e6; border: 1px solid rgba(0,4,53,0.15);
  font-size: 13.5px; padding: 8px 16px; border-radius: 2px;
}
a.area-chip:hover { border-color: rgba(0,4,53,0.4); }
.radius-panel {
  background: #f6f1e6; border: 1px solid rgba(0,4,53,0.15); padding: 30px;
}
.radius-panel .big { font-family: 'IBM Plex Mono', monospace; font-size: 44px; font-weight: 600; color: #000435; }
.radius-panel .label { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 1px; color: #6b5d42; margin-top: 4px; }
.radius-panel .note { font-size: 14px; line-height: 1.6; color: #3a3527; margin-top: 20px; }

/* ---------- REVIEWS ---------- */
.reviews-section { background: #000435; color: #f2f0ea; padding: 80px 0; }
.review-card { background: rgba(195,176,145,0.06); border: 1px solid rgba(195,176,145,0.25); padding: 30px; margin-top: 40px; }
.review-card .stars { color: #C3B091; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-links { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.review-links a { font-size: 14px; color: #C3B091; border-bottom: 1px solid rgba(195,176,145,0.4); padding-bottom: 2px; }

/* ---------- CONTENT PAGES (FAQ, About, Contact, Policies, Troubleshooting) ---------- */
.content-section { background: #f6f1e6; color: #262218; padding: 72px 0 90px; }
.content-body { max-width: 72ch; }
.content-body h2 { font-size: 24px; font-weight: 600; color: #000435; margin: 40px 0 14px; }
.content-body h2:first-child { margin-top: 0; }
.content-body p { font-size: 16px; line-height: 1.7; color: #3a3527; margin-bottom: 14px; }
.content-body ul { margin: 0 0 14px 22px; }
.content-body li { font-size: 16px; line-height: 1.7; color: #3a3527; margin-bottom: 6px; }
.content-body a { color: #000435; border-bottom: 1px solid rgba(0,4,53,0.35); }

.list-services-card { background: #fff; border: 1px solid rgba(0,4,53,0.12); padding: 34px; margin-top: 38px; }
.list-services-card h2 { margin-top: 0; }
.list-services-card ul { margin-left: 20px; }
.list-services-card li { font-size: 15.5px; line-height: 1.65; color: #3a3527; margin-bottom: 10px; }
.list-services-card li b { color: #000435; }

.faq-item { border-bottom: 1px solid rgba(0,4,53,0.14); padding: 24px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item h3 { font-size: 17px; font-weight: 600; color: #000435; margin-bottom: 8px; }
.faq-item p { font-size: 15.5px; line-height: 1.65; color: #3a3527; }

/* ---------- OVERVIEW GRIDS (Services index / Service Areas index) ---------- */
.overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.overview-card {
  background: #fff; border: 1px solid rgba(0,4,53,0.12); padding: 28px;
  display: block; transition: border-color .15s ease;
}
.overview-card:hover { border-color: rgba(0,4,53,0.35); }
.overview-card h3 { font-size: 18px; font-weight: 600; color: #000435; margin-bottom: 8px; }
.overview-card p { font-size: 14.5px; line-height: 1.55; color: #3a3527; }

/* ---------- CONTACT / FOOTER ---------- */
.contact-section { background: #000435; color: #f2f0ea; padding: 90px 0 40px; }
.contact-box {
  background: rgba(195,176,145,0.06); border: 1px solid rgba(195,176,145,0.25);
  padding: 48px; text-align: center;
}
.contact-box h2 { font-size: 34px; font-weight: 600; max-width: 20ch; margin: 0 auto; }
.contact-box .sub { font-size: 15.5px; color: #b9c3cf; margin-top: 14px; }
.contact-row { display: flex; justify-content: center; align-items: center; margin-top: 32px; flex-wrap: wrap; row-gap: 14px; }
.contact-row .or { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #8b96a3; margin: 0 20px; }
.contact-row .email-link { font-size: 14.5px; color: #C3B091; border-bottom: 1px solid rgba(195,176,145,0.4); padding-bottom: 2px; }
.contact-box .hours { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.4px; color: #8b96a3; margin-top: 26px; }

footer.site-footer { background: #000435; color: #f2f0ea; padding: 0 0 8px; }
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding: 20px 0 44px; border-top: 1px solid rgba(195,176,145,0.15);
}
footer.site-footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
footer.site-footer .footer-brand img { height: 34px; width: auto; }
footer.site-footer h5 { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 1px; color: #8b96a3; margin-bottom: 14px; }
footer.site-footer p, footer.site-footer li { font-size: 13.5px; line-height: 1.8; color: #b9c3cf; list-style: none; }
footer.site-footer a { color: #b9c3cf; }
footer.site-footer a:hover { color: #C3B091; }
footer.site-footer .tagline { font-style: italic; color: #8b96a3; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #6b7480; flex-wrap: wrap; gap: 8px; }

/* ---------- PHOTO GALLERY ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px;
}
.gallery-item {
  background: #fff; border: 1px solid rgba(0,4,53,0.12); overflow: hidden;
}
.gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; }
.gallery-item .caption { padding: 14px 16px; font-size: 13.5px; color: #3a3527; line-height: 1.5; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item img { height: 200px; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- MAP EMBED ---------- */
.map-wrap {
  position: relative; width: 100%; padding-bottom: 44%; height: 0;
  overflow: hidden; border: 1px solid rgba(0,4,53,0.15); margin-top: 32px;
}
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .map-wrap { padding-bottom: 70%; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
  nav.top { flex-wrap: wrap; gap: 14px; padding: 20px 0; }
  nav.top .links { flex-wrap: wrap; row-gap: 10px; }
  nav.top .links a { font-size: 13.5px; margin-left: 20px; }
  nav.top .links a.call-pill { margin-left: 20px; }

  .hero { grid-template-columns: 1fr; padding: 32px 0 56px; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero .sub { font-size: 16px; }
  .hero .cta-row { flex-wrap: wrap; row-gap: 10px; }
  .hero .cta-note { margin-left: 0; }

  .inner-hero h1 { font-size: 30px; }

  .services-section, .why-section, .request-section, .area-section, .contact-section,
  .brands-section, .reviews-section, .content-section { padding: 52px 0; }
  .section-title { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .overview-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .quote-panel { padding: 30px 26px; }
  .quote-panel .q { font-size: 20px; }

  .area-grid { grid-template-columns: 1fr; gap: 32px; }
  .radius-panel { padding: 24px; }

  .contact-box { padding: 34px 22px; }
  .contact-box h2 { font-size: 26px; }
  .contact-row { flex-direction: column; gap: 14px; }
  .contact-row .or { margin: 0; }

  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  nav.top .brand .wordmark { font-size: 14px; }
}
