/*
Theme Name: Pristine Pest Control 2.8.3 (black widow, brown recluse, boxelder bugs)
Theme URI: https://pristinepestokc.com
Author: Pristine Pest Control
Description: Child theme of Pristine Pest Control 2.4.1. City pages, the short request form, and the illustrated redesign of every page (photo heroes, icon cards, service area map, FAQs with structured data, llms.txt). Requires the 2.4.1 theme to stay installed.
Template: pristine-pest-control-v2-2.4.1
Version: 2.8.3
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: pristine-pest-control
*/

/* Everything else comes from the 2.4.1 stylesheet, which loads first. */

/* City hero: the city name and promise stack cleanly at every width. */
.city-hero h1 { max-width: 11ch; }

/* Local note under the city introduction. */
.city-local { margin: 18px 0 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.65; }

/* Six service cards sit three across on wide screens; the 2.4.1 rules take over below 1100px. */
@media (min-width: 1101px) {
  .city-services .evidence-grid { grid-template-columns: repeat(3, 1fr); }
  .city-services .evidence-grid article { min-height: 300px; }
}
.city-services .evidence-grid h3 { margin-top: 48px; }

/* Commercial band with a short supporting line. The button keeps its label on one line. */
.city-commercial p { max-width: 560px; margin: 22px 0 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.75; }
.city-commercial .button { flex-shrink: 0; white-space: nowrap; }

/* Local questions: three across on desktop. Headings in Deep Olive per Brand Standards. */
.city-faq { background: white; }
.city-faq .section-heading { margin-bottom: 60px; }
.city-faq .section-heading h2, .city-faq .faq-grid h3 { color: #444a25; }
.city-faq .faq-grid p { font-size: 13px; }
@media (min-width: 981px) {
  .city-faq .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
.city-faq .faq-grid h3 { margin-top: 30px; }

/* Phones (reviewed at 390px). */
@media (max-width: 520px) {
  .city-local { font-size: 14px; }
  .city-faq .section-heading { margin-bottom: 36px; }
  .city-faq .faq-grid article { min-height: 0; }
  .city-faq .faq-grid h3 { margin-top: 18px; font-size: 21px; }
}

/* ---------- 2.6: short residential inspection request form ---------- */

/* Quick-pick groups (pest, timing). */
.choice-group { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.choice-group legend { margin: 0 0 10px; padding: 0; color: rgb(98, 98, 88); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-pill { position: relative; display: inline-flex; cursor: pointer; }
.choice-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-pill span { min-height: 46px; padding: 12px 18px; display: inline-flex; align-items: center; border: 1px solid rgb(207, 215, 210); background: rgb(251, 252, 250); color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.2; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.choice-pill:hover span { border-color: var(--olive); }
.choice-pill input:checked + span { border-color: var(--olive-deep); background: var(--olive-deep); color: white; }
.choice-pill input:focus-visible + span { outline: 2px solid #b49a59; outline-offset: 2px; }

/* Section spacing is tighter on the short form. */
.quick-request .form-section { margin-top: 38px; }
.quick-request > .form-section:first-child { margin-top: 0; }
.quick-request .appointment-grid { margin-bottom: 22px; }
.quick-request .appointment-grid label > span em { font-style: normal; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: var(--muted); }

@media (max-width: 520px) {
  .choice-pills { gap: 8px; }
  .choice-pill span { min-height: 44px; padding: 11px 14px; font-size: 13px; }
}


/* ==========================================================================
   Version 2.7: lively About page (illustrated values, photo hero, quote)
   ========================================================================== */
.pp-icon { display: block; width: 100%; height: 100%; }

.about-hero-photo { isolation: isolate; }
.about-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.about-hero-photo::before { z-index: -1 !important; background: linear-gradient(90deg, rgba(16,17,16,.92) 0%, rgba(16,17,16,.72) 45%, rgba(16,17,16,.25) 100%), linear-gradient(0deg, rgba(16,17,16,.7), transparent 50%) !important; }
.about-hero-photo .inner-hero-aside p { color: rgba(246,245,239,.86); font-size: 16px; }
.about-hero-badge { display: inline-grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; padding: 14px 20px; border: 1px solid rgba(246,245,239,.25); border-radius: 18px; background: rgba(16,17,16,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--paper); transition: transform .25s ease; }
.about-hero-badge:hover { transform: translateY(-3px); }
.about-hero-badge b { grid-row: span 2; font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 40px; line-height: 1; }
.about-hero-badge small { color: rgba(246,245,239,.75); font-size: 12px; }

.about-story h2 { color: var(--olive-deep); }
.about-quote { margin: 34px 0 0; padding: 24px 26px; border-left: 3px solid var(--sage); border-radius: 0 18px 18px 0; background: var(--cream); }
.about-quote blockquote { margin: 10px 0 12px; }
.about-quote blockquote p { margin: 0; color: var(--ink); font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 19px; line-height: 1.5; }
.about-quote figcaption { color: var(--olive); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.values-illustrated .section-heading h2 em { color: var(--sage-bright); }
.values-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.value-card { position: relative; overflow: hidden; padding: 30px 30px 32px; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.18); transition: transform .35s ease, box-shadow .35s ease; }
.value-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(180,154,89,.18), transparent 70%); transition: transform .5s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(0,0,0,.26); }
.value-card:hover::after { transform: scale(1.4); }
.value-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.value-icon { display: grid; place-items: center; width: 72px; height: 72px; padding: 16px; border-radius: 22px; background: var(--olive-deep); color: var(--sage-bright); transition: transform .35s ease; }
.value-card:hover .value-icon { transform: rotate(-6deg) scale(1.05); }
.value-num { font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 44px; font-weight: 700; line-height: 1; color: rgba(68,74,37,.13); }
.value-card h3 { margin: 0 0 6px; color: var(--olive); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-family: "Carlito", Calibri, sans-serif; }
.value-card .value-promise { margin: 0 0 14px; color: var(--olive-deep); font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.value-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.js .value-card { opacity: 0; transform: translateY(26px); }
.js .values-cards.is-visible .value-card { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--i) * 90ms), transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms), box-shadow .35s ease; }
.js .values-cards.is-visible .value-card:hover { transform: translateY(-6px); }

.about-detail-list .detail-icon { display: grid; place-items: center; width: 52px; height: 52px; padding: 11px; border-radius: 16px; background: var(--cream); color: var(--olive); }

@media (max-width: 1100px) { .values-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) {
  .about-hero-image { object-position: 62% 30%; }
  .about-hero-photo::before { background: linear-gradient(0deg, rgba(16,17,16,.96) 0%, rgba(16,17,16,.8) 50%, rgba(16,17,16,.35) 100%) !important; }
  .values-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .value-card { padding: 24px 22px 26px; }
  .value-icon { width: 60px; height: 60px; padding: 13px; border-radius: 18px; }
  .value-card .value-promise { font-size: 21px; }
  .about-quote blockquote p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .js .value-card { opacity: 1; transform: none; } }
.about-detail-list article .detail-icon { flex: 0 0 auto; width: 52px !important; height: 52px !important; padding: 12px !important; font: inherit; color: var(--olive) !important; }
.about-detail-list article { grid-template-columns: 72px 1fr; align-items: start; }
.about-detail-list article .detail-icon { background: var(--paper) !important; border: 1px solid var(--line); }
.about-detail-list p { font-size: 14.5px; }

/* ==========================================================================
   Version 2.8: illustrated site
   ========================================================================== */

/* Generic reveal */
.js [data-reveal]:not(.icon-cards) { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible:not(.icon-cards) { opacity: 1; transform: none; }

/* Photo heroes on inner pages */
.inner-hero.has-photo, .identify-page-intro.has-photo { isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 60% 45%); transform: scale(1.04); animation: pp-hero-drift 18s ease-out forwards; }
.has-photo::before { z-index: -1 !important; background: linear-gradient(90deg, rgba(16,17,16,.93) 0%, rgba(16,17,16,.74) 42%, rgba(16,17,16,.28) 100%), linear-gradient(0deg, rgba(16,17,16,.75), transparent 55%) !important; }
.has-photo .inner-hero-aside p { color: rgba(246,245,239,.84); font-size: 15px; }
@keyframes pp-hero-drift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; transform: none; } }

/* Floating hero fact chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid rgba(246,245,239,.22); border-radius: 99px; background: rgba(16,17,16,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--paper); font-size: 13px; font-weight: 700; }
.hero-chips li span { display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sage); color: var(--ink); }

/* About: home photo behind the story */
.about-story-home { position: relative; isolation: isolate; overflow: hidden; min-height: 760px; padding: clamp(90px, 9vw, 140px) var(--pad); display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 6vw; align-items: center; background: var(--paper); }
.about-story-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 38%; }
.about-story-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,245,239,.98) 0%, rgba(246,245,239,.9) 34%, rgba(246,245,239,.3) 58%, rgba(246,245,239,.04) 100%); }
.about-story-copy h2 { margin: 14px 0 22px; color: var(--olive-deep); font-size: clamp(40px, 4.6vw, 66px); line-height: 1; letter-spacing: -.04em; }
.about-story-copy .lead { color: var(--ink); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.about-story-copy p { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.story-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.story-points li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.75); color: var(--olive-deep); font-size: 14px; font-weight: 700; }
.story-points li span { display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--olive-deep); color: var(--sage-bright); }
.about-quote-float { align-self: end; justify-self: end; max-width: 430px; margin: 0; border: 1px solid rgba(255,255,255,.6); border-left: 3px solid var(--sage); background: rgba(246,245,239,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(16,17,16,.22); }

/* Icon cards (used on most pages) */
.icon-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 16px; margin-top: 54px; }
.icon-card { position: relative; overflow: hidden; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 18px 44px rgba(16,17,16,.06); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.icon-card::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(180,154,89,.16), transparent 70%); transition: transform .5s ease; }
.icon-card:hover { transform: translateY(-6px); border-color: rgba(180,154,89,.55); box-shadow: 0 28px 60px rgba(16,17,16,.12); }
.icon-card:hover::after { transform: scale(1.5); }
.icon-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.icon-badge { display: grid; place-items: center; width: 64px; height: 64px; padding: 14px; border-radius: 20px; background: var(--olive-deep); color: var(--sage-bright); transition: transform .35s ease; }
.icon-card:hover .icon-badge { transform: rotate(-6deg) scale(1.06); }
.icon-num { color: rgba(68,74,37,.16); font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 38px; font-weight: 700; line-height: 1; }
.icon-card h3 { position: relative; z-index: 1; margin: 0 0 10px; color: var(--olive-deep); font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.icon-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.icon-cards-dark .icon-card { border-color: rgba(246,245,239,.12); background: rgba(246,245,239,.05); color: var(--paper); box-shadow: none; }
.icon-cards-dark .icon-card:hover { background: rgba(246,245,239,.09); }
.icon-cards-dark .icon-badge { background: var(--sage); color: var(--ink); }
.icon-cards-dark .icon-num { color: rgba(246,245,239,.12); }
.icon-cards-dark .icon-card h3 { color: var(--paper); }
.icon-cards-dark .icon-card p { color: rgba(246,245,239,.72); }
.js .icon-cards .icon-card { opacity: 0; transform: translateY(26px); }
.js .icon-cards.is-visible .icon-card { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--i) * 80ms), transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 80ms), box-shadow .35s ease, border-color .35s ease; }
.js .icon-cards.is-visible .icon-card:hover { transform: translateY(-6px); }

/* FAQ blocks */
.faq-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 7vw; background: var(--cream); }
.faq-head { align-self: start; position: sticky; top: 110px; }
.faq-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; padding: 14px; border-radius: 20px; background: var(--olive-deep); color: var(--sage-bright); }
.faq-head h2 { margin: 14px 0 18px; color: var(--olive-deep); font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -.04em; }
.faq-head p { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .3s ease; }
.faq-list details[open] { box-shadow: 0 20px 50px rgba(16,17,16,.08); }
.faq-list summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; color: var(--ink); font-family: "Roboto Slab", Rockwell, Georgia, serif; font-size: 18px; font-weight: 700; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--olive); font-family: "Carlito", Calibri, sans-serif; font-size: 12px; letter-spacing: .14em; }
.faq-list summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 2px; background: var(--olive-deep); transition: transform .3s ease; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { margin: 0; padding: 0 24px 24px 60px; color: var(--muted); font-size: 16px; line-height: 1.7; }

@media (max-width: 1100px) { .icon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .about-story-home { min-height: 0; grid-template-columns: 1fr; gap: 34px; padding-top: 300px; }
  .about-story-photo { height: 340px; object-position: 62% 40%; }
  .about-story-shade { background: linear-gradient(180deg, rgba(246,245,239,0) 0px, rgba(246,245,239,.1) 180px, rgba(246,245,239,1) 340px); }
  .about-quote-float { justify-self: stretch; max-width: none; }
  .icon-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
  .icon-card { padding: 22px 20px 24px; }
  .icon-badge { width: 54px; height: 54px; padding: 12px; border-radius: 16px; }
  .faq-section { grid-template-columns: 1fr; gap: 34px; }
  .faq-head { position: static; }
  .faq-list summary { padding: 18px 18px; font-size: 16.5px; gap: 12px; }
  .faq-list details p { padding: 0 18px 20px 18px; }
  .hero-chips li { font-size: 12px; }
}

/* Approach */
.approach-hero.has-photo { min-height: 860px; }
.approach-hero.has-photo .inner-hero-aside { max-width: 560px; margin-top: 44px; }
.has-photo-band { position: relative; isolation: isolate; overflow: hidden; }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.has-photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(41,44,22,.95) 0%, rgba(41,44,22,.8) 45%, rgba(41,44,22,.35) 100%); }
.has-photo-band p { color: rgba(246,245,239,.8) !important; }
.care-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.care-row li { display: grid; justify-items: center; gap: 10px; padding: 18px 8px 16px; border: 1px solid rgba(246,245,239,.16); border-radius: 18px; background: rgba(246,245,239,.06); color: var(--paper); font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: background .3s ease, transform .3s ease; }
.care-row li:hover { background: rgba(180,154,89,.18); transform: translateY(-4px); }
.care-row li span { width: 40px; height: 40px; color: var(--sage-bright); }
@media (max-width: 800px) { .care-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .approach-hero.has-photo { min-height: 0; } }

/* Education: article cards with photos (also fixes the oversized link boxes) */
.article-grid article h3 a, .article-grid article b a { min-height: 0; padding: 0; display: inline; border: 0; }
.article-grid article.has-thumb { min-height: 0; padding: 0 0 30px; overflow: hidden; border-radius: 22px; background: rgba(246,245,239,.04); transition: background .3s ease, transform .35s ease; }
.article-grid { gap: 18px; border: 0; }
.article-grid article.has-thumb:hover { background: rgba(246,245,239,.08); transform: translateY(-5px); }
.article-grid article.has-thumb > :not(.article-thumb) { margin-left: 30px; margin-right: 30px; }
.article-grid .article-thumb { display: block; min-height: 0; padding: 0; margin: 0 0 26px; border: 0; aspect-ratio: 16 / 8; overflow: hidden; }
.article-grid .article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.article-grid article.has-thumb:hover .article-thumb img { transform: scale(1.06); }
.article-grid article.has-thumb h3 { margin-top: 14px; }
.article-grid article.has-thumb b { margin-top: 18px; }

/* Services: what we treat */
.treat-section { background: var(--paper); }
.identify-page-intro.has-photo { position: relative; overflow: hidden; }
.identify-page-intro.has-photo::before { content: ""; position: absolute; inset: 0; }
.identify-page-intro.has-photo > :not(img) { position: relative; z-index: 1; }
.has-photo .identify-page-radar, .has-photo .approach-orbit { display: none; }

/* Service area map */
.area-map-section { background: var(--navy); color: var(--paper); }
.area-map-section .section-heading h2 { color: var(--paper); }
.area-map-section .section-heading p, .area-map-section .area-note { color: rgba(246,245,239,.72); }
.area-map-section .area-note a { color: var(--sage-bright); }
.area-map-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5vw; align-items: center; margin-top: 50px; }
.area-map { margin: 0; }
.area-map svg { display: block; width: 100%; height: auto; }
.area-map figcaption { margin-top: 10px; color: rgba(246,245,239,.6); font-size: 13px; text-align: center; }
.am-ring { fill: none; stroke: rgba(180,154,89,.45); stroke-width: 1.2; stroke-dasharray: 4 6; }
.am-ring-label { fill: rgba(201,178,116,.8); font: 700 11px "Carlito", Calibri, sans-serif; letter-spacing: .14em; text-anchor: middle; text-transform: uppercase; }
.am-city circle { fill: rgba(246,245,239,.85); transition: r .25s ease, fill .25s ease; }
.am-city text { fill: rgba(246,245,239,.78); font: 600 13px "Carlito", Calibri, sans-serif; transition: fill .25s ease; }
.am-core circle { fill: var(--sage-bright); }
.am-core text { fill: var(--paper); font-size: 15.5px; font-weight: 700; }
.am-link text { text-decoration: underline; text-decoration-color: rgba(201,178,116,.7); text-underline-offset: 3px; }
a:hover .am-city circle, a:focus .am-city circle { r: 9; fill: var(--sage-bright); }
a:hover .am-city text, a:focus .am-city text { fill: var(--sage-bright); }
.am-office circle { fill: var(--sage-bright); }
.am-office .am-pulse { fill: rgba(201,178,116,.35); transform-origin: 400px 400px; animation: am-pulse 2.4s ease-out infinite; }
.am-office text { fill: var(--sage-bright); font: 800 13px "Carlito", Calibri, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.am-lawton path { fill: none; stroke: rgba(201,178,116,.7); stroke-width: 1.4; stroke-dasharray: 3 5; }
.am-lawton circle { fill: var(--sage-bright); }
.am-lawton text { fill: var(--paper); font: 700 16px "Carlito", Calibri, sans-serif; }
.am-lawton .am-small { fill: rgba(246,245,239,.6); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@keyframes am-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.js .area-map .am-ring { stroke-dashoffset: 2400; }
.js .area-map.is-visible .am-ring { animation: am-draw 2.2s ease forwards var(--d); }
.js .area-map .am-city { opacity: 0; }
.js .area-map.is-visible .am-city { animation: am-pop .5s ease forwards var(--d); }
.js .area-map[data-reveal] { opacity: 1; transform: none; }
@keyframes am-draw { to { stroke-dashoffset: 0; } }
@keyframes am-pop { from { opacity: 0; } to { opacity: 1; } }
.area-map-section .area-group-title { color: var(--sage-bright); }
.area-map-section .area-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; border: 0; }
.area-map-section .area-list li { padding: 8px 14px; border: 1px solid rgba(246,245,239,.16); border-radius: 99px; background: rgba(246,245,239,.05); color: var(--paper); font-size: 14px; }
.area-map-section .area-list li a { color: var(--sage-bright); font-weight: 700; }
.area-map-section .area-list li::before, .area-map-section .area-list li::after { display: none; }
@media (prefers-reduced-motion: reduce) { .js .area-map .am-city { opacity: 1; animation: none; } .js .area-map .am-ring { stroke-dashoffset: 0; animation: none; } .am-office .am-pulse { animation: none; } }
@media (max-width: 900px) { .area-map-grid { grid-template-columns: 1fr; } .am-city text { font-size: 15px; } .am-core text { font-size: 18px; } }

/* Icons added inside existing card grids */
.card-icon { display: grid !important; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; padding: 12px; border-radius: 18px; background: var(--olive-deep); color: var(--sage-bright) !important; transition: transform .35s ease; }
.card-icon .pp-icon { width: 100%; height: 100%; }
.has-card-icon { transition: transform .35s ease, box-shadow .35s ease, background .35s ease; }
.has-card-icon:hover { transform: translateY(-5px); box-shadow: 0 24px 54px rgba(16,17,16,.14); }
.has-card-icon:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.dark-section .card-icon, .health-risk-section .card-icon, .sector-focus .card-icon { background: var(--sage); color: var(--ink) !important; }
.approach-matrix article.has-card-icon h3, .focus-grid article.has-card-icon h3, .risk-card-grid article.has-card-icon h3 { margin-top: 18px; }
.list-icon { display: grid !important; place-items: center; width: 40px; height: 40px; padding: 8px; border-radius: 13px; background: var(--olive-deep); color: var(--sage-bright) !important; flex: 0 0 auto; }
.sign-list > div, .prevention-list > div { display: flex !important; align-items: center; gap: 16px; }
.sign-list > div > span:nth-child(2), .prevention-list > div > span:nth-child(2) { min-width: 22px; }
.sign-list > div > i { margin-left: auto; }
.prevention-list .list-icon { background: var(--ink); }
.check-icon { display: grid !important; place-items: center; width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: var(--olive-deep); color: var(--sage-bright) !important; }
.check-icon .pp-icon { width: 100%; height: 100%; }

/* CSS-drawn icons for cards printed by 2.4.1 functions */
.price-lock-policy-grid article, .contact-details a, .pack-grid article { position: relative; }
.price-lock-policy-grid article::before, .contact-details a::before { content: ""; display: block; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 16px; background: var(--olive-deep); -webkit-mask: none; }
.price-lock-policy-grid article::after, .contact-details a::after { content: ""; position: absolute; width: 28px; height: 28px; background: var(--sage-bright); -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.price-lock-policy-grid article::after { top: calc(var(--card-pad, 30px) + 11px); left: calc(var(--card-pad, 30px) + 11px); }
.price-lock-policy-grid article:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%277%27%20y%3D%2710%27%20width%3D%2734%27%20height%3D%2731%27%20rx%3D%273%27%2F%3E%3Cpath%20d%3D%27M7%2018h34M15%206v8M33%206v8%27%2F%3E%3Cpath%20d%3D%27M17%2029l4%204%209-9%27%2F%3E%3C%2Fsvg%3E"); }
.price-lock-policy-grid article:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2724%27%20cy%3D%2718%27%20r%3D%2711%27%2F%3E%3Cpath%20d%3D%27M19%2018l3.5%203.5L29%2015%27%2F%3E%3Cpath%20d%3D%27M17%2027l-4%2015%2011-5%2011%205-4-15%27%2F%3E%3C%2Fsvg%3E"); }
.price-lock-policy-grid article:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%2023V7h16l20%2020-15%2015z%27%2F%3E%3Ccircle%20cx%3D%2715%27%20cy%3D%2716%27%20r%3D%273%27%2F%3E%3C%2Fsvg%3E"); }
.price-lock-policy-grid article:nth-child(4) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%2711%27%20y%3D%279%27%20width%3D%2726%27%20height%3D%2733%27%20rx%3D%274%27%2F%3E%3Cpath%20d%3D%27M18%209V6h12v3%27%2F%3E%3Cpath%20d%3D%27M17%2022l4%204%209-9%27%2F%3E%3Cpath%20d%3D%27M17%2033h14%27%2F%3E%3C%2Fsvg%3E"); }
.contact-details a::before { width: 40px; height: 40px; margin-bottom: 12px; border-radius: 13px; background: var(--sage); }
.contact-details a::after { width: 22px; height: 22px; background: var(--ink); top: calc(var(--card-pad, 18px) + 9px); left: calc(var(--card-pad, 18px) + 9px); }
.contact-details a:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M14%206h7l3%209-5%203a24%2024%200%200%200%2011%2011l3-5%209%203v7a4%204%200%200%201-4%204C21%2038%2010%2027%2010%2010a4%204%200%200%201%204-4z%27%2F%3E%3C%2Fsvg%3E"); }
.contact-details a:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M24%2043s13-12.5%2013-23a13%2013%200%200%200-26%200c0%2010.5%2013%2023%2013%2023z%27%2F%3E%3Ccircle%20cx%3D%2724%27%20cy%3D%2720%27%20r%3D%275%27%2F%3E%3C%2Fsvg%3E"); }
.contact-details a:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2048%2048%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.6%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%276%27%20y%3D%2711%27%20width%3D%2736%27%20height%3D%2726%27%20rx%3D%273%27%2F%3E%3Cpath%20d%3D%27M7%2013l17%2013%2017-13%27%2F%3E%3C%2Fsvg%3E"); }

/* Programs plan icons, homepage climate icons */
.plan-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; padding: 12px; border-radius: 17px; background: rgba(246,245,239,.08); color: var(--sage-bright); }
.pricing-grid article.featured .plan-icon { background: var(--sage); color: var(--ink); }
.climate-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; padding: 10px; border-radius: 14px; background: var(--olive-deep); color: var(--sage-bright); font-style: normal; }
.price-lock-policy-grid article { --card-pad: clamp(24px, 3vw, 38px); }
.contact-details a { --card-pad: 20px; }

/* Phone refinements */
@media (max-width: 800px) {
  .icon-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .icon-card-top { grid-row: span 2; margin: 0; }
  .icon-num { display: none; }
  .icon-card h3 { font-size: 18.5px; margin-bottom: 6px; }
  .icon-card p { font-size: 14.5px; }
}
@media (max-width: 900px) {
  .am-city:not(.am-core) text { display: none; }
  .am-core text { font-size: 30px; }
  .am-core circle { r: 10; }
  .am-city:not(.am-core) circle { r: 6; }
  .am-office text { font-size: 24px; }
  .am-ring-label { font-size: 20px; }
  .am-lawton text { font-size: 30px; }
  .am-lawton .am-small { font-size: 18px; }
}
@media (max-width: 900px) { .am-c-bethany text, .am-c-del-city text { display: none; } }
