/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  color-scheme: light;
  --brand: #b91c1c;
  --brand-dark: #7f1d1d;
  --ink: #1a1a1a;
  --muted: #555;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --border: #e5e5e5;
  --radius: 8px;
  --green: #15803d;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--muted); margin-bottom: 2rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.main-nav a.active { color: var(--brand); }
.nav-call {
  background: var(--brand); color: #fff !important; padding: 8px 16px;
  border-radius: var(--radius); font-weight: 600;
}
.nav-call:hover { background: var(--brand-dark); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: .3s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 1rem; }
.hero .lead { font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; opacity: 0.95; }

/* Inner page banner */
.page-banner {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.page-banner h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.page-banner p { opacity: 0.9; font-size: 1.05rem; }

/* ===== Call buttons ===== */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: .2s;
}
.btn-call {
  background: #fff; color: var(--brand); font-size: 1.2rem; padding: 16px 36px;
  white-space: normal; line-height: 1.4;
}
.btn-call:hover { background: #f0f0f0; text-decoration: none; }
.btn-large { font-size: 1.5rem; padding: 20px 48px; }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* ===== Services grid ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.service-card h3 { color: var(--brand); }
.service-card a { font-weight: 600; font-size: 0.9rem; }

/* Service detail (services page) */
.service-detail {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-icon { font-size: 2rem; flex-shrink: 0; width: 56px; text-align: center; }
.service-detail-body h3 { color: var(--brand); margin-bottom: 0.5rem; }
.service-detail-body p { margin-bottom: 0.75rem; }
.service-detail-body ul { color: var(--muted); padding-left: 20px; }
.service-detail-body li { margin-bottom: 4px; }

/* ===== About ===== */
.about-inner { max-width: 760px; }
.about-list { list-style: none; margin-top: 1.5rem; display: grid; gap: 8px; }
.about-list li { padding-left: 24px; position: relative; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

/* ===== Client info: address, hours, map ===== */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px; max-width: 800px;
}
.info-block h3 { margin-bottom: 0.75rem; }
.info-block address { font-style: normal; line-height: 1.8; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 500; }

.map-container {
  margin-top: 32px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ===== Reviews ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { margin-bottom: 12px; font-style: italic; color: var(--muted); }
.review-author { font-weight: 600; font-size: 0.9rem; }

/* ===== DIY Videos ===== */
.diy-category-title {
  font-size: 1.5rem; margin-top: 48px; margin-bottom: 20px;
  padding-bottom: 8px; border-bottom: 2px solid var(--brand);
}
.diy-category-title:first-of-type { margin-top: 0; }

.diy-video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.diy-video-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.diy-video-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }

.diy-video-thumb {
  display: block; position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg-alt);
}
.diy-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.diy-play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 2.5rem; color: #fff; background: rgba(0,0,0,.6);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.diy-video-thumb:hover .diy-play-overlay { background: var(--brand); }

.diy-video-body { padding: 20px; }
.diy-video-body h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.diy-video-body p { font-size: 0.9rem; color: var(--muted); }

/* ===== Cost Estimator ===== */
.estimator { max-width: 950px; margin: 0 auto; }
.estimator-step { margin-bottom: 36px; }
.estimator-step h3 { margin-bottom: 16px; }

.service-select-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.service-option {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 16px; cursor: pointer; transition: .2s;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-option:hover { border-color: var(--brand); }
.service-option.selected { border-color: var(--brand); background: #fef2f2; }
.service-option .icon { font-size: 1.5rem; display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }
.service-option .name { font-weight: 600; font-size: 0.9rem; margin-right: auto; }

.vehicle-select { display: flex; flex-wrap: wrap; gap: 12px; }
.vehicle-option {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 12px 20px; cursor: pointer; transition: .2s; font-weight: 600;
  font-size: 0.95rem; background: #fff;
}
.vehicle-option:hover { border-color: var(--brand); }
.vehicle-option.selected { border-color: var(--brand); background: #fef2f2; color: var(--brand); }

.estimate-result {
  text-align: center; padding: 32px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--border);
}
.estimate-result .label { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.estimate-range { font-size: 2.2rem; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.estimate-bar {
  height: 12px; border-radius: 6px; background: linear-gradient(to right, #fbbf24, var(--brand));
  margin: 0 auto 16px; max-width: 400px;
}
.estimate-note { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.estimate-result .btn-call { background: var(--brand); color: #fff; }
.estimate-result .btn-call:hover { background: var(--brand-dark); }

.estimator-placeholder {
  text-align: center; padding: 40px; color: var(--muted);
  border: 2px dashed var(--border); border-radius: var(--radius);
}

/* ===== Contact ===== */
.contact-center { text-align: center; }
.contact-center .section-sub { margin-bottom: 1.5rem; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #ccc; padding: 24px 0; text-align: center; font-size: 0.9rem; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: #ccc; margin: 0 8px; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }

/* ===== Mobile ===== */
@media (max-width: 700px) {
  .hero h1, .page-banner h1 { font-size: 2rem; }
  .btn-large { font-size: 1.25rem; padding: 16px 32px; }
  .estimate-range { font-size: 1.8rem; }
  .service-detail { flex-direction: column; gap: 12px; }
  .service-detail-icon { font-size: 1.6rem; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 14px 20px; border-top: 1px solid var(--border); }
  .nav-call { margin: 12px 20px; text-align: center; }
}

/* ===== HIDE CLIENT-SPECIFIC SECTIONS (before you have a client) =====
   Uncomment any line to hide that section. The page reflows automatically.

#client-address { display: none; }
#client-hours { display: none; }
#client-map { display: none; }
#client-reviews { display: none; }
*/
