/*
Theme Name: Strong Arm Appliance Repair
Theme URI: https://strongarmappliance.com/
Author: Strong Arm Appliance Repair
Author URI: https://strongarmappliance.com/
Description: Custom multi-page theme for Strong Arm Appliance Repair (Bakersfield & Shafter, CA). Includes Home, Services, six individual service pages, Service Areas, Bakersfield and Shafter pages, About, Contact and Blog. Pages, menu and logo are created automatically on activation. GoHighLevel form and Google Maps embeds are managed in Appearance → Customize → Strong Arm Settings.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strongarm
Tags: business, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--navy: #0a2540;
	--navy-2: #0f3359;
	--navy-3: #163f6b;
	--blue: #0b66a8;
	--blue-soft: #e3eef8;
	--orange: #f7941d;
	--orange-2: #e07f08;
	--paper: #f6f4ef;
	--sand: #ece7de;
	--white: #ffffff;
	--ink: #13202e;
	--muted: #556170;
	--line: #d9d2c5;
	--line-dark: rgba(255, 255, 255, 0.16);
	--on-navy: #ffffff;
	--on-navy-muted: #b7c6d9;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(10, 37, 64, 0.06), 0 8px 24px rgba(10, 37, 64, 0.08);
	--shadow-lg: 0 2px 4px rgba(10, 37, 64, 0.08), 0 24px 48px rgba(10, 37, 64, 0.16);
	--font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--font-body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 20px;
	--header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.005em;
	color: var(--navy);
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000;
	padding: 10px 16px; background: var(--white); color: var(--navy);
	box-shadow: var(--shadow);
}

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

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ==========================================================================
   Buttons & small components
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.8em 1.4em;
	border: 2px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 0.62em 1em; font-size: 0.95rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: var(--orange-2); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); color: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 14px;
	font-family: var(--font-display); font-weight: 700;
	font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.eyebrow--light { color: var(--on-navy-muted); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 700; color: var(--navy); text-decoration: none;
}
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
	padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
	background: var(--white); font-size: 0.95rem; font-weight: 500;
}
.chips--strong li { font-weight: 700; color: var(--navy); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--orange); margin-top: 0.2em; }

.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .icon { width: 18px; height: 18px; }

/* ==========================================================================
   Top bar & header
   ========================================================================== */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-size: 0.88rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .icon { color: var(--orange); }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(246, 244, 239, 0.96);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	backdrop-filter: saturate(140%) blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(10, 37, 64, .08); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: block; flex: none; }
.brand .brand__logo { height: 60px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu a {
	display: block; padding: 10px 12px;
	color: var(--navy); font-weight: 600; text-decoration: none; border-radius: var(--radius-sm);
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a,
.primary-nav .menu > .current_page_parent > a { color: var(--blue); }
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }

.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; margin-left: -8px; padding: 0;
	background: none; border: 0; color: var(--navy); cursor: pointer;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .15s ease; }

.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 250px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.primary-nav .sub-menu a { padding: 9px 12px; font-weight: 500; }
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu .current-menu-item > a { background: var(--paper); color: var(--blue); }
.primary-nav .menu > li:hover > .sub-menu,
.primary-nav .menu > li:focus-within > .sub-menu,
.primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.primary-nav__cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	color: var(--navy); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; isolation: isolate;
	background: var(--navy); color: var(--on-navy);
	overflow: hidden;
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(900px 500px at 85% -10%, rgba(11, 102, 168, .55), transparent 60%),
		repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
}
.hero--photo::before {
	background:
		linear-gradient(90deg, rgba(10,37,64,.96) 0%, rgba(10,37,64,.88) 45%, rgba(10,37,64,.6) 100%),
		var(--hero-img) center / cover no-repeat;
}
.hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
	background: linear-gradient(90deg, var(--orange) 0 34%, var(--blue) 34% 100%);
}
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 56px; align-items: start;
	padding-top: 64px; padding-bottom: 64px;
}
.hero__copy { padding-top: 12px; }
.hero__title {
	color: var(--white);
	font-size: clamp(2.8rem, 6.4vw, 5.4rem);
	font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.95;
	margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--orange); }
.hero__title--md { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
.hero__lead { font-size: 1.15rem; color: var(--on-navy-muted); max-width: 36em; margin-bottom: 28px; }
.hero .checklist { margin-top: 28px; color: var(--white); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-weight: 500; }

/* Trust badges (Google Guaranteed / Yelp Verified) */
.trust-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.badge {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 20px 10px 12px; min-height: 64px;
	background: var(--white); color: var(--ink); border-radius: var(--radius);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .22); text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
a.badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .28); color: var(--ink); }
.badge__logo { width: 42px; height: 42px; display: grid; place-items: center; flex: none; }
.badge__logo svg { width: 38px; height: 38px; }
.badge__text { display: flex; flex-direction: column; gap: 3px; line-height: 1.1; }
.badge__stars { display: inline-flex; gap: 1px; color: #fbbc04; }
.badge__stars .icon { width: 17px; height: 17px; }
.badge strong { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: .01em; }
.badge .badge__yelp-name { font-family: var(--font-body); font-weight: 800; font-size: 1.35rem; color: #d32323; letter-spacing: -.02em; }
.badge__sub { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .95rem; color: #1a7f37; }
.badge__sub .icon { width: 16px; height: 16px; stroke-width: 2.6; }

.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.92rem; }
.breadcrumbs li { color: var(--on-navy-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.form-card {
	background: var(--white); color: var(--ink);
	border-radius: var(--radius); box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.form-card__head { padding: 22px 24px 16px; border-bottom: 1px solid #eee7da; background: var(--paper); }
.form-card__title { font-size: 1.9rem; margin: 0 0 4px; }
.form-card__sub { margin: 0; color: var(--muted); font-size: 0.98rem; }
.form-card__sub strong { color: var(--navy); }
.form-card__body { padding: 8px 12px 12px; min-height: 582px; }
.form-card__foot { padding: 14px 24px; border-top: 1px solid #eee7da; font-size: 0.95rem; color: var(--muted); }
.form-card__foot a { font-weight: 700; color: var(--navy); }
.form-fallback { padding: 24px; font-size: 1.1rem; }

.stat-strip { border-top: 1px solid var(--line-dark); position: relative; }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 22px 24px 26px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__label { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-muted); }
.stat__value { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--white); }
.stat__note { margin: 6px 0 0; font-size: 0.95rem; color: var(--on-navy-muted); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-bottom: 44px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.section-head--stack { grid-template-columns: 1fr; max-width: 760px; }
.section--navy .section-head p { color: var(--on-navy-muted); }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.lead-text { font-size: 1.15rem; }

/* Services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card {
	position: relative; display: flex; flex-direction: column;
	padding: 0; overflow: hidden;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); border-bottom: 1px solid var(--line); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.stack { display: grid; gap: 20px; }
.svc-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--blue-soft); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; }
.local-heading { font-size: 1.5rem; margin-top: 1.4em; }
.svc-card::after {
	z-index: 1;
	content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px;
	background: var(--orange); border-radius: 0 0 4px 4px;
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9c0b0; color: var(--ink); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card__icon {
	width: 56px; height: 56px; margin-bottom: 18px;
	display: grid; place-items: center;
	background: var(--blue-soft); color: var(--blue); border-radius: 12px;
}
.svc-card__icon .icon { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 8px; font-size: 1.75rem; }
.svc-card p { color: var(--muted); margin-bottom: 18px; }
.svc-card .link-arrow { margin-top: auto; }

/* Brand logo carousel (right to left) */
.brand-strip { background: #dedede; padding: 26px 0 30px; border-bottom: 1px solid #cfcfcf; overflow: hidden; }
.brand-strip__head { margin-bottom: 14px; }
.brand-strip__label {
	margin: 0; text-align: center;
	font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
	letter-spacing: .16em; text-transform: uppercase; color: #4b5563;
}
.brand-marquee {
	--marquee-duration: 40s;
	position: relative; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.brand-marquee__track { display: flex; width: max-content; animation: sa-marquee var(--marquee-duration) linear infinite; }
.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }
.brand-marquee__list { display: flex; align-items: center; gap: 56px; list-style: none; margin: 0; padding: 0 28px; }
.brand-logo { flex: none; display: flex; align-items: center; justify-content: center; height: 78px; }
.brand-logo img { height: 56px; width: auto; max-width: 190px; object-fit: contain; }
.brand-logo--text span {
	display: inline-block; padding: 10px 4px;
	font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: .02em;
	color: #3b4250; white-space: nowrap;
}
@keyframes sa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
	.brand-strip { padding: 20px 0 22px; }
	.brand-marquee__list { gap: 36px; padding: 0 18px; }
	.brand-logo { height: 60px; }
	.brand-logo img { height: 42px; max-width: 150px; }
	.brand-logo--text span { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.brand-marquee__track { animation: none; width: auto; }
	.brand-marquee__list { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
	.brand-marquee__list[aria-hidden="true"] { display: none; }
	.brand-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* Offer band */
.offer { background: var(--orange); color: var(--navy); }
.offer__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.offer__badge {
	display: grid; place-items: center; text-align: center;
	width: 104px; height: 104px; border-radius: 50%;
	background: var(--navy); color: var(--white);
	font-family: var(--font-display); font-weight: 800; line-height: .95; font-size: 1.05rem; text-transform: uppercase;
	transform: rotate(-8deg);
}
.offer__badge strong { display: block; font-size: 2.2rem; color: var(--orange); }
.offer h2 { margin: 0 0 4px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; }
.offer p { margin: 0; font-size: 1.1rem; font-weight: 500; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { border-top: 3px solid var(--navy); padding-top: 18px; }
.step:nth-child(2) { border-top-color: var(--orange); }
.step__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--navy); margin-bottom: 10px; }
.step:nth-child(2) .step__num { color: var(--orange); }
.step h3 { font-size: 1.5rem; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }
.section--navy .step { border-top-color: rgba(255,255,255,.5); }
.section--navy .step:nth-child(2) { border-top-color: var(--orange); }
.section--navy .step__num { color: var(--white); }
.section--navy .step:nth-child(2) .step__num { color: var(--orange); }
.section--navy .step p { color: var(--on-navy-muted); }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.reviews-head h2 { margin: 0 0 8px; }
.reviews-head p { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reviews-nav { display: flex; gap: 8px; }
.reviews-nav button {
	width: 46px; height: 46px; display: grid; place-items: center;
	background: var(--white); border: 1px solid var(--line); border-radius: 50%;
	color: var(--navy); cursor: pointer;
}
.reviews-nav button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.reviews-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
	gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding-bottom: 10px; scrollbar-width: thin;
}
.review {
	scroll-snap-align: start;
	display: flex; flex-direction: column; gap: 14px;
	padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.review blockquote { margin: 0; font-size: 1.08rem; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--muted); }
.review__avatar {
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; flex: none;
	background: var(--navy); color: var(--white); font-weight: 700;
}
.review__name { display: block; font-weight: 700; color: var(--ink); }

/* Brands */
.brands { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 56px; align-items: start; }
.brands h3 { font-size: 1.1rem; font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.brands__group + .brands__group { margin-top: 26px; }

/* Trust cards */
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.trust {
	padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.trust .icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 10px; }
.trust h3 { font-size: 1.35rem; margin-bottom: 4px; }
.trust p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; flex: none;
	width: 32px; height: 32px; display: grid; place-items: center;
	border: 1px solid var(--line); border-radius: 50%;
	font-family: var(--font-body); font-size: 1.3rem; font-weight: 500; line-height: 1;
	transition: transform .2s ease, background-color .2s ease;
}
.faq-item[open] summary::after { content: "–"; background: var(--orange); border-color: var(--orange); }
.faq-item__body { padding: 0 48px 22px 0; color: var(--muted); }
.faq-item__body p:last-child { margin: 0; }

/* Areas & map */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: stretch; }
.area-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.area-card {
	display: flex; gap: 16px; align-items: flex-start;
	padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	text-decoration: none; color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.area-card:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--ink); }
.area-card > .icon { width: 28px; height: 28px; color: var(--orange); margin-top: 2px; }
.area-card h3 { margin: 0 0 4px; font-size: 1.5rem; }
.area-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.map-frame { position: relative; min-height: 380px; height: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.zip-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.zip-list li { font-size: .88rem; padding: 3px 9px; border-radius: 4px; background: var(--blue-soft); color: var(--navy); font-weight: 600; }

/* Issues grid (service page) */
.issue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.issue { padding: 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.issue__num { display: inline-block; margin-bottom: 12px; font-family: var(--font-display); font-weight: 800; color: var(--orange); font-size: 1.1rem; letter-spacing: .1em; }
.issue h3 { font-size: 1.45rem; margin-bottom: 6px; }
.issue p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.panel { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { font-size: 1.5rem; }
.panel--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.panel--navy h3 { color: var(--white); }
.panel--navy .checklist li { color: var(--white); }

.type-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.type-list li { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.type-list .icon { color: var(--orange); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list .icon { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-weight: 700; font-size: 1.25rem; color: var(--navy); text-decoration: none; }

/* Page hero (simple) */
.page-hero { padding: 56px 0 60px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero .hero__lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__media--empty { display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); }
.post-card__media--empty .icon { width: 56px; height: 56px; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__meta { font-size: 0.9rem; color: var(--muted); margin: 0; }
.post-card h2, .post-card h3 { font-size: 1.55rem; margin: 0; }
.post-card h2 a, .post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue); }
.post-card p { color: var(--muted); margin: 0; }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.sidebar .widget { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; }
.sidebar .widget-title { font-size: 1.4rem; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 6px 0; border-bottom: 1px solid #eee7da; }
.sidebar-cta { padding: 26px; border-radius: var(--radius); background: var(--navy); color: var(--on-navy); margin-bottom: 20px; }
.sidebar-cta h2 { color: var(--white); font-size: 1.9rem; }
.sidebar-cta p { color: var(--on-navy-muted); }
.sidebar-cta .btn { width: 100%; margin-top: 8px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--on-navy-muted); margin: 0; }
.featured-image { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }

/* Entry content (editor output) */
.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.6rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font-size: 1.15rem; color: var(--navy); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.entry-content .alignwide { max-width: 1100px; }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 0.9rem; color: var(--muted); }
.entry-content::after { content: ""; display: table; clear: both; }

.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; color: var(--navy); text-decoration: none; }
.post-navigation .nav-next { text-align: right; }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; }
.comment-body { padding: 18px 0; border-bottom: 1px solid #eee7da; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.search-form input[type="search"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--white);
}
.comment-form .submit, .search-form button, .search-submit {
	padding: 12px 20px; border: 0; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); font: inherit; font-weight: 700; cursor: pointer;
}
.search-form { display: flex; gap: 8px; }

/* 404 */
.not-found { text-align: center; padding: 100px 0; }
.not-found__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; color: var(--orange); margin: 0; }
.not-found .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-cta { border-bottom: 1px solid var(--line-dark); background: var(--navy-2); }
.footer-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.footer-cta__title { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 800; margin: 0 0 8px; }
.footer-cta__text { margin: 0; font-size: 1.1rem; }
.footer-cta .btn--orange:hover { color: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 64px; padding-bottom: 56px; }
.footer-logo { display: inline-block; padding: 10px 14px; background: var(--white); border-radius: var(--radius); margin-bottom: 18px; }
.footer-logo .brand__logo { height: 84px; width: auto; }
.footer-col p { max-width: 30em; }
.footer-title { font-size: 1rem; font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 0 0 16px; }
.footer-title--spaced { margin-top: 28px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 0.25em; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { background: var(--white); color: var(--navy); }
.footer-bottom { border-top: 1px solid var(--line-dark); font-size: .92rem; }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* GoHighLevel sticky sidebar: hide the form panel while it is minimized,
   so only the "Contact us" tab shows. */
.ep-sticky-sidebar .ep-minimize-text-container[style*="display: flex"] ~ iframe { display: none !important; }
/* Keep page content clear of the "Contact us" tab on narrower desktops. */
@media (min-width: 721px) and (max-width: 1320px) {
	.has-ghl-sticky .wrap { padding-left: 60px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.primary-nav .menu a { padding: 10px 9px; }
	.header-phone span { display: none; }
	.header-phone { padding: 0.62em; }
}

@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.topbar__item--wide { display: none; }
	.brand .brand__logo { height: 52px; }
	.nav-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	/* backdrop-filter would trap the fixed drawer inside the header */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
	.nav-open .site-header { z-index: 60; }
	.header-phone span { display: inline; }
	.header-phone { padding: 0.62em 1em; }
	.primary-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
		width: min(380px, 88vw); margin: 0;
		padding: 88px 20px 24px;
		background: var(--white); box-shadow: var(--shadow-lg);
		overflow-y: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform .25s ease, visibility .25s;
	}
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle { position: relative; z-index: 70; }
	.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(10, 37, 64, .45); }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid #eee7da; }
	.primary-nav .menu > li > a { flex: 1; padding: 14px 4px; font-size: 1.1rem; box-shadow: none !important; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.primary-nav .sub-menu {
		position: static; min-width: 0; width: 100%;
		display: none; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 12px; background: none;
	}
	.primary-nav .menu > li.is-open > .sub-menu { display: block; }
	.primary-nav .menu > li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
	.primary-nav__cta { display: grid; gap: 10px; margin-top: 24px; }
	.admin-bar .primary-nav { top: 46px; }

	.hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
	.stat-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(3) { border-left: 0; padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
	.svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
	.split, .faq, .areas, .brands, .contact-grid, .layout-sidebar { grid-template-columns: 1fr; }
	.faq__intro { position: static; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.offer__inner { grid-template-columns: auto minmax(0, 1fr); }
	.offer__inner .btn { grid-column: 1 / -1; justify-self: start; }
}

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

@media (max-width: 720px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.topbar { display: none; }
	.header-phone, .header-book { display: none; }
	.brand .brand__logo { height: 48px; }
	.section { padding: 64px 0; }
	.section--tight { padding: 48px 0; }
	.section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
	.hero .checklist { grid-template-columns: 1fr; }
	.hero .btn-row .btn { flex: 1 1 100%; }
	.stat { padding: 18px 14px 20px; }
	.stat:nth-child(odd) { padding-left: 0; border-left: 0; }
	.stat__value { font-size: 1.8rem; }
	.svc-grid, .steps, .issue-grid, .trust-grid, .two-col, .post-grid, .type-list { grid-template-columns: 1fr; }
	.reviews-track { grid-auto-columns: 86%; }
	.footer-grid { grid-template-columns: 1fr; }
	.offer__inner { grid-template-columns: 1fr; text-align: left; }
	.offer__badge { width: 88px; height: 88px; }
	.form-card__head { padding: 18px 18px 14px; }
	.form-card__body { padding: 6px 6px 8px; }
	.faq-item summary { font-size: 1.25rem; }
	.faq-item__body { padding-right: 0; }
	.map-frame { min-height: 320px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		box-shadow: 0 -6px 20px rgba(10, 37, 64, .16);
	}
	.mobile-bar a {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 60px; font-weight: 700; text-decoration: none; font-size: 1.05rem;
	}
	/* The bottom bar replaces the GHL sticky tab on phones (it would cover text). */
	.has-ghl-sticky .ep-sticky-sidebar { display: none !important; }
	.mobile-bar__call { background: var(--navy); color: var(--white); }
	.mobile-bar__book { background: var(--orange); color: var(--navy); }
}

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

@media print {
	.topbar, .site-header, .mobile-bar, .footer-cta, .form-card { display: none !important; }
}
