/*
Theme Name: Ideal Pest Control
Theme URI: https://idealpestcontrol.com.au/
Author: Ideal Pest Control Melbourne
Description: A fast, conversion-focused theme for Ideal Pest Control Melbourne. Includes a multi-step quote form with dashboard inbox and email notifications, a 12-pest knowledge library, service pages, a Melbourne seasonal pest calendar, FAQ and LocalBusiness schema, and a mobile call bar. Configure under Appearance → Customize → Ideal Pest Control.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ideal-pest
Tags: business, one-column, two-columns, custom-logo, custom-menu, featured-images, theme-options, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--brand: #1a9b4b;
	--brand-dark: #12783a;
	--brand-50: #e8f6ed;
	--navy: #0b2a3c;
	--navy-2: #123a52;
	--accent: #ffc93c;
	--accent-dark: #f0b400;
	--ink: #10212c;
	--muted: #5b6b75;
	--line: #e2e8eb;
	--bg: #ffffff;
	--tint: #f3f7f5;
	--warn: #b45309;
	--warn-50: #fff7e6;
	--danger: #b91c1c;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(11, 42, 60, .06), 0 8px 24px rgba(11, 42, 60, .08);
	--shadow-lg: 0 20px 50px rgba(11, 42, 60, .18);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip; /* Wide embedded content must never zoom the page out on phones. */
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ipc-icon { flex: none; vertical-align: middle; }
.ipc-icon.flip { transform: scaleX(-1); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
	font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(26, 155, 75, .28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: var(--navy); box-shadow: 0 6px 16px rgba(255, 201, 60, .3); }
.btn--accent:hover { background: var(--accent-dark); color: var(--navy); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn--outline-light:hover { color: var(--navy); background: #fff; border-color: #fff; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-dark); margin-top: auto; }
.link-arrow .ipc-icon { transition: transform .15s ease; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfe0e8; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .ipc-icon { color: var(--accent); }
.topbar__phones { gap: 18px; }
.topbar__phones a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar__phones a:hover { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; /* No backdrop-filter: it would trap the fixed mobile menu inside the header. */ border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 42, 60, .08); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { flex: none; }
.brand img { max-height: 54px; width: auto; display: block; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo__mark { display: block; flex: none; filter: drop-shadow(0 3px 6px rgba(15, 110, 52, .25)); transition: transform .2s ease; }
.logo:hover .logo__mark { transform: rotate(-4deg) scale(1.04); }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; line-height: .9; color: var(--navy); }
.logo__sub { margin-top: 5px; font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); line-height: 1; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--accent); }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu a { display: block; white-space: nowrap; padding: 10px 13px; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .96rem; }
.primary-nav .menu a:hover { background: var(--tint); color: var(--brand-dark); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--brand-dark); background: var(--brand-50); }
.primary-nav .menu li { position: relative; }
.primary-nav .sub-menu { 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: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { border-radius: 8px; }
.primary-nav__mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.header-call__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); position: relative; }
.header-call__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ring 2.4s ease-out infinite; }
.header-call__text { line-height: 1.15; }
.header-call__text small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; border-radius: 10px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }
@keyframes ring { 0% { transform: scale(.9); opacity: .7; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: 40px; }
.section--dark { background: radial-gradient(1000px 500px at 85% 0%, rgba(26, 155, 75, .28), transparent 60%), var(--navy); color: #d6e4ea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.is-center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.eyebrow--light { color: var(--accent); }
.lead { font-size: 1.13rem; color: var(--muted); }
.lead--light { color: #c4d6de; }
.fine-print { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; color: #fff; overflow: hidden;
	background:
		radial-gradient(900px 500px at 10% 0%, rgba(26, 155, 75, .45), transparent 60%),
		radial-gradient(700px 500px at 100% 100%, rgba(255, 201, 60, .14), transparent 60%),
		var(--navy);
}
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .08;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17z' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E");
	mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.hero--photo { background: linear-gradient(100deg, rgba(11, 42, 60, .96) 0%, rgba(11, 42, 60, .85) 45%, rgba(11, 42, 60, .45) 100%), var(--hero-img) center / cover no-repeat; }
.hero--photo::before { display: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead { font-size: 1.2rem; color: #c9dbe3; max-width: 580px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 28px; font-weight: 600; color: #e3eef2; }
.hero__trust li { display: flex; align-items: center; gap: 10px; }
.hero__trust .ipc-icon { color: var(--accent); }

.hero-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card__step { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--brand); margin: 0 0 6px; }
.hero-card__title { font-size: 1.55rem; margin-bottom: 4px; }
.hero-card__hint { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.hero-card__foot { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.hero-card__foot .ipc-icon { color: var(--brand); }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 2px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .95rem; transition: .15s ease; color: var(--navy); }
.chip span .ipc-icon { color: var(--brand); }
.chip:hover span { border-color: #b9dcc6; }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- Pest tiles ---------- */
.pest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pest-grid--small { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pest-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); transition: .18s ease; }
.pest-tile:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy); }
.pest-tile__icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); transition: .18s ease; }
.pest-tile:hover .pest-tile__icon { background: var(--brand); color: #fff; }
.pest-tile__name { font-weight: 700; }
.pest-grid--small .pest-tile { flex-direction: row; padding: 12px 14px; text-align: left; }
.pest-grid--small .pest-tile__icon { width: 48px; height: 48px; }

.risk { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; }
.risk--high { background: #fde8e8; color: var(--danger); }
.risk--medium { background: var(--warn-50); color: var(--warn); }
.risk--low { background: var(--brand-50); color: var(--brand-dark); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 24px; }
.service-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .18s ease; }
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.service-card:hover .link-arrow .ipc-icon { transform: translateX(4px); }
.service-card__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); margin-bottom: 18px; }
.service-card h2, .service-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.service-card h2 a, .service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h2 a::after, .service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; background: var(--tint); border-radius: var(--radius); }
.step__num { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--accent); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -18px; width: 14px; height: 2px; background: var(--line); }

/* ---------- Split / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-list li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.feature-list .ipc-icon { color: var(--accent); }
.feature-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.feature-list p { margin: 0; font-size: .95rem; color: #b8ccd5; }

/* ---------- Seasons ---------- */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.season { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s ease; }
.season.is-current { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50), var(--shadow); }
.season__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.season__head > .ipc-icon { color: var(--brand); }
.season__head h3 { margin: 0; }
.season__head span { color: var(--muted); font-size: .88rem; font-weight: 600; }
.season__now { display: none; margin-left: auto; background: var(--brand); color: #fff !important; font-size: .7rem !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.season.is-current .season__now { display: inline-block; }
.season p { color: var(--muted); font-size: .95rem; }
.season__pests { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.season__pests a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--navy); text-decoration: none; font-size: .85rem; font-weight: 600; }
.season__pests a:hover { background: var(--brand-50); color: var(--brand-dark); }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ipc-icon { color: var(--brand); margin-top: 3px; }
.checklist--grid { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist--risk .ipc-icon { color: var(--danger); }
.checklist--compact { gap: 8px; font-size: .93rem; margin-bottom: 18px; color: var(--muted); }

.termite-panel { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--warn); }
.termite-panel h3 { display: flex; align-items: center; gap: 10px; color: var(--warn); }
.termite-panel__warn { margin: 22px 0 0; padding: 14px 16px; background: var(--warn-50); border-radius: 12px; color: #7c3d06; }

/* ---------- Pricing ---------- */
.tabs { position: relative; display: flex; gap: 6px; padding: 6px; margin: 0 auto 32px; width: fit-content; max-width: 100%; overflow-x: auto; background: var(--tint); border-radius: 999px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; font: 700 .95rem var(--font); color: var(--muted); background: none; border: 0; padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: .15s ease; white-space: nowrap; }
.tabs [role="tab"]:hover { color: var(--navy); }
.tabs [aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(11, 42, 60, .12); }
.tab-panel { animation: stepIn .3s ease; }
.tab-panel__intro { text-align: center; color: var(--muted); max-width: 640px; margin: -8px auto 28px; }
.size-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 32px; }
.size-switch__label { font-weight: 700; color: var(--navy); margin-right: 4px; }
.size-switch button { display: flex; flex-direction: column; align-items: center; min-width: 140px; padding: 10px 18px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-family: var(--font); transition: .15s ease; }
.size-switch button strong { color: var(--navy); font-size: .95rem; }
.size-switch button small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.size-switch button:hover { border-color: #b9dcc6; }
.size-switch [aria-checked="true"] { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.tier h3 { font-size: 1.5rem; margin-bottom: 6px; }
.tier__tag { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.tier__blurb { color: var(--muted); font-size: .95rem; min-height: 3em; }
.tier__price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 6px; }
.tier__price span { font-size: 3rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.tier__price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.tier__save { display: inline-block; align-self: flex-start; margin: 4px 0 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: .82rem; font-weight: 800; }
.tier__warranty { display: flex; align-items: center; gap: 8px; margin: 10px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-dark); font-weight: 700; font-size: .92rem; }
.tier__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: .93rem; }
.tier__list li { display: flex; gap: 10px; align-items: flex-start; }
.tier__list .ipc-icon { margin-top: 3px; }
.tier__list .is-in .ipc-icon { color: var(--brand); }
.tier__list .is-out { color: #a3b0b7; }
.tier__list .is-out > span { text-decoration: line-through; text-decoration-color: rgba(163, 176, 183, .5); }
.tier .btn { margin-top: auto; }
.tier.is-featured { background: var(--navy); border-color: var(--navy); color: #d6e4ea; box-shadow: var(--shadow-lg); }
.tier.is-featured h3, .tier.is-featured .tier__price span { color: #fff; }
.tier.is-featured .tier__tag { color: var(--accent); }
.tier.is-featured .tier__blurb, .tier.is-featured .tier__price small { color: #a9c0cb; }
.tier.is-featured .tier__warranty { background: rgba(255, 255, 255, .08); color: var(--accent); }
.tier.is-featured .is-in .ipc-icon { color: var(--accent); }
.tier.is-featured .is-out { color: #5d7787; }
.addons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 28px; padding: 18px 22px; border: 1px dashed #c9d6dc; border-radius: 16px; }
.addons__title { margin: 0; font-weight: 800; color: var(--navy); }
.addons ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.addons li { padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: .88rem; font-weight: 600; color: var(--navy); }
.addons li strong { color: var(--brand-dark); }
.compare { margin-top: 56px; }
.compare h3 { text-align: center; font-size: 1.5rem; margin-bottom: 20px; }
.compare__scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--navy); }
.compare thead th { background: var(--tint); color: var(--navy); font-weight: 800; }
.compare thead th.is-featured { background: var(--navy); color: #fff; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--brand); }
.compare .no { color: #b6c2c8; }
.compare__price { background: var(--brand-50); }
.compare__price strong { font-size: 1.3rem; color: var(--navy); }
.compare__price small { display: block; color: var(--muted); font-weight: 600; }
.price-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-items--4 { grid-template-columns: repeat(4, 1fr); }
.price-item { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.price-item.is-featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50), var(--shadow); }
.price-item__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.price-item__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); }
.badge { font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: #fff; letter-spacing: .03em; }
.price-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.price-item__price { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.price-item__price small { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-item__price--custom { font-size: 1.5rem; color: var(--brand-dark); }
.price-item__per { color: var(--muted); font-size: .88rem; margin: 4px 0 16px; }
.price-item .btn { margin-top: auto; }
.factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.factor { padding: 24px; background: #fff; border-radius: var(--radius); }
.factor .ipc-icon { color: var(--brand); margin-bottom: 12px; }
.factor h3 { font-size: 1.08rem; }
.factor p { color: var(--muted); font-size: .94rem; margin: 0; }
.split--top { align-items: start; }
.fine-print a { font-weight: 700; margin-left: 4px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: .15s ease; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; color: var(--navy); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ipc-icon { color: var(--brand); transition: transform .2s ease; }
.faq__item[open] summary .ipc-icon { transform: rotate(180deg); }
.faq__item p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.area h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.area .ipc-icon { color: var(--brand); }
.area p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #e9fbef; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
.cta-band .eyebrow--light { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #071d2a; color: #a9bfca; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.site-footer__about p { margin-top: 18px; }
.site-footer .logo:hover { color: inherit; }
.site-footer__title { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.site-footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.site-footer a { color: #d7e5eb; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact li { display: flex; gap: 10px; align-items: center; }
.site-footer__contact .ipc-icon { color: var(--brand); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }

.mobile-bar { display: none; }

/* ---------- Page hero & breadcrumbs ---------- */
.page-hero { background: radial-gradient(800px 400px at 0% 0%, rgba(26, 155, 75, .35), transparent 60%), var(--navy); color: #c9dbe3; padding-block: 36px 56px; }
.page-hero--compact { padding-bottom: 44px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero__lead { font-size: 1.15rem; max-width: 680px; margin: 0; }
.page-hero__meta { margin: 0; }
.page-hero__meta a { color: var(--accent); }
.page-hero__split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.page-hero__icon { width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: var(--accent); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #9fc7d6; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }

/* ---------- Pest library ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filter-bar button { font: 600 .92rem var(--font); padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; }
.filter-bar button:hover { border-color: #fff; }
.filter-bar button.is-active { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.library-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .18s ease; }
.library-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.library-card:hover .link-arrow .ipc-icon { transform: translateX(4px); }
.library-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.library-card__icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); }
.library-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.library-card h2 a { color: var(--navy); text-decoration: none; }
.library-card h2 a::after { content: ""; position: absolute; inset: 0; }
.library-card__tag { color: var(--muted); font-size: .95rem; }
.mini-facts { margin: 0 0 18px; display: grid; gap: 6px; font-size: .86rem; }
.mini-facts div { display: flex; gap: 8px; }
.mini-facts dt { font-weight: 700; color: var(--navy); min-width: 62px; }
.mini-facts dd { margin: 0; color: var(--muted); }

/* ---------- Guide (single pest / service) ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-block: 0 88px; }
.guide__body { min-width: 0; }
.guide__section { padding-top: 40px; scroll-margin-top: calc(var(--header-h) + 20px); }
.guide__section h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: -28px 0 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.facts div { padding: 18px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.4; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-bottom: 6px; }
.toc a { padding: 7px 14px; border-radius: 999px; background: var(--tint); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .88rem; }
.toc a:hover { background: var(--brand-50); color: var(--brand-dark); }
.species { display: grid; gap: 14px; }
.species__item { padding: 20px 22px; border-left: 4px solid var(--brand); background: var(--tint); border-radius: 0 12px 12px 0; }
.species__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.species__item p { margin: 0; color: var(--muted); }
.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: 14px; background: var(--brand-50); margin-top: 32px; }
.callout .ipc-icon { color: var(--brand-dark); flex: none; }
.callout p { margin: 4px 0 0; }
.callout--warn { background: var(--warn-50); border: 1px solid #fde1a6; }
.callout--warn .ipc-icon, .callout--warn strong { color: var(--warn); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 24px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.timeline__num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; }
.timeline h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.timeline p { margin: 0; color: var(--muted); }
.timeline li > div > p:only-child { padding-top: 7px; color: var(--ink); }
.guide__aside { padding-top: 40px; }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; }
.sticky-card h2 { font-size: 1.35rem; margin: 0; }
.sticky-card p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.sticky-card .eyebrow { margin: 0; }
.sticky-card__related { margin-top: 8px !important; font-size: .9rem; }
.sticky-card__sub { font-size: .95rem; margin: 14px 0 0; }
.sticky-card__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }

/* ---------- Quote form ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-block: 0 88px; margin-top: -24px; position: relative; }
.quote-main { min-width: 0; }
.qf, .qf-success { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); }
.qf-hp { position: absolute; left: -9999px; }
.qf-progress { list-style: none; padding: 0; margin: 0 0 14px; display: none; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.qf.is-js .qf-progress { display: grid; }
.qf-progress button { width: 100%; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; font: 600 .9rem var(--font); color: var(--muted); cursor: pointer; text-align: left; }
.qf-progress button:disabled { cursor: default; opacity: .6; }
.qf-progress span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-size: .82rem; font-weight: 800; flex: none; transition: .2s ease; }
.qf-progress .is-current button { color: var(--navy); }
.qf-progress .is-current span { border-color: var(--brand); background: var(--brand); color: #fff; }
.qf-progress .is-done span { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.qf-bar { display: none; height: 6px; border-radius: 999px; background: var(--tint); margin-bottom: 28px; overflow: hidden; }
.qf.is-js .qf-bar { display: block; }
.qf-bar span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--brand), #46c475); border-radius: inherit; transition: width .35s ease; }
.qf-step { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.qf.is-js .qf-step { display: none; margin-bottom: 8px; }
.qf.is-js .qf-step.is-active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.qf-step legend { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; outline: none; }
.qf-step__num { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.qf-help { color: var(--muted); margin: -8px 0 18px; font-size: .95rem; }
.qf-sub { font-size: 1.05rem; margin: 28px 0 12px; }
.opt-grid { display: grid; gap: 12px; }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid--4 { grid-template-columns: repeat(4, 1fr); }
.opt-grid--4.opt-grid--compact { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; cursor: pointer; display: flex; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 2px solid var(--line); border-radius: 14px; transition: .15s ease; background: #fff; position: relative; }
.opt__box::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff center / 14px no-repeat; transition: .15s ease; }
.opt__box--row { flex-direction: row; align-items: center; gap: 12px; padding: 14px 44px 14px 16px; }
.opt__box--row::after { top: 50%; transform: translateY(-50%); }
.opt__icon { color: var(--brand-dark); display: inline-flex; }
.opt strong { color: var(--navy); font-size: .98rem; line-height: 1.3; }
.opt small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.opt:hover .opt__box { border-color: #b9dcc6; }
.opt input:checked + .opt__box { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.opt input:checked + .opt__box::after { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt--pest .opt__box { align-items: center; text-align: center; padding: 18px 10px 14px; }
.opt--pest .opt__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; }
.opt--pest input:checked + .opt__box .opt__icon { background: #fff; }
.qf-packages { margin-top: 8px; padding-top: 4px; }
.qf-help a { font-weight: 700; }
.opt--pkg .opt__box { padding-right: 40px; }
.opt__price { font-weight: 800; color: var(--brand-dark); font-size: .95rem; }
.opt--featured .opt__box { border-color: #b9dcc6; }
.opt--featured .opt__box::before { content: "Popular"; position: absolute; top: -10px; left: 14px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.opt--urgent .opt__icon { color: var(--danger); }
.opt--urgent input:checked + .opt__box { border-color: var(--danger); background: #fff1f1; box-shadow: inset 0 0 0 1px var(--danger); }
.opt--urgent input:checked + .opt__box::after { background-color: var(--danger); border-color: var(--danger); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 9px 16px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--navy); transition: .15s ease; }
.pill:hover span { border-color: #b9dcc6; }
.pill input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row .field--sm { max-width: 180px; }
.field + .qf-privacy, .qf-step > .field { margin-top: 22px; }
.field label, .field__label { font-weight: 700; color: var(--navy); font-size: .93rem; }
.req { color: var(--danger); }
.opt-label { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; font: 500 1rem var(--font); color: var(--ink);
	padding: 13px 15px; border: 2px solid var(--line); border-radius: 12px; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.has-error input, .has-error select, .has-error .opt__box { border-color: var(--danger) !important; }
.has-error.opt-grid { padding: 6px; margin: -6px; border-radius: 16px; background: #fff1f1; }
.qf-error, .qf-alert { padding: 14px 16px; border-radius: 12px; background: #fff1f1; border: 1px solid #fecaca; color: var(--danger); font-weight: 600; margin-bottom: 20px; }
.qf-urgent-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 12px 14px; background: #fff1f1; border-radius: 12px; color: var(--danger); font-weight: 600; font-size: .93rem; }
.qf-urgent-note a { color: inherit; }
.qf-privacy { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; margin: 18px 0 0; }
.qf-privacy .ipc-icon { color: var(--brand); }
.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.qf-nav [data-qf-next], .qf-nav [data-qf-submit] { margin-left: auto; }
.qf:not(.is-js) [data-qf-next], .qf:not(.is-js) [data-qf-back] { display: none !important; }
.qf-success { text-align: center; outline: none; }
.qf-success__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: var(--brand); color: #fff; box-shadow: 0 0 0 10px var(--brand-50); animation: pop .4s ease; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.qf-success__next { text-align: left; max-width: 460px; margin: 24px auto; padding-left: 1.3em; display: grid; gap: 8px; color: var(--muted); }
.qf-success__urgent { padding: 14px; background: var(--tint); border-radius: 12px; }
.quote-aside { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.summary { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary h2 { font-size: 1.15rem; margin-bottom: 14px; }
.summary dl { margin: 0; display: grid; gap: 12px; }
.summary div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: .92rem; }
.summary dt { color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; color: #aab6bd; font-weight: 600; }
.summary dd.is-filled { color: var(--navy); }
.call-card { padding: 24px; border-radius: 18px; background: var(--navy); color: #b8ccd5; display: grid; gap: 8px; }
.call-card .eyebrow { margin: 0; color: var(--accent); }
.call-card a { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.call-card a .ipc-icon { color: var(--accent); }
.call-card p { margin: 4px 0 0; font-size: .88rem; }
.assurance { list-style: none; padding: 0 6px; margin: 0; display: grid; gap: 12px; font-size: .92rem; font-weight: 600; color: var(--navy); }
.assurance li { display: flex; align-items: center; gap: 10px; }
.assurance .ipc-icon { color: var(--brand); }

/* ---------- Blog / prose ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card__img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.post-card h2 { font-size: 1.2rem; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card p { color: var(--muted); margin: 0; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: 12px; }
.prose__feature { margin: 0 0 28px; }
.prose blockquote { border-left: 4px solid var(--brand); margin-left: 0; padding: 4px 20px; color: var(--muted); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); }
.empty { text-align: center; max-width: 560px; margin: 0 auto; }
.empty__icon { display: inline-grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; justify-content: center; margin: 18px 0; }
.search-form input[type="search"] { padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.search-form input[type="submit"] { padding: 12px 18px; border: 0; border-radius: 12px; background: var(--navy); color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.comments { margin-top: 48px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 12px; font: inherit; }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; padding: 12px 22px; border-radius: 999px; font: 700 1rem var(--font); cursor: pointer; }

/* ---------- Photos ---------- */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 40%; z-index: 0; }
.hero--photo { background: var(--navy); }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(11, 42, 60, .97) 0%, rgba(11, 42, 60, .9) 42%, rgba(11, 42, 60, .55) 72%, rgba(11, 42, 60, .35) 100%); }
.hero--photo .hero__grid { z-index: 1; }
.split--photo { grid-template-columns: .9fr 1.1fr; align-items: center; }
.split--photo .feature-list { margin: 28px 0 30px; }
.collage { position: relative; padding: 0 0 56px 0; }
.collage img { display: block; border-radius: 22px; object-fit: cover; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.collage__main { width: 82%; height: auto; aspect-ratio: 4 / 5; }
.collage__small { position: absolute; right: 0; bottom: 0; width: 52%; height: auto; aspect-ratio: 4 / 3; border: 6px solid var(--navy); }
.collage__badge { position: absolute; left: -10px; bottom: 90px; margin: 0; max-width: 170px; padding: 14px 16px; border-radius: 16px; background: var(--accent); color: var(--navy); font-weight: 700; font-size: .85rem; line-height: 1.3; box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.collage__badge strong { display: block; font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; }
.service-card__media { margin: -24px -24px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--tint); }
.service-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__media + .service-card__icon { position: relative; margin-top: -32px; background: #fff; box-shadow: 0 6px 16px rgba(11, 42, 60, .14); }
.service-card { overflow: hidden; }
.page-hero__photo { margin: 0; width: 420px; max-width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); border: 4px solid rgba(255, 255, 255, .12); }
.page-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tech-card { position: relative; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.tech-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.tech-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(11, 42, 60, .92)); color: #d6e4ea; font-size: .88rem; }
.tech-card figcaption strong { display: block; color: #fff; font-size: 1.05rem; }
@media (max-width: 960px) {
	.hero--photo::after { background: linear-gradient(180deg, rgba(11, 42, 60, .82) 0%, rgba(11, 42, 60, .93) 45%, rgba(11, 42, 60, .97) 100%); }
	.split--photo { grid-template-columns: 1fr; }
	.collage { max-width: 520px; margin-inline: auto; width: 100%; }
	.page-hero__photo { width: 100%; }
	.tech-card img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
	.collage__badge { left: 0; bottom: 70px; max-width: 140px; padding: 10px 12px; }
	.collage__badge strong { font-size: 1.5rem; }
}

/* ---------- Service areas ---------- */
.area a { color: var(--navy); text-decoration-color: rgba(26, 155, 75, .4); }
.area a:hover { color: var(--brand-dark); }
.areas__more { text-align: center; margin-top: 28px; }
.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.region-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.region-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; margin: 0; }
.region-card h2 .ipc-icon { color: var(--brand); }
.region-card__council { margin: 4px 0 14px 32px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.region-card > p { color: var(--muted); font-size: .95rem; }
.suburb-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.suburb-chips a { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 700; font-size: .92rem; text-decoration: none; transition: .15s ease; }
.suburb-chips a:hover { background: var(--brand); color: #fff; }
.suburb-chips small { font-weight: 600; opacity: .65; }
.area-pests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area-pest { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); transition: .15s ease; }
.area-pest:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--navy); }
.area-pest__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-dark); }
.area-pest strong { display: block; }
.area-pest small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.area-services { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.area-services li { padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.area-services a { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.area-services a .ipc-icon { color: var(--brand); }
.area-services a:hover strong { color: var(--brand-dark); }
.area-services span { display: block; margin: 4px 0 0 32px; color: var(--muted); font-size: .92rem; }
.guide__section h3 { margin-top: 22px; }
.area-more { color: var(--muted); font-size: .94rem; }
.area-more a { font-weight: 600; }
@media (max-width: 960px) {
	.region-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.area-pests { grid-template-columns: 1fr; }
	.region-card { padding: 22px; }
}

/* ---------- Responsive ---------- */
.header-call__text { white-space: nowrap; }
@media (max-width: 1320px) {
	.header-call__text { display: none; }
}
@media (max-width: 1100px) {
	.primary-nav .menu a { padding-inline: 10px; font-size: .92rem; }
	.pest-grid { grid-template-columns: repeat(4, 1fr); }
	.seasons { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.card-grid { grid-template-columns: repeat(2, 1fr); }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts div:nth-child(2) { border-right: 0; }
	.facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.opt-grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.topbar__hide-sm { display: none; }
	.nav-toggle { display: inline-flex; }
	.header-quote { display: none; }
	.primary-nav {
		position: fixed; top: var(--nav-top, calc(var(--header-h) + 40px)); left: 0; right: 0; bottom: 0; z-index: 99;
		overscroll-behavior: contain;
		background: #fff; padding: 20px; overflow-y: auto;
		/* Fade in place: a menu parked off-screen to the side widens the page and makes phones zoom out. */
		opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
	.nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; gap: 2px; }
	.primary-nav .menu a { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.primary-nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
	.header-actions { margin-left: auto; }
	.hero__grid, .split, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
	.split--reverse > :first-child { order: 2; }
	.feature-list { grid-template-columns: 1fr 1fr; }
	.tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.price-items, .price-items--4 { grid-template-columns: 1fr 1fr; }
	.factors { grid-template-columns: 1fr 1fr; }
	.areas { grid-template-columns: 1fr 1fr; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
	.guide, .quote-layout { grid-template-columns: 1fr; }
	.quote-aside { position: static; }
	.page-hero__split { grid-template-columns: minmax(0, 1fr); }
	.page-hero .btn { white-space: normal; text-align: center; }
	.page-hero__icon { display: none; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

	/* Sticky call / quote bar on phones and tablets. */
	body { padding-bottom: 68px; }
	.mobile-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -6px 20px rgba(11, 42, 60, .12); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 6px; border-radius: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
	.mobile-bar__call { background: var(--navy); color: #fff; }
	.mobile-bar__text { background: var(--brand); color: #fff; }
	.mobile-bar__quote { background: var(--accent); color: var(--navy); }
	.ipc-view-quote .mobile-bar__quote { display: none; }
	.ipc-view-quote .mobile-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar__inner { justify-content: center; }
	.topbar__inner > .topbar__item:first-child { display: none; }
	.header-call { display: none; }
	.logo__mark { width: 40px; height: 40px; }
	.logo__name { font-size: 1.45rem; }
	.hero__trust { grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: .9rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero-card { padding: 22px; }
	.pest-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pest-grid--small { grid-template-columns: 1fr 1fr; }
	.pest-grid--small .pest-tile { flex-direction: column; text-align: center; padding: 16px 8px; }
	.pest-tile { min-width: 0; overflow-wrap: anywhere; }
	.steps, .seasons, .feature-list, .areas, .checklist--grid { grid-template-columns: 1fr; }
	.card-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.opt-grid--3, .opt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.opt-grid--compact { grid-template-columns: 1fr; }
	.opt__box { padding: 14px 40px 14px 12px; }
	.opt-grid--4.opt-grid--compact { grid-template-columns: 1fr; }
	.opt strong { overflow-wrap: anywhere; }
	.field-row { grid-template-columns: 1fr; }
	.field-row .field--sm { max-width: none; }
	.qf-progress button { font-size: 0; justify-content: center; gap: 0; }
	.qf-progress span { font-size: .82rem; }
	.qf-nav .btn--lg { padding: .9em 1.3em; font-size: 1rem; }
	.facts { grid-template-columns: 1fr 1fr; }
	.cta-band__actions, .cta-band__actions .btn { width: 100%; }
	.tabs { width: 100%; border-radius: 16px; }
	.size-switch__label { grid-column: 1 / -1; text-align: center; }
	.size-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
	.size-switch button { min-width: 0; padding: 8px 4px; }
	.size-switch button strong { font-size: .82rem; }
	.price-items, .price-items--4, .factors { grid-template-columns: 1fr; }
	.tier { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.prose iframe, .prose video, .prose table, .prose figure { max-width: 100%; }
.prose { overflow-wrap: anywhere; }

.field input[type="date"] { min-height: 52px; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
