/* Sacramento Rat Control — local-business design adapted from the client-supplied
   Western Exterminator reference: navy top bars + hero scrim, blue tap-to-call CTA,
   green brand accent, yellow accent lines on feature cards, light-gray section bands.
   Rat-only, connector-safe. */

:root {
  --navy-900: #0b1d2c;
  --navy-800: #10293b;
  --navy-700: #16344b;
  --navy-600: #1d4666;
  --blue-600: #1f74d6;
  --blue-700: #175db0;
  --blue-800: #124a8c;
  --green-600: #4a9d3f;
  --green-700: #3d8434;
  --green-800: #2f6a29;
  --gold: #f5b301;
  --gold-600: #dc9f00;
  --ink: #14202b;
  --body: #3a4650;
  --muted: #64717c;
  --line: #e2e8ee;
  --gray-50: #f4f7fa;
  --gray-100: #eaf0f5;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(11, 29, 44, 0.14);
  --shadow-sm: 0 4px 14px rgba(11, 29, 44, 0.09);
  --radius: 12px;
  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body: 'Source Sans 3', system-ui, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.05rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.26rem; }
p { margin: 0 0 1.1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 66px 0; }
.section--tight { padding: 46px 0; }
.section--gray { background: var(--gray-50); }
.eyebrow { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--blue-600); margin: 0 0 .6rem; }
.lead { font-size: 1.16rem; color: var(--body); }
.center { text-align: center; }
.measure { max-width: 760px; }
.measure.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; border-radius: 8px; padding: .82rem 1.5rem; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(31, 116, 214, .32); }
.btn-blue:hover { background: var(--blue-700); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(74, 157, 63, .28); }
.btn-green:hover { background: var(--green-700); }
.btn-gold { background: var(--gold); color: #22160a; box-shadow: 0 8px 20px rgba(245, 179, 1, .34); }
.btn-gold:hover { background: var(--gold-600); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { font-size: 1.14rem; padding: 1rem 1.7rem; }
.btn-block { width: 100%; justify-content: center; }

/* Top announcement bar */
.topbar { background: var(--navy-800); color: #dbe7f2; font-size: .93rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.topbar strong { color: #fff; }
.topbar a.tb-btn { background: var(--blue-600); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .86rem; padding: .4rem .9rem; border-radius: 6px; white-space: nowrap; }
.topbar a.tb-btn:hover { background: var(--blue-700); text-decoration: none; }

/* Contact strip (Call / Text / Email) */
.contact-strip { background: var(--navy-700); color: #cfe0ef; border-top: 1px solid rgba(255,255,255,.06); }
.contact-strip .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 10px 20px; }
.contact-strip .ci { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; }
.contact-strip .ci svg { flex: none; color: var(--gold); }
.contact-strip .ci small { display: block; font-size: .72rem; color: #93aec6; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; }
.contact-strip .ci a, .contact-strip .ci strong { color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.16rem; line-height: 1.05; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 46px; height: 46px; flex: none; }
.brand small { display: block; font-size: .72rem; font-weight: 600; color: var(--green-700); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--f-display); font-weight: 600; font-size: .98rem; color: var(--ink); }
.nav a:hover { color: var(--blue-700); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--f-display); font-weight: 800; color: var(--blue-700); font-size: 1.18rem; white-space: nowrap; }
.header-phone small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.menu-toggle { display: none; }
.header-call .hc-icon { display: none; }

/* Hero (dark navy photo scrim + centered copy + white action card) */
.hero { position: relative; color: #fff; background: var(--navy-800); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(100deg, rgba(9, 24, 38, .93) 0%, rgba(11, 29, 44, .86) 46%, rgba(16, 41, 59, .62) 100%), url('/images/hero.svg'); background-size: cover; background-position: center; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 400px; gap: 44px; align-items: center; padding: 66px 0 72px; }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 { color: #fff; max-width: 16ch; }
.hero-copy p { color: #e2ecf5; font-size: 1.2rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; align-items: center; }
.hero-actions .call-note { color: #cddcec; font-size: .95rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: #eaf2fa; }
.hero-badges svg { flex: none; }
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; border-top: 6px solid var(--gold); }
.quote-card h2 { font-size: 1.4rem; margin-bottom: .2rem; }
.quote-card .sub { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.quote-card form { display: grid; gap: 10px; }
.quote-card input, .quote-card select, .quote-card textarea { width: 100%; padding: .72rem .8rem; border: 1px solid var(--line); border-radius: 8px; font-family: var(--f-body); font-size: 1rem; color: var(--ink); background: #fbfdff; }
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { outline: 2px solid var(--blue-600); border-color: var(--blue-600); }
.quote-card .fineprint { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; text-align: center; }
.quote-card .qc-phone { text-align: center; margin: 0 0 12px; }
.quote-card .qc-phone a { font-family: var(--f-display); font-weight: 800; font-size: 1.95rem; color: var(--blue-700); }
.quote-card .qc-list { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; gap: 9px; }
.quote-card .qc-list li { position: relative; padding-left: 27px; font-size: .95rem; color: var(--body); }
.quote-card .qc-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--green-600); }
.quote-card .qc-list li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Rating strip (Google-style trust bar, placeholder rating) */
.rating-strip { background: #fff; border-bottom: 1px solid var(--line); }
.rating-strip .container { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; text-align: center; }
.rating-strip .stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 2px; }
.rating-strip .rate-num { font-family: var(--f-display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.rating-strip .rate-txt { color: var(--muted); font-size: .98rem; }
.rating-strip .g { font-family: var(--f-display); font-weight: 700; color: var(--blue-700); }

/* Feature cards (yellow top accent, like the reference "customized / local / homes" row) */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); text-align: center; }
.feature-card .ic { width: 52px; height: 52px; margin: 0 auto 14px; color: var(--green-600); }
.feature-card h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.feature-card p { font-size: .97rem; color: var(--muted); margin: 0; }

/* Trust row */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: var(--shadow-sm); }
.trust-item .ic { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--blue-600); }
.trust-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.trust-item p { font-size: .93rem; color: var(--muted); margin: 0; }

/* Symptom grid (signature module) */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.symptom-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 12px; padding: 22px 20px; box-shadow: var(--shadow-sm); }
.symptom-card h3 { font-size: 1.12rem; margin-bottom: .35rem; color: var(--ink); }
.symptom-card p { margin: 0; font-size: .97rem; color: var(--body); }

/* Services band (navy, photo cards) */
.services-band { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); color: #fff; }
.services-band h2, .services-band .eyebrow { color: #fff; }
.services-band .eyebrow { color: var(--gold); }
.services-band .sec-sub { color: #d3e0ee; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); display: flex; flex-direction: column; transition: transform .14s ease; }
.service-card:hover { transform: translateY(-4px); text-decoration: none; }
.service-card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--gray-100); }
.service-card .sc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.service-card h3 { font-size: 1.16rem; margin: 0; }
.service-card p { font-size: .95rem; color: var(--muted); margin: 0; flex: 1; }
.service-card .more { font-family: var(--f-display); font-weight: 700; color: var(--blue-700); font-size: .95rem; }

/* Service area */
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.area-list { columns: 2; column-gap: 26px; margin: 18px 0 0; padding: 0; list-style: none; }
.area-list li { break-inside: avoid; padding: 7px 0 7px 26px; position: relative; font-weight: 600; color: var(--ink); font-family: var(--f-display); font-size: .98rem; }
.area-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px rgba(31,116,214,.16); }
.area-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow-sm); position: relative; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-600); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Why / split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-size: 1.02rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-600); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Offers / plans cards */
.offer-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.offer-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.offer-card .oc-top { background: linear-gradient(120deg, var(--navy-700), var(--navy-800)); color: #fff; padding: 22px 24px; }
.offer-card .oc-top h3 { color: #fff; margin: 0; }
.offer-card .oc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: .5rem; }
.offer-card .oc-body p { margin: 0 0 .5rem; color: var(--body); }
.offer-card .tag { display: inline-block; align-self: flex-start; background: var(--gold); color: #22160a; font-family: var(--f-display); font-weight: 700; font-size: .8rem; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .4rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 20px; font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue-600); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 20px 18px; color: var(--body); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Call band */
.callband { background: linear-gradient(120deg, var(--navy-700), var(--navy-800)); color: #fff; }
.callband .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.callband h2 { color: #fff; margin: 0; }
.callband p { color: #d3e0ee; margin: .3rem 0 0; }
.callband--gold { background: linear-gradient(120deg, var(--gold), var(--gold-600)); }
.callband--gold h2, .callband--gold p { color: #22160a; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, var(--navy-800), var(--navy-700)); color: #fff; padding: 46px 0 40px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d3e0ee; font-size: 1.16rem; max-width: 60ch; margin-bottom: 20px; }
.breadcrumbs { font-size: .88rem; color: #a9c2da; margin-bottom: 14px; }
.breadcrumbs a { color: #cddcec; }
.page-hero .hero-actions { margin-top: 8px; }

/* Article / prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5rem; }
.prose .callout { background: var(--gray-50); border-left: 4px solid var(--blue-600); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.4rem 0; }
.layout-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.sidebar .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sidebar .card h3 { font-size: 1.1rem; }
.sidebar .call-card { background: var(--navy-800); color: #fff; text-align: center; }
.sidebar .call-card h3 { color: #fff; }
.sidebar .call-card .num { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; }
.sidebar ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sidebar ul a { font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9cbdb; padding: 54px 0 26px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.site-footer a { color: #b9cbdb; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .logo { width: 46px; height: 46px; margin-bottom: 12px; }
.footer-phone { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; margin: 6px 0; }
.footer-phone a { color: #fff; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; font-size: .84rem; color: #8ba4bb; line-height: 1.6; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .86rem; }

/* Sticky mobile call bar */
.sticky-call { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 50px; }
  .trust-row, .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .symptom-grid, .service-cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .area-grid, .offer-cards { grid-template-columns: 1fr; gap: 26px; }
  .layout-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav, .header-phone { display: none; }
  .topbar { display: none; }
  .header-cta { gap: 10px; }
  .header-call { width: 46px; height: 46px; padding: 0; border-radius: 50%; justify-content: center; }
  .header-call .hc-label { display: none; }
  .header-call .hc-icon { display: block; }
  .menu-toggle { display: inline-flex; }
  .brand { font-size: 1.02rem; gap: 9px; }
  .brand .logo { width: 40px; height: 40px; }
  .header-inner { min-height: 66px; }
  /* Contact strip collapses to one clean, centered tap-to-call line */
  .contact-strip .ci-text, .contact-strip .ci-email { display: none; }
  .contact-strip .ci small { display: none; }
  .contact-strip .container { justify-content: center; gap: 0; padding: 9px 20px; }
  .contact-strip .ci a { font-size: 1.05rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .section { padding: 46px 0; }
  .symptom-grid, .service-cards, .steps, .sidebar, .feature-cards { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .callband .container { flex-direction: column; text-align: center; }
  main { padding-bottom: 76px; }
  .sticky-call {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--blue-600); box-shadow: 0 -6px 18px rgba(0,0,0,.2);
  }
  .sticky-call a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 15px; font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
  .sticky-call a:hover { text-decoration: none; }
}

/* Simple mobile nav (checkbox toggle, no JS) */
.mobile-menu { display: none; }
@media (max-width: 820px) {
  #navtoggle:checked ~ .mobile-menu { display: block; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 0; }
  .mobile-menu a { display: block; padding: 12px 20px; font-family: var(--f-display); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--gray-100); }
  .mobile-menu a:hover { background: var(--gray-50); text-decoration: none; }
}
