/* ==========================================================================
   AEP Oil Site Sections — v2
   Cup O Code
   Palette: Ink (slate), River blue, Burner amber, Frost, Steel
   Type: Barlow Condensed (display) + Barlow (text)
   ========================================================================== */

:root {
	--aep-ink: #052e18;
	--aep-river: #0a5c2a;
	--aep-amber: #f4d712;
	--aep-red: #d80100;
}

.aep {
	--aep-ink-2: color-mix(in srgb, var(--aep-ink) 82%, #000);
	--aep-amber-deep: color-mix(in srgb, var(--aep-amber) 82%, #7a3d00);
	--aep-frost: #eef4ef;
	--aep-steel: #1f2933;
	--aep-line: #d5e0d7;
	--aep-text: #101a13;
	--aep-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--aep-body: "Barlow", "Segoe UI", system-ui, sans-serif;
	--aep-max: 1200px;
	--aep-gutter: clamp(20px, 4vw, 40px);

	font-family: var(--aep-body) !important;
	font-size: 17px !important;
	line-height: 1.6 !important;
	color: var(--aep-text) !important;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
}
.aep *, .aep *::before, .aep *::after { box-sizing: border-box; }

.aep h1, .aep h2, .aep h3, .aep h4 {
	font-family: var(--aep-display) !important;
	font-weight: 700 !important;
	color: inherit !important;
	text-transform: none;
	letter-spacing: 0 !important;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}
.aep h2 { font-size: clamp(1.8rem, 3vw, 2.6rem) !important; line-height: 1.05 !important; color: var(--aep-ink) !important; text-wrap: balance; }
.aep h3 { font-size: 1.55rem !important; line-height: 1.1 !important; }
.aep p { margin: 0 0 1em; }
.aep p:last-child { margin-bottom: 0; }
.aep ul { margin: 0; padding: 0; list-style: none; }
.aep a { transition: color .15s, background-color .15s, border-color .15s; }
.aep a:focus-visible, .aep button:focus-visible, .aep input:focus-visible {
	outline: 3px solid var(--aep-amber);
	outline-offset: 3px;
}
.aep .aep-icon { width: 1.3em; height: 1.3em; flex: none; display: block; }
.aep .aep-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.aep-wrap { max-width: var(--aep-max); margin: 0 auto; padding: 0 var(--aep-gutter); position: relative; }
.aep-section { padding: clamp(64px, 9vw, 120px) 0; }
.aep-bleed { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }

.aep-head { max-width: 720px; margin: 0 0 clamp(32px, 4vw, 48px); text-align: left; }
.aep-head h2 { margin-bottom: .4em; }
.aep-head p { color: var(--aep-steel) !important; font-size: 1.08rem !important; max-width: 60ch; }
.aep-head--split {
	max-width: none; text-align: left; display: grid; grid-template-columns: 1.1fr .9fr;
	gap: clamp(20px, 5vw, 80px); align-items: end;
}
.aep-head--split h2 { margin: 0; }
.aep-lede { font-size: 1.3rem !important; line-height: 1.5 !important; color: var(--aep-ink) !important; font-weight: 500 !important; }

/* Every top-level section is a size container, so layouts respond to the
   space they actually get (theme content column or full width), not the window. */
.aep-hero, .aep-section, .aep-cta, .aep-trust, .aep-svc, .aep-contact,
.aep-jump, .aep-topbar, .aep-site-header, .aep-site-footer {
	container: aep / inline-size;
}
/* ---------- Theme-proofing ----------
   Page builders (Colibri, Elementor, Divi…) set text-align and fonts on their
   own sections, columns and on every <p>. Our root resets alignment and font,
   and plain text elements inherit them back from our components. The zero-
   specificity :where() rule loses to every one of our own !important rules. */
.aep { text-align: left !important; font-family: var(--aep-body) !important; }
:where(.aep) :where(h1, h2, h3, h4, h5, h6, p, li, dd, dt, span, a, label, small, strong, em, b, i, figcaption, blockquote, td, th, input, select, textarea, ul, ol, dl, nav, figure, div, section, article, aside, header, footer) {
	font-family: inherit !important;
	text-align: inherit !important;
	text-transform: inherit !important;
}
:where(.aep) :where(p, li, dd, dt) { letter-spacing: inherit !important; }
:where(.aep) :where(h1, h2, h3, h4, h5, h6, p, li, dd, dt, span, a, label, small, strong, em, b, i, figcaption, blockquote, td, th, div, ul, ol, dl, nav, figure, section, article, aside, header, footer, button) {
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	text-decoration: inherit !important;
}
:where(.aep) :where(strong, b) { font-weight: 700; }
.aep-photo--placeholder { text-align: center !important; }
.aep .aep-gauge__picks button { text-align: center !important; }

/* Neutralise theme layout constraints (block-theme content width, etc.) */
.aep-page, .entry-content > .aep, .is-layout-constrained > .aep-page { max-width: none !important; margin-left: 0; margin-right: 0; }
.aep :is(h1, h2, h3, h4) { font-family: var(--aep-display) !important; text-transform: none !important; letter-spacing: normal !important; }
.aep a.aep-btn, .aep .aep-svc-rows__item, .aep .aep-feature-card, .aep .aep-actions__list a { box-shadow: none; }

/* ---------- Buttons ---------- */
.aep-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.aep .aep-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 26px;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.2rem !important; letter-spacing: .01em !important; line-height: 1 !important;
	border-radius: 3px; border: 2px solid transparent; text-decoration: none !important;
	cursor: pointer;
}
.aep .aep-btn--primary { background: var(--aep-amber); color: var(--aep-ink) !important; }
.aep .aep-btn--primary:hover { background: color-mix(in srgb, var(--aep-amber) 85%, #fff); color: var(--aep-ink) !important; }
.aep .aep-btn--dark { background: var(--aep-ink); color: #fff !important; }
.aep .aep-btn--dark:hover { background: var(--aep-river); color: #fff !important; }
.aep .aep-btn--outline { border-color: var(--aep-ink); color: var(--aep-ink) !important; background: transparent; }
.aep .aep-btn--outline:hover { background: var(--aep-ink); color: #fff !important; }
.aep .aep-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff !important; background: transparent; }
.aep .aep-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff !important; }

.aep .aep-textlink {
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.2rem !important;
	text-decoration: underline !important; text-decoration-color: var(--aep-amber) !important;
	text-decoration-thickness: 3px !important; text-underline-offset: 6px !important;
}

/* ---------- Topo backdrop ---------- */
.aep-topo {
	position: absolute; inset: 0; width: 100%; height: 100%;
	color: #fff !important; opacity: .07; pointer-events: none;
}

/* ---------- Hero ---------- */
.aep.aep-hero {
	position: relative; overflow: hidden; color: #fff !important;
	background:
		radial-gradient(900px 500px at 85% 20%, color-mix(in srgb, var(--aep-river) 70%, transparent), transparent 70%),
		var(--aep-ink);
	padding: clamp(72px, 10vw, 128px) 0 clamp(72px, 9vw, 116px);
}
.aep.aep-hero.has-image {
	background:
		linear-gradient(90deg, var(--aep-ink) 0%, color-mix(in srgb, var(--aep-ink) 88%, transparent) 45%, color-mix(in srgb, var(--aep-ink) 55%, transparent) 100%),
		var(--aep-hero-img) center / cover no-repeat;
}
.aep-hero__grid { position: relative; z-index: 1; }
.aep-hero__grid.has-aside {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
	gap: clamp(32px, 6vw, 88px); align-items: center;
}
.aep .aep-hero__title {
	font-size: clamp(2.8rem, 5.8vw, 5.1rem) !important;
	line-height: .96 !important; font-weight: 800 !important; letter-spacing: -.005em !important;
	color: #fff !important; max-width: 15ch; margin-bottom: 24px;
	text-wrap: balance;
}
.aep-hero__sub {
	text-wrap: balance;
	font-family: var(--aep-display) !important; font-weight: 600 !important;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem) !important; line-height: 1.25 !important;
	color: var(--aep-amber) !important; max-width: 32ch;
}
.aep-hero__body { color: rgba(255,255,255,.78) !important; max-width: 58ch; font-size: 1.05rem !important; margin-bottom: 32px !important; }
.aep.aep-hero--inner { padding: clamp(64px, 8vw, 104px) 0; }
.aep-hero--inner .aep-hero__title { font-size: clamp(2.3rem, 4.4vw, 3.8rem) !important; max-width: 18ch; }
.aep.aep-hero--contact { padding-bottom: clamp(150px, 15vw, 210px); }

/* Home hero: exactly one screen tall on desktop (header + admin bar accounted for) */
@media (min-width: 961px) and (min-height: 560px) {
	.aep.aep-hero--home {
		min-height: calc(100svh - var(--aep-header-h, 0px) - var(--wp-admin--admin-bar--height, 0px));
		display: flex; align-items: center;
		padding: clamp(24px, 5vh, 64px) 0;
	}
	.aep.aep-hero--home > .aep-wrap { width: 100%; }
	.aep.aep-hero--home .aep-hero__title { font-size: clamp(2.2rem, min(3.7vw, 6.2vh), 3.6rem) !important; line-height: 1.02 !important; max-width: 15em; margin-bottom: 2.2vh; text-wrap: balance; }
	.aep-hero--home .aep-hero__sub { font-size: clamp(1.1rem, min(1.6vw, 2.6vh), 1.4rem) !important; max-width: 34ch; margin-bottom: 1.8vh; text-wrap: balance; }
	.aep-hero--home .aep-hero__body { font-size: clamp(.88rem, 1.9vh, .98rem) !important; line-height: 1.6 !important; max-width: 60ch; margin-bottom: 3.2vh !important; color: rgba(255,255,255,.7) !important; }
	.aep-hero--home .aep-gauge { padding: clamp(16px, 2.8vh, 28px) clamp(18px, 2.4vw, 28px); }
	.aep-hero--home .aep-gauge__ask { font-size: clamp(1.15rem, 2.6vh, 1.45rem) !important; }
	.aep-hero--home .aep-tank { height: clamp(130px, 26vh, 230px); }
	.aep-hero--home .aep-gauge__help { font-size: clamp(.82rem, 1.8vh, .92rem) !important; }
	.aep-hero--home .aep-gauge__picks button { padding: clamp(7px, 1.3vh, 12px) 0; font-size: clamp(1.05rem, 2.4vh, 1.35rem) !important; }
	.aep-hero--home .aep-gauge__out { margin-top: clamp(10px, 1.8vh, 18px); min-height: clamp(96px, 15vh, 118px); }
	.aep-hero--home .aep-gauge__msg p { margin-bottom: 1.2vh !important; }
}

@container aep (min-width: 961px) {
	.aep-hero__grid.has-aside { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }
}

/* ---------- Tank gauge ---------- */
.aep-gauge {
	background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 8px;
	padding: 28px 28px 30px;
	backdrop-filter: blur(4px);
}
.aep-gauge__ask {
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.45rem !important; line-height: 1.15 !important;
	margin: 0 0 6px !important; color: #fff !important;
}
.aep-gauge__help { color: rgba(255,255,255,.62) !important; font-size: .92rem !important; line-height: 1.45 !important; margin: 0 0 6px !important; }
.aep-tank { display: block; width: 100%; height: auto; margin: 6px auto 2px; overflow: visible; }
.aep-tank__body { fill: rgba(255,255,255,.05); }
.aep-tank__outline { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.5; }
.aep-tank__oil {
	transform-box: fill-box; transform-origin: 50% 100%;
	transform: scaleY(max(var(--aep-level, 1) * .92, .05));
	transition: transform 1.4s cubic-bezier(.3, .9, .3, 1);
}
.aep-tank__oil-top { stop-color: var(--aep-amber); stop-opacity: .95; }
.aep-tank__oil-bot { stop-color: color-mix(in srgb, var(--aep-amber) 55%, #7a2e00); stop-opacity: .95; }
.aep-tank__legs path { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 4; stroke-linecap: round; }
.aep-tank__pipes rect, .aep-tank__pipes path { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.aep-tank__plate rect { fill: rgba(14,34,51,.55); stroke: rgba(255,255,255,.35); }
.aep-tank__plate text { font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 11px !important; letter-spacing: .08em !important; fill: rgba(255,255,255,.8); text-anchor: middle; }
.aep-tank__nut { fill: #8a99a6; stroke: rgba(255,255,255,.6); stroke-width: 1; }
.aep-tank__vial { fill: rgba(220,236,245,.16); stroke: rgba(255,255,255,.8); stroke-width: 2; }
.aep-tank__vial-glint { fill: rgba(255,255,255,.35); }
.aep-tank__cap { fill: #d8e0e6; stroke: rgba(0,0,0,.25); }
.aep-tank__stem { stroke: rgba(255,255,255,.55); stroke-width: 1.5; }
.aep-tank__float {
	transform: translateY(calc((1 - var(--aep-level, 1)) * 66px));
	transition: transform 1.4s cubic-bezier(.3, .9, .3, 1);
}
.aep-tank__float rect { fill: #e2402e; stroke: #8f1d12; stroke-width: 1; }
.aep-tank__marks line { stroke: rgba(255,255,255,.85); stroke-width: 2; }
.aep-tank__marks text { font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 17px !important; fill: #fff; }

.aep-gauge__picks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.aep .aep-gauge__picks button {
	all: unset; box-sizing: border-box; cursor: pointer; text-align: center;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.35rem !important; line-height: 1 !important;
	padding: 12px 0; border-radius: 3px; color: #fff !important;
	border: 1.5px solid rgba(255,255,255,.28);
	transition: background .15s, border-color .15s, color .15s;
}
.aep .aep-gauge__picks button:hover { border-color: #fff; }
.aep .aep-gauge__picks button:focus-visible { outline: 3px solid var(--aep-amber); outline-offset: 2px; }
.aep .aep-gauge__picks button[aria-checked="true"] { background: var(--aep-amber); border-color: var(--aep-amber); color: var(--aep-ink) !important; }
.aep-gauge__out { margin-top: 18px; min-height: 118px; }
.aep-gauge__hint { color: rgba(255,255,255,.6) !important; font-size: .95rem !important; }
.aep-gauge__msg strong { display: block; font-family: var(--aep-display) !important; font-size: 1.5rem !important; line-height: 1.1 !important; color: #fff !important; margin-bottom: 4px; }
.aep-gauge__msg p { color: rgba(255,255,255,.78) !important; font-size: .98rem !important; margin-bottom: 14px !important; }
.aep-gauge__msg .aep-btn { min-height: 44px; font-size: 1.1rem !important; }

/* ---------- Trust strip ---------- */
.aep.aep-trust { background: #fff; border-bottom: 1px solid var(--aep-line); }
.aep-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.aep-trust li {
	display: flex; align-items: center; gap: 12px; padding: 26px 22px;
	font-family: var(--aep-display) !important; font-weight: 600 !important; font-size: 1.2rem !important; line-height: 1.15 !important; color: var(--aep-ink) !important;
}
.aep-trust li + li { border-left: 1px solid var(--aep-line); }
.aep-trust .aep-icon { width: 30px; height: 30px; color: var(--aep-river) !important; }

/* ---------- Home services ---------- */
.aep-home-svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 36px); }
.aep .aep-feature-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 480px; padding: clamp(28px, 4vw, 44px);
	background: var(--aep-river); color: #fff !important; text-decoration: none !important; border-radius: 6px;
}
.aep-feature-card__flame {
	position: absolute; top: -40px; right: -60px; width: 340px; height: 340px; color: var(--aep-amber) !important; opacity: .9;
}
.aep-feature-card__flame .aep-icon { width: 100%; height: 100%; stroke-width: .7; }
.aep-feature-card__for { position: relative; color: rgba(255,255,255,.7) !important; font-size: .95rem !important; margin-bottom: 8px; }
.aep .aep-feature-card h3 { position: relative; font-size: clamp(2.2rem, 3.6vw, 3rem) !important; line-height: 1 !important; margin-bottom: 14px; color: #fff !important; }
.aep-feature-card p { position: relative; color: rgba(255,255,255,.85) !important; max-width: 42ch; margin-bottom: 22px !important; }
.aep-feature-card .aep-textlink { position: relative; color: #fff !important; }
.aep .aep-feature-card:hover { background: color-mix(in srgb, var(--aep-river) 88%, #000); color: #fff !important; }

.aep-svc-rows { border-top: 2px solid var(--aep-ink); }
.aep-svc-rows li { border-bottom: 1px solid var(--aep-line); }
.aep .aep-svc-rows__item {
	display: grid; grid-template-columns: 56px 1fr 24px; gap: 20px; align-items: center;
	padding: 28px 12px 28px 4px; color: var(--aep-text) !important; text-decoration: none !important;
}
.aep-svc-rows__icon {
	width: 56px; height: 56px; border-radius: 4px; background: var(--aep-frost); color: var(--aep-river) !important;
	display: flex; align-items: center; justify-content: center;
}
.aep-svc-rows__icon .aep-icon { width: 30px; height: 30px; }
.aep .aep-svc-rows h3 { color: var(--aep-ink) !important; margin-bottom: 4px; }
.aep-svc-rows p { color: var(--aep-steel) !important; font-size: .98rem !important; }
.aep-svc-rows__go { color: var(--aep-steel) !important; }
.aep .aep-svc-rows__item:hover { background: var(--aep-frost); }
.aep .aep-svc-rows__item:hover .aep-svc-rows__icon { background: var(--aep-ink); color: var(--aep-amber) !important; }
.aep .aep-svc-rows__item:hover .aep-svc-rows__go { color: var(--aep-ink) !important; }

/* ---------- Service area ---------- */
.aep.aep-area { position: relative; overflow: hidden; background: var(--aep-ink); color: #fff !important; }
.aep-area .aep-topo { opacity: .09; }
.aep.aep-area h2 { color: #fff !important; margin-bottom: 18px; }
.aep-area__top {
	display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 6vw, 96px);
	align-items: end; margin-bottom: clamp(40px, 6vw, 64px);
}
.aep-area__top p { color: rgba(255,255,255,.75) !important; max-width: 56ch; font-size: 1.08rem !important; }

.aep-check { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 24px; }
.aep-check label { display: block; font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.4rem !important; margin-bottom: 12px; color: #fff !important; }
.aep-check__field { position: relative; }
.aep-check__field .aep-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--aep-steel) !important; width: 22px; height: 22px; }
.aep .aep-check input {
	width: 100%; height: 56px; padding: 0 16px 0 50px; margin: 0;
	border: 0; border-radius: 3px; background: #fff; color: var(--aep-ink) !important;
	font: 500 1.08rem/1 var(--aep-body); box-shadow: none;
}
.aep-check__out { margin: 14px 0 0 !important; min-height: 1.6em; font-size: 1rem !important; color: rgba(255,255,255,.85) !important; }
.aep-check__out strong { color: var(--aep-amber) !important; }
.aep-check__out a { color: #fff !important; font-weight: 600 !important; }

.aep-counties { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.aep-county { padding: 28px 22px 8px 0; }
.aep-county + .aep-county { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.12); }
.aep .aep-county h3 { font-size: 1.9rem !important; line-height: 1 !important; color: #fff !important; margin-bottom: 18px; }
.aep-county h3 span { display: block; font-size: 1rem !important; font-weight: 600 !important; color: var(--aep-amber) !important; margin-top: 4px; }
.aep-county li { padding: 5px 0; color: rgba(255,255,255,.82) !important; transition: color .2s; }
.aep-county li.is-match { color: var(--aep-amber) !important; font-weight: 700 !important; }
.aep-county__more { color: rgba(255,255,255,.5) !important; font-style: italic; }

/* ---------- About ---------- */
.aep-about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.aep-about__text h2 { margin-bottom: 24px; }
.aep-about__text > p:not(.aep-lede) { color: var(--aep-steel) !important; max-width: 60ch; }
.aep-about__text .aep-btns { margin-top: 30px; }
.aep-about__img { display: block; width: 100%; height: auto; border-radius: 6px; margin-bottom: 20px; }

.aep-office { background: var(--aep-frost); border-top: 5px solid var(--aep-amber); border-radius: 4px; padding: clamp(24px, 3vw, 36px); }
.aep-office__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--aep-steel) !important; font-weight: 600 !important; }
.aep .aep-office__phone {
	display: block; margin: 10px 0 22px; text-decoration: none !important;
	font-family: var(--aep-display) !important; font-weight: 800 !important; font-size: clamp(2.4rem, 4.2vw, 3.3rem) !important; line-height: 1 !important; color: var(--aep-ink) !important;
}
.aep .aep-office__phone:hover { color: var(--aep-river) !important; }
.aep-office dl { margin: 0; display: grid; gap: 16px; border-top: 1px solid var(--aep-line); padding-top: 20px; }
.aep-office dt { font-size: .9rem !important; color: var(--aep-steel) !important; }
.aep-office dd { margin: 2px 0 0; font-weight: 600 !important; color: var(--aep-ink) !important; }
.aep-office dd a { color: inherit !important; }

/* ---------- Status pill ---------- */
.aep-status {
	display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px;
	font-size: .85rem !important; font-weight: 600 !important; background: #fff; color: var(--aep-steel) !important; border: 1px solid var(--aep-line);
	white-space: nowrap;
}
.aep-status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aep-steel); }
.aep-status.is-open { color: #146c43 !important; border-color: #bfe3cf; background: #effaf3; }
.aep-status.is-open .aep-status__dot { background: #1f9d5c; box-shadow: 0 0 0 4px rgba(31,157,92,.18); }

/* ---------- CTA band ---------- */
.aep.aep-cta { background: var(--aep-amber); color: var(--aep-ink) !important; padding: clamp(56px, 7vw, 92px) 0; }
.aep-cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.aep .aep-cta__title { color: var(--aep-ink) !important; margin-bottom: 16px; }
.aep-cta__text p { color: color-mix(in srgb, var(--aep-ink) 85%, transparent) !important; font-size: 1.1rem !important; max-width: 56ch; }
.aep .aep-cta__phone {
	display: block; text-decoration: none !important; color: var(--aep-ink) !important; margin-bottom: 20px;
	font-family: var(--aep-display) !important; font-weight: 800 !important; font-size: clamp(2.8rem, 5.6vw, 4.6rem) !important; line-height: .95 !important; letter-spacing: -.01em !important;
}
.aep-cta__phone span { display: block; font-family: var(--aep-body) !important; font-weight: 600 !important; font-size: 1rem !important; letter-spacing: 0 !important; margin-bottom: 8px; }
.aep .aep-cta__phone:hover { color: var(--aep-river) !important; }

/* ---------- Services: jump nav ---------- */
.aep.aep-jump {
	position: sticky; top: var(--aep-sticky-offset, 0px); z-index: 30;
	background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--aep-line);
}
.aep-jump ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.aep.aep-jump a {
	display: flex; align-items: center; gap: 10px; padding: 20px 18px 17px; white-space: nowrap;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.15rem !important;
	color: var(--aep-steel) !important; text-decoration: none !important; border-bottom: 3px solid transparent;
}
.aep.aep-jump a:hover, .aep.aep-jump a.is-active { color: var(--aep-ink) !important; border-bottom-color: var(--aep-amber); }
.aep-jump .aep-icon { width: 22px; height: 22px; }

/* ---------- Services: detail rows ---------- */
.aep-svc { padding: clamp(64px, 8vw, 110px) 0; scroll-margin-top: calc(var(--aep-sticky-offset, 0px) + 64px); --aep-notch: #fff; }
section.aep-svc:nth-of-type(odd) { background: var(--aep-frost); --aep-notch: var(--aep-frost); }
.aep-svc__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.aep-svc__icon {
	display: inline-flex; width: 64px; height: 64px; border-radius: 4px; align-items: center; justify-content: center;
	background: var(--aep-ink); color: var(--aep-amber) !important; margin-bottom: 26px;
}
.aep-svc__icon .aep-icon { width: 34px; height: 34px; }
.aep .aep-svc__title { font-size: clamp(2.2rem, 4.2vw, 3.5rem) !important; line-height: .95 !important; font-weight: 800 !important; color: var(--aep-ink) !important; margin-bottom: 22px; }
.aep-svc__body { font-size: 1.12rem !important; line-height: 1.7 !important; max-width: 60ch; color: var(--aep-text) !important; }

.aep-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.aep-mode { background: #fff; border: 1px solid var(--aep-line); border-radius: 4px; padding: 20px 22px; }
.aep-mode--auto { border-color: var(--aep-ink); box-shadow: inset 4px 0 0 var(--aep-amber); }
.aep .aep-mode h4 { font-size: 1.4rem !important; color: var(--aep-ink) !important; margin-bottom: 6px; }
.aep-mode p { font-size: .97rem !important; color: var(--aep-steel) !important; }

/* Delivery-ticket panel */
.aep-ticket {
	position: relative; background: #fff; border: 1px solid var(--aep-line); border-radius: 6px;
	box-shadow: 0 1px 0 var(--aep-line), 0 24px 48px -28px rgba(14,34,51,.35);
}
.aep-ticket__row { padding: 22px 26px; }
.aep-ticket__row + .aep-ticket__row { border-top: 2px dashed var(--aep-line); position: relative; }
.aep-ticket__row + .aep-ticket__row::before,
.aep-ticket__row + .aep-ticket__row::after {
	content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--aep-notch); border: 1px solid var(--aep-line);
}
.aep-ticket__row + .aep-ticket__row::before { left: -12px; clip-path: inset(0 0 0 50%); }
.aep-ticket__row + .aep-ticket__row::after { right: -12px; clip-path: inset(0 50% 0 0); }
.aep-ticket__k { display: block; font-size: .88rem !important; color: var(--aep-steel) !important; margin-bottom: 6px; }
.aep-ticket__v { display: block; font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.4rem !important; line-height: 1.15 !important; color: var(--aep-ink) !important; }
.aep-ticket li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-weight: 600 !important; color: var(--aep-ink) !important; line-height: 1.35 !important; }
.aep-ticket li .aep-icon { color: var(--aep-river) !important; width: 20px; height: 20px; margin-top: 1px; stroke-width: 2.4; }
.aep-ticket__foot { padding: 0 26px 26px; }
.aep-ticket__foot .aep-btn { width: 100%; }

/* ---------- Integrated ---------- */
.aep.aep-integrated { background: var(--aep-frost); }
.aep-integrated__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.aep-integrated h2 { margin-bottom: 22px; }
.aep-integrated p { color: var(--aep-steel) !important; font-size: 1.1rem !important; max-width: 56ch; }
.aep-ticks { margin-top: 26px !important; display: grid; gap: 10px; }
.aep-ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600 !important; color: var(--aep-ink) !important; }
.aep-ticks .aep-icon { color: var(--aep-river) !important; stroke-width: 2.4; }
.aep-integrated__fig { background: #fff; box-shadow: 0 0 0 1px var(--aep-line); border-radius: 6px; padding: clamp(20px, 4vw, 44px); }
.aep-flow { width: 100%; height: auto; display: block; }
.aep-flow__lines path { stroke: var(--aep-amber); stroke-width: 3; stroke-dasharray: 7 7; }
.aep-flow__src rect { fill: #fff; stroke: var(--aep-line); }
.aep-flow text { font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 19px !important; fill: var(--aep-ink); text-anchor: middle; }
.aep-flow__dst rect { fill: var(--aep-ink); }
.aep-flow__dst text { fill: rgba(255,255,255,.8); font-size: 16px !important; font-weight: 600 !important; }
.aep-flow__dst .aep-flow__big { fill: var(--aep-amber); font-size: 24px !important; font-weight: 800 !important; }

/* ---------- FAQ ---------- */
.aep-faqs__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.aep-faqs__sticky { position: sticky; top: calc(var(--aep-sticky-offset, 0px) + 24px); }
.aep-faqs__search { position: relative; display: block; margin-bottom: 26px; }
.aep-faqs__search .aep-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--aep-steel) !important; width: 20px; height: 20px; }
.aep .aep-faqs__search input {
	width: 100%; height: 50px; padding: 0 14px 0 44px; margin: 0;
	border: 1.5px solid var(--aep-line); border-radius: 3px; background: #fff;
	font: 500 1rem/1 var(--aep-body); color: var(--aep-ink) !important; box-shadow: none;
}
.aep .aep-faqs__search input:focus { border-color: var(--aep-ink); outline: none; }
.aep-faqs__side nav li + li { border-top: 1px solid var(--aep-line); }
.aep .aep-faqs__side nav a {
	display: flex; justify-content: space-between; align-items: center; padding: 13px 2px;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.15rem !important; color: var(--aep-ink) !important; text-decoration: none !important;
}
.aep-faqs__side nav a span { font-family: var(--aep-body) !important; font-size: .85rem !important; color: var(--aep-steel) !important; font-weight: 500 !important; }
.aep .aep-faqs__side nav a:hover { color: var(--aep-river) !important; }
.aep-faq-group { scroll-margin-top: calc(var(--aep-sticky-offset, 0px) + 24px); }
.aep-faq-group + .aep-faq-group { margin-top: 56px; }
.aep .aep-faq-group h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem) !important; padding-bottom: 14px; border-bottom: 2px solid var(--aep-ink); }
.aep-faq { border-bottom: 1px solid var(--aep-line); }
.aep .aep-faq h3 { font-family: var(--aep-body) !important; font-size: 1.15rem !important; }
.aep .aep-faq button {
	all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	padding: 22px 0; font-family: var(--aep-body) !important; font-weight: 600 !important; font-size: 1.15rem !important; line-height: 1.4 !important; color: var(--aep-ink) !important;
}
.aep .aep-faq button:hover { color: var(--aep-river) !important; }
.aep .aep-faq button:focus-visible { outline: 3px solid var(--aep-amber); outline-offset: 2px; }
.aep-faq__x { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--aep-line); transition: background .2s, border-color .2s; }
.aep-faq__x::before, .aep-faq__x::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--aep-ink);
	transform: translate(-50%, -50%); transition: transform .25s;
}
.aep-faq__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.aep .aep-faq button[aria-expanded="true"] .aep-faq__x { background: var(--aep-amber); border-color: var(--aep-amber); }
.aep .aep-faq button[aria-expanded="true"] .aep-faq__x::after { transform: translate(-50%, -50%) rotate(0); }
.aep-faq__a { padding: 0 56px 24px 0; color: var(--aep-steel) !important; font-size: 1.05rem !important; line-height: 1.7 !important; }
.aep-faq__a mark { background: color-mix(in srgb, var(--aep-amber) 40%, transparent); color: inherit !important; padding: 0 2px; }
.aep-faqs__empty { padding: 24px; background: var(--aep-frost); border-radius: 4px; color: var(--aep-ink) !important; }
.aep-faqs__empty a { color: var(--aep-river) !important; font-weight: 600 !important; }

/* ---------- Contact ---------- */
.aep.aep-contact { background: var(--aep-frost); padding-bottom: clamp(64px, 8vw, 110px); }
.aep-contact__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.aep-page--contact .aep-form { margin-top: clamp(-120px, -9vw, -80px); position: relative; z-index: 2; }
.aep-page--contact .aep-info { padding-top: clamp(40px, 5vw, 64px); }

.aep.aep-form {
	background: #fff; border-radius: 6px; padding: clamp(28px, 4vw, 52px);
	box-shadow: 0 40px 80px -40px rgba(14,34,51,.45), 0 0 0 1px rgba(14,34,51,.06);
}
.aep.aep-form h2 { font-size: clamp(1.9rem, 3vw, 2.5rem) !important; margin-bottom: 12px; }
.aep-form__intro { color: var(--aep-steel) !important; margin-bottom: 28px !important; max-width: 52ch; }
.aep-notice { background: #fff7e6; border-left: 4px solid var(--aep-amber); padding: 16px 18px; font-size: .95rem !important; border-radius: 0 3px 3px 0; }

/* Forminator (set the form's Design Style to "None") */
.aep-form .forminator-row { margin-bottom: 18px !important; }
.aep-form .forminator-label, .aep-form label {
	display: block; font-family: var(--aep-body) !important; font-weight: 600 !important; font-size: .95rem !important;
	color: var(--aep-ink) !important; margin-bottom: 6px !important;
}
.aep-form input[type="text"], .aep-form input[type="email"], .aep-form input[type="tel"],
.aep-form select, .aep-form textarea {
	width: 100% !important; min-height: 52px; padding: 12px 14px !important;
	border: 1.5px solid var(--aep-line) !important; border-radius: 3px !important; background: #fff !important;
	font: 500 1rem/1.4 var(--aep-body) !important; color: var(--aep-ink) !important; box-shadow: none !important;
}
.aep-form textarea { min-height: 140px; }
.aep-form input:focus, .aep-form select:focus, .aep-form textarea:focus { border-color: var(--aep-ink) !important; outline: 3px solid color-mix(in srgb, var(--aep-amber) 55%, transparent); outline-offset: 0; }
.aep-form .forminator-button-submit, .aep-form button[type="submit"] {
	background: var(--aep-amber) !important; color: var(--aep-ink) !important; border: 0 !important; border-radius: 3px !important;
	min-height: 54px; padding: 0 32px !important; cursor: pointer;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.25rem !important;
}
.aep-form .forminator-button-submit:hover { background: color-mix(in srgb, var(--aep-amber) 85%, #fff) !important; }

.aep-info h2 { font-size: 2rem !important; margin-bottom: 14px; }
.aep .aep-info__phone {
	display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--aep-ink) !important;
	font-family: var(--aep-display) !important; font-weight: 800 !important; font-size: clamp(2.2rem, 3.6vw, 2.9rem) !important; line-height: 1 !important; margin-bottom: 26px;
}
.aep-info__phone .aep-icon { width: 34px; height: 34px; color: var(--aep-river) !important; }
.aep .aep-info__phone:hover { color: var(--aep-river) !important; }
.aep-info__list { margin: 0; border-top: 1px solid var(--aep-line); }
.aep-info__list > div { padding: 16px 0; border-bottom: 1px solid var(--aep-line); }
.aep-info dt { display: flex; align-items: center; gap: 8px; font-size: .9rem !important; color: var(--aep-steel) !important; margin-bottom: 4px; }
.aep-info dt .aep-icon { width: 18px; height: 18px; }
.aep-info dd { margin: 0; font-weight: 600 !important; color: var(--aep-ink) !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.aep-info dd a { color: inherit !important; text-decoration-color: var(--aep-amber) !important; text-underline-offset: 4px !important; }
.aep-info__map { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--aep-line); background: #dde7df; }
.aep-info__map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* Actions */
.aep-actions__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aep .aep-actions__list a {
	display: grid; grid-template-columns: 52px 1fr 20px; gap: 16px; align-items: center; height: 100%;
	padding: 24px; border: 1.5px solid var(--aep-line); border-radius: 6px; background: #fff;
	color: var(--aep-ink) !important; text-decoration: none !important;
}
.aep-actions__icon { width: 52px; height: 52px; border-radius: 4px; background: var(--aep-frost); color: var(--aep-river) !important; display: flex; align-items: center; justify-content: center; }
.aep-actions__icon .aep-icon { width: 26px; height: 26px; }
.aep-actions__list strong { display: block; font-family: var(--aep-display) !important; font-size: 1.3rem !important; line-height: 1.1 !important; margin-bottom: 4px; }
.aep-actions__list small { display: block; color: var(--aep-steel) !important; font-size: .92rem !important; line-height: 1.4 !important; }
.aep-actions__go { color: var(--aep-steel) !important; }
.aep .aep-actions__list a:hover { border-color: var(--aep-ink); }
.aep .aep-actions__list a:hover .aep-actions__icon { background: var(--aep-ink); color: var(--aep-amber) !important; }

/* ---------- Top bar & inline ---------- */
.aep.aep-topbar { background: var(--aep-ink); color: rgba(255,255,255,.8) !important; font-size: .95rem !important; }
.aep-topbar .aep-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.aep-topbar a { display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 600 !important; text-decoration: none !important; }
.aep-topbar__msg a { color: var(--aep-amber) !important; margin-left: 6px; }
.aep-topbar .aep-icon { width: 18px; height: 18px; }
.aep-topbar a:hover { text-decoration: underline !important; }
.aep.aep-inline { display: inline-block; }
.aep-phone { font-weight: 700 !important; text-decoration: none !important; }

/* ---------- Full-width layout (canvas) ---------- */
body.aep-canvas {
	margin: 0; background: #fff; color: #1d2b38 !important;
	font-family: "Barlow", "Segoe UI", system-ui, sans-serif;
	--aep-header-h: 112px;
	--aep-sticky-offset: calc(var(--aep-header-h) + var(--wp-admin--admin-bar--height, 0px));
	overflow-x: clip;
}
body.aep-canvas *, body.aep-canvas *::before, body.aep-canvas *::after { box-sizing: border-box; }
body.aep-canvas .aep-main { display: block; }
body.aep-canvas .aep-main > p:empty, body.aep-canvas .aep-main > br { display: none; }
body.aep-canvas img { max-width: 100%; height: auto; }
.aep-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--aep-amber); color: var(--aep-ink) !important; font-weight: 700 !important; text-decoration: none !important; border-radius: 3px;
}
.aep-skip:focus { top: 12px; }

/* ---------- Site header ---------- */
.aep.aep-site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
	background: var(--aep-ink); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.aep-site-header__bar { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: var(--aep-header-h, 76px); }
.aep .aep-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; flex: none; }
.aep-brand__mark {
	background: var(--aep-amber); color: var(--aep-ink) !important; border-radius: 3px; padding: 3px 9px 2px;
	font-family: var(--aep-display) !important; font-weight: 800 !important; font-size: 1.6rem !important; line-height: 1 !important; letter-spacing: .02em !important;
}
.aep-brand__word { font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.75rem !important; line-height: 1 !important; color: #fff !important; }
.aep-brand--img img { display: block; max-height: 48px; width: auto; }
.aep-site-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.aep-site-nav__list { display: flex; gap: 4px; }
.aep .aep-site-nav__list a {
	display: block; padding: 10px 14px; text-decoration: none !important; color: rgba(255,255,255,.8) !important;
	font-family: var(--aep-display) !important; font-weight: 600 !important; font-size: 1.2rem !important; line-height: 1 !important;
	border-radius: 3px;
}
.aep .aep-site-nav__list a:hover { color: #fff !important; background: rgba(255,255,255,.06); }
.aep .aep-site-nav__list .current-menu-item > a { color: #fff !important; box-shadow: inset 0 -3px 0 var(--aep-amber); border-radius: 0; }
.aep-site-nav__cta { display: flex; align-items: center; gap: 20px; }
.aep .aep-site-nav__phone {
	display: inline-flex; align-items: center; gap: 8px; color: #fff !important; text-decoration: none !important;
	font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.3rem !important;
}
.aep-site-nav__phone .aep-icon { color: var(--aep-amber) !important; width: 20px; height: 20px; }
.aep .aep-site-nav__phone:hover { color: var(--aep-amber) !important; }
.aep-site-nav__cta .aep-btn { min-height: 44px; padding: 0 20px; font-size: 1.1rem !important; }
.aep .aep-menu-toggle {
	display: none; margin-left: auto; width: 46px; height: 46px; padding: 0; cursor: pointer;
	background: transparent; border: 1.5px solid rgba(255,255,255,.3); border-radius: 3px; color: #fff !important;
	position: relative;
}
.aep-menu-toggle__bars, .aep-menu-toggle__bars::before, .aep-menu-toggle__bars::after {
	position: absolute; left: 50%; width: 20px; height: 2px; background: currentColor; margin-left: -10px; transition: transform .2s, opacity .2s;
}
.aep-menu-toggle__bars { top: 50%; margin-top: -1px; }
.aep-menu-toggle__bars::before, .aep-menu-toggle__bars::after { content: ""; left: 0; margin: 0; }
.aep-menu-toggle__bars::before { top: -6px; }
.aep-menu-toggle__bars::after { top: 6px; }
.aep-menu-toggle[aria-expanded="true"] .aep-menu-toggle__bars { background: transparent; }
.aep-menu-toggle[aria-expanded="true"] .aep-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.aep-menu-toggle[aria-expanded="true"] .aep-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
	body.aep-canvas { --aep-header-h: 84px; }
	.aep .aep-menu-toggle { display: block; }
	.aep-site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--aep-ink); border-top: 1px solid rgba(255,255,255,.1);
		padding: 8px var(--aep-gutter) 24px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.5);
	}
	.aep-site-nav.is-open { display: flex; }
	.aep-site-nav__list { flex-direction: column; gap: 0; }
	.aep .aep-site-nav__list a { padding: 16px 0; font-size: 1.4rem !important; border-bottom: 1px solid rgba(255,255,255,.08); }
	.aep .aep-site-nav__list .current-menu-item > a { box-shadow: none; color: var(--aep-amber) !important; }
	.aep-site-nav__cta { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 20px; }
	.aep .aep-site-nav__phone { font-size: 1.6rem !important; }
	.aep-site-nav__cta .aep-btn { min-height: 52px; }
	.aep-brand__mark { font-size: 1.4rem !important; }
	.aep-brand__word { font-size: 1.5rem !important; }
}

/* ---------- Site footer ---------- */
.aep.aep-site-footer {
	position: relative; overflow: hidden;
	background: var(--aep-ink-2); color: rgba(255,255,255,.7) !important;
	padding: clamp(56px, 7vw, 88px) 0 0; font-size: .98rem !important;
	border-top: 4px solid var(--aep-amber);
}
.aep-site-footer a { color: rgba(255,255,255,.86) !important; text-decoration: none !important; }
.aep-site-footer a:hover { color: var(--aep-amber) !important; }

.aep-ft-top {
	display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: end;
	padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1);
}
.aep-ft-brand p { margin: 20px 0 0 !important; max-width: 46ch; font-size: 1.05rem !important; line-height: 1.6 !important; }
.aep-ft-brand .aep-brand__mark { font-size: 1.9rem !important; }
.aep-ft-brand .aep-brand__word { font-size: 2.05rem !important; }
.aep-ft-brand .aep-brand--img img { max-height: 64px; }
.aep-ft-call { justify-self: end; text-align: left; }
.aep-ft-call__label { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.7) !important; font-weight: 600 !important; }
.aep-site-footer .aep-status { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.75) !important; }
.aep-site-footer .aep-status.is-open { background: rgba(31,157,92,.14); border-color: rgba(31,157,92,.4); color: #7ee0a8 !important; }
.aep .aep-ft-call__phone {
	display: block; margin: 8px 0 18px; color: #fff !important;
	font-family: var(--aep-display) !important; font-weight: 800 !important; font-size: clamp(2.6rem, 5vw, 3.8rem) !important; line-height: 1 !important; letter-spacing: -.01em !important;
}
.aep .aep-ft-call__phone:hover { color: var(--aep-amber) !important; }

.aep-ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; }
.aep .aep-ft-h { font-size: 1.3rem !important; color: #fff !important; margin: 0 0 16px; }
.aep-ft-col li { margin: 0 0 10px; line-height: 1.45 !important; }
.aep-ft-contact li { display: flex; gap: 10px; align-items: flex-start; }
.aep-ft-contact .aep-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--aep-amber) !important; }
.aep-ft-contact a, .aep-ft-contact span { overflow-wrap: anywhere; }

.aep-ft-pay {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 22px 26px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.aep-ft-pay__text { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.aep-ft-pay__text strong { color: #fff !important; font-family: var(--aep-display) !important; font-size: 1.15rem !important; font-weight: 700 !important; }
.aep-ft-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aep-ft-chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-size: .88rem !important; color: rgba(255,255,255,.82) !important; }
.aep .aep-ft-pay__link { display: inline-flex; align-items: center; gap: 10px; color: var(--aep-amber) !important; font-weight: 600 !important; }
.aep .aep-ft-pay__link:hover { color: #fff !important; }

.aep-ft-base {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
	margin-top: clamp(28px, 4vw, 44px); padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1);
	font-size: .88rem !important; color: rgba(255,255,255,.5) !important;
}
.aep-ft-base__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.aep-site-footer .aep-ft-base a { color: rgba(255,255,255,.7) !important; }
.aep-ft-social { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); }

@media (max-width: 960px) {
	.aep-ft-top { grid-template-columns: 1fr; align-items: start; }
	.aep-ft-call { justify-self: start; }
	.aep-ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.aep-ft-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.aep-ft-cols > :last-child { grid-column: 1 / -1; }
	.aep-ft-pay { padding: 20px; }
	.aep-ft-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- Responsive ---------- */
@container aep (max-width: 1080px) {
	.aep-counties { grid-template-columns: repeat(3, 1fr); }
	.aep-county:nth-child(4) { padding-left: 0; border-left: 0; }
	.aep-county { border-top: 1px solid rgba(255,255,255,.12); }
	.aep-counties { border-top: 0; }
	.aep-trust ul { grid-template-columns: repeat(2, 1fr); }
	.aep-trust li:nth-child(3) { border-left: 0; }
	.aep-trust li:nth-child(n+3) { border-top: 1px solid var(--aep-line); }
}
@container aep (max-width: 960px) {
	.aep-hero__grid.has-aside, .aep-home-svc__grid, .aep-area__top, .aep-about__grid,
	.aep-cta__grid, .aep-svc__grid, .aep-integrated__grid, .aep-faqs__grid, .aep-contact__grid,
	.aep-head--split { grid-template-columns: 1fr; }
	.aep-hero__grid.has-aside { gap: 44px; }
	.aep-gauge { max-width: 520px; }
	.aep .aep-feature-card { min-height: 380px; }
	.aep-faqs__sticky { position: static; }
	.aep-faqs__side nav { display: none; }
	.aep-actions__list { grid-template-columns: 1fr; }
	.aep-page--contact .aep-info { padding-top: 0; }
}
@media (max-width: 640px) {
	.aep { font-size: 16px !important; }
}
@container aep (max-width: 640px) {
	.aep-counties { grid-template-columns: repeat(2, 1fr); }
	.aep-county, .aep-county + .aep-county { padding: 22px 12px 8px 0; border-left: 0; }
	.aep-trust ul { grid-template-columns: 1fr; }
	.aep-trust li + li { border-left: 0; border-top: 1px solid var(--aep-line); }
	.aep-trust li { padding: 16px 4px; }
	.aep-modes { grid-template-columns: 1fr; }
	.aep-faq__a { padding-right: 0; }
	.aep .aep-svc-rows__item { grid-template-columns: 48px 1fr; gap: 16px; }
	.aep-svc-rows__icon { width: 48px; height: 48px; }
	.aep-svc-rows__go { display: none; }
	.aep-feature-card__flame { width: 220px; height: 220px; right: -60px; top: -50px; opacity: .45; }
	.aep-topbar__pay { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	.aep *, .aep *::before, .aep *::after { transition: none !important; animation: none !important; }
}

/* Links inside body copy */
.aep-form a, .aep-faqs a, .aep-notice a { color: var(--aep-river) !important; font-weight: 600 !important; text-decoration-color: var(--aep-amber) !important; text-underline-offset: 3px !important; }

/* Small-screen refinements */
.aep .aep-gauge__picks button[data-level="0"] { font-size: 1.05rem !important; }
@container aep (max-width: 640px) {
	.aep .aep-county h3 { font-size: 1.5rem !important; }
	.aep-county li { font-size: .98rem !important; }
	.aep-gauge__out { min-height: 0; }
	.aep-gauge { padding: 22px 18px 24px; }
	.aep-check__out:empty { display: none; }
	.aep .aep-office__phone, .aep .aep-info__phone { font-size: 2.2rem !important; }
}

/* ---------- Single-column refinements (phones, narrow theme columns) ---------- */
@container aep (max-width: 640px) {
	.aep h2 { font-size: 1.85rem !important; line-height: 1.08 !important; }
	.aep .aep-hero__title, .aep.aep-hero--home .aep-hero__title { font-size: 2.1rem !important; line-height: 1.04 !important; max-width: none; margin-bottom: 14px; }
	.aep-hero--inner .aep-hero__title { font-size: 2.2rem !important; }
	.aep-hero__sub { font-size: 1.12rem !important; }
	.aep-hero__body { font-size: .95rem !important; margin-bottom: 22px !important; }
	.aep .aep-svc__title { font-size: 2.1rem !important; margin-bottom: 16px; }
	.aep .aep-feature-card h3 { font-size: 2rem !important; }
	.aep .aep-cta__phone { font-size: 2.5rem !important; }
	.aep .aep-ft-call__phone { font-size: 2.4rem !important; }
	.aep-head { margin-bottom: 28px; }
	.aep-head p, .aep-lede { font-size: 1.02rem !important; }
	.aep-lede { font-size: 1.12rem !important; }

	/* Buttons keep their natural width, sit left-aligned and wrap neatly */
	.aep-btns { gap: 10px; justify-content: flex-start; }
	.aep .aep-btn { min-height: 48px; padding: 0 20px; font-size: 1.1rem !important; flex: 0 0 auto; }
	.aep .aep-ticket__foot .aep-btn { width: 100%; }
}
@container aep (max-width: 360px) {
	.aep .aep-hero__title, .aep.aep-hero--home .aep-hero__title { font-size: 1.95rem !important; }
	.aep h2 { font-size: 1.7rem !important; }
}
@container aep (max-width: 960px) {
	.aep-head--split { gap: 14px; }
}
@container aep (max-width: 640px) {
	.aep .aep-gauge__out { min-height: 0; }
}

/* ==========================================================================
   Brand pass: white header for the full-colour logo, logo red accents
   ========================================================================== */
.aep.aep-site-header { background: #fff; color: var(--aep-ink) !important; box-shadow: 0 1px 0 rgba(5,46,24,.08), 0 8px 24px -16px rgba(5,46,24,.35); }
.aep .aep-brand { display: inline-flex; align-items: center; flex: none; line-height: 0 !important; }
.aep .aep-brand img { display: block; width: auto; height: 72px; max-width: none; }
.aep .aep-site-nav__list a { color: var(--aep-ink) !important; opacity: .8; }
.aep .aep-site-nav__list a:hover { color: var(--aep-ink) !important; opacity: 1; background: #f0f5f1; }
.aep .aep-site-nav__list .current-menu-item > a { color: var(--aep-ink) !important; opacity: 1; box-shadow: inset 0 -3px 0 var(--aep-red); }
.aep .aep-site-nav__phone { color: var(--aep-ink) !important; }
.aep .aep-site-nav__phone:hover { color: var(--aep-red) !important; }
.aep-site-nav__phone .aep-icon { color: var(--aep-red) !important; }
.aep .aep-menu-toggle { color: var(--aep-ink) !important; border-color: rgba(5,46,24,.25); }
.aep .aep-btn--primary { background: var(--aep-amber); color: var(--aep-ink) !important; }

@media (max-width: 1000px) {
	.aep .aep-brand img { height: 54px; }
	.aep-site-nav { background: #fff; border-top: 1px solid #e1e9e3; box-shadow: 0 30px 40px -20px rgba(5,46,24,.35); }
	.aep .aep-site-nav__list a { border-bottom-color: #e5ede7; opacity: 1; }
	.aep .aep-site-nav__list .current-menu-item > a { color: var(--aep-red) !important; box-shadow: none; }
}

/* Footer logo sits on a white plate so the black lettering and badges read */
.aep-site-footer .aep-brand { background: #fff; border-radius: 6px; padding: 10px 16px; }
.aep-site-footer .aep-brand img { height: 92px; }
.aep-ft-contact .aep-icon { color: var(--aep-amber) !important; }

/* Red where the logo uses it: urgent/phone accents */
.aep-info__phone .aep-icon { color: var(--aep-red) !important; }
.aep-cta__phone span { color: var(--aep-ink) !important; }

/* ---------- Photo slots & placeholders ---------- */
.aep-photo { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--aep-frost); width: 100%; }
.aep-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aep-photo--placeholder {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background:
		repeating-linear-gradient(135deg, rgba(5,46,24,.05) 0 12px, transparent 12px 24px),
		linear-gradient(180deg, #eef4ef, #e1e9e3);
	border: 2px dashed rgba(5,46,24,.22);
}
.aep-photo__ph { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px; max-width: 32ch; }
.aep-photo__icon { width: 40px; height: 40px; color: rgba(5,46,24,.45) !important; margin-bottom: 4px; }
.aep-photo__subject { font-family: var(--aep-display) !important; font-weight: 700 !important; font-size: 1.2rem !important; line-height: 1.2 !important; color: var(--aep-ink) !important; }
.aep-photo__size { font-size: .85rem !important; color: var(--aep-steel) !important; }
.aep-svc__side { display: grid; gap: 20px; align-content: start; }
.aep-about__side { display: grid; gap: 20px; align-content: start; }

/* ---------- Ordinary pages inside the AEP layout ---------- */
.aep.aep-prose { padding: clamp(48px, 7vw, 96px) 0; }
.aep-prose .aep-wrap { max-width: 820px; }
.aep .aep-prose__title { font-size: clamp(2.2rem, 4vw, 3.2rem) !important; color: var(--aep-ink) !important; margin-bottom: 28px; }
.aep-prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.5rem, 2.4vw, 2rem) !important; }
.aep-prose h3 { margin: 1.4em 0 .4em; color: var(--aep-ink) !important; }
.aep-prose p, .aep-prose li { font-size: 1.05rem !important; line-height: 1.75 !important; color: var(--aep-text) !important; }
.aep-prose ul, .aep-prose ol { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.aep-prose ol { list-style: decimal; }
.aep-prose a { color: var(--aep-river) !important; text-decoration-color: var(--aep-amber) !important; text-underline-offset: 3px !important; }

/* Links inside running text stay underlined */
.aep-info dd a, .aep-office dd a, .aep-form a, .aep-faqs__empty a, .aep-notice a, .aep-prose a, .aep-check__out a, .aep-faq__a a {
	text-decoration: underline !important;
	text-decoration-color: var(--aep-amber) !important;
	text-underline-offset: 3px !important;
}
@container aep (max-width: 760px) {
	.aep-feature-card__flame { width: 230px; height: 230px; right: -70px; top: -60px; opacity: .35; }
}

/* ---------- Header: spread evenly across the full width ---------- */
@media (min-width: 1001px) {
	.aep-site-header__bar { gap: 0; }
	.aep-site-nav { gap: 0; }
	.aep-site-nav > nav { flex: 1; min-width: 0; }
	.aep-site-nav__list { justify-content: space-evenly; gap: 0; }
	.aep-site-nav__cta { gap: clamp(16px, 2vw, 28px); }
}
.aep-site-header > .aep-wrap { max-width: none; padding-left: clamp(20px, 3.5vw, 64px); padding-right: clamp(20px, 3.5vw, 64px); }

/* ==========================================================================
   Services: alternating rows with balanced columns
   ========================================================================== */
.aep-svc { padding: clamp(56px, 7vw, 96px) 0; }
.aep .aep-svc__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px); align-items: stretch;
}
.aep-svc__main { align-self: center; }
.aep-svc--flip .aep-svc__media { order: -1; }
.aep-svc--solo .aep-svc__grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

.aep-svc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.aep .aep-svc__head .aep-svc__icon { margin: 0; width: 56px; height: 56px; flex: none; }
.aep .aep-svc__head .aep-svc__icon .aep-icon { width: 30px; height: 30px; }
.aep .aep-svc__for { font-weight: 600 !important; color: var(--aep-river) !important; font-size: .98rem !important; line-height: 1.3 !important; }
.aep .aep-svc__title { margin-bottom: 16px; }
.aep .aep-svc__body { margin-bottom: 0 !important; }
.aep-svc .aep-modes { margin-top: 24px; }
.aep-svc__benefits { margin: 26px 0 28px; padding-top: 22px; border-top: 1px solid var(--aep-line); }
.aep .aep-svc__label { display: block; font-family: var(--aep-display) !important; font-weight: 700; font-size: 1.15rem !important; color: var(--aep-ink) !important; margin-bottom: 12px; }
.aep-svc__benefits .aep-checks { display: grid; gap: 10px; }
.aep .aep-svc__benefits .aep-checks li { background: none; padding: 0; border-radius: 0; font-size: 1.02rem !important; color: var(--aep-text) !important; align-items: flex-start; }
.aep-svc__benefits .aep-checks .aep-icon { margin-top: 3px; color: var(--aep-river); stroke-width: 2.4; }

.aep-svc__media { position: relative; min-height: 380px; }
.aep-svc__media .aep-photo {
	position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important;
	border-radius: 8px; box-shadow: 0 30px 60px -36px rgba(5,46,24,.45);
}
.aep-svc--flip .aep-svc__media .aep-photo { box-shadow: 0 30px 60px -36px rgba(5,46,24,.45); }
/* brand bar along the inner edge of each photo */
.aep-svc__media::after {
	content: ""; position: absolute; top: 24px; bottom: 24px; width: 5px; border-radius: 3px;
	background: var(--aep-amber); left: -14px;
}
.aep-svc--flip .aep-svc__media::after { left: auto; right: -14px; }

@container aep (max-width: 960px) {
	.aep .aep-svc__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.aep-svc__media, .aep-svc--flip .aep-svc__media { order: -1; min-height: 0; }
	.aep-svc__media .aep-photo { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10 !important; }
	.aep-svc__media::after { display: none; }
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes aep-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes aep-slide-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes aep-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-4%, 2%, 0); } }
@keyframes aep-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,92,.45); } 70% { box-shadow: 0 0 0 9px rgba(31,157,92,0); } 100% { box-shadow: 0 0 0 0 rgba(31,157,92,0); } }

/* Scroll reveal (elements are tagged by script; content stays visible without it) */
html.aep-motion [data-aep-reveal] {
	opacity: 0; transform: translateY(32px);
	transition: opacity .75s ease, transform .9s cubic-bezier(.2, .75, .2, 1);
	transition-delay: var(--aep-d, 0ms);
	will-change: opacity, transform;
}
html.aep-motion [data-aep-reveal="left"]  { transform: translateX(-48px); }
html.aep-motion [data-aep-reveal="right"] { transform: translateX(48px); }
html.aep-motion [data-aep-reveal="zoom"]  { transform: scale(.94); }
html.aep-motion [data-aep-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
	/* Hero entrance on page load */
	.aep-hero__text > * { animation: aep-rise .8s cubic-bezier(.2, .75, .2, 1) both; }
	.aep-hero__text > :nth-child(2) { animation-delay: .1s; }
	.aep-hero__text > :nth-child(3) { animation-delay: .2s; }
	.aep-hero__text > :nth-child(4) { animation-delay: .3s; }
	.aep-hero__aside { animation: aep-slide-in .9s cubic-bezier(.2, .75, .2, 1) .25s both; }
	/* Slow drift of the contour lines */
	.aep-topo { animation: aep-drift 38s ease-in-out infinite alternate; }
	.aep-status.is-open .aep-status__dot { animation: aep-pulse 2.2s ease-out infinite; }

	/* Hover feedback */
	.aep .aep-btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s, color .2s, border-color .2s; }
	.aep .aep-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(5,46,24,.55); }
	.aep .aep-feature-card { transition: transform .3s ease, box-shadow .3s ease, background-color .2s; }
	.aep .aep-feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(5,46,24,.6); }
	.aep-feature-card__flame { transition: transform .6s cubic-bezier(.2, .75, .2, 1); }
	.aep .aep-feature-card:hover .aep-feature-card__flame { transform: rotate(-6deg) scale(1.05); }
	.aep .aep-svc-rows__item .aep-svc-rows__go { transition: transform .25s ease, color .2s; }
	.aep .aep-svc-rows__item:hover .aep-svc-rows__go { transform: translateX(6px); }
	.aep .aep-actions__list a { transition: transform .25s ease, box-shadow .25s ease, border-color .2s; }
	.aep .aep-actions__list a:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px rgba(5,46,24,.5); }
	.aep-photo img { transition: transform 1.2s cubic-bezier(.2, .75, .2, 1); }
	.aep-photo:hover img { transform: scale(1.04); }
	.aep .aep-county li { transition: transform .2s ease, color .2s; }
	.aep .aep-county li:hover { transform: translateX(4px); color: #fff !important; }
	.aep .aep-site-nav__list a { transition: color .2s, background-color .2s, box-shadow .25s; }
}
.aep .aep-svc__benefits .aep-checks { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 20px; }
.aep .aep-svc__benefits .aep-checks li { display: flex !important; gap: 10px; align-items: flex-start; line-height: 1.4 !important; }
.aep .aep-svc__benefits .aep-checks .aep-icon { display: block; flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* ---------- Trust strip: every label on one line ---------- */
.aep.aep-trust ul { display: flex; justify-content: space-between; align-items: stretch; }
.aep.aep-trust li {
	flex: 0 1 auto; white-space: nowrap !important;
	padding: 26px clamp(14px, 2.4vw, 36px); gap: 12px;
	font-size: clamp(1.02rem, 1.25vw, 1.2rem) !important;
}
.aep.aep-trust li:first-child { padding-left: 0; }
.aep.aep-trust li:last-child { padding-right: 0; }
.aep.aep-trust li + li { border-left: 1px solid var(--aep-line); border-top: 0; }
.aep.aep-trust .aep-icon { width: 28px; height: 28px; }
@container aep (max-width: 1000px) {
	.aep.aep-trust ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aep.aep-trust li { padding: 20px 16px; }
	.aep.aep-trust li:nth-child(odd) { padding-left: 0; border-left: 0; }
	.aep.aep-trust li:nth-child(n+3) { border-top: 1px solid var(--aep-line); }
}
@container aep (max-width: 560px) {
	.aep.aep-trust ul { grid-template-columns: minmax(0, 1fr); }
	.aep.aep-trust li { padding: 16px 0; border-left: 0; }
	.aep.aep-trust li + li { border-left: 0; border-top: 1px solid var(--aep-line); }
}

/* ---------- Header: breathing room + menu shifted right ---------- */
/* Height lives on :root so the header is the same size whether it comes from the
   full-width layout or the [aep_header] shortcode (e.g. inside Colibri), and the
   home hero can subtract it either way. */
:root { --aep-header-h: 112px; }
@media (max-width: 1000px) { :root { --aep-header-h: 84px; } }
.aep .aep-site-header__bar { height: var(--aep-header-h); padding-top: 0; padding-bottom: 0; }
.aep-site-header > .aep-wrap { padding-left: clamp(24px, 4.5vw, 96px); padding-right: clamp(24px, 4.5vw, 96px); }
@media (min-width: 1001px) {
	.aep-site-nav > nav { padding-left: clamp(24px, 7vw, 160px); }
}

/* ---------- Call-to-action band: compact ---------- */
.aep.aep-cta { padding: clamp(36px, 4.5vw, 56px) 0 !important; min-height: 0 !important; height: auto !important; }
.aep.aep-cta .aep-cta__grid { gap: clamp(20px, 4vw, 64px); align-items: center; }
.aep.aep-cta .aep-cta__title { font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important; margin-bottom: 8px; }
.aep.aep-cta .aep-cta__text p { font-size: 1rem !important; line-height: 1.55 !important; margin: 0 !important; }
.aep.aep-cta .aep-cta__phone { font-size: clamp(2rem, 3.4vw, 2.8rem) !important; margin-bottom: 12px; }
.aep.aep-cta .aep-cta__phone span { font-size: .92rem !important; margin-bottom: 4px; }
.aep.aep-cta .aep-btn { min-height: 46px; }
/* stray empty paragraphs/line breaks some page builders inject */
.aep.aep-cta p:empty, .aep.aep-cta > br, .aep.aep-cta .aep-wrap > br { display: none !important; }
.aep.aep-cta .aep-wrap > :last-child, .aep.aep-cta .aep-cta__act > :last-child { margin-bottom: 0 !important; }

/* ---------- Page-builder paragraph formatting guard ----------
   Some builders (Colibri among them) run WordPress's automatic paragraph
   formatting over shortcode output, which scatters empty or wrapping <p> and
   <br> tags through the markup. Every paragraph this plugin writes carries a
   class, so any class-less <p> is an injected one: it is taken out of layout
   (its contents still show) and injected <br>s are hidden. */
.aep p:not([class]), .aep-page p:not([class]) { display: contents !important; }
.aep br, .aep-page br { display: none !important; }
.aep .aep-check__out:not(:has(*)) { display: none !important; }
.aep .aep-prose p:not([class]) { display: block !important; }
.aep .aep-prose br { display: inline !important; }

/* ---------- Stretched links (whole card clickable, no blocks inside <a>) ---------- */
.aep .aep-feature-card, .aep .aep-svc-rows__item { position: relative; cursor: pointer; }
.aep .aep-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.aep .aep-svc-rows__text h3 a { color: inherit !important; text-decoration: none !important; }
.aep .aep-feature-card .aep-textlink { color: #fff !important; position: static; }
.aep .aep-svc-rows__item:focus-within, .aep .aep-feature-card:focus-within { outline: 3px solid var(--aep-amber); outline-offset: 3px; }
.aep .aep-stretch:focus-visible { outline: none; }

/* ---------- FAQ page: white background ---------- */
.aep.aep-faqs, .aep-page--faqs { background: #fff !important; }

/* ==========================================================================
   About: photo + text side by side (equal height), office details strip below
   ========================================================================== */
.aep.aep-about .aep-about__grid {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px); align-items: stretch;
}
.aep.aep-about .aep-about__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.aep-about__text { align-self: center; }
.aep-about__text h2 { margin-bottom: 20px; }
.aep-about__text .aep-btns { margin-top: 26px; }
.aep-about__media { position: relative; min-height: 340px; }
.aep-about__media .aep-photo {
	position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; margin: 0;
	border-radius: 8px; box-shadow: 0 30px 60px -36px rgba(5,46,24,.45);
}
.aep-about__media::after {
	content: ""; position: absolute; top: 24px; bottom: 24px; right: -14px; width: 5px; border-radius: 3px; background: var(--aep-amber);
}

/* Office strip */
.aep .aep-office.aep-office--bar {
	display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center;
	gap: 0; margin-top: clamp(36px, 5vw, 64px); padding: 0;
	background: var(--aep-ink); color: #fff; border: 0; border-radius: 8px; overflow: hidden;
	box-shadow: 0 24px 50px -32px rgba(5,46,24,.6);
}
.aep-office--bar .aep-office__item { padding: 22px clamp(18px, 2.4vw, 32px); min-width: 0; }
.aep-office--bar .aep-office__item + .aep-office__item { border-left: 1px solid rgba(255,255,255,.12); }
.aep-office--bar .aep-office__lead { background: var(--aep-amber); color: var(--aep-ink); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.aep .aep-office--bar .aep-office__label { font-size: .85rem !important; font-weight: 600; color: rgba(255,255,255,.65) !important; margin-bottom: 4px; }
.aep .aep-office--bar .aep-office__lead .aep-office__label { font-family: var(--aep-display) !important; font-size: 1.35rem !important; font-weight: 700; color: var(--aep-ink) !important; margin: 0; }
.aep .aep-office--bar .aep-office__phone { display: block; margin: 0; font-family: var(--aep-display) !important; font-weight: 800; font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important; line-height: 1 !important; color: #fff !important; text-decoration: none !important; white-space: nowrap; }
.aep .aep-office--bar .aep-office__phone:hover { color: var(--aep-amber) !important; }
.aep .aep-office--bar .aep-office__value { font-weight: 600; font-size: 1rem !important; color: #fff !important; line-height: 1.4 !important; }
.aep .aep-office--bar a.aep-office__value { text-decoration: underline !important; text-decoration-color: var(--aep-amber) !important; text-underline-offset: 4px !important; }
.aep .aep-office--bar a.aep-office__value:hover { color: var(--aep-amber) !important; }
.aep-office--bar .aep-office__lead .aep-status { align-self: flex-start; background: rgba(255,255,255,.55); border-color: rgba(5,46,24,.15); }

@container aep (max-width: 1100px) {
	.aep .aep-office.aep-office--bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aep-office--bar .aep-office__item:nth-child(3) { border-left: 0; }
	.aep-office--bar .aep-office__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
	.aep-office--bar .aep-office__lead { align-self: stretch; }
}
@container aep (max-width: 860px) {
	.aep.aep-about .aep-about__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.aep-about__media { min-height: 0; }
	.aep-about__media .aep-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3 !important; }
	.aep-about__media::after { display: none; }
}
@container aep (max-width: 560px) {
	.aep .aep-office.aep-office--bar { grid-template-columns: minmax(0, 1fr); }
	.aep-office--bar .aep-office__item + .aep-office__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Call-to-action bands: content always vertically centred ----------
   Whatever height the band ends up with (a page builder may add space), the
   content sits in the middle, and anything injected besides the plugin's own
   content is hidden. Applies to every band on every page. */
.aep.aep-cta {
	display: flex !important; flex-direction: column !important;
	justify-content: center !important; align-items: stretch !important;
	padding-top: clamp(36px, 4.5vw, 56px) !important; padding-bottom: clamp(36px, 4.5vw, 56px) !important;
}
.aep.aep-cta > *:not(.aep-wrap):not(.aep-topo) { display: none !important; }
.aep.aep-cta > .aep-wrap { width: 100%; margin-top: 0 !important; margin-bottom: 0 !important; }
.aep.aep-cta .aep-cta__grid { align-items: center !important; }
.aep.aep-cta .aep-cta__text, .aep.aep-cta .aep-cta__act { align-self: center !important; margin-top: 0 !important; margin-bottom: 0 !important; }

/* ==========================================================================
   About page
   ========================================================================== */
.aep-about-story .aep-about__text a { color: var(--aep-river) !important; font-weight: 600; text-decoration: underline !important; text-decoration-color: var(--aep-amber) !important; text-underline-offset: 3px !important; }

/* Three promises */
.aep .aep-promise {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
	margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--aep-ink);
}
.aep .aep-promise li { display: flex; gap: 16px; align-items: flex-start; padding: 28px clamp(16px, 2.5vw, 32px) 4px 0; }
.aep .aep-promise li + li { padding-left: clamp(16px, 2.5vw, 32px); border-left: 1px solid var(--aep-line); }
.aep-promise__icon { flex: none; width: 52px; height: 52px; border-radius: 4px; background: var(--aep-amber); color: var(--aep-ink); display: flex; align-items: center; justify-content: center; }
.aep-promise__icon .aep-icon { width: 28px; height: 28px; }
.aep .aep-promise h3 { font-size: 1.45rem !important; color: var(--aep-ink) !important; margin-bottom: 6px; }
.aep .aep-promise p { font-size: 1rem !important; margin: 0 !important; }

/* Service cards */
.aep.aep-about-svc { background: var(--aep-frost); }
.aep-about-svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aep .aep-about-svc__card {
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 8px;
	padding: 28px 24px; border-top: 4px solid var(--aep-amber); box-shadow: 0 18px 40px -30px rgba(5,46,24,.5);
}
.aep-about-svc__icon { width: 54px; height: 54px; border-radius: 4px; background: var(--aep-ink); color: var(--aep-amber); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.aep-about-svc__icon .aep-icon { width: 28px; height: 28px; }
.aep .aep-about-svc__card h3 { font-size: 1.4rem !important; line-height: 1.12 !important; color: var(--aep-ink) !important; margin-bottom: 10px; }
.aep .aep-about-svc__card p { font-size: .98rem !important; flex: 1; margin-bottom: 18px !important; }
.aep .aep-about-svc__card .aep-textlink { font-size: 1.1rem !important; color: var(--aep-ink) !important; }
.aep .aep-about-svc__card:hover .aep-textlink { color: var(--aep-river) !important; }
.aep-about-svc__all { margin-top: clamp(32px, 4vw, 48px); }
.aep .aep-about-svc__all h3 { font-size: 1.35rem !important; color: var(--aep-ink) !important; margin-bottom: 14px; }
.aep .aep-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.aep .aep-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--aep-line); font-weight: 600; font-size: .98rem !important; color: var(--aep-ink) !important; }
.aep-chips .aep-icon { width: 18px; height: 18px; color: var(--aep-river); stroke-width: 2.4; }

/* In-depth topics */
.aep-about-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.aep .aep-about-detail { padding: clamp(26px, 3vw, 40px); border: 1px solid var(--aep-line); border-radius: 8px; background: #fff; }
.aep-about-detail__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--aep-frost); color: var(--aep-river); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.aep-about-detail__icon .aep-icon { width: 28px; height: 28px; }
.aep .aep-about-detail h3 { font-size: clamp(1.4rem, 2vw, 1.75rem) !important; line-height: 1.12 !important; color: var(--aep-ink) !important; margin-bottom: 12px; }
.aep .aep-about-detail p { font-size: 1.02rem !important; line-height: 1.7 !important; margin: 0 !important; }

@container aep (max-width: 760px) {
	.aep-about-svc__grid { grid-template-columns: minmax(0, 1fr); }
}
@container aep (max-width: 860px) {
	.aep .aep-promise { grid-template-columns: minmax(0, 1fr); }
	.aep .aep-promise li, .aep .aep-promise li + li { padding: 20px 0; border-left: 0; }
	.aep .aep-promise li + li { border-top: 1px solid var(--aep-line); }
	.aep-about-details__grid { grid-template-columns: minmax(0, 1fr); }
}
@container aep (max-width: 560px) {
	.aep-about-svc__grid { grid-template-columns: minmax(0, 1fr); }
}
.aep .aep-about-svc__icon { color: var(--aep-amber) !important; }
.aep .aep-about-detail__icon { color: var(--aep-river) !important; }
.aep .aep-promise__icon { color: var(--aep-ink) !important; }
.aep .aep-about__media::after { pointer-events: none; }

/* No entrance or ambient animation inside builder / Customizer previews */
body.wp-customizer .aep *, .wp-customizer .aep *, html.aep-editing .aep * { animation: none !important; }

/* ---------- Inner page heroes: one consistent height on every page ----------
   About, Services, FAQs and Contact share the same hero height at each screen
   size (sized to fit the longest intro), with the content vertically centred. */
.aep.aep-hero--inner {
	display: flex !important; flex-direction: column; justify-content: center;
	min-height: clamp(520px, 26vw + 310px, 662px);
	padding-top: clamp(48px, 6vw, 88px) !important; padding-bottom: clamp(48px, 6vw, 88px) !important;
}
.aep.aep-hero--inner > .aep-wrap { width: 100%; }
/* Contact: same hero height; the form still overlaps the bottom edge slightly */
.aep.aep-hero--contact { padding-bottom: clamp(48px, 6vw, 88px) !important; }
.aep-page--contact .aep-form { margin-top: clamp(-96px, -6vw, -48px) !important; }
@container aep (max-width: 960px) { .aep-page--contact .aep-form { margin-top: -40px !important; } }


/* ---------- Header, footer and top bar: no size containment ----------
   They are often dropped into builder header/footer rows whose columns size
   to their content; size containment would collapse them to 0px wide there.
   They respond to the screen width instead. */
.aep.aep-site-header, .aep.aep-site-footer, .aep.aep-topbar { container-type: normal !important; width: 100%; min-width: 100%; }
@media (max-width: 640px) { .aep .aep-ft-call__phone { font-size: 2.4rem !important; } }

/* ==========================================================================
   Colibri header / footer rows
   When [aep_header] / [aep_footer] sit in a Colibri row: keep that column
   visible on every device (overrides a "hide on mobile/tablet" column
   setting), and remove the row/column gutters so the header and footer run
   flush to the screen edges. Colibri animates padding changes, so the
   transitions are switched off here to apply the result immediately.
   Nothing outside the rows that hold the AEP header/footer is affected.
   ========================================================================== */
html body .h-column.h-column:has(.aep-site-header), html body .h-column.h-column:has(.aep-site-footer) {
	display: flex !important; flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important;
	padding: 0 !important; transition: none !important;
}
html body .h-column > .h-column__inner:has(.aep-site-header), html body .h-column > .h-column__inner:has(.aep-site-footer) {
	display: flex !important; padding: 0 !important; transition: none !important;
}
html body .h-row.h-row:has(.aep-site-header), html body .h-row.h-row:has(.aep-site-footer) { margin: 0 !important; transition: none !important; }
html body .h-row-container.h-row-container:has(.aep-site-header), html body .h-row-container.h-row-container:has(.aep-site-footer) { padding: 0 !important; transition: none !important; }
html body .h-section.h-section:has(.aep-site-header), html body .h-section.h-section:has(.aep-site-footer) { padding-left: 0 !important; padding-right: 0 !important; transition: none !important; }
html body .h-section-grid-container.h-section-grid-container:has(.aep-site-header), html body .h-section-grid-container.h-section-grid-container:has(.aep-site-footer) {
	padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; transition: none !important;
}

/* ---------- Designed stand-in for missing photos ---------- */
.aep .aep-photo--brand {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: radial-gradient(600px 400px at 75% 20%, color-mix(in srgb, var(--aep-river) 80%, transparent), transparent 70%), var(--aep-ink);
	color: #fff;
}
.aep-photo--brand .aep-topo { opacity: .12; }
.aep-photo__brand { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px; text-align: center; }
.aep-photo__brand-icon { width: clamp(84px, 9vw, 120px); height: clamp(84px, 9vw, 120px); border-radius: 50%; background: var(--aep-amber); color: var(--aep-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(251,185,29,.15); }
.aep .aep-photo__brand-icon { color: var(--aep-ink) !important; }
.aep-photo__brand-icon .aep-icon { width: 52%; height: 52%; }
.aep .aep-photo__brand-label { font-family: var(--aep-display) !important; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.9rem) !important; color: #fff !important; line-height: 1.1 !important; }

/* ---------- Pay Your Bill Online ---------- */
.aep.aep-pay { padding: clamp(40px, 5vw, 64px) 0 0; }
.aep-pay__panel {
	display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(24px, 3.5vw, 40px); border-radius: 8px; background: #fff; border: 1px solid var(--aep-line);
	border-left: 6px solid var(--aep-amber); box-shadow: 0 24px 50px -36px rgba(5,46,24,.5);
}
.aep-pay__text { display: flex; gap: 18px; align-items: flex-start; }
.aep .aep-pay__icon { flex: none; width: 56px; height: 56px; border-radius: 4px; background: var(--aep-ink); color: var(--aep-amber) !important; display: flex; align-items: center; justify-content: center; }
.aep-pay__icon .aep-icon { width: 30px; height: 30px; }
.aep .aep-pay h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important; margin-bottom: 8px; }
.aep .aep-pay p { margin: 0 !important; font-size: 1.02rem !important; }
.aep .aep-pay__fee { margin-top: 8px !important; font-weight: 600; color: var(--aep-ink) !important; }
.aep-pay__act { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.aep .aep-pay__act .aep-btn { min-width: 200px; }
.aep-cards { display: inline-flex; align-items: center; }
.aep .aep-cards img { display: block; width: 230px; max-width: 100%; height: auto !important; border: 0 !important; border-radius: 0; background: transparent; box-shadow: none !important; }
.aep .aep-cards--ft { padding: 6px 10px; border-radius: 6px; background: #fff; }
.aep .aep-cards--ft img { width: 170px; }
.aep .aep-pay__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--aep-river) !important; text-decoration: none !important; }
.aep .aep-pay__phone:hover { color: var(--aep-ink) !important; }
.aep-pay__phone .aep-icon { width: 18px; height: 18px; color: var(--aep-red); }
@container aep (max-width: 860px) {
	.aep-pay__panel { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Colibri clearfix guard ----------
   Colibri's theme stylesheet gives every <div> an empty ::before/::after
   ("div::before, div::after { content:''; display:table; order:1 }"). Inside
   the plugin's grid and flex layouts those become extra items, adding phantom
   rows and gaps (extra space under bands, cards, etc.). They are switched off
   inside AEP sections; the plugin's own decorative pseudo-elements and
   Forminator's form markup are left alone. */
.aep div:not(.aep-svc__media):not(.aep-about__media):not(.aep-ticket__row):not(.forminator-ui *)::before,
.aep div:not(.aep-svc__media):not(.aep-about__media):not(.aep-ticket__row):not(.forminator-ui *)::after,
div.aep::before, div.aep::after { content: none !important; display: none !important; }

/* ---------- Pay Your Bill Online: tighter spacing ---------- */
.aep.aep-pay { padding-top: clamp(28px, 3vw, 40px) !important; padding-bottom: 0 !important; }
.aep .aep-pay__panel { padding-top: clamp(22px, 2.6vw, 32px) !important; padding-bottom: clamp(22px, 2.6vw, 32px) !important; }
.aep .aep-pay__act { gap: 12px !important; }
.aep.aep-pay + .aep.aep-actions { padding-top: clamp(28px, 3vw, 40px) !important; }
