/* Kern Pest Pros. Valley daylight: eucalyptus green, sun yellow, cool paper. Bricolage Grotesque for display, Public Sans for text. */
:root {
  --ink: #15302a; --ink-2: #3f5a52; --muted: #627a72;
  --leaf: #1d6a4f; --leaf-d: #154f3b; --leaf-soft: #e4efe8; --leaf-line: #cfe0d6;
  --sun: #f4b63f; --sun-d: #e2a020; --sun-soft: #fdf3dc;
  --paper: #fbfcfa; --card: #ffffff; --line: #dbe5df;
  --heat-0: #f3f6f2; --heat-1: #fbecc4; --heat-2: #f7d48a; --heat-3: #f0b25a; --heat-4: #e48a3c; --heat-5: #cf6430;
  --r: 10px; --r-s: 6px;
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html { font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0, "dlig" 0; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 2px; }
a:hover { color: var(--leaf-d); }
:focus-visible { outline: 3px solid var(--sun-d); outline-offset: 2px; border-radius: 3px; }
/* Bricolage at tight tracking fuses "rn" into "m" (Kern read as Kem): display type keeps neutral or slightly open tracking, and the wordmark is set in Public Sans. */
h1, h2, h3, .stat__n, .card__t, .lead__title, .cal__m { font-family: var(--display); font-optical-sizing: auto; letter-spacing: 0.005em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); line-height: 1.08; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 1.4em 0 .4em; font-weight: 650; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.narrow-top { padding-top: 36px; }
.muted { color: var(--muted); }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.center { text-align: center; }
.eyebrow { font-size: .9rem; font-weight: 600; color: var(--leaf); margin: 0 0 .5rem; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.hide-sm { display: none; } @media (min-width: 700px) { .hide-sm { display: inline; } .show-sm { display: none; } }

/* alert */
.alert { display: block; background: var(--ink); color: #f2f6f3; text-decoration: none; font-size: .88rem; padding: 8px 16px; text-align: center; }
.alert:hover { color: #fff; } .alert strong { color: var(--sun); font-weight: 600; } .alert__go { text-decoration: underline; white-space: nowrap; }

/* header */
.site { background: rgba(251, 252, 250, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site__in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--text); font-weight: 700; font-size: 1.16rem; letter-spacing: 0.01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo:hover { color: var(--ink); }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:hover, .nav a[aria-current] { color: var(--leaf); }
@media (min-width: 960px) { .nav { display: flex; } }
.site .btn--call { margin-left: auto; } @media (min-width: 960px) { .site .btn--call { margin-left: 8px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px; font: 600 1rem/1.2 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.btn--primary:hover { background: var(--sun-d); border-color: var(--sun-d); color: var(--ink); }
.btn--secondary { background: var(--card); color: var(--leaf-d); border-color: var(--leaf-line); }
.btn--secondary:hover { border-color: var(--leaf); color: var(--leaf-d); }
.btn--call { background: var(--leaf); color: #fff; min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn--call:hover { background: var(--leaf-d); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); } .btn--ghost:hover { color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.linkish { color: var(--ink-2); font-weight: 500; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: 8px 0 0; }

/* hero */
.hero { padding: 28px 0 40px; }
.hero__in { display: grid; gap: 28px; }
.hero__photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--leaf-soft); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy h1 { max-width: 18ch; }
.hero .lede { margin-bottom: 1.1rem; }
.trustline { display: flex; gap: 10px; align-items: flex-start; background: var(--leaf-soft); border-radius: var(--r-s); padding: 10px 14px; font-size: .95rem; color: var(--ink); max-width: 56ch; margin: 0 0 1.1rem; }
.trustline svg { flex: none; width: 22px; height: 22px; color: var(--leaf); margin-top: 1px; }
.hero__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
@media (min-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "copy art"; align-items: start; column-gap: 48px; }
  .hero__copy { grid-area: copy; padding-top: 12px; }
  .hero__art { grid-area: art; position: relative; }
  .hero__photo { aspect-ratio: 4 / 3.3; }
  .hero__art .lead { position: relative; margin: -150px 24px 0; }
}
.hero--sub { background: linear-gradient(180deg, var(--leaf-soft), var(--paper)); }
.hero--sub .hero__in { align-items: start; }

/* lead form */
.lead { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: 0 18px 40px -24px rgba(21, 48, 42, .45); }
.lead__title { font-size: 1.3rem; font-weight: 700; margin: 0 0 2px; }
.lead__sub { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.lead fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.lead legend { font-weight: 600; margin-bottom: 8px; font-size: .97rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; cursor: pointer; background: var(--paper); }
.chip input:checked + span { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--sun-d); outline-offset: 2px; }
.field { display: block; margin: 0 0 12px; }
.field > span { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1.5px solid #c9d6ce; border-radius: var(--r-s); background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--leaf); outline: none; box-shadow: 0 0 0 3px rgba(29, 106, 79, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.lead__zipnote { font-size: .9rem; color: var(--leaf-d); background: var(--leaf-soft); padding: 6px 10px; border-radius: var(--r-s); }
.lead__error { color: #b3261e; font-weight: 500; margin: 10px 0 0; }
.lead .fine { margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; }
.lead--compact { padding: 18px; }

/* pest calendar: the signature element */
.cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px 16px; }
.cal__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 14px; }
.cal__head h2 { margin: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.cal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.cal__col { display: grid; grid-template-rows: auto 64px auto auto; gap: 3px; text-align: center; min-width: 0; }
.cal__m { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.cal__heat { border-radius: 4px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; font-size: .78rem; font-weight: 600; color: var(--ink); }
.cal__heat[data-l="0"] { background: var(--heat-0); color: var(--muted); } .cal__heat[data-l="1"] { background: var(--heat-1); } .cal__heat[data-l="2"] { background: var(--heat-2); }
.cal__heat[data-l="3"] { background: var(--heat-3); } .cal__heat[data-l="4"] { background: var(--heat-4); color: #fff; } .cal__heat[data-l="5"] { background: var(--heat-5); color: #fff; }
.cal__band { height: 8px; border-radius: 3px; background: transparent; }
.cal__band--mosq.on { background: var(--leaf); }
.cal__band--rain.on { background: #7aa9c4; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); padding: 0; list-style: none; }
.cal__legend li { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { display: inline-block; width: 18px; height: 8px; border-radius: 2px; }
@media (max-width: 560px) { .cal__col { grid-template-rows: auto 56px auto auto; } .cal__heat { font-size: .68rem; } .cal__m { font-size: .66rem; } .cal { padding: 18px 10px 14px; } }

/* bands, stats, cards */
.band { background: var(--leaf-soft); }
.band--ink { background: var(--ink); color: #e8efea; }
.band--ink h2 { color: #fff; } .band--ink a { color: var(--sun); }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { border-top: 3px solid var(--sun); padding-top: 10px; }
.stat__n { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 700; line-height: 1; margin: 0 0 6px; }
.stat p:last-child { font-size: .92rem; margin: 0; color: inherit; opacity: .9; }
.stats--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 6px 0 18px; max-width: 520px; }
.stats--inline .stat__n { font-size: 1.6rem; }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.card:hover { border-color: var(--leaf); color: var(--ink); }
.card__t { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; color: var(--leaf-d); }
.card p:last-child { margin: 0; color: var(--ink-2); font-size: .95rem; }
.svc { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.svc a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc a:hover .svc__t { color: var(--leaf); }
.svc__t { font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.svc__d { grid-column: 1; color: var(--ink-2); font-size: .94rem; }
.svc__go { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--leaf); }
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.photo { border-radius: var(--r); overflow: hidden; margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption { font-size: .8rem; color: var(--muted); padding-top: 6px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.2em; display: grid; gap: 14px; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.steps li { counter-increment: s; position: relative; padding-left: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); font: 700 1rem/34px var(--display); text-align: center; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.areas a { display: inline-block; padding: 8px 14px; border: 1px solid var(--leaf-line); border-radius: 999px; background: var(--card); text-decoration: none; color: var(--ink); font-weight: 500; }
.areas a:hover { border-color: var(--leaf); color: var(--leaf-d); }

/* charts */
.chart { margin: 0 0 1.5em; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 14px 10px; }
.chart__title { font-weight: 600; margin: 0 0 8px; font-size: .97rem; }
.chart svg { width: 100%; height: auto; display: block; }
.chart figcaption { font-size: .8rem; margin-top: 6px; }
.bar { fill: #bcd6c7; } .bar--hi { fill: var(--leaf); } .bar--alt { fill: var(--sun); }
.barval { font: 600 12px var(--text); fill: var(--ink); text-anchor: middle; }
.barlab { font: 500 11px var(--text); fill: var(--muted); text-anchor: middle; }
.chart__key { display: flex; gap: 16px; font-size: .82rem; color: var(--ink-2); margin: 0 0 6px; }
.chart__key i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--leaf-soft); font-weight: 600; white-space: nowrap; }
table[data-sortable] th { cursor: pointer; } table[data-sortable] th:hover { color: var(--leaf); }
tbody tr:last-child td { border-bottom: 0; }
.prose table { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-s); display: block; overflow-x: auto; }

/* inline CTAs */
.cta { display: grid; gap: 12px; align-items: center; background: var(--sun-soft); border: 1px solid #f1dca6; border-radius: var(--r); padding: 18px; margin: 1.6em 0; }
.cta p { margin: 0; } .cta__title { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 2px !important; }
.cta--data { background: var(--leaf-soft); border-color: var(--leaf-line); }
@media (min-width: 640px) { .cta { grid-template-columns: 1fr auto; } }

/* guides */
.guide { display: grid; gap: 32px; padding: 28px 0 56px; }
@media (min-width: 1000px) { .guide { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; } .guide__side { position: sticky; top: 84px; align-self: start; } }
.guide__main { max-width: 72ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; } .crumbs a { color: var(--muted); }
.meta { font-size: .88rem; color: var(--muted); }
.prose h2 { margin-top: 1.7em; } .prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; } .prose li { margin-bottom: .35em; }
.toc { background: var(--leaf-soft); border-radius: var(--r); padding: 12px 18px; margin: 0 0 1.6em; }
.toc summary { font-weight: 600; cursor: pointer; } .toc ol { margin: 8px 0 0; padding-left: 1.2em; } .toc li { margin: 3px 0; }
.side__alt { font-size: .93rem; text-align: center; margin-top: 10px; }
.related { margin-top: 2.5em; } .related__areas { margin-top: 1em; font-size: .93rem; }
.sources { margin-top: 2em; font-size: .9rem; } .sources ol { padding-left: 1.3em; } .sources li { margin-bottom: 4px; word-break: break-word; }
.faq { margin-top: 2.2em; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.3rem; color: var(--leaf); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.findings { padding-left: 1.2em; } .findings li { margin-bottom: .6em; }
.narrow { max-width: 760px; }
.credits td:first-child { white-space: nowrap; }

/* final CTA + footer */
.cta-final { display: grid; gap: 18px; align-items: center; padding: 44px 0; }
.cta-final p { margin: 0; opacity: .9; } .cta-final h2 { margin-bottom: .3em; }
.cta-final__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 860px) { .cta-final { grid-template-columns: 1fr auto; } }
.site-foot { background: #0f241f; color: #c4d3cb; padding: 48px 0 24px; font-size: .93rem; }
.site-foot a { color: #e9f1ec; text-decoration: none; } .site-foot a:hover { color: var(--sun); text-decoration: underline; }
.foot { display: grid; gap: 28px; } @media (min-width: 860px) { .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot ul { list-style: none; padding: 0; margin: 0; } .foot li { margin: 0 0 6px; }
.foot__h { color: #fff; font-weight: 600; margin: 0 0 10px; } .foot__h--gap { margin-top: 18px; }
.logo--foot { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.site-foot .fine { color: #9fb3a9; } .foot__data { border-top: 1px solid #23413a; margin-top: 28px; padding-top: 16px; }

/* sticky phone bar */
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -10px rgba(21, 48, 42, .35); padding-bottom: env(safe-area-inset-bottom); }
.stickybar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; text-decoration: none; color: var(--leaf-d); font-weight: 600; font-size: .95rem; }
.stickybar a + a { border-left: 1px solid var(--line); }
.stickybar svg { width: 18px; height: 18px; }
.stickybar__main { background: var(--sun); color: var(--ink) !important; }
@media (min-width: 900px) { .stickybar { display: none; } }

/* round 2: icons, costs, urgent band, measure */
.svc a { grid-template-columns: 44px 1fr auto; }
.svc__i { grid-row: 1 / span 2; grid-column: 1; width: 22px; height: 22px; padding: 7px; color: var(--leaf); background: var(--leaf-soft); border-radius: 9px; align-self: center; box-sizing: content-box; }
.svc a .svc__t, .svc a .svc__d { grid-column: 2; } .svc a .svc__go { grid-column: 3; }
.costs { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .costs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.cost { background: var(--card); border: 1px solid var(--leaf-line); border-radius: var(--r); padding: 16px; }
.cost .svc__i { display: block; margin: 0 0 10px; }
.cost__j { font-weight: 600; margin: 0 0 4px; font-size: .95rem; }
.cost__r { font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, .95rem + .7vw, 1.5rem); margin: 0 0 6px; color: var(--leaf-d); letter-spacing: 0.005em; }
.cost__s { font-size: .78rem; color: var(--muted); margin: 0; }
.urgent { background: var(--leaf); color: #eef6f1; }
.urgent__in { display: grid; gap: 16px; align-items: center; padding: 32px 0; }
.urgent h2 { color: #fff; margin: 0 0 .3em; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); }
.urgent p { margin: 0; max-width: 60ch; }
.urgent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 860px) { .urgent__in { grid-template-columns: 1fr auto; } }
.wrap > p, .wrap > .fine, .findings, .section > p, .two p, .prose p, .prose li, .faq details p { max-width: 75ch; }
@media (min-width: 960px) { .hero__photo { aspect-ratio: 16 / 11; } .hero__photo img { object-position: center 82%; } .hero__art .lead { margin-top: -96px; } }
.two > *, .hero__in > *, .guide > *, .foot > * { min-width: 0; }
.guide__main .photo img { aspect-ratio: 16 / 8; }
.hero__ask { max-width: 56ch; font-size: .98rem; color: var(--ink-2); margin: 0 0 1.1rem; }
/* Phones: the call is the money action, so it leads; desktop keeps the form-first order. */
.hero__call { display: none; }
@media (max-width: 639px) {
  .hero__call { display: inline-flex; width: 100%; }
  .hero__ask-btn { background: var(--card); color: var(--leaf-d); border-color: var(--leaf-line); }
  .hero__ask-btn:hover { background: var(--card); border-color: var(--leaf); color: var(--leaf-d); }
  .hero__orcall { display: none; }
}
