/* ==========================================================================
   Amarillo Rodent Control — design system
   Palette: kelly green + deep navy + golden yellow (Terminix-inspired)
   Type: Sora (display) + Public Sans (text)
   ========================================================================== */

:root {
  --green: #14a84b;
  --green-dark: #0f8a3d;
  --green-soft: #e7f6ed;
  --navy: #0b2d4d;
  --navy-2: #08243e;
  --gold: #f4b31e;
  --gold-dark: #dc9f0c;
  --ink: #0b2d4d;
  --body: #33444f;
  --muted: #6a7a86;
  --line: #e3e8ec;
  --bg: #ffffff;
  --soft: #f2f5f7;
  --soft-2: #eef2f5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(11, 45, 77, 0.10);
  --shadow-sm: 0 4px 14px rgba(11, 45, 77, 0.08);
  --maxw: 1160px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.measure { max-width: 760px; }
.center { text-align: center; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 0.6em;
}
.eyebrow.center { text-align: center; }

.lead { font-size: 1.16rem; color: var(--body); }

.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 46px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(244,179,30,.32); }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(20,168,75,.28); }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-2);
  color: #cddbe8;
  font-size: 0.86rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.tb-msg { display: flex; align-items: center; gap: 8px; }
.tb-msg strong { color: #fff; font-weight: 600; }
.tb-phone { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-family: var(--font-display); }
.tb-phone a { color: #fff; }
.tb-phone svg { color: var(--green); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(11,45,77,.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 42px; height: 42px; }
.brand span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; line-height: 1.05; letter-spacing: -0.02em; }
.brand small { font-weight: 600; font-size: 0.68rem; letter-spacing: 0.02em; color: var(--green-dark); text-transform: uppercase; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; color: var(--navy); padding: 6px 0; position: relative; white-space: nowrap; }
.nav a:hover { color: var(--green-dark); text-decoration: none; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--green); border-radius: 3px; transform: scaleX(0); transition: transform .16s ease; }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.header-phone { display: flex; flex-direction: column; text-align: right; line-height: 1.1; }
.header-phone small { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.header-phone a { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--navy); white-space: nowrap; }
.header-call .call-ic { display: none; }
.menu-toggle { display: none; padding: 9px 12px; }

.mobile-menu { display: none; }

/* ---------- Hero (diagonal navy + offer card) ---------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(8,36,62,.30) 0%, rgba(8,36,62,.62) 42%, rgba(8,36,62,.95) 66%, var(--navy) 66.2%), url('/images/hero.jpg');
  background-size: cover; background-position: center 30%;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 74px 0 84px; }
.hero-copy { color: #fff; max-width: 620px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: 1.2rem; color: #e6eef5; margin-bottom: 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.call-note { color: #cfe0ee; font-size: 0.92rem; font-weight: 600; }

.hero-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; max-width: 500px; }
.hero-pill {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 999px; padding: 11px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.hero-pill:hover { text-decoration: none; background: #fff; transform: translateY(-1px); }
.hero-pill svg { color: var(--green); flex-shrink: 0; }
.hero-pill .arw { margin-left: auto; color: var(--green-dark); }

.hero-offer {
  position: relative;
  background: #fff; border-radius: var(--radius-lg);
  padding: 26px; box-shadow: 0 18px 44px rgba(0,0,0,.30);
}
.offer-tag { display: inline-flex; align-items: center; gap: 7px; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 13px; border-radius: 999px; margin-bottom: 14px; }
.hero-offer h2 { font-size: 1.5rem; margin-bottom: 8px; }
.hero-offer p { color: var(--body); font-size: 0.98rem; margin-bottom: 18px; }
.hero-offer .num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); margin-bottom: 14px; }
.hero-offer .num a { color: var(--navy); }

/* ---------- Promo strip (green bordered) ---------- */
.promo {
  border-top: 6px solid var(--green);
  border-bottom: 6px solid var(--green);
  background: var(--soft);
}
.promo .container { display: flex; align-items: center; gap: 26px; padding: 26px 32px; }
.promo-ic { flex-shrink: 0; width: 58px; height: 58px; border-radius: 14px; background: var(--green-soft); display: grid; place-items: center; color: var(--green-dark); }
.promo-text h3 { margin: 0 0 3px; font-size: 1.28rem; }
.promo-text p { margin: 0; color: var(--body); }
.promo-cta { margin-left: auto; }

/* ---------- Section intros ---------- */
.sec-sub { color: var(--body); }
.section > .container > .eyebrow { }

/* ---------- Commitment / feature 3-col ---------- */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; }
.feature-item { padding: 10px 30px; text-align: center; border-left: 1px solid var(--line); }
.feature-item:first-child { border-left: none; }
.feature-item .fic { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--navy); }
.feature-item h3 { color: var(--navy); margin-bottom: 6px; }
.feature-item p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Process cards (2x2) ---------- */
.proc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
.proc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow-sm); }
.proc-card .pic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 15px; }
.proc-card h3 { color: var(--navy); margin-bottom: 7px; }
.proc-card p { margin: 0; color: var(--body); font-size: 0.98rem; }

/* ---------- Steps (numbered process) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .num { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; margin-bottom: 14px; }
.step h3 { color: var(--navy); margin-bottom: 6px; }
.step p { margin: 0; color: var(--body); font-size: 0.97rem; }

/* ---------- Symptom grid ---------- */
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.symptom-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.symptom-card h3 { color: var(--navy); font-size: 1.08rem; }
.symptom-card p { margin: 0; color: var(--body); font-size: 0.97rem; }

/* ---------- Service cards ---------- */
.services-band { }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease; display: flex; flex-direction: column; }
.service-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card .thumb { width: 100%; height: 190px; object-fit: cover; }
.service-card .sc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { color: var(--navy); margin-bottom: 8px; }
.service-card p { color: var(--body); font-size: 0.96rem; margin-bottom: 14px; }
.service-card .more { margin-top: auto; font-family: var(--font-display); font-weight: 700; color: var(--green-dark); font-size: 0.92rem; }

/* ---------- Difference band (green) ---------- */
.difference { background: var(--green); color: #fff; }
.diff-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.difference h2 { color: #fff; }
.difference .eyebrow { color: #d5f4e0; }
.diff-lede { color: #eafaf0; font-size: 1.12rem; }
.diff-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff-point { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 20px; }
.diff-point h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.diff-point p { color: #eafaf0; font-size: 0.95rem; margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; max-height: 440px; }
.adv-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.adv-list li { position: relative; padding-left: 34px; color: var(--body); }
.adv-list li strong { display: block; color: var(--navy); font-family: var(--font-display); margin-bottom: 1px; }
.adv-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f8a3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.area-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.area-list li { position: relative; padding-left: 24px; font-weight: 600; color: var(--navy); }
.area-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.area-list li a { color: var(--navy); }
.area-map { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-sm); }
.area-map svg { width: 100%; height: auto; border-radius: 12px; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--green); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 16px 22px 20px; }
.faq details p { margin: 0; color: var(--body); }

/* ---------- Call band ---------- */
.callband { background: var(--navy); color: #fff; }
.callband--gold { background: linear-gradient(120deg, var(--navy) 0%, var(--navy) 58%, #0e3a63 100%); }
.callband .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.callband h2 { color: #fff; margin-bottom: 4px; }
.callband p { color: #d6e3ef; margin: 0; max-width: 620px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 52px 0 44px; position: relative; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--green); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d6e3ef; max-width: 720px; font-size: 1.12rem; margin-bottom: 20px; }
.page-hero .breadcrumbs { margin-bottom: 16px; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a, .page-hero .breadcrumbs span { color: #9fc5d8; }
.page-hero .breadcrumbs a:hover { color: #fff; }

.breadcrumbs { font-size: 0.86rem; color: var(--muted); }
.breadcrumbs a { color: var(--green-dark); }

/* ---------- Article layout ---------- */
.layout-wrap { display: grid; grid-template-columns: 1fr 330px; gap: 44px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.callout { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 26px 0; color: var(--navy); }
.callout strong { color: var(--navy); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { color: var(--navy); margin-bottom: 10px; }
.card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.card ul li a { color: var(--navy); font-weight: 600; font-size: 0.96rem; }
.call-card { background: var(--navy); color: #fff; border: none; }
.call-card h3 { color: #fff; }
.call-card p { color: #cfe0ee; font-size: 0.96rem; }
.call-card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin: 6px 0; }
.call-card .num a { color: var(--gold); }

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

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: #b7c9d8; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { width: 46px; height: 46px; margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin: 0 0 14px; }
.footer-brand p { color: #9fb3c4; font-size: 0.96rem; }
.footer-phone a { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer ul a { color: #b7c9d8; font-size: 0.96rem; }
.site-footer ul a:hover { color: #fff; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.disclaimer p { color: #8ea0b2; font-size: 0.84rem; line-height: 1.6; max-width: 900px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; align-items: center; }
.footer-legal span { color: #8ea0b2; font-size: 0.84rem; }
.footer-legal a { color: #b7c9d8; font-size: 0.84rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 54px 0 60px; }
  .hero::before { background-image: linear-gradient(180deg, rgba(8,36,62,.55) 0%, rgba(8,36,62,.82) 100%), url('/images/hero.jpg'); }
  .hero-offer { max-width: 460px; }
  .diff-grid { grid-template-columns: 1fr; gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split img { max-height: 340px; }
  .area-grid { grid-template-columns: 1fr; gap: 28px; }
  .layout-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; }
  .feature-item { border-left: none; border-top: 1px solid var(--line); padding: 22px 10px; }
  .feature-item:first-child { border-top: none; }
}

@media (max-width: 820px) {
  .nav, .header-phone { display: none; }
  .tb-msg { display: none; }
  .topbar .container { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-call .call-txt { display: none; }
  .header-call .call-ic { display: inline-flex; }
  .header-call { padding: 12px 14px; }
  #navtoggle:checked ~ .mobile-menu { display: flex; }
  .mobile-menu {
    flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11,45,77,.14);
    padding: 10px 20px 18px;
  }
  .mobile-menu a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--navy); }
  .mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
  .sticky-call { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--green); box-shadow: 0 -4px 18px rgba(0,0,0,.16); }
  .sticky-call a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; padding: 15px; }
  .sticky-call a:hover { text-decoration: none; }
  body { padding-bottom: 56px; }
}

@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .hero-pills { grid-template-columns: 1fr; }
  .proc-cards, .diff-points { grid-template-columns: 1fr; }
  .steps, .symptom-grid, .service-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { grid-template-columns: 1fr; }
  .promo .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .promo-cta { margin-left: 0; }
  .callband .container { flex-direction: column; align-items: flex-start; }
  .section { padding: 52px 0; }
}
