/* ============================================
   McGuirk's Appliance Parts & Service — CSS
   Mobile-first, full-bleed hero, no cards default
   ============================================ */

:root {
  --navy: #1a2744;
  --navy-dark: #0f1a30;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --amber: #f59e0b;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --radius: 8px;
  --max-w: 1100px;
  --section-pad: 4rem 1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-narrow { max-width: 720px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--slate-500);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--navy); }
.cta-phone {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.cta-phone:hover { color: var(--navy); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: background 0.15s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,18,40,0.85) 0%, rgba(10,18,40,0.35) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  width: 100%;
}
.hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* ── PROOF BAR ── */
.proof-bar {
  background: var(--navy);
  color: var(--white);
}
.proof-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.proof-item { color: rgba(255,255,255,0.85); }
.proof-item strong { color: var(--white); }
.proof-sep { color: rgba(255,255,255,0.4); }

/* ── SECTIONS ── */
.section { padding: var(--section-pad); }
.section-alt { background: var(--slate-100); }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--slate-500);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 1.75rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--blue-light);
}
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p { font-size: 0.9375rem; color: var(--slate-500); }

/* ── PROOF SPLIT ── */
.proof-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.proof-text p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  color: var(--slate-700);
}
.proof-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.proof-gallery img {
  border-radius: var(--radius);
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ── REVIEWS ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.review-stars {
  font-size: 1.125rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.review-card footer {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-style: normal;
}

/* ── LOCATION SPLIT ── */
.location-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.9375rem;
  align-items: baseline;
}
.contact-row:first-child { border-top: 1px solid var(--slate-200); }
.contact-row strong { color: var(--navy); font-weight: 600; }
.contact-row a { color: var(--blue); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }
.map-embed iframe {
  border-radius: var(--radius);
  width: 100%;
  height: 350px;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--slate-200);
}
.faq-item:first-child { border-top: 1px solid var(--slate-200); }
.faq-item summary {
  padding: 1.125rem 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--blue); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 0 1.125rem;
  font-size: 0.9375rem;
  color: var(--slate-500);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 1.25rem 6rem;
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.9rem;
}
.footer-brand strong { color: var(--white); font-size: 1rem; }
.footer-brand a { color: var(--blue-light); text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── CTA BANNER ── */
.cta-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cta-banner p { color: var(--white); font-weight: 600; font-size: 0.9375rem; }
.cta-banner .btn-primary { padding: 0.625rem 1.5rem; font-size: 0.9375rem; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-top: 1px solid var(--slate-200); padding: 0.5rem 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--slate-200); }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .proof-inner { font-size: 0.8125rem; gap: 0.375rem; }
  .proof-sep { display: none; }
  .proof-inner { display: flex; gap: 0.625rem; }
  .proof-item::before { content: '·'; margin-right: 0.375rem; color: rgba(255,255,255,0.3); }
  .proof-item:first-child::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { min-height: 70vh; }
  .hero-content { padding: 3rem 1.25rem 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 100px 1fr; }
  .proof-gallery { grid-template-columns: 1fr; }
}

/* mobile responsiveness guardrails */
