/* ===== Home Services Starter — swap these tokens for your brand ===== */
:root {
  --brand: #c8102e;        /* primary brand color (red) */
  --brand-dark: #9e0b23;
  --accent: #e4002b;       /* CTA / highlight color */
  --ink: #141414;          /* main text */
  --muted: #5c5c5c;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --dark: #0d0d0d;         /* dark sections (black) */
  --radius: 10px;
  --max: 1200px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: .02em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--dark); color: #fff; }
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.section-head::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .2; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .1em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px;
  border-radius: var(--radius); font-weight: 700; text-transform: uppercase; font-size: .9rem; letter-spacing: .04em;
  border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.08); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: currentColor; }

/* Image placeholders — replace with your own photos */
.ph { background: linear-gradient(135deg, #d9d9d9, #a6a6a6); display: grid; place-items: center;
  color: #3a3a3a; font-size: .8rem; font-weight: 600; aspect-ratio: 4/3; border-radius: var(--radius); }

img.ph { width: 100%; object-fit: cover; }
.gallery img.ph, .hero img.ph { height: 100%; }

/* Announcement bar */
.announce { background: var(--bg-alt); text-align: center; font-size: .85rem; padding: 8px 16px; }
.announce a { color: var(--brand); font-weight: 700; margin-left: 6px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; }
.header-top { display: flex; justify-content: flex-end; gap: 24px; font-size: .8rem; padding-top: 8px; opacity: .85; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav > li > a { display: block; padding: 10px 14px; font-weight: 700; text-transform: uppercase; font-size: .85rem; }
.nav > li:hover > a { color: var(--accent); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; color: var(--ink);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 10px 0; display: none; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 18px; font-size: .9rem; }
.dropdown a:hover { background: var(--bg-alt); color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone { font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase; margin-bottom: 20px; }
.hero p { color: #c9d2dc; max-width: 46ch; margin-bottom: 28px; }
.hero .ph { aspect-ratio: auto; height: 100%; min-height: 420px; border-radius: 0; }
.zip-form { display: flex; max-width: 460px; border-radius: var(--radius); overflow: hidden; }
.zip-form input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; font-size: 1rem; }
.zip-form .btn { border-radius: 0; }
.hero-alt { margin-top: 18px; font-size: .9rem; color: #c9d2dc; }
.hero-alt a { color: var(--accent); font-weight: 700; }

/* Quick help tiles */
.quick { margin-top: -40px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-tile { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: 6px; border-top: 4px solid var(--brand); transition: .2s; }
.quick-tile:hover { transform: translateY(-4px); }
.quick-tile .icon { font-size: 1.6rem; }
.quick-tile strong { font-family: var(--font-head); }
.quick-tile small { color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.card .ph { border-radius: 0; }
.card-body { padding: 18px; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: .92rem; }
.center-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { color: var(--muted); margin: 16px 0 24px; }
.dark .split p { color: #c9d2dc; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature { text-align: center; }
.feature .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; }
.feature p { color: var(--muted); font-size: .92rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.gallery .ph { aspect-ratio: auto; min-height: 180px; }
.gallery .ph:first-child { grid-row: span 2; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.step h3 { margin-bottom: 8px; }
.step p { color: #c9d2dc; font-size: .93rem; }

/* Reviews */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.review { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.review cite { display: block; margin-top: 12px; font-style: normal; font-weight: 700; font-size: .9rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; color: var(--brand); }
.stat span { color: var(--muted); }

/* Offer band */
.offer { background: var(--brand); color: #fff; padding: 40px 0; }
.offer .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.offer h2 { text-transform: none; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta p { color: #c9d2dc; margin: 14px auto 28px; max-width: 52ch; }

/* Footer */
.footer { background: #0a1016; color: #b7c1cc; padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; margin-bottom: 14px; }
.footer li { list-style: none; margin-bottom: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; }
.footer-bottom nav { display: flex; gap: 18px; }

/* Sticky mobile bar */
.mobile-bar { display: none; }

/* Service page */
.page-hero { background: var(--dark); color: #fff; padding: 64px 0; }
.breadcrumb { font-size: .85rem; color: #9fb0c4; margin-bottom: 12px; }
.page-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.prose h2 { font-size: 1.6rem; text-transform: none; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 20px; }
.sidebar-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; position: sticky; top: 110px; }
.sidebar-box form { display: grid; gap: 10px; margin-top: 14px; }
.sidebar-box input, .sidebar-box select, .sidebar-box textarea { padding: 12px; border: 1px solid #d3dae2;
  border-radius: 8px; font: inherit; }
.faq details { border-bottom: 1px solid #e3e8ee; padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .nav, .header-top { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); padding: 12px 16px 20px; }
  .nav.open .dropdown { position: static; display: block; box-shadow: none; background: transparent; color: #c9d2dc; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .hero-grid, .split, .page-layout { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 0 80px; }
  .hero .ph { display: none; }
  .quick-grid, .cards, .features, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-auto-columns: 85%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .quick-grid, .cards, .features, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .ph:first-child { grid-column: span 2; grid-row: auto; }
  .zip-form { flex-direction: column; }
  .zip-form .btn { border-radius: 0 0 var(--radius) var(--radius); }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; }
  .mobile-bar a { padding: 16px; text-align: center; font-weight: 800; text-transform: uppercase; font-size: .85rem; }
  .mobile-bar a:first-child { background: var(--accent); color: #fff; }
  .mobile-bar a:last-child { background: #fff; color: var(--dark); }
  body { padding-bottom: 54px; }
}
