/**
Theme Name: Action Fence Child
Theme URI: https://www.myrtlebeachactionfence.com/
Description: Astra child theme for Action Fence Company. Custom WPBakery elements, site info settings, mobile sticky bar and GHL embeds.
Author: Cut Throat Marketing
Author URI: https://cutthroatmarketing.com/
Template: astra
Version: 1.0.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: action-fence-child
*/

/* ==========================================================================
   Fonts (self-hosted, SIL Open Font License, see assets/fonts)
   ========================================================================== */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--af-blue: #1d4baf;
	--af-blue-light: #7f98c9;
	--af-blue-mid: #4d6fba;
	--af-navy: #0e2253;
	--af-gold: #bf921d;
	--af-gold-hover: #d4a52e;
	--af-black: #000;
	--af-white: #fff;
	--af-tint: #eef2fa;      /* light section background, a tint of #7f98c9 */
	--af-line: #d3dcef;      /* card borders */
	--af-font-head: "Archivo", "Arial Black", Arial, sans-serif;
	--af-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--af-radius: 6px;
	--af-shadow: 0 6px 22px rgba(14, 34, 83, .10);
	--af-container: 1200px;
}

/* ==========================================================================
   Base typography (overrides Astra's defaults site-wide)
   ========================================================================== */

body, button, input, select, textarea { font-family: var(--af-font-body); }
body { color: var(--af-black); }
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: var(--af-font-head);
	color: var(--af-navy);
	line-height: 1.15;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 110px; }

:focus-visible { outline: 3px solid var(--af-gold); outline-offset: 2px; }

/* ==========================================================================
   Page shell: WPBakery rows become full-width sections
   Row "Extra class name": af-row + one background class.
   ========================================================================== */

body.af-page { overflow-x: clip; }
.af-page #primary { margin-top: 0; margin-bottom: 0; }
body.af-page #primary .site-main > article { margin: 0; padding: 0; }
.af-page .entry-content a { color: var(--af-blue); }
.af-page .entry-content > :first-child,
.af-page .wpb-content-wrapper > :first-child { margin-top: 0; }

.af-page .vc_row.af-row {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	margin-bottom: 0;
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(48px, 7vw, 96px);
}
.af-page .vc_row.af-row.af-row-flush { padding-top: 0; padding-bottom: 0; }
.af-row > .wpb_column > .vc_column-inner { padding: 0; }
.af-row .wpb_wrapper > * + * { margin-top: 32px; }

.af-bg-white { background: var(--af-white); }
.af-bg-light { background: var(--af-tint); }
.af-bg-navy  { background: var(--af-navy); color: var(--af-white); }
.af-bg-blue  { background: var(--af-blue); color: var(--af-white); }

.af-container {
	max-width: var(--af-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(20px, 4vw, 40px);
	padding-right: clamp(20px, 4vw, 40px);
}

.af-page .entry-content > p:empty,
.af-page .wpb-content-wrapper > p:empty { display: none; }
.af-page .entry-content p { line-height: 1.65; }

/* Astra gives every list a 3em left margin; element lists reset it. */
.af-page .entry-content :is(.af-trust, .af-benefits, .af-gallery) { margin-left: 0; padding-left: 0; }
.af-page .entry-content p:last-child { margin-bottom: 0; }

/* Text on dark sections */
.af-bg-navy :is(h1, h2, h3, h4, p, li, strong),
.af-bg-blue :is(h1, h2, h3, h4, p, li, strong) { color: var(--af-white); }
.af-bg-navy a:not(.af-btn) { color: var(--af-gold); }
.af-bg-blue a:not(.af-btn) { color: var(--af-white); text-decoration: underline; }

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.af-btn,
.entry-content a.af-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 30px;
	border: 2px solid transparent;
	border-radius: 4px;
	font-family: var(--af-font-head);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
	transition: background-color .15s ease, color .15s ease;
}
/* Gold always carries navy text (5.3:1). Never white text on gold. */
.af-btn--gold, .entry-content a.af-btn--gold { background: var(--af-gold); color: var(--af-navy); }
.af-btn--gold:hover, .af-btn--gold:focus-visible { background: var(--af-gold-hover); color: var(--af-navy); }
.af-bg-blue .af-btn--gold,
.entry-content .af-bg-blue a.af-btn--gold { background: var(--af-white); color: var(--af-navy); }
.af-bg-blue .af-btn--gold:hover,
.entry-content .af-bg-blue a.af-btn--gold:hover { background: var(--af-tint); }
.af-btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }

.af-more,
.entry-content a.af-more {
	font-weight: 700;
	color: var(--af-blue);
	text-decoration: none;
}
.af-more:hover, .entry-content a.af-more:hover { text-decoration: underline; }
.af-more .af-icon { width: 18px; height: 18px; margin-left: 6px; vertical-align: -4px; transition: transform .15s ease; }
.af-more:hover .af-icon { transform: translateX(3px); }

.af-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
.af-actions--center { align-items: center; text-align: center; }
.af-phone-line { margin: 0; font-weight: 600; }
.af-phone-line a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.af-bg-navy .af-phone-line a, .af-hero .af-phone-line a { color: var(--af-white); }

/* ==========================================================================
   Hero
   ========================================================================== */

.af-hero {
	background: var(--af-navy);
	color: var(--af-white);
	padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 100px);
}
.af-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.af-hero__title,
.entry-content .af-hero__title {
	margin: 0 0 18px;
	color: var(--af-white);
	font-weight: 800;
	font-size: clamp(2rem, 3.6vw + .6rem, 3.4rem);
	line-height: 1.05;
	letter-spacing: -.01em;
}
.af-hero__sub,
.entry-content .af-hero__sub {
	margin: 0;
	color: var(--af-white);
	font-family: var(--af-font-body);
	font-weight: 400;
	font-size: clamp(1rem, .5vw + .9rem, 1.2rem);
	line-height: 1.55;
}
.af-hero .af-trust { margin-top: 22px; }

.af-hero__media { position: relative; padding: 18px 18px 36px 36px; }
.af-hero__frame { position: relative; }
.af-hero__frame::before {
	content: "";
	position: absolute;
	top: -18px; right: -18px; bottom: 18px; left: 18px;
	border: 3px solid var(--af-gold);
	border-radius: var(--af-radius);
	pointer-events: none;
}
.af-hero__img,
.af-hero__video {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	border-radius: var(--af-radius);
}
.af-hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.af-hero__video.is-ready { opacity: 1; }
.af-hero__inset {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42%;
	border: 6px solid var(--af-navy);
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: var(--af-shadow);
}
.af-hero__inset img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }

/* Trust strip */
.af-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.af-trust li { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: .95rem; }
.af-trust .af-icon { flex: none; color: var(--af-gold); }

/* ==========================================================================
   Section heading
   ========================================================================== */

.af-heading { margin-bottom: 8px; }
.af-heading--center { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.af-heading__title,
.entry-content .af-heading__title {
	margin: 0;
	font-weight: 800;
	font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem);
}
.af-heading__intro { margin-top: 14px; font-size: 1.08rem; }
/* Small label: blue on light sections, gold on dark (gold fails contrast on white). */
.af-eyebrow { margin: 0 0 8px; color: var(--af-blue); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
.af-bg-navy .af-eyebrow { color: var(--af-gold); }

/* ==========================================================================
   Routing cards
   ========================================================================== */

.af-routes { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.af-route {
	display: flex;
	flex-direction: column;
	padding: 28px;
	background: var(--af-white);
	border: 1px solid var(--af-line);
	border-radius: var(--af-radius);
}
.af-route__title, .entry-content .af-route__title { margin: 0 0 10px; font-size: 1.3rem; }
.af-route__text { flex: 1; }
.af-route__link { margin: 18px 0 0; }
.af-route--featured { background: var(--af-navy); border-color: var(--af-navy); }
.af-route--featured .af-route__title,
.af-route--featured p { color: var(--af-white); }
.af-route--featured .af-route__title { font-size: 1.6rem; }
.af-route--featured .af-more,
.entry-content .af-route--featured a.af-more { color: var(--af-gold); }

/* ==========================================================================
   Cards
   ========================================================================== */

.af-cards__heading, .entry-content .af-cards__heading { margin: 0 0 20px; font-size: 1.45rem; }
.af-cards { display: grid; gap: 24px; }
.af-cols-2 { grid-template-columns: repeat(2, 1fr); }
.af-cols-3 { grid-template-columns: repeat(3, 1fr); }
.af-cols-4 { grid-template-columns: repeat(4, 1fr); }
.af-card {
	display: flex;
	flex-direction: column;
	background: var(--af-white);
	border: 1px solid var(--af-line);
	border-bottom: 4px solid var(--af-gold);
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: var(--af-shadow);
}
.af-card__img img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.af-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.af-card__title, .entry-content .af-card__title { margin: 0 0 8px; font-size: 1.2rem; }
.af-card__text { flex: 1; }
.af-card__link { margin: 16px 0 0; }

/* ==========================================================================
   Benefits
   ========================================================================== */

.af-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.af-benefit { margin: 0; }
.af-benefit p { margin: 0; font-size: 1.05rem; }
.af-benefit strong { color: var(--af-navy); }
.af-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--af-gold);
	color: var(--af-navy);
}
.af-benefit__icon .af-icon { width: 26px; height: 26px; }
.af-benefit__img { margin-bottom: 16px; border-radius: var(--af-radius); overflow: hidden; }
.af-benefit__img img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

/* ==========================================================================
   Process steps
   ========================================================================== */

.af-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.af-step { padding-top: 20px; border-top: 4px solid var(--af-gold); }
.af-step__img { margin-bottom: 16px; border-radius: var(--af-radius); overflow: hidden; }
.af-step__img img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.af-step__title, .entry-content .af-step__title { margin: 0 0 10px; font-size: 1.2rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */

.af-reviews { text-align: center; }
.af-reviews__rating { margin: 0 0 24px; font-weight: 600; font-size: 1.1rem; }
.af-stars { display: inline-flex; gap: 2px; margin-right: 6px; color: var(--af-gold); vertical-align: -3px; }
.af-reviews__rating a { color: var(--af-blue); font-weight: 700; }
.af-reviews__widget { text-align: left; }

/* ==========================================================================
   Call to action band
   ========================================================================== */

.af-cta { max-width: 820px; text-align: center; }
.af-cta__title, .entry-content .af-cta__title { margin: 0 0 14px; font-weight: 800; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
.af-cta__text { font-size: 1.08rem; }
.af-cta__note { margin: 26px 0 0; font-size: .98rem; }
.af-cta__note .af-more { margin-left: 4px; }
.af-bg-navy .af-cta__note .af-more,
.entry-content .af-bg-navy a.af-more { color: var(--af-gold); }
.af-bg-blue .af-cta__note .af-more,
.entry-content .af-bg-blue a.af-more { color: var(--af-white); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.af-faq { max-width: 860px; }
.af-faq__item { border-bottom: 1px solid var(--af-line); }
.af-faq__item:first-child { border-top: 1px solid var(--af-line); }
.af-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	cursor: pointer;
	list-style: none;
}
.af-faq__item summary::-webkit-details-marker { display: none; }
.af-faq__item summary::after {
	content: "+";
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--af-tint);
	color: var(--af-navy);
	font: 700 1.3rem/32px var(--af-font-head);
	text-align: center;
}
.af-bg-light .af-faq__item summary::after { background: var(--af-white); }
.af-faq__item[open] summary::after { content: "\2212"; }
.af-faq__q, .entry-content .af-faq__q { margin: 0; font-size: 1.15rem; }
.af-faq__a { padding: 0 4px 22px; }
.af-faq__phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; font-weight: 700; font-size: 1.1rem; }
.af-faq__phone .af-icon { color: var(--af-blue); }

/* ==========================================================================
   GHL form
   ========================================================================== */

.af-form { max-width: 760px; text-align: center; }
.af-form__title, .entry-content .af-form__title { margin: 0 0 20px; font-weight: 800; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem); }
.af-form__frame { padding: 8px; background: var(--af-white); border-radius: 8px; box-shadow: var(--af-shadow); text-align: left; }
.af-form__frame iframe { display: block; width: 100%; }
.af-form__note { margin: 18px 0 0; font-weight: 600; }

/* ==========================================================================
   Gallery, image + text, map
   ========================================================================== */

.af-gallery { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.af-gallery li { margin: 0; }
.af-gallery figure { margin: 0; }
.af-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--af-radius); }
.af-gallery figcaption { margin-top: 8px; font-size: .92rem; }

.af-mt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.af-mt--no-img { grid-template-columns: 1fr; max-width: 820px; }
.af-mt--reverse .af-mt__img { order: 2; }
.af-mt__img img { display: block; width: 100%; height: auto; border-radius: var(--af-radius); }
.af-mt__title, .entry-content .af-mt__title { margin: 0 0 14px; font-weight: 800; font-size: clamp(1.5rem, 1.4vw + 1rem, 2.2rem); }

.af-map iframe { display: block; width: 100%; border: 0; border-radius: 8px; }

.af-placeholder { padding: 28px; border: 2px dashed var(--af-blue-light); border-radius: 8px; background: var(--af-white); color: #333; text-align: center; }

/* ==========================================================================
   Header and footer helpers ([af_phone], [af_address], [af_rating])
   ========================================================================== */

.af-header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.af-header-phone a { text-decoration: none; }
.af-icon { flex: none; }
.af-address { margin: 0; line-height: 1.6; }
.af-rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.af-rating .af-icon { color: var(--af-gold); }

/* ==========================================================================
   Mobile sticky bar: Call (outlined) | Get My Quote (filled)
   ========================================================================== */

.af-sticky { display: none; }

@media (max-width: 768px) {
	body { padding-bottom: 64px; }
	.af-sticky {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 999;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		height: 64px;
		padding: 8px;
		background: var(--af-white);
		border-top: 1px solid var(--af-line);
		box-shadow: 0 -4px 16px rgba(14, 34, 83, .12);
		transform: translateY(110%);
		transition: transform .2s ease;
	}
	.af-sticky.is-visible { transform: none; }
	.af-sticky a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 48px;
		border-radius: 4px;
		font-family: var(--af-font-head);
		font-weight: 700;
		font-size: .95rem;
		text-decoration: none;
	}
	.af-sticky__call { border: 2px solid var(--af-navy); color: var(--af-navy); }
	.af-sticky__quote { background: var(--af-gold); color: var(--af-navy); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
	.af-cols-3, .af-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.af-hero__grid { grid-template-columns: 1fr; }
	.af-hero__media { padding: 14px 14px 0 0; }
	.af-hero__frame::before { top: -14px; right: -14px; bottom: 14px; left: 14px; }
	.af-hero__inset { display: none; }
	.af-routes { grid-template-columns: 1fr; }
	.af-benefits { grid-template-columns: 1fr; gap: 24px; }
	.af-mt { grid-template-columns: 1fr; }
	.af-mt--reverse .af-mt__img { order: 0; }
}

@media (max-width: 600px) {
	.af-cols-2, .af-cols-3, .af-cols-4 { grid-template-columns: 1fr; }
	.af-gallery.af-cols-3, .af-gallery.af-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.af-trust { flex-direction: column; gap: 8px; }
	.af-actions .af-btn { width: 100%; }
	.af-actions { align-items: stretch; }
	.af-actions .af-phone-line { text-align: center; }
}

/* ==========================================================================
   v1.0.1  Depth and motion
   All movement uses transform/opacity. The script adds .af-motion to <html>
   only when the visitor has not asked for reduced motion.
   ========================================================================== */

/* Full width on Action Fence pages even if a sidebar is set for the page. */
.af-page #secondary { display: none; }
.af-page .site-content > .ast-container { display: block; }
.af-page #primary { width: 100%; max-width: 100%; float: none; flex: 1 1 100%; padding-left: 0; padding-right: 0; border: 0; }

.af-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Shared fence-line shape for dividers (pickets on a rail). */
:root {
	--af-fence: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='26' viewBox='0 0 36 26'%3E%3Cpath fill='%23000' d='M12 26V8l6-7 6 7v18zM0 15h36v4H0z'/%3E%3C/svg%3E");
	--af-ease: cubic-bezier(.2, .7, .2, 1);
	--af-lift: 0 2px 4px rgba(14, 34, 83, .08), 0 26px 50px -14px rgba(14, 34, 83, .32);
	--af-rest: 0 1px 2px rgba(14, 34, 83, .06), 0 12px 30px -10px rgba(14, 34, 83, .20);
}

/* ---------- Sections ---------- */

.af-bg-light { background: linear-gradient(180deg, #f5f7fc 0%, #e8eef9 100%); }
.af-page .vc_row.af-row { position: relative; }
.af-row > .wpb_column { position: static; }

/* Fence line rising from the top edge of navy and blue bands. */
.af-page .vc_row.af-row.af-bg-navy::before,
.af-page .vc_row.af-row.af-bg-blue::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: -25px;
	height: 26px;
	background-color: var(--af-navy);
	-webkit-mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	pointer-events: none;
}
.af-page .vc_row.af-row.af-bg-blue::before { background-color: var(--af-blue); }
.af-bg-navy {
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(29, 75, 175, .45), transparent 60%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 12px, transparent 12px 44px),
		var(--af-navy);
}

/* ---------- Section heading rule ---------- */

.af-heading__title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 16px;
	border-radius: 2px;
	background: var(--af-gold);
	transform-origin: left center;
}
.af-heading--center .af-heading__title::after { margin-left: auto; margin-right: auto; transform-origin: center; }

/* ---------- Buttons ---------- */

.af-btn,
.entry-content a.af-btn { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--af-ease), box-shadow .25s var(--af-ease), background-color .15s ease; }
.af-btn--gold,
.entry-content a.af-btn--gold {
	background: linear-gradient(180deg, #d6ab35 0%, #bf921d 55%, #b38818 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 22px -8px rgba(191, 146, 29, .65);
}
.af-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .75s var(--af-ease);
}

/* ---------- Hero ---------- */

.af-hero {
	position: relative;
	padding-bottom: clamp(76px, 9vw, 128px);
	background:
		radial-gradient(90% 70% at 85% 15%, rgba(29, 75, 175, .55) 0%, rgba(29, 75, 175, 0) 60%),
		radial-gradient(60% 50% at 0% 100%, rgba(191, 146, 29, .10), transparent 70%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 12px, transparent 12px 44px),
		linear-gradient(160deg, #0b1c46 0%, #0e2253 45%, #14317a 100%);
}
.af-hero > .af-container { position: relative; z-index: 1; }
/* White fence line along the bottom of the hero. Change --af-hero-fence if the next section is not white. */
.af-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 26px;
	background-color: var(--af-hero-fence, #fff);
	-webkit-mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	pointer-events: none;
}
.af-hero__img { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .6), 0 12px 24px -8px rgba(0, 0, 0, .35); }
.af-hero__frame::before { transform: translate3d(0, var(--af-par, 0px), 0); will-change: transform; }
.af-hero__inset { transform: translate3d(0, calc(var(--af-par, 0px) * -0.6), 0); }

/* ---------- Routing cards ---------- */

.af-route {
	position: relative;
	border-color: rgba(14, 34, 83, .08);
	box-shadow: var(--af-rest);
	transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease);
}
.af-route__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--af-white);
	color: var(--af-navy);
	box-shadow: inset 0 0 0 2px var(--af-gold), 0 8px 18px -8px rgba(191, 146, 29, .7);
	transition: background-color .3s ease, color .3s ease, transform .35s var(--af-ease);
}
.af-route__icon .af-line-icon { width: 36px; height: 36px; }
.af-route--featured {
	background:
		radial-gradient(80% 90% at 100% 0%, rgba(29, 75, 175, .6), transparent 60%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 10px, transparent 10px 34px),
		linear-gradient(150deg, #0e2253 0%, #173a86 100%);
	box-shadow: 0 2px 4px rgba(14, 34, 83, .12), 0 24px 50px -16px rgba(14, 34, 83, .55);
}
.af-route--featured .af-route__icon { background: rgba(255, 255, 255, .06); color: var(--af-gold); }

/* Whole card is the link; the visible link text stays for clarity. */
.af-stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--af-radius); }
.af-stretch:focus-visible { outline: none; }
.af-is-linked:focus-within { outline: 3px solid var(--af-gold); outline-offset: 3px; }

/* ---------- Fence cards ---------- */

.af-card { position: relative; box-shadow: var(--af-rest); transition: transform .35s var(--af-ease), box-shadow .35s var(--af-ease), border-color .3s ease; }
.af-card__img { overflow: hidden; }
.af-card__img img { transition: transform 1.2s var(--af-ease); }

/* ---------- Hover (mouse and trackpad only) ---------- */

@media (hover: hover) {
	.af-btn:hover { transform: translateY(-2px); }
	.af-btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 30px -10px rgba(191, 146, 29, .75); }
	.af-btn:hover::after { transform: translateX(120%); }

	.af-route.af-is-linked:hover,
	.af-card.af-is-linked:hover { transform: translateY(-6px); box-shadow: var(--af-lift); }
	.af-route--featured.af-is-linked:hover { box-shadow: 0 2px 4px rgba(14, 34, 83, .14), 0 32px 60px -16px rgba(14, 34, 83, .65); }
	.af-route:hover .af-route__icon { background: var(--af-gold); color: var(--af-navy); transform: scale(1.06); }
	.af-is-linked:hover .af-more .af-icon { transform: translateX(5px); }
	.af-card:hover .af-card__img img { transform: scale(1.06); }
	.af-card:hover { border-bottom-color: var(--af-gold-hover); }
}

/* ---------- Benefits and form ---------- */

.af-benefit__icon { box-shadow: 0 0 0 6px rgba(191, 146, 29, .14), 0 10px 20px -8px rgba(191, 146, 29, .7); }
.af-form__frame { box-shadow: 0 2px 4px rgba(14, 34, 83, .06), 0 30px 60px -20px rgba(14, 34, 83, .30); }

/* ---------- Process steps ---------- */

.af-step { position: relative; padding-top: 0; border-top: 0; }
.af-step__title,
.entry-content .af-step__title { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.af-step__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(180deg, #d6ab35 0%, #bf921d 100%);
	color: var(--af-navy);
	font: 800 1.35rem/1 var(--af-font-head);
	box-shadow: 0 0 0 6px rgba(191, 146, 29, .16), 0 10px 20px -8px rgba(191, 146, 29, .7);
}
.af-step__img { margin-top: 4px; }

/* Row layout: a line joins each circle to the next (desktop). */
.af-steps--row .af-step::after {
	content: "";
	position: absolute;
	top: 27px;
	left: 76px;
	width: calc(100% + 28px - 92px);
	height: 2px;
	background: linear-gradient(90deg, var(--af-gold), rgba(191, 146, 29, .3));
	transform-origin: left center;
	display: none;
}
@media (min-width: 901px) {
	.af-steps--row { grid-template-columns: repeat(var(--af-n, 4), 1fr); }
	.af-steps--row .af-step:not(:last-child)::after { display: block; }
}

/* Timeline layout for six or more steps. */
.af-steps--timeline { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; gap: 0; }
.af-steps--timeline .af-step { padding: 0 0 34px 84px; }
.af-steps--timeline .af-step__title,
.entry-content .af-steps--timeline .af-step__title { display: block; padding-top: 14px; }
.af-steps--timeline .af-step__num { position: absolute; left: 0; top: 0; }
.af-steps--timeline .af-step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 27px;
	top: 62px;
	bottom: 6px;
	width: 2px;
	background: linear-gradient(180deg, var(--af-gold), rgba(191, 146, 29, .3));
	transform-origin: top center;
}

/* ---------- FAQ ---------- */

.af-faq__a { padding: 0; overflow: hidden; }
.af-faq__a-inner { padding: 0 4px 22px; }
.af-faq__item summary::after { transition: transform .3s var(--af-ease), background-color .2s ease; }
.af-faq__item[open] summary::after { transform: rotate(180deg); background: var(--af-gold); }
.af-faq__item summary:hover .af-faq__q { color: var(--af-blue); }

/* ---------- Scroll reveal ---------- */

.af-motion .af-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s var(--af-ease), transform .7s var(--af-ease);
	transition-delay: var(--af-delay, 0ms);
}
.af-motion .af-reveal.is-in { opacity: 1; transform: none; }

.af-motion .af-heading.af-reveal .af-heading__title::after { transform: scaleX(0); transition: transform .8s var(--af-ease) .3s; }
.af-motion .af-heading.af-reveal.is-in .af-heading__title::after { transform: scaleX(1); }

.af-motion .af-steps--row .af-step.af-reveal::after { transform: scaleX(0); transition: transform .9s var(--af-ease); transition-delay: calc(var(--af-delay, 0ms) + 350ms); }
.af-motion .af-steps--row .af-step.af-reveal.is-in::after { transform: scaleX(1); }
.af-motion .af-steps--timeline .af-step.af-reveal::after { transform: scaleY(0); transition: transform .9s var(--af-ease); transition-delay: calc(var(--af-delay, 0ms) + 350ms); }
.af-motion .af-steps--timeline .af-step.af-reveal.is-in::after { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
	.af-page *, .af-page *::before, .af-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.af-hero__frame::before, .af-hero__inset { transform: none !important; }
}

/* Keep the arrow on the same line as the last word of a link. */
.af-nowrap { white-space: nowrap; }

/* ==========================================================================
   v1.0.3  Header (Astra header builder)
   Layout comes from the Customizer: phone (HTML 1) in the above-header bar,
   logo left, Primary Menu + quote button (HTML 2) right.
   ========================================================================== */

:root { --af-top-h: 40px; --af-head-h: 92px; --af-head-h-scrolled: 72px; }

/* Sticky header. On desktop the slim phone bar scrolls away and the white bar stays. */
#masthead { position: sticky; top: 0; z-index: 999; }
.ast-desktop #masthead { top: calc(var(--af-top-h) * -1); }
@media (min-width: 783px) {
	.admin-bar.ast-desktop #masthead { top: calc(32px - var(--af-top-h)); }
	.admin-bar.ast-header-break-point #masthead { top: 32px; }
}
@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar #masthead { top: 46px; }
}

/* ---------- Above-header bar (phone) ---------- */

#masthead .ast-above-header-bar {
	background: var(--af-navy);
	border: 0;
}
#masthead .ast-above-header-bar .site-above-header-wrap { min-height: var(--af-top-h); }
#masthead .ast-above-header-bar .af-header-phone { color: var(--af-white); font-size: .95rem; }
#masthead .ast-above-header-bar .af-header-phone .af-icon { width: 16px; height: 16px; color: var(--af-gold); }
#masthead .ast-above-header-bar .af-header-phone a { color: var(--af-white); }
#masthead .ast-above-header-bar .af-header-phone a:hover { color: var(--af-gold); }
#masthead .ast-builder-html-element p { margin: 0; }

/* ---------- Main white bar ---------- */

#masthead .ast-primary-header-bar {
	background: var(--af-white);
	border-bottom: 1px solid rgba(14, 34, 83, .08);
	transition: box-shadow .3s ease;
}
#masthead .ast-primary-header-bar .site-primary-header-wrap { min-height: var(--af-head-h); transition: min-height .3s var(--af-ease); }
.af-scrolled #masthead .ast-primary-header-bar { box-shadow: 0 12px 30px -14px rgba(14, 34, 83, .35); }
.af-scrolled #masthead .ast-primary-header-bar .site-primary-header-wrap { min-height: var(--af-head-h-scrolled); }

#masthead .site-logo-img .custom-logo-link img {
	width: 210px;
	max-width: 210px;
	height: auto;
	transition: width .3s var(--af-ease), max-width .3s var(--af-ease);
}
.af-scrolled.ast-desktop #masthead .site-logo-img .custom-logo-link img { width: 172px; max-width: 172px; }

/* ---------- Menu links ---------- */

#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
	position: relative;
	padding: 0 10px;
	color: var(--af-navy);
	font-family: var(--af-font-body);
	font-weight: 600;
	font-size: 15px;
	transition: color .2s ease;
}
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: calc(50% - 17px);
	height: 2px;
	border-radius: 1px;
	background: var(--af-gold);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .3s var(--af-ease);
}
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item.focus > .menu-link,
#masthead .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link,
#masthead .ast-builder-menu-1 .main-header-menu > .current-menu-ancestor > .menu-link,
#masthead .ast-builder-menu-1 .main-header-menu > .current-page-ancestor > .menu-link { color: var(--af-blue); }
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link::after,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item.focus > .menu-link::after,
#masthead .ast-builder-menu-1 .main-header-menu > .current-menu-item > .menu-link::after,
#masthead .ast-builder-menu-1 .main-header-menu > .current-menu-ancestor > .menu-link::after,
#masthead .ast-builder-menu-1 .main-header-menu > .current-page-ancestor > .menu-link::after { transform: scaleX(1); }

/* ---------- Dropdowns ---------- */

.ast-desktop #masthead .main-header-menu .sub-menu {
	width: auto;
	min-width: 250px;
	padding: 10px 0;
	background: var(--af-white);
	border: 0;
	border-top: 3px solid var(--af-gold);
	border-radius: 0 0 8px 8px;
	box-shadow: 0 2px 6px rgba(14, 34, 83, .08), 0 26px 50px -18px rgba(14, 34, 83, .35);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .22s ease, transform .22s var(--af-ease), visibility .22s;
}
.ast-desktop #masthead .main-header-menu .menu-item:hover > .sub-menu,
.ast-desktop #masthead .main-header-menu .menu-item.focus > .sub-menu { opacity: 1; transform: none; }
.ast-desktop #masthead .main-header-menu .sub-menu .menu-item { width: 100%; }
.ast-desktop #masthead .main-header-menu .sub-menu .menu-link {
	padding: 10px 22px;
	border: 0;
	color: var(--af-navy);
	font-family: var(--af-font-body);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.35;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, padding-left .2s var(--af-ease);
}
.ast-desktop #masthead .main-header-menu .sub-menu .menu-link:hover,
.ast-desktop #masthead .main-header-menu .sub-menu .menu-item.focus > .menu-link,
.ast-desktop #masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: var(--af-tint);
	color: var(--af-blue);
	padding-left: 27px;
}

/* Service Area: towns in two columns, centered under the menu item. */
.ast-desktop #masthead .main-header-menu .af-menu-cols > .sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(210px, 1fr));
	padding: 10px 6px;
	left: 50%;
	right: auto;
	transform: translate(-50%, 10px);
}
.ast-desktop #masthead .main-header-menu .af-menu-cols:hover > .sub-menu,
.ast-desktop #masthead .main-header-menu .af-menu-cols.focus > .sub-menu { left: 50%; transform: translate(-50%, 0); }

/* Laptop and tablet-landscape widths: tighter menu so all six items stay on one line.
   The arrows hide here; each parent links to its hub page, which lists the same pages. */
@media (min-width: 922px) and (max-width: 1239px) {
	#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding: 0 8px; font-size: 14px; }
	#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after { left: 8px; right: 8px; }
	#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link .dropdown-menu-toggle { display: none; }
	#masthead .site-logo-img .custom-logo-link img { width: 168px; max-width: 168px; }
	#masthead .ast-header-html-2 { margin-left: 8px; }
	#masthead .ast-header-html-2 .af-btn { padding: 10px 16px; font-size: .88rem; }
}
@media (min-width: 922px) and (max-width: 1023px) {
	#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { padding: 0 6px; font-size: 13.5px; }
	#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link::after { left: 6px; right: 6px; }
	#masthead .site-logo-img .custom-logo-link img { width: 148px; max-width: 148px; }
	#masthead .ast-header-html-2 .af-btn { padding: 9px 12px; font-size: .82rem; }
}

/* ---------- Quote button in the main bar ---------- */

#masthead .ast-header-html-2 { margin-left: 14px; }
#masthead .ast-header-html-2 .af-btn { white-space: nowrap; }

/* ---------- Phone and tablet header ---------- */

.ast-header-break-point #masthead .ast-primary-header-bar .site-primary-header-wrap,
.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar { min-height: 72px; }
.ast-header-break-point #masthead .site-logo-img .custom-logo-link img { width: 150px; max-width: 150px; }
.ast-header-break-point #masthead .menu-toggle { color: var(--af-navy); }
.ast-header-break-point #masthead .menu-toggle .ast-mobile-svg, .ast-header-break-point #masthead .menu-toggle svg { fill: var(--af-navy); color: var(--af-navy); }
.ast-header-break-point #masthead .ast-mobile-header-content .menu-link { color: var(--af-navy); font-weight: 600; }
.ast-header-break-point #masthead .ast-mobile-header-content .ast-header-html-2 { margin: 16px 0 8px; }
.ast-header-break-point #masthead .ast-mobile-header-content .ast-header-html-2,
.ast-header-break-point #masthead .ast-mobile-header-content .ast-header-html-2 .ast-header-html,
.ast-header-break-point #masthead .ast-mobile-header-content .ast-header-html-2 .ast-builder-html-element { width: 100%; }
.ast-header-break-point #masthead .ast-mobile-header-content .ast-header-html-2 .af-btn { width: 100%; }
.ast-header-break-point #masthead .ast-mobile-header-content .af-header-phone,
.ast-header-break-point #masthead .ast-mobile-header-content .af-header-phone a { color: var(--af-navy); }
.ast-header-break-point #masthead .ast-mobile-header-content .af-header-phone .af-icon { color: var(--af-gold); }

/* ==========================================================================
   v1.0.4  Footer ([af_footer] in Astra Footer HTML 1, Primary Footer row)
   ========================================================================== */

/* Let the shortcode own the full width; Astra's footer row adds nothing. */
#colophon .site-primary-footer-wrap { padding: 0; margin: 0; border: 0; background: transparent; }
#colophon .site-primary-footer-wrap,
#colophon .site-primary-footer-wrap .ast-builder-grid-row-container-inner,
#colophon .site-primary-footer-inner-wrap { max-width: none; width: 100%; padding: 0; margin: 0; }
#colophon .site-primary-footer-inner-wrap { display: block; }
#colophon .site-primary-footer-wrap .site-footer-section { padding: 0; margin: 0; }
#colophon .ast-footer-html-1,
#colophon .ast-footer-html-1 .ast-header-html,
#colophon .ast-footer-html-1 .ast-builder-html-element { width: 100%; margin: 0; }
#colophon .ast-footer-html-1 .ast-builder-html-element > p:empty { display: none; }

.af-footer { position: relative; color: rgba(255, 255, 255, .86); text-align: left; }

/* ---------- Quote band ---------- */

.af-footer__cta {
	position: relative;
	padding: clamp(44px, 6vw, 72px) 0;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(29, 75, 175, .55), transparent 60%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 12px, transparent 12px 44px),
		var(--af-navy);
}
.af-footer__cta::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -25px;
	height: 26px;
	background-color: var(--af-navy);
	-webkit-mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	mask: var(--af-fence) repeat-x left bottom / 36px 26px;
	pointer-events: none;
}
.af-footer__cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
}
.af-footer__cta-title,
.site-footer .af-footer__cta-title {
	margin: 0;
	color: var(--af-white);
	font-family: var(--af-font-head);
	font-weight: 800;
	font-size: clamp(1.6rem, 1.6vw + 1rem, 2.4rem);
	line-height: 1.1;
}

/* ---------- Main footer ---------- */

.af-footer__main {
	padding: clamp(44px, 6vw, 72px) 0;
	background: #0a1a42;
	border-top: 1px solid rgba(255, 255, 255, .06);
}
.af-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr .9fr 1.2fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.af-footer__logo {
	display: inline-block;
	margin-bottom: 22px;
	padding: 14px 18px;
	background: var(--af-white);
	border-radius: 10px;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6);
	transition: transform .3s var(--af-ease);
}
.af-footer__logo img { display: block; width: 190px; height: auto; }
.af-footer__address { display: flex; flex-direction: column; gap: 4px; margin: 0; font-style: normal; line-height: 1.6; }
.af-footer__company { color: var(--af-white); font-weight: 700; }
.af-footer__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 1.1rem; }
.af-footer__phone .af-icon { color: var(--af-gold); }
.af-footer a:not(.af-btn) { color: var(--af-white); text-decoration: none; transition: color .2s ease; }
.af-footer a:not(.af-btn):hover, .af-footer a:not(.af-btn):focus-visible { color: var(--af-gold); }
.site-footer .af-footer a.af-btn--gold { color: var(--af-navy); }

.af-footer__links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.af-footer__links li { margin: 0; }
.af-footer .af-footer__links a {
	display: inline-flex;
	align-items: center;
	padding: 6px 0;
	color: rgba(255, 255, 255, .86);
	font-weight: 500;
}
.af-footer__links a::before {
	content: "";
	width: 0;
	height: 2px;
	margin-right: 0;
	background: var(--af-gold);
	transition: width .25s var(--af-ease), margin-right .25s var(--af-ease);
}
.af-footer__links a:hover::before,
.af-footer__links a:focus-visible::before { width: 14px; margin-right: 10px; }
.af-footer__note { margin: 0; color: rgba(255, 255, 255, .7); }

/* Badges: Google rating and BBB A+ side by side. */
.af-footer__badges { display: flex; flex-wrap: wrap; gap: 16px; }
.af-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 118px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 10px;
	background: rgba(255, 255, 255, .04);
	text-align: center;
	transition: transform .3s var(--af-ease), border-color .3s ease, background-color .3s ease;
}
a.af-badge:hover { transform: translateY(-3px); border-color: var(--af-gold); background: rgba(255, 255, 255, .07); color: var(--af-white); }
.af-badge__stars { display: inline-flex; gap: 2px; color: var(--af-gold); }
.af-badge__stars .af-icon { width: 16px; height: 16px; }
.af-badge__big { color: var(--af-white); font-family: var(--af-font-head); font-weight: 800; font-size: 2rem; line-height: 1; }
.af-badge--bbb .af-badge__big { color: var(--af-gold); }
.af-badge__small { color: rgba(255, 255, 255, .8); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.af-badge--seal { padding: 10px; background: var(--af-white); }

/* ---------- Bottom bar ---------- */

.af-footer__bottom { padding: 18px 0; background: #071433; font-size: .9rem; }
.af-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.af-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .72); }
.af-footer__legal { display: flex; gap: 10px; }
.af-footer .af-footer__legal a { color: rgba(255, 255, 255, .72); }

@media (max-width: 900px) {
	.af-footer__grid { grid-template-columns: 1fr 1fr; }
	.af-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.af-footer__grid { grid-template-columns: 1fr; }
	.af-footer__cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
	.af-footer__cta .af-btn { width: 100%; }
	.af-footer__bottom-inner { flex-direction: column; text-align: center; }
	.af-footer__badges { justify-content: flex-start; }
}

/* Astra's scroll-to-top button: brand colors, and above the phone sticky bar. */
#ast-scroll-top { background-color: var(--af-gold); color: var(--af-navy); border-radius: 6px; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .45); }
#ast-scroll-top:hover { background-color: var(--af-gold-hover); }
#ast-scroll-top .ast-icon svg, #ast-scroll-top svg { fill: var(--af-navy); }
@media (max-width: 768px) { #ast-scroll-top { bottom: 80px; } }

/* ==========================================================================
   v1.0.5  Benefit line icons, Image + Text links
   ========================================================================== */

.af-benefit__icon--line { width: 64px; height: 64px; background: var(--af-white); color: var(--af-navy); box-shadow: inset 0 0 0 2px var(--af-gold), 0 8px 18px -8px rgba(191, 146, 29, .7); }
.af-benefit__icon--line .af-line-icon { width: 34px; height: 34px; }
.af-bg-light .af-benefit__icon--line { background: var(--af-white); }
.af-mt__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; }
.af-bg-navy .af-mt__links .af-more,
.entry-content .af-bg-navy .af-mt__links a.af-more { color: var(--af-gold); }

/* ==========================================================================
   v1.0.6  Gallery: click to enlarge, See more photos
   ========================================================================== */

.af-gallery__link { position: relative; display: block; overflow: hidden; border-radius: var(--af-radius); cursor: zoom-in; box-shadow: var(--af-rest); }
.af-gallery__link img { transition: transform 1s var(--af-ease); }
.af-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--af-gold);
	box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .5);
	opacity: 0;
	transform: scale(.8);
	transition: opacity .25s ease, transform .25s var(--af-ease);
}
.af-gallery__zoom::before,
.af-gallery__zoom::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--af-navy); border-radius: 1px; transform: translate(-50%, -50%); }
.af-gallery__zoom::before { width: 16px; height: 2px; }
.af-gallery__zoom::after { width: 2px; height: 16px; }
.af-gallery__link:focus-visible .af-gallery__zoom { opacity: 1; transform: none; }
@media (hover: hover) {
	.af-gallery__link:hover img { transform: scale(1.05); }
	.af-gallery__link:hover .af-gallery__zoom { opacity: 1; transform: none; }
}
.af-gallery__count { font-weight: 600; opacity: .75; }
.af-gallery__in { animation: af-pop .5s var(--af-ease) both; }
@keyframes af-pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Outline button (navy on light, white on dark). */
.af-btn--outline,
.entry-content .af-btn--outline { background: transparent; color: var(--af-navy); border: 2px solid var(--af-navy); cursor: pointer; }
.af-btn--outline:hover,
.entry-content .af-btn--outline:hover { background: var(--af-navy); color: var(--af-white); }
.af-bg-navy .af-btn--outline { color: var(--af-white); border-color: var(--af-white); }
.af-bg-navy .af-btn--outline:hover { background: var(--af-white); color: var(--af-navy); }

/* Full-screen viewer */
.af-viewer-open, .af-viewer-open body { overflow: hidden; }
.af-viewer {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 72px 56px;
	background: rgba(7, 20, 51, .95);
	opacity: 0;
	transition: opacity .2s ease;
}
.af-viewer[hidden] { display: none; }
.af-viewer.is-open { opacity: 1; }
.af-viewer__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.af-viewer__img {
	max-width: 100%;
	max-height: calc(100% - 48px);
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
	opacity: 0;
	transform: scale(.97);
	transition: opacity .25s ease, transform .3s var(--af-ease);
}
.af-viewer.is-loaded .af-viewer__img { opacity: 1; transform: none; }
.af-viewer__caption { margin: 16px 0 0; color: var(--af-white); font-weight: 600; text-align: center; }
.af-viewer__count { position: absolute; top: 22px; left: 24px; margin: 0; color: rgba(255, 255, 255, .8); font-weight: 600; font-size: .95rem; }
.af-viewer__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: var(--af-white);
	font: 400 2rem/1 var(--af-font-body);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.af-viewer__btn:hover, .af-viewer__btn:focus-visible { background: var(--af-gold); color: var(--af-navy); }
.af-viewer__btn[hidden] { display: none; }
.af-viewer__close { top: 12px; right: 16px; }
.af-viewer__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.af-viewer__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
	.af-viewer { padding: 60px 12px 84px; }
	.af-viewer__prev, .af-viewer__next { top: auto; bottom: 18px; transform: none; }
	.af-viewer__prev { left: calc(50% - 60px); }
	.af-viewer__next { right: calc(50% - 60px); }
}

/* Astra styles every <button>; keep the gallery buttons in brand colors. */
.af-viewer button.af-viewer__btn { padding: 0; border: 0; background: rgba(255, 255, 255, .12); color: var(--af-white); box-shadow: none; }
.af-viewer button.af-viewer__btn:hover,
.af-viewer button.af-viewer__btn:focus-visible { background: var(--af-gold); color: var(--af-navy); }
.af-gallery-wrap button.af-btn--outline { background: transparent; color: var(--af-navy); border: 2px solid var(--af-navy); }
.af-gallery-wrap button.af-btn--outline:hover,
.af-gallery-wrap button.af-btn--outline:focus-visible { background: var(--af-navy); color: var(--af-white); }
.af-bg-navy .af-gallery-wrap button.af-btn--outline { color: var(--af-white); border-color: var(--af-white); }
.af-bg-navy .af-gallery-wrap button.af-btn--outline:hover { background: var(--af-white); color: var(--af-navy); }
.af-gallery__count { margin-left: .4em; }

/* ==========================================================================
   v1.0.7  Card "Who it's for" line
   ========================================================================== */

.af-card__who { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--af-line); color: #33405e; font-size: .92rem; line-height: 1.5; }
.af-card__who strong { color: var(--af-blue); font-weight: 700; }

/* ==========================================================================
   v1.0.8  Hero urgent line
   ========================================================================== */

.af-urgent { margin: 4px 0 0; font-size: .95rem; font-weight: 600; }
.af-hero .af-urgent { color: rgba(255, 255, 255, .9); }
.af-hero .af-urgent a,
.entry-content .af-hero .af-urgent a { color: var(--af-gold); text-decoration: underline; text-underline-offset: 3px; }
.af-hero .af-urgent a:hover { color: var(--af-gold-hover); }
.entry-content .af-actions p,
.af-actions p { margin: 0; }

/* ==========================================================================
   v1.0.9  Breadcrumb, Benefits columns
   ========================================================================== */

.af-breadcrumb { margin: 0 0 18px; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.af-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.af-breadcrumb li { display: inline-flex; align-items: center; margin: 0; }
.af-breadcrumb li + li::before { content: "\203A"; margin: 0 10px; color: var(--af-gold); font-weight: 700; }
.af-breadcrumb a,
.entry-content .af-breadcrumb a { color: var(--af-white); text-decoration: none; }
.af-breadcrumb a:hover,
.entry-content .af-breadcrumb a:hover { color: var(--af-gold); text-decoration: underline; }
.af-breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, .78); }
.af-breadcrumb--rm p { margin: 0; }
.af-breadcrumb--rm .separator { margin: 0 8px; color: var(--af-gold); }
.af-breadcrumb--rm .last { color: rgba(255, 255, 255, .78); }

.af-benefits--2 { grid-template-columns: repeat(2, 1fr); }
.af-benefits--4 { grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1100px) { .af-benefits--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .af-benefits--2, .af-benefits--4 { grid-template-columns: 1fr; } }
