/* ==========================================================================
   Brentwood Air Duct Cleaning — Stylesheet
   ========================================================================== */

:root {
  --navy: #0b2a4a;
  --navy-dark: #071d34;
  --blue: #1273c7;
  --blue-light: #2a97e6;
  --sky: #e8f2fb;
  --teal: #12b3b3;
  --accent: #f5a623;
  --accent-dark: #e08e0b;
  --ink: #1a2733;
  --muted: #5c6b7a;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(11, 42, 74, 0.06);
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, 0.18);
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --head: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-light); }

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; color: var(--navy); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

section { padding: 78px 0; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(245, 166, 35, .35); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245, 166, 35, .45); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(18,115,199,.3); }
.btn-blue:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfe0f0;
  font-size: 14px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfe0f0; }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 20px; display: inline-flex; align-items: center; gap: 7px; }
.topbar-right { display: inline-flex; gap: 16px; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(18,115,199,.35);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text b { display: block; font-size: 19px; color: var(--navy); line-height: 1.1; font-weight: 800; }
.brand-text span { font-size: 12.5px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 800; color: var(--navy); font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.nav-phone:hover { color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 90px 0 96px;
  background:
    linear-gradient(120deg, rgba(7,29,52,.94) 0%, rgba(11,42,74,.86) 45%, rgba(18,115,199,.72) 100%),
    url("../images/hero.svg") center/cover no-repeat;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 15px; border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 19px; color: #dbe8f5; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #eaf2fb; }
.hero-trust svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* Hero form card */
.hero-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { font-size: 22px; margin-bottom: 6px; }
.hero-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card label { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 5px; }
.hero-card input, .hero-card select, .hero-card textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--bg-soft);
  transition: border .2s ease, box-shadow .2s ease;
}
.hero-card input:focus, .hero-card select:focus, .hero-card textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,115,199,.14); background: #fff;
}
.hero-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); color: #fff; padding: 26px 0; }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-stat b { display: block; font-size: 34px; color: var(--accent); font-weight: 800; line-height: 1; }
.trust-stat span { font-size: 14.5px; color: #cfe0f0; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 60px; height: 60px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--sky), #d3e8fa);
  display: grid; place-items: center; color: var(--blue);
}
.card-icon svg { width: 32px; height: 32px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.card .card-link { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.card ul { list-style: none; margin-bottom: 4px; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: var(--teal); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/12px no-repeat;
}

/* ---------- About / Why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.split-media img, .split-media .media-box {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
}
.media-box {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center; color: #fff; text-align: center; padding: 30px;
}
.split h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.split > div > p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.feature-list { list-style: none; margin: 24px 0 30px; }
.feature-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.feature-list .fi {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: var(--sky); color: var(--blue); display: grid; place-items: center;
}
.feature-list .fi svg { width: 22px; height: 22px; }
.feature-list b { display: block; color: var(--navy); font-size: 16.5px; }
.feature-list span { color: var(--muted); font-size: 15px; }

.badge-float {
  position: absolute; bottom: -24px; right: -18px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.badge-float .bf-num { font-size: 30px; font-weight: 800; color: var(--blue); }
.badge-float span { font-size: 14px; color: var(--muted); line-height: 1.3; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff;
  display: grid; place-items: center; font-size: 24px; font-weight: 800;
  box-shadow: 0 10px 22px rgba(18,115,199,.3);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Before/After / CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; text-align: center; border-radius: 0;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-band p { color: #dbe8f5; font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Testimonials ---------- */
.reviews { background: var(--bg-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review p { font-size: 16px; color: var(--ink); margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px;
}
.review-author b { display: block; color: var(--navy); font-size: 15.5px; }
.review-author span { font-size: 13.5px; color: var(--muted); }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.area-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.area-list span {
  background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 9px 18px;
  font-size: 15px; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: 7px;
}
.area-list span svg { width: 15px; height: 15px; color: var(--blue); }
.area-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.area-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q:hover { color: var(--blue); }
.faq-q .ico { flex-shrink: 0; width: 24px; height: 24px; transition: transform .3s ease; color: var(--blue); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .ci-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; display: grid; place-items: center;
}
.contact-info .ci-icon svg { width: 24px; height: 24px; }
.contact-info b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 3px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 15.5px; }
.contact-form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form-card > p { color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: var(--bg-soft); color: var(--ink);
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,115,199,.14); background: #fff;
}
.field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  display: none; background: #e7f7ee; border: 1px solid #9bdcb6; color: #14743f;
  padding: 16px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(120deg, rgba(7,29,52,.95), rgba(18,115,199,.8)), url("../images/hero.svg") center/cover no-repeat;
  color: #fff; padding: 66px 0; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.page-hero p { color: #dbe8f5; font-size: 18px; max-width: 640px; margin: 0 auto; }
.breadcrumb { margin-top: 16px; font-size: 14px; color: #bcd3ea; }
.breadcrumb a { color: #bcd3ea; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Service detail sections ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 20px; }
.svc-detail.rev .svc-media { order: 2; }
.svc-media .media-box { aspect-ratio: 4/3; }
.svc-detail h2 { font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 14px; }
.svc-detail p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.check-list { list-style: none; margin: 18px 0 24px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 11px; color: var(--ink); font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/13px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/13px no-repeat;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b8cadd; padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-grid h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text span { color: #8ba6c2; }
.footer-brand p { margin: 18px 0; font-size: 15px; color: #9db4cc; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #cfe0f0;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #b8cadd; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 15px; color: #b8cadd; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--blue-light); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: #b8cadd; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center;
  font-size: 14px; color: #8ba6c2;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Floating call button (mobile) ---------- */
.float-call {
  position: fixed; bottom: 20px; right: 20px; z-index: 90; display: none;
  background: var(--accent); color: #fff; width: 60px; height: 60px; border-radius: 50%;
  place-items: center; box-shadow: 0 10px 24px rgba(245,166,35,.5);
}
.float-call svg { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split, .area-grid, .contact-grid, .svc-detail { grid-template-columns: 1fr; gap: 34px; }
  .svc-detail.rev .svc-media { order: 0; }
  .cards, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .badge-float { right: 12px; }
}

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 18px 22px; gap: 6px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .trustbar .container { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .cards, .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row.two, .field.two { grid-template-columns: 1fr; }
  .topbar-left span:nth-child(2) { display: none; }
  .float-call { display: grid; }
  .hero { padding: 60px 0 70px; }
}

@media (max-width: 420px) {
  .topbar { font-size: 12.5px; }
  .steps { grid-template-columns: 1fr; }
}
