/* Hoover Crawl Space Pros — "Subterranean" theme v1
   Deep slate + copper. Distinct from Owasso's Pine & Brass.
   Mobile-first, premium, engaging. */

:root {
  --slate: #1b222c;
  --slate-deep: #11161d;
  --slate-soft: #2a3442;
  --copper: #c47a3d;
  --copper-glow: #e09a5a;
  --copper-deep: #9a5e2c;
  --stone: #f5f1ea;
  --stone-dark: #e9e2d5;
  --ink: #232a34;
  --ink-soft: #5a6572;
  --line: #e0d9cb;
  --ok: #2e7d4f;
  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(17,22,29,.14);
}

/* Branded scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--stone-dark); border-radius: 8px; }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 8px; border: 2px solid var(--stone-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--copper-deep); }
* { scrollbar-width: thin; scrollbar-color: var(--copper) var(--stone-dark); }

.cs-options::-webkit-scrollbar { width: 8px; }
.cs-options::-webkit-scrollbar-track { background: #f5f1ea; }
.cs-options::-webkit-scrollbar-thumb { background: var(--copper); border: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.2;
  color: var(--slate);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin: 1.8rem 0 .7rem; }
p { margin: 0 0 1.1rem; max-width: 70ch; }
a { color: var(--copper-deep); }
img { max-width: 100%; height: auto; border-radius: var(--radius); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--dark { background: var(--slate); color: #d8dee6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b9c2cd; }

/* Header */
.site-header {
  background: var(--slate-deep);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(196,122,61,.25);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.15; }
.logo-text small { display: block; font-size: .68rem; font-weight: 600; color: var(--copper-glow); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: #d8dee6; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(196,122,61,.15); color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown-btn { background: none; border: none; color: #d8dee6; text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-family: inherit; }
.nav-dropdown-btn:hover { background: rgba(196,122,61,.15); color: #fff; }
.nav-dropdown-btn svg { transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown.open .dropdown-menu { display: block; }
.nav-dropdown > a { display: flex; align-items: center; gap: 6px; }
.nav-dropdown > a::after { content: "▾"; font-size: .75rem; color: var(--copper-glow); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--slate-deep); border: 1px solid rgba(196,122,61,.3);
  border-radius: 12px; padding: 8px; box-shadow: var(--shadow); z-index: 200;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(196,122,61,.18); }
.header-cta {
  background: var(--copper); color: #fff !important; font-weight: 700;
  padding: 10px 20px !important; border-radius: 99px !important;
}
.header-cta:hover { background: var(--copper-glow) !important; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--slate-deep) 0%, var(--slate) 60%, var(--slate-soft) 100%);
  color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 20%, rgba(196,122,61,.14), transparent);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; background: rgba(196,122,61,.18); color: var(--copper-glow);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 99px; margin-bottom: 20px;
  border: 1px solid rgba(196,122,61,.35);
}
.hero h1 { color: #fff; margin-bottom: 8px; max-width: 16ch; }
.hero-sub { font-family: "Sora", sans-serif; font-size: 1.35rem; font-weight: 600; color: var(--copper-glow); margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; color: #c3ccd7; max-width: 38ch; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 32px; border-radius: 99px; font-size: 1.02rem;
  transition: transform .15s, box-shadow .15s;
}
.btn--copper { background: var(--copper); color: #fff; box-shadow: 0 8px 24px rgba(196,122,61,.35); }
.btn--copper:hover { background: var(--copper-glow); transform: translateY(-2px); }
.btn--ghost { border: 2px solid rgba(255,255,255,.3); color: #fff; }
.btn--ghost:hover { border-color: var(--copper-glow); color: var(--copper-glow); }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 8px; color: #9aa6b4; font-size: .9rem; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; stroke: var(--copper-glow); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.hero-content { padding: 64px 48px 64px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-image { position: relative; min-height: 480px; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; border: none; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--slate-deep) 0%, transparent 25%); pointer-events: none; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 24px; order: 1; }
  .hero-image { order: 2; min-height: 0; position: static; }
  .hero-image img { position: static; height: auto; border-radius: 12px; margin: 0 24px 32px; width: calc(100% - 48px); }
  .hero-image::after { display: none; }
}

/* Light page hero */
.page-hero { background: var(--stone); padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .copper-rule { width: 72px; height: 4px; background: linear-gradient(90deg, var(--copper), var(--copper-glow)); border-radius: 2px; margin-bottom: 18px; }
.page-hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 44ch; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 20px; }
.crumbs a { color: var(--copper-deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Engaging components */
.quiz {
  background: var(--slate); color: #fff; border-radius: 20px;
  padding: 40px; margin: 48px 0; box-shadow: var(--shadow);
  border-top: 4px solid var(--copper);
}
.quiz h3 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.quiz-question { font-size: 1.15rem; font-weight: 600; margin: 24px 0 16px; color: #fff; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button {
  text-align: left; background: rgba(255,255,255,.07); color: #e6ebf1;
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 14px 18px; font-size: 1rem; cursor: pointer; transition: all .15s;
}
.quiz-options button:hover { background: rgba(196,122,61,.25); border-color: var(--copper); }
.quiz-result { display: none; margin-top: 20px; padding: 20px; background: rgba(196,122,61,.14); border-radius: 12px; border: 1px solid var(--copper); }
.quiz-result.show { display: block; }
.quiz-progress { font-size: .85rem; color: #9aa6b4; margin-bottom: 8px; }

.calc {
  background: #fff; border-radius: 20px; padding: 40px; margin: 48px 0;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.calc h3 { margin-top: 0; }
.calc label { display: block; font-weight: 600; margin: 18px 0 8px; }
.calc input[type="range"] { width: 100%; accent-color: var(--copper); }
.calc select, .calc input[type="number"] {
  width: 100%; padding: 12px 16px; border: 2px solid var(--line);
  border-radius: 10px; font-size: 1rem; background: var(--stone);
}
.calc-output {
  margin-top: 24px; padding: 24px; background: var(--slate); color: #fff;
  border-radius: 14px; text-align: center;
}
.calc-output .number { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--copper-glow); }
.calc-output .note { font-size: .85rem; color: #9aa6b4; margin-top: 8px; }

.before-after { margin: 48px 0; }
.ba-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; }
.ba-wrap img { display: block; width: 100%; border-radius: 0; pointer-events: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.ba-before { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; border-right: 3px solid var(--copper); }
.ba-before img { display: block; height: 100%; width: auto; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; width: 4px; background: var(--copper);
  cursor: ew-resize; z-index: 2;
}
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--copper); color: #fff; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.ba-label { position: absolute; top: 16px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: rgba(17,22,29,.75); color: #fff; padding: 6px 14px; border-radius: 99px; z-index: 1; }
.ba-label--before { left: 16px; } .ba-label--after { right: 16px; }

.process { counter-reset: step; margin: 40px 0; }
.process-step {
  display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.process-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: "Sora", sans-serif; font-size: 2.2rem; font-weight: 800;
  color: var(--copper); flex: none; width: 72px; line-height: 1;
}
.process-step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.process-step p { margin: 0; color: var(--ink-soft); }

.cost-table { width: 100%; border-collapse: collapse; margin: 28px 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .95rem; }
.cost-table th { background: var(--slate); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; }
.cost-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.cost-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td { background: #faf8f3; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px -20px; padding: 0 20px; }
.table-scroll .cost-table { margin: 0; min-width: 560px; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--copper); flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 0 22px; color: var(--ink-soft); }
.faq-item .faq-a p:first-child { margin-top: 0; }

.answer-first { background: #fff; border-left: 4px solid var(--copper); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 24px 0; box-shadow: 0 4px 16px rgba(17,22,29,.06); }
.answer-first p { margin: 0; }

.check-list { list-style: none; margin: 20px 0; }
.check-list li { padding: 10px 0 10px 36px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; background: var(--copper); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }

/* Inline SVG icons (replacing emojis) */
.h-icon { width: 1.3em; height: 1.3em; vertical-align: -0.25em; margin-right: 0.3em; }
.dot { display: inline-block; width: 0.85em; height: 0.85em; border-radius: 50%; margin-right: 0.35em; vertical-align: baseline; }
.dot--red { background: #d43d2a; }
.dot--yellow { background: #e0a81e; }
.dot--green { background: #2e9e5b; }

.cta-banner {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-soft) 100%);
  border-radius: 20px; padding: 48px; text-align: center; margin: 56px 0;
  border-top: 4px solid var(--copper); box-shadow: var(--shadow);
}
.cta-banner h3 { color: #fff; font-size: 1.6rem; margin: 0 0 12px; }
.cta-banner p { color: #b9c2cd; max-width: 46ch; margin: 0 auto 24px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 40px 0; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 24px rgba(17,22,29,.08); text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s; border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { border-radius: 0; aspect-ratio: 16/9; object-fit: cover; width: 100%; height: auto; display: block; }
.service-card .card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.service-card h3 a { color: var(--slate); text-decoration: none; }
.service-card p { font-size: .93rem; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.service-card .card-link { color: var(--copper-deep); font-weight: 700; font-size: .92rem; }

.stat-strip { background: var(--slate-deep); border-top: 3px solid var(--copper); border-bottom: 3px solid var(--copper); }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.stat-strip .stat-num { font-family: "Sora", sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--copper-glow); }
.stat-strip .stat-label { color: #9aa6b4; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* Quote form */
.quote-form { background: #fff; border-radius: 20px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.quote-form h3 { margin-top: 0; }
.quote-form label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: var(--stone);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--copper); }
.quote-form button { width: 100%; margin-top: 20px; }
.quote-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin: 56px 0; }

/* Custom dropdown — replaces native select for theme matching */
.custom-select { position: relative; width: 100%; }
.custom-select select { display: none; }
.cs-trigger {
  width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: var(--stone); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  transition: border-color .15s; text-align: left;
}
.cs-trigger:hover { border-color: var(--copper); }
.cs-trigger svg { width: 18px; height: 18px; stroke: var(--copper-deep); flex: none; transition: transform .2s; }
.custom-select.open .cs-trigger { border-color: var(--copper); }
.custom-select.open .cs-trigger svg { transform: rotate(180deg); }
.cs-options {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 2px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); z-index: 50; overflow: hidden;
  max-height: 260px; overflow-y: auto;
}
.custom-select.open .cs-options { display: block; }
.cs-option {
  padding: 13px 16px; cursor: pointer; font-size: .97rem; color: var(--ink);
  border-bottom: 1px solid var(--line); transition: background .12s;
}
.cs-option:last-child { border-bottom: none; }
.cs-option:hover { background: rgba(196,122,61,.1); }
.cs-option.selected { background: var(--slate); color: #fff; font-weight: 600; }
.cs-option.selected:hover { background: var(--slate-soft); }

/* Footer */
.site-footer { background: var(--slate-deep); color: #9aa6b4; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 18px; }
.site-footer a { color: #9aa6b4; text-decoration: none; font-size: .93rem; }
.site-footer a:hover { color: var(--copper-glow); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Sticky mobile call bar */
.sticky-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--slate-deep); padding: 12px 16px; border-top: 2px solid var(--copper);
}
.sticky-call a {
  display: block; text-align: center; background: var(--copper); color: #fff;
  font-weight: 700; text-decoration: none; padding: 14px; border-radius: 12px;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Mobile nav base — hidden on desktop */
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav {
    display: none; background: var(--slate-deep);
    padding: 8px 20px 20px; max-height: 70vh; overflow-y: auto;
    border-top: 1px solid rgba(196,122,61,.25);
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block; color: #d8dee6; text-decoration: none;
    padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08);
    font-weight: 600; font-size: .95rem;
  }
  .mobile-nav a:hover { color: var(--copper-glow); }
  .mobile-nav-head {
    color: var(--copper-glow); font-size: .75rem; text-transform: uppercase;
    letter-spacing: .1em; font-weight: 700; padding: 16px 0 4px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mobile-nav-call {
    background: var(--copper); color: #fff !important; text-align: center;
    border-radius: 12px; margin-top: 16px; font-weight: 700 !important;
    border-top: none !important;
  }
  .quote-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-call { display: block; }
  body { padding-bottom: 76px; }
  .quiz, .calc { padding: 28px 22px; }
  .cta-banner { padding: 36px 24px; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Feature rows — Owasso pattern: text beside image */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 48px 0; }
.feature-row.flip .feature-text { order: 2; }
.feature-row.flip .feature-media { order: 1; }
.feature-media img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/3; }
.feature-text p { margin: 0; }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; gap: 24px; margin: 32px 0; }
}

/* Page hero with image — text left, image right */
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero-img img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
}
