/* NYC Pest Control Pros — main stylesheet */
:root {
  --navy: #0b2239;
  --navy-2: #12304f;
  --ink: #1b2733;
  --muted: #5b6b7b;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --brand: #16a34a;
  --brand-dark: #12813b;
  --cta: #f97316;
  --cta-dark: #e05f07;
  --accent: #facc15;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 34, 57, .10);
  --shadow-lg: 0 18px 50px rgba(11, 34, 57, .22);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img, svg { max-width: 100%; }
a { color: #0d6ecd; }
a:hover { color: #0a58a5; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; margin: 0 auto 1.8em; }
.small-h { margin-top: 2.2em; }
.spacer { height: 2.5rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 999; background: #fff; padding: 8px 14px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-sm { width: 1em; height: 1em; vertical-align: -2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-weight: 800; text-decoration: none; border-radius: 999px; padding: .8em 1.4em; line-height: 1.1; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; border: 0; cursor: pointer; }
.btn-call { background: var(--cta); color: #fff; box-shadow: 0 8px 22px rgba(249, 115, 22, .38); }
.btn-call:hover { background: var(--cta-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(249, 115, 22, .45); }
.btn-lg { font-size: 1.35rem; padding: 1em 1.8em; }
.btn-block { display: flex; width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfe0f1; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: var(--accent); font-weight: 700; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.22rem; white-space: nowrap; }
.logo b { color: var(--brand); }
.logo-light { color: #fff; }
.logo-light b { color: #4ade80; }

.site-nav { margin-left: auto; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 1px; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); display: none; }
.sub-wide { columns: 2; min-width: 430px; }
.sub a { font-weight: 500; padding: 7px 10px; font-size: .95rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }

.header-call { padding: .75em 1.2em; font-size: 1.05rem; }
.header-call .hc-label { display: none; }

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

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa8b6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(22, 163, 74, .35), transparent 60%),
    radial-gradient(900px 400px at -10% 110%, rgba(249, 115, 22, .22), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #e8f0f8; padding: 54px 0 62px; overflow: hidden; }

.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, .12); color: #d5f5df; border: 1px solid rgba(255,255,255,.18); padding: 5px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1.1em; }
.hero-sub { font-size: 1.16rem; color: #cfdceb; max-width: 640px; }
.hero-cta { margin-top: 1.6em; }
.cta-note { margin-top: .9em; font-size: .9rem; color: #a9bdd2; }
.hero-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--brand); }
.hc-title { font-weight: 800; font-size: 1.2rem; color: var(--navy); margin-bottom: .4em; }
.hc-phone { display: flex; align-items: center; gap: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; color: var(--navy); text-decoration: none; letter-spacing: -.01em; margin-bottom: .5em; }
.hc-phone .ico { color: var(--cta); }
.checks, .checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li, .checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.ico-check { width: 22px; height: 22px; flex: none; color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; margin-top: 2px; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-top: 22px; padding-bottom: 22px; gap: 10px; }
.trust strong { display: block; font-size: 1.6rem; color: var(--brand-dark); }
.trust span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.prose p, .prose li { font-size: 1.04rem; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.aka { color: var(--muted); font-style: italic; }
.text-link { font-weight: 700; text-decoration: none; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-call { background: var(--navy); color: #d6e3f0; border: 0; }
.side-call .side-h { color: #fff; }
.side-h { font-weight: 800; font-size: 1.12rem; color: var(--navy); margin-bottom: .5em; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .95rem; }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; }
.side-links { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.side-links li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.side-links li:last-child { border: 0; }
.side-links a { text-decoration: none; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(11,34,57,.04); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c6d3e0; color: var(--ink); }
.cat-ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: #e8f7ee; color: var(--brand-dark); }
.card-rodents .cat-ico { background: #fff1e6; color: var(--cta-dark); }
.card-wildlife .cat-ico { background: #e9f0fb; color: #1d5fb0; }
.card-t { font-weight: 800; font-size: 1.12rem; color: var(--navy); }
.card-d { color: var(--muted); font-size: .95rem; flex: 1; }
.card-more { font-weight: 700; color: #0d6ecd; font-size: .92rem; }
.cards-small { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cards-small .card { padding: 18px; }
.cards-small .card-d { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--brand-dark), var(--brand)); color: #eafff1; padding: 36px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band-h { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; }
.cta-band .btn-call { flex: none; }

.final-cta { background: var(--navy); color: #cfdceb; text-align: center; padding: 60px 0; }
.final-cta-h { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; margin-bottom: .3em; }

/* ---------- Lists ---------- */
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1.5em; }
.center-list { justify-content: center; }
.pill-list a { display: inline-block; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--navy); font-size: .95rem; transition: .15s; }
.pill-list a:hover { border-color: var(--brand); color: var(--brand-dark); background: #f0fbf4; }
.pill-sm a { padding: 6px 12px; font-size: .88rem; font-weight: 500; }
.link-cols { columns: 2; column-gap: 32px; padding-left: 1.1em; }
.link-cols li { padding: 3px 0; break-inside: avoid; }

.region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-bottom: 1.5em; }
.region { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.region h3, .region h4 { margin-bottom: .4em; }
.region p { font-size: .93rem; color: var(--muted); }
.region ul { list-style: none; padding: 0; margin: 0; }
.region li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.region li:last-child { border: 0; }
.region a { text-decoration: none; font-weight: 600; }
.zips { color: #8b99a8; font-size: .8rem; }
.region-grid.compact .region { padding: 16px; }
.matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.area-borough { margin-bottom: 2.5em; }

/* Home borough index */
.borough-index { display: grid; gap: 26px; margin-bottom: 1.5em; }
.bi { display: grid; grid-template-columns: 320px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 2px 10px rgba(11,34,57,.04); }
.bi-head h3 { font-size: 1.45rem; }
.bi-head h3 a { text-decoration: none; color: var(--navy); }
.bi-head p { color: var(--muted); font-size: .95rem; }
.bi-services { font-size: .9rem; }
.bi-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px 22px; }
.bi-region h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); border-bottom: 2px solid #e8f7ee; padding-bottom: 6px; }
.bi-region ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.bi-region li { padding: 2px 0; }
.bi-region a { text-decoration: none; }
.bi-region a:hover { text-decoration: underline; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 2em; }
.how-step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); text-align: center; }
.how-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cta); color: #fff; font-weight: 900; font-size: 1.3rem; margin-bottom: 12px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.steps h3 { margin-bottom: .25em; font-size: 1.1rem; }
.steps p { margin: 0; color: #3d4b59; }
.step-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.steps-compact li { padding: 16px; }

.species { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 1em; }
.sp { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; }
.sp h3 { font-size: 1.05rem; margin-top: 0 !important; }
.sp p { font-size: .95rem !important; margin: 0; }

.borough-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bn-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bn-card h3 a { text-decoration: none; color: var(--navy); }

/* Near me */
.near-me { background: linear-gradient(180deg, #fff, #f7fbf8); border-top: 1px solid var(--line); }
.near-list { list-style: none; padding: 0; margin: 1em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 22px; }
.near-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.near-list a { font-weight: 700; text-decoration: none; }
.near-list span { color: var(--muted); }
.zip-line { color: var(--muted); font-size: .95rem; }
.near-cta a { text-decoration: none; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { margin: 0; font-size: 1.06rem; }
.faq details p { padding: 0 22px 18px; margin: 0; color: #3d4b59; }

/* Tables */
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
.season-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.season-table th, .season-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.season-table th { background: var(--navy); color: #fff; }
.season-table tr:nth-child(even) td { background: var(--bg-alt); }

/* ZIP directory */
.zip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 2.5em; }
.zip-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .93rem; }
.zip-item strong { display: block; color: var(--navy); font-size: 1.05rem; }
.big-phone { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.big-phone a { text-decoration: none; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #081a2c; color: #a9bbcd; padding: 56px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.f-h { color: #fff; font-weight: 800; margin: 0 0 .7em; }
.f-col ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.f-col li { padding: 3px 0; }
.site-footer a { color: #cfdceb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 900; color: var(--accent) !important; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 20px; padding-top: 18px; padding-bottom: 18px; font-size: .85rem; }
.f-bottom p { margin: 0; }
.disclaimer { background: #051322; color: #8295a8; font-size: .8rem; line-height: 1.6; padding: 20px 0 22px; }
.disclaimer p { margin: 0; }

.mobile-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-call .hc-num { display: none; }
  .header-call .hc-label { display: inline; }
  .bi { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .nav-toggle { display: block; order: 3; margin-left: 0; }
  .header-inner { gap: 12px; }
  .header-call { margin-left: auto; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: 75vh; overflow-y: auto; margin: 0; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; padding: 10px 20px 20px; }
  .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; columns: 2; min-width: 0; }
  .has-sub > a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .wrap { padding: 0 16px; }
  .topbar span { display: none; }
  .topbar-inner { justify-content: center; }
  .logo { font-size: 1.02rem; min-width: 0; }
  .logo-text { overflow: hidden; text-overflow: ellipsis; }
  .header-inner { min-height: 64px; }
  .header-call { padding: .6em .95em; font-size: .95rem; white-space: nowrap; box-shadow: none; }
  .logo img { width: 30px; height: 30px; }
  .hero { padding: 34px 0 42px; }
  .hero-card { padding: 22px; }
  .btn-lg { font-size: 1.15rem; width: 100%; }
  .section { padding: 44px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band .btn-call { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .link-cols { columns: 1; }
  .sub, .sub-wide { columns: 1; }
  .bi { padding: 20px; }
  .mobile-call { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--cta); color: #fff; font-weight: 900; font-size: 1.12rem; padding: 16px; text-decoration: none; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
  .mobile-call:hover { color: #fff; }
}
@media (max-width: 420px) {
  .header-call .hc-label { display: none; }
  .header-call { padding: .7em; }
  .header-call .ico { width: 1.4em; height: 1.4em; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
