/*
Theme Name: Rockwall Leak Response
Theme URI: https://pipeleakwaterdamagerockwalltx.com/
Description: Lightweight custom theme for Rockwall Leak Response, a free pay-per-call referral line for pipe leak water damage in Rockwall, TX. No page builder, no plugins required. On activation it creates all pages, the front page, menus and permalinks (once).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Author: Rockwall Leak Response
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rockwall-leak-response
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #16323d;
	--ink-2: #0f2530;
	--lake: #1f5f73;
	--lake-2: #2a7690;
	--mist: #eaf2f4;
	--white: #ffffff;
	--signal: #f5c518;
	--signal-2: #ffd43b;
	--text: #1c2c33;
	--muted: #4a6470;
	--line: #cfdfe4;
	--radius: 10px;
	--wrap: 1180px;
	--shadow: 0 1px 2px rgba(22, 50, 61, .06), 0 8px 24px rgba(22, 50, 61, .08);
	--font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", Arial, sans-serif;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--lake); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--signal);
	border-radius: 4px;
}
.plw-section--ink :focus-visible, .plw-footer :focus-visible, .plw-topbar :focus-visible, .plw-hero :focus-visible, .plw-band :focus-visible, .plw-titleband :focus-visible {
	outline-color: var(--white);
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.plw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.plw-narrow { max-width: 860px; }

.plw-icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -.15em; }

/* ---------- Call button (signal yellow + caution stripe edge) ---------- */
.plw-call {
	position: relative;
	display: inline-flex; align-items: center; gap: .55em;
	padding: .72em 1.15em .72em 1.55em;
	background: var(--signal);
	color: var(--ink);
	font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	border-radius: 8px; overflow: hidden;
	box-shadow: 0 2px 0 rgba(15, 37, 48, .25);
	transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.plw-call::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
	background: repeating-linear-gradient(135deg, var(--ink) 0 5px, var(--signal) 5px 10px);
}
.plw-call:hover { background: var(--signal-2); color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 0 rgba(15, 37, 48, .25); }
.plw-call:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(15, 37, 48, .25); }
.plw-call--sm { font-size: .92rem; }
.plw-call--lg { font-size: 1.12rem; padding: .85em 1.35em .85em 1.8em; }
.plw-call--xl { font-size: clamp(1.15rem, 2.6vw, 1.4rem); padding: .9em 1.5em .9em 2em; }
.plw-call--lg::before, .plw-call--xl::before { width: 13px; background: repeating-linear-gradient(135deg, var(--ink) 0 6px, var(--signal) 6px 12px); }
.plw-call .plw-icon { width: 1.15em; height: 1.15em; }

.plw-textlink { font-weight: 700; color: var(--lake); }
.plw-textlink::after { content: " \2192"; }
.plw-section--ink .plw-textlink { color: var(--signal); }

.plw-eyebrow {
	display: inline-block; margin: 0 0 .8em;
	font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--lake);
}

/* ---------- Top bar ---------- */
.plw-topbar { background: var(--ink-2); color: #d5e4e9; font-size: .92rem; }
.plw-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.plw-topbar__note { margin: 0; display: flex; align-items: center; gap: 8px; }
.plw-topbar__note .plw-icon { color: var(--signal); }
.plw-topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; }
.plw-topbar__phone .plw-icon { color: var(--signal); }
.plw-topbar__phone:hover { color: var(--signal); }

/* ---------- Header ---------- */
.plw-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .plw-header { top: 32px; }
.plw-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.plw-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.plw-logo:hover { color: var(--ink); }
.plw-logo__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
	background: var(--ink); color: var(--signal);
	box-shadow: inset 0 -4px 0 var(--lake);
}
.plw-logo__mark .plw-icon { width: 22px; height: 22px; }
.plw-logo__text { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.01em; }
.plw-logo__text strong { font-weight: 800; }
.plw-logo--light { color: var(--white); }
.plw-logo--light:hover { color: var(--white); }
.plw-logo--light .plw-logo__mark { background: var(--signal); color: var(--ink); box-shadow: none; }

/* Nav (desktop) */
.plw-nav { display: flex; align-items: center; gap: 8px; }
.plw-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.plw-menu > li { position: relative; display: flex; align-items: center; }
.plw-menu a {
	display: block; padding: 10px 12px; border-radius: 6px;
	font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none;
}
.plw-menu a:hover, .plw-menu .current-menu-item > a, .plw-menu .current-menu-ancestor > a, .plw-menu .current-page-ancestor > a { color: var(--lake); background: var(--mist); }
.plw-sub-toggle {
	display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; padding: 0;
	border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 6px;
}
.plw-sub-toggle .plw-icon { width: 16px; height: 16px; transition: transform .15s ease; }
.menu-item-has-children.is-open > .plw-sub-toggle .plw-icon { transform: rotate(180deg); }
.plw-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.plw-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.plw-menu .sub-menu a { font-weight: 600; font-size: .96rem; padding: 9px 12px; }
.plw-menu li:hover > .sub-menu, .plw-menu li:focus-within > .sub-menu, .plw-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.plw-nav__call { display: none; }

.plw-nav-toggle {
	display: none; align-items: center; gap: 8px;
	padding: 9px 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white);
	font-family: var(--font-head); font-weight: 700; color: var(--ink); cursor: pointer;
}
.plw-nav-toggle__bars, .plw-nav-toggle__bars span, .plw-nav-toggle__bars::before, .plw-nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.plw-nav-toggle__bars { position: relative; background: transparent; height: 14px; }
.plw-nav-toggle__bars span { position: absolute; top: 6px; transition: opacity .15s; }
.plw-nav-toggle__bars::before, .plw-nav-toggle__bars::after { content: ""; position: absolute; left: 0; transition: transform .2s ease; }
.plw-nav-toggle__bars::before { top: 0; }
.plw-nav-toggle__bars::after { bottom: 0; }
.nav-open .plw-nav-toggle__bars span { opacity: 0; }
.nav-open .plw-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .plw-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
	.plw-menu a { padding: 10px 9px; font-size: .94rem; }
	.plw-header__inner { gap: 14px; }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.plw-header__call { display: none; }
	.plw-nav-toggle { display: inline-flex; }
	.js .plw-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 12px 20px 20px;
	}
	.js .nav-open .plw-nav { display: block; }
	.no-js .plw-nav { display: block; width: 100%; }
	.no-js .plw-header__inner { flex-wrap: wrap; }
	.no-js .plw-nav-toggle { display: none; }
	.plw-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.plw-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.plw-menu > li > a { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
	.plw-sub-toggle { width: 44px; height: 44px; margin: 0; }
	.plw-menu .sub-menu {
		position: static; min-width: 0; width: 100%; display: none;
		opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0 0 10px 12px; background: transparent;
	}
	.plw-menu li:hover > .sub-menu, .plw-menu li:focus-within > .sub-menu { display: none; }
	.plw-menu li.is-open > .sub-menu, .no-js .plw-menu .sub-menu { display: block; }
	.plw-nav__call { display: inline-flex; margin-top: 16px; width: 100%; justify-content: center; }
}
@media (max-width: 782px) { .admin-bar .plw-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .plw-header { top: 0; } }

/* ---------- Home: hero ---------- */
.plw-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(42, 118, 144, .55), transparent 60%),
		linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
	color: #dbe8ec;
	padding: clamp(48px, 8vw, 96px) 0;
}
.plw-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
	background: repeating-linear-gradient(135deg, var(--signal) 0 14px, var(--ink-2) 14px 28px);
}
.plw-hero__inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.plw-hero h1 { color: var(--white); margin-bottom: .4em; }
.plw-hero .plw-eyebrow { color: var(--signal); }
.plw-hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); max-width: 40em; color: #dbe8ec; }
.plw-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.plw-hero__note { margin: 0; font-size: .95rem; color: #b9d0d8; }
.plw-hero__panel {
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px; padding: 26px 26px 20px;
}
.plw-hero__panel-title { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.1rem; margin-bottom: .8em; }
.plw-hero__panel-note { font-size: .9rem; color: #a9c3cc; margin: 1em 0 0; padding-top: 1em; border-top: 1px solid rgba(255, 255, 255, .14); }

.plw-ticks { list-style: none; margin: 0; padding: 0; }
.plw-ticks li { position: relative; padding: 7px 0 7px 32px; }
.plw-ticks li::before {
	content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2316323d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Sections ---------- */
.plw-section { padding: clamp(52px, 7vw, 88px) 0; }
.plw-section--mist { background: var(--mist); }
.plw-section--ink { background: var(--ink); color: #d5e4e9; }
.plw-section--ink h2, .plw-section--ink h3 { color: var(--white); }
.plw-section--ink .plw-eyebrow { color: var(--signal); }
.plw-section__head { max-width: 760px; margin-bottom: 32px; }
.plw-section__head p { color: var(--muted); font-size: 1.15rem; }
.plw-section--ink .plw-section__head p { color: #c3d6dc; }
.plw-section__more { margin: 28px 0 0; }

.plw-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.plw-split__intro p { color: inherit; }
.plw-split__intro .plw-call { margin-top: 8px; }

/* Service cards */
.plw-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plw-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.plw-card:hover { border-color: var(--lake); box-shadow: var(--shadow); transform: translateY(-2px); }
.plw-card:focus-within { border-color: var(--lake); box-shadow: var(--shadow); }
.plw-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--mist); color: var(--lake); margin-bottom: 16px; }
.plw-card__icon .plw-icon { width: 24px; height: 24px; }
.plw-card__title { font-size: 1.2rem; margin: 0 0 .4em; }
.plw-card__title a { color: var(--ink); text-decoration: none; }
.plw-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.plw-card__title a:focus-visible { box-shadow: none; outline: none; }
.plw-card:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.plw-card__text { color: var(--muted); font-size: 1.02rem; margin-bottom: 14px; }
.plw-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--lake); }
.plw-card__more .plw-icon { width: 16px; height: 16px; transition: transform .15s ease; }
.plw-card:hover .plw-card__more .plw-icon { transform: translateX(3px); }
.plw-prose .plw-cards { margin: 1.6em 0 2em; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plw-prose .plw-card__title { margin-top: 0; font-size: 1.15rem; }

/* Signs list */
.plw-signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plw-signs li {
	background: var(--white); border-radius: 10px; padding: 16px 16px 16px 46px; position: relative;
	border: 1px solid var(--line); font-size: 1.02rem; line-height: 1.45;
}
.plw-signs li::before {
	content: "!"; position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center; background: var(--signal); color: var(--ink);
	font-family: var(--font-head); font-weight: 800; font-size: .85rem; line-height: 1;
}
.plw-signs strong { color: var(--ink); }

/* Steps */
.plw-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plw-steps li { counter-increment: step; position: relative; padding: 64px 22px 22px; background: var(--mist); border-radius: 12px; }
.plw-steps li::before {
	content: counter(step); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px; border-radius: 8px;
	display: grid; place-items: center; background: var(--ink); color: var(--signal);
	font-family: var(--font-head); font-weight: 800;
}
.plw-steps h3 { font-size: 1.12rem; }
.plw-steps p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* Why */
.plw-why { display: grid; gap: 18px; }
.plw-why__item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--signal); border-radius: 10px; padding: 20px 22px; }
.plw-why__item h3 { margin-bottom: .35em; }
.plw-why__item p { margin: 0; color: #c9dbe0; }

/* Callout */
.plw-callout { background: var(--ink); color: #d5e4e9; border-radius: 14px; padding: 30px; position: relative; overflow: hidden; }
.plw-callout::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--signal) 0 10px, var(--ink) 10px 20px); }
.plw-callout__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--signal); line-height: 1; margin: 8px 0 12px; }

/* Chips */
.plw-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.plw-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.plw-chip--zip { background: var(--ink); border-color: var(--ink); color: var(--white); }
.plw-chip--zip .plw-icon { color: var(--signal); }
.plw-prose .plw-chips { margin: 1.2em 0 1.6em; }
.plw-prose .plw-chip { background: var(--mist); border-color: transparent; }
.plw-prose .plw-chip--zip { background: var(--ink); }

/* FAQ */
.plw-faq { display: grid; gap: 10px; margin: 0 0 1.5em; }
.plw-faq__item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.plw-faq__item[open] { border-color: var(--lake); }
.plw-faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 16px 18px; cursor: pointer; list-style: none;
	font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); border-radius: 10px;
}
.plw-faq__q::-webkit-details-marker { display: none; }
.plw-faq__q .plw-icon { color: var(--lake); transition: transform .15s ease; }
.plw-faq__item[open] .plw-faq__q .plw-icon { transform: rotate(180deg); }
.plw-faq__a { padding: 0 18px 4px; color: var(--text); }

/* Band */
.plw-band { background: var(--signal); color: var(--ink); position: relative; }
.plw-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(135deg, var(--ink) 0 14px, var(--signal) 14px 28px); }
.plw-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; padding-bottom: 48px; flex-wrap: wrap; }
.plw-band__title { margin: 0 0 .3em; color: var(--ink); }
.plw-band__text { margin: 0; font-size: 1.15rem; max-width: 40em; }
.plw-band__cta { text-align: center; }
.plw-band .plw-call { background: var(--ink); color: var(--white); }
.plw-band .plw-call::before { background: repeating-linear-gradient(135deg, var(--signal) 0 6px, var(--ink) 6px 12px); }
.plw-band .plw-call:hover { background: var(--ink-2); color: var(--white); }
.plw-band__note { margin: 10px 0 0; font-size: .92rem; }

/* ---------- Inner pages ---------- */
.plw-titleband {
	background: linear-gradient(160deg, var(--ink) 0%, var(--lake) 140%);
	color: #d5e4e9; padding: 34px 0 40px; position: relative;
}
.plw-titleband::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--signal) 0 12px, var(--ink) 12px 24px); }
.plw-titleband__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.plw-titleband__text { flex: 1 1 520px; min-width: 0; }
.plw-titleband__title { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.75rem); margin: .3em 0 .3em; }
.plw-titleband__lead { margin: 0; font-size: 1.15rem; color: #c9dbe0; max-width: 46em; }
.plw-titleband__cta { flex: 0 0 auto; text-align: center; }
.plw-titleband__note { margin: 8px 0 0; font-size: .9rem; color: #b9d0d8; }

.plw-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .92rem; }
.plw-crumbs li { display: inline-flex; align-items: center; color: #b9d0d8; }
.plw-crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: rgba(255, 255, 255, .4); }
.plw-crumbs a { color: var(--white); text-decoration: none; }
.plw-crumbs a:hover { text-decoration: underline; color: var(--signal); }
.plw-crumbs [aria-current] { color: #b9d0d8; }

.plw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.plw-main:focus { outline: none; }
.plw-sidebar { align-self: stretch; }

/* Prose */
.plw-prose { max-width: 760px; }
.plw-prose > :first-child { margin-top: 0; }
.plw-prose h2 { margin-top: 1.7em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); }
.plw-prose h3 { margin-top: 1.4em; }
.plw-prose ul, .plw-prose ol { padding-left: 1.3em; }
.plw-prose li { margin-bottom: .45em; }
.plw-prose ul li::marker { color: var(--lake); }
.plw-prose ol li::marker { color: var(--lake); font-family: var(--font-head); font-weight: 700; }
.plw-prose > p > .plw-call:only-child { margin: .2em 0; }
.plw-prose .plw-call { margin: .3em 0 .6em; }

.plw-callbox {
	position: relative; margin: 2.2em 0; padding: 28px 28px 22px; border-radius: 14px;
	background: var(--mist); border: 1px solid var(--line); overflow: hidden;
}
.plw-callbox::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(135deg, var(--signal) 0 8px, var(--ink) 8px 16px); }
.plw-callbox__title { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--ink); margin: 0 0 .3em; line-height: 1.2; }
.plw-callbox__text { margin: 0 0 1em; }
.plw-callbox__note { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.plw-prose .plw-callbox .plw-call { margin: 0; }

/* Sidebar */
.plw-sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.admin-bar .plw-sidebar__sticky { top: calc(var(--header-h) + 56px); }
.plw-sidecall { background: var(--ink); color: #d5e4e9; border-radius: 14px; padding: 24px; position: relative; overflow: hidden; }
.plw-sidecall::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--signal) 0 10px, var(--ink) 10px 20px); }
.plw-sidecall__title { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 1.25rem; line-height: 1.2; margin: 6px 0 .4em; }
.plw-sidecall__text { font-size: 1rem; }
.plw-sidecall .plw-call { width: 100%; justify-content: center; }
.plw-sidecall__list { list-style: none; margin: 16px 0 0; padding: 0; font-size: .98rem; }
.plw-sidecall__list li { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.plw-sidecall__list .plw-icon { color: var(--signal); }
.plw-sidenav { border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 12px; }
.plw-sidenav__title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin: 0 0 .5em; }
.plw-sidenav__title a { color: var(--ink); text-decoration: none; }
.plw-servlist { list-style: none; margin: 0; padding: 0; }
.plw-servlist li { border-top: 1px solid var(--line); }
.plw-servlist a { display: block; padding: 10px 4px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; }
.plw-servlist a:hover { color: var(--lake); }
.plw-servlist a[aria-current] { color: var(--lake); box-shadow: inset 3px 0 0 var(--signal); padding-left: 12px; }

/* Post list (fallback) */
.plw-postlist__item { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.plw-postlist__title { font-size: 1.4rem; }
.plw-postlist__title a { color: var(--ink); text-decoration: none; }

/* ---------- Footer ---------- */
.plw-footer { background: var(--ink-2); color: #b9d0d8; font-size: 1rem; padding-top: 56px; }
.plw-footer a { color: #e3eef1; }
.plw-footer a:hover { color: var(--signal); }
.plw-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.plw-footer__brand p { margin: 16px 0; max-width: 30em; }
.plw-footer__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--signal) !important; text-decoration: none; }
.plw-footer__phone .plw-icon { width: 22px; height: 22px; }
.plw-footer__title { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin: 6px 0 14px; }
.plw-footer__links { list-style: none; margin: 0; padding: 0; }
.plw-footer__links li { margin-bottom: 8px; }
.plw-footer__links a { text-decoration: none; }
.plw-footer__links a:hover { text-decoration: underline; }
.plw-footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; padding-bottom: 28px; font-size: .92rem; }
.plw-footer__disclaimer { max-width: 980px; }
.plw-footer__copy { margin: 0; color: #8fabb5; }

/* Mobile call bar */
.plw-callbar { display: none; }
@media (max-width: 960px) {
	body { padding-bottom: 76px; }
	.plw-callbar {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--ink-2); box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
	}
	.plw-callbar__btn {
		position: relative; overflow: hidden;
		display: flex; align-items: center; justify-content: center; gap: 4px 10px; flex-wrap: wrap;
		min-height: 54px; padding: 8px 14px 8px 24px; border-radius: 10px;
		background: var(--signal); color: var(--ink); text-decoration: none;
		font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.1;
	}
	.plw-callbar__btn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: repeating-linear-gradient(135deg, var(--ink) 0 6px, var(--signal) 6px 12px); }
	.plw-callbar__btn small { font-family: var(--font-body); font-weight: 600; font-size: .85rem; }
	.plw-callbar__btn:focus-visible { outline-color: var(--white); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.plw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.plw-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
}
@media (max-width: 960px) {
	.plw-hero__inner, .plw-split { grid-template-columns: minmax(0, 1fr); }
	.plw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.plw-layout { grid-template-columns: minmax(0, 1fr); padding-top: 36px; padding-bottom: 48px; }
	.plw-sidebar__sticky { position: static; }
	.plw-footer__grid { grid-template-columns: 1fr 1fr; }
	.plw-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 1.06rem; }
	.plw-wrap { padding-left: 16px; padding-right: 16px; }
	.plw-crumbs li:not(:first-child):not(:last-child) { display: none; }
	.plw-topbar__note span { font-size: .85rem; }
	.plw-topbar__note .plw-icon { display: none; }
	.plw-topbar__phone { display: none; }
	.plw-topbar__inner { justify-content: center; text-align: center; min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
	.plw-logo__text { font-size: 1.02rem; }
	.plw-logo__mark { width: 36px; height: 36px; }
	.plw-nav-toggle__label { display: none; }
	.plw-cards, .plw-prose .plw-cards, .plw-signs, .plw-steps { grid-template-columns: minmax(0, 1fr); }
	.plw-hero__cta .plw-call { width: 100%; justify-content: center; }
	.plw-call--xl { white-space: normal; }
	.plw-titleband { padding: 24px 0 32px; }
	.plw-titleband__cta { width: 100%; }
	.plw-titleband__cta .plw-call { width: 100%; justify-content: center; }
	.plw-band__cta, .plw-band__cta .plw-call { width: 100%; justify-content: center; }
	.plw-callbox { padding: 24px 20px 20px 26px; }
	.plw-callbox .plw-call { width: 100%; justify-content: center; white-space: normal; }
	.plw-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media print {
	.plw-topbar, .plw-header, .plw-callbar, .plw-sidebar, .plw-band, .plw-footer { display: none !important; }
	body { padding: 0; }
}
