/*
Theme Name: StormTech Shutters
Theme URI: https://www.stormtechshutters.company
Author: StormTech Shutters Contracting
Description: Custom WordPress theme for StormTech Shutters Contracting — hurricane shutter and impact window installation in Southwest Florida. Every page is built from standard WordPress blocks you can edit directly; includes quote capture and a one-click page + image importer.
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stormtech
Tags: business, contractor, one-column, custom-menu, custom-logo, featured-images
*/

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
	--navy:        #0d2240;
	--navy-deep:   #081628;
	--navy-soft:   #16365f;
	--accent:      #f2a003;
	--accent-dark: #d18a00;
	--ink:         #1b2733;
	--body:        #4a5765;
	--muted:       #78808c;
	--line:        #e2e7ee;
	--surface:     #ffffff;
	--surface-alt: #f5f7fa;
	--radius:      10px;
	--radius-lg:   16px;
	--shadow:      0 2px 10px rgba(13, 34, 64, .07);
	--shadow-lg:   0 14px 40px rgba(13, 34, 64, .13);
	--wrap:        1180px;
	--font-head:   'Barlow Condensed', 'Oswald', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-body:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================
   2. BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--body);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: .005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--alt { background: var(--surface-alt); }
.section--tight { padding: 56px 0; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-size: .95rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 700;
	margin-bottom: .55rem;
}

.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); }

.lede { font-size: 1.08rem; }

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--navy); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 14px 30px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .16s ease, background .18s ease, color .18s ease, border-color .18s ease;
	text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent); color: var(--navy-deep); }
.btn--primary:hover { background: var(--accent-dark); color: var(--navy-deep); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }

.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--block { width: 100%; }

/* ============================================================
   4. HEADER
   ============================================================ */
.topbar {
	background: var(--navy-deep);
	color: rgba(255,255,255,.82);
	font-size: .88rem;
	padding: 8px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--accent); }
.topbar__meta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.topbar__social { display: flex; gap: 12px; align-items: center; }
.topbar__social a { display: inline-flex; }
.topbar__social svg { width: 17px; height: 17px; fill: currentColor; }

.site-header {
	background: var(--navy);
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { max-height: 58px; width: auto; }
.brand__text { font-family: var(--font-head); color: #fff; font-size: 1.35rem; font-weight: 700; line-height: 1.05; }
.brand__lic { display: block; font-family: var(--font-body); font-size: .7rem; letter-spacing: .1em; color: var(--accent); font-weight: 600; }

.nav-toggle {
	display: none;
	background: none; border: 0; cursor: pointer; padding: 8px;
	flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a {
	display: block;
	color: rgba(255,255,255,.92);
	font-family: var(--font-head);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 12px 13px;
	border-radius: 6px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--accent); background: rgba(255,255,255,.06); }

.main-nav .menu-item-has-children > a::after {
	content: ''; display: inline-block; margin-left: 7px;
	border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}
.main-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 258px;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	padding: 8px; flex-direction: column; gap: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	max-height: 70vh; overflow-y: auto;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a {
	color: var(--ink); text-transform: none; letter-spacing: 0;
	font-size: .97rem; padding: 9px 13px;
}
.main-nav .sub-menu a:hover { background: var(--surface-alt); color: var(--navy-soft); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
	display: flex; flex-direction: column; line-height: 1.15;
	font-family: var(--font-head); color: #fff; font-size: 1.3rem; font-weight: 700;
}
.header-phone small { font-family: var(--font-body); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
	position: relative;
	background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
	color: #fff;
	padding: 76px 0 84px;
	overflow: hidden;
}
.hero::after {
	content: ''; position: absolute; inset: 0;
	background-image: var(--hero-img);
	background-size: cover; background-position: center;
	opacity: .17; mix-blend-mode: luminosity; pointer-events: none;
}
.hero h1 { color: #fff; margin-bottom: .35em; }

/* page hero (interior) */
.page-hero {
	position: relative;
	background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
	color: #fff;
	padding: 68px 0 60px;
	text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 70ch; margin: 0 auto; }
.breadcrumbs { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: 18px; }
.breadcrumbs a { color: rgba(255,255,255,.82); }
.breadcrumbs a:hover { color: var(--accent); }

/* ============================================================
   6. QUOTE FORM
   ============================================================ */
.quote-card {
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 30px 28px 26px;
	color: var(--body);
}
.quote-card__head { text-align: center; margin-bottom: 20px; }
.quote-card__head img { max-height: 54px; width: auto; margin: 0 auto 12px; }
.quote-card__head h3 { font-size: 1.5rem; letter-spacing: .05em; text-transform: uppercase; margin: 0; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field .req { color: #c0392b; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-family: inherit;
	font-size: .97rem;
	color: var(--ink);
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--navy-soft); box-shadow: 0 0 0 3px rgba(22,54,95,.12);
}

.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.consent input { margin-top: 4px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--navy-soft); }
.consent span { font-size: .74rem; line-height: 1.5; color: var(--muted); }

.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: .92rem; display: none; }
.form-msg.is-ok { display: block; background: #e8f6ee; color: #1d6b40; border: 1px solid #b7e2c8; }
.form-msg.is-err { display: block; background: #fdecea; color: #a03127; border: 1px solid #f5c6c0; }

.quote-card__legal { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 14px; }
.quote-card__legal a { color: var(--muted); text-decoration: underline; }

/* ============================================================
   8. SERVICE CARDS
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); gap: 28px; }
.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .45em; }
.card__body h3 a { color: var(--ink); }
.card__body h3 a:hover { color: var(--accent); }
.card__body p { font-size: .95rem; color: var(--body); flex: 1; }
.card__link {
	margin-top: 16px; font-family: var(--font-head); font-weight: 700;
	text-transform: uppercase; letter-spacing: .07em; font-size: .95rem; color: var(--navy-soft);
	display: inline-flex; align-items: center; gap: 7px;
}
.card__link:hover { color: var(--accent); gap: 11px; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 68px 0 0; font-size: .93rem; }
.site-footer h4 {
	color: #fff; font-size: 1.06rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--accent); }
.footer-brand img { max-height: 62px; width: auto; margin-bottom: 16px; }
.footer-lic {
	display: inline-block; border: 1px solid rgba(255,255,255,.26); border-radius: 6px;
	padding: 5px 12px; font-size: .82rem; letter-spacing: .07em; color: var(--accent); margin-bottom: 18px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
	width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
	display: grid; place-items: center;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }
.footer-social a:hover svg { fill: var(--navy-deep); }

.footer-bottom {
	margin-top: 54px; border-top: 1px solid rgba(255,255,255,.12);
	padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
	font-size: .87rem; color: rgba(255,255,255,.55);
}
.footer-bottom nav ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav li { margin-bottom: 0; }

/* floating mobile call bar */
.call-bar { display: none; }

/* ============================================================
   18. MISC / WP CORE
   ============================================================ */
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.entry-content > * { margin-bottom: 1.15em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent);
	font-style: italic; color: var(--ink);
}
.post-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; background: #fff; }
.post-card h2 { font-size: 1.5rem; }
.post-meta { font-size: .86rem; color: var(--muted); margin-bottom: 1em; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.pagination .page-numbers {
	padding: 9px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.pagination .current, .pagination .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   18b. BLOCK PAGES
   Styles for the core blocks the pages are built from. Each rule is keyed
   to a "Additional CSS class" set on the block, so the look follows the
   block when you move or duplicate it in the editor.
   ============================================================ */
.blocks-page { margin: 0; padding: 0; }
.blocks-page > * { margin-top: 0; margin-bottom: 0; }
.blocks-page figure { margin: 0; }
.blocks-page .wp-block-columns { margin-bottom: 0; gap: 32px; }
.blocks-page h1, .blocks-page h2, .blocks-page h3, .blocks-page h4 { margin-top: 0; }
.blocks-page ul, .blocks-page ol { padding-left: 0; }
.blocks-page li { margin-bottom: 0; }

.align-center { align-items: center !important; }

/* ---- Eyebrow label (always accent-colored) ---- */
p.eyebrow,
.section-head p.eyebrow,
.page-hero p.eyebrow,
.hero p.eyebrow,
.about p.eyebrow,
.contact-cols p.eyebrow { color: var(--accent); margin: 0 0 .55rem; display: block; }
.section-head p { color: var(--muted); }
.page-hero p.eyebrow { margin: 0 auto .55rem; }
.page-hero p.breadcrumbs { margin: 18px auto 0; font-size: .88rem; color: rgba(255,255,255,.65); }
.page-hero p.breadcrumbs a { color: rgba(255,255,255,.82); }
.page-hero p.breadcrumbs a:hover { color: var(--accent); }
.page-hero > .wrap { max-width: var(--wrap); }

/* ---- Buttons (core Buttons block) ---- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 1.15em; }
.wp-block-buttons.is-center { justify-content: center; }
.wp-block-buttons:last-child { margin-bottom: 0; }
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.7;
	letter-spacing: .06em; text-transform: uppercase;
	padding: 14px 30px; border-radius: var(--radius); border: 2px solid transparent;
	text-align: center; text-decoration: none;
	transition: transform .16s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.btn-primary .wp-block-button__link { background: var(--accent); color: var(--navy-deep); }
.wp-block-button.btn-primary .wp-block-button__link:hover { background: var(--accent-dark); color: var(--navy-deep); }
.wp-block-button.btn-navy .wp-block-button__link { background: var(--navy); color: #fff; }
.wp-block-button.btn-navy .wp-block-button__link:hover { background: var(--navy-soft); color: #fff; }
.wp-block-button.btn-ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.wp-block-button.btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---- Hero ---- */
.hero > .wrap { position: relative; z-index: 2; }
.hero .hero__cols { gap: 54px; align-items: center !important; }
.hero p { color: rgba(255,255,255,.88); }
.hero p.hero__sub { font-size: 1.14rem; max-width: 54ch; margin-bottom: 1.8em; }
.hero .wp-block-buttons { margin-bottom: 0; }
.hero .quote-card { color: var(--body); }
.hero ul.hero__badges {
	list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.16);
	display: flex; flex-wrap: wrap; gap: 14px 26px;
}
.hero ul.hero__badges li {
	display: flex; align-items: center; gap: 8px; margin: 0;
	font-family: var(--font-head); font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.9);
}
.hero ul.hero__badges li::before {
	content: ""; width: 19px; height: 19px; flex-shrink: 0; background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-1.2 15-3.5-3.5 1.4-1.4 2.1 2.1 5-5 1.4 1.4-6.4 6.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm-1.2 15-3.5-3.5 1.4-1.4 2.1 2.1 5-5 1.4 1.4-6.4 6.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- About ---- */
.about { gap: 58px; }
.about > .wp-block-column:first-child { position: relative; }
.about > .wp-block-column:first-child::before {
	content: ""; position: absolute; left: -16px; bottom: -16px; width: 58%; height: 58%;
	border: 4px solid var(--accent); border-radius: var(--radius-lg); z-index: 0;
}
.about__img { position: relative; z-index: 1; }
.about__img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about strong { color: var(--ink); }

/* ---- Rows of cards / steps / reviews ---- */
.card-row, .step-row, .review-row { align-items: stretch !important; }
.card-row > .wp-block-column,
.step-row > .wp-block-column,
.review-row > .wp-block-column { display: flex; flex-direction: column; }
.card-row > .wp-block-column > .card,
.step-row > .wp-block-column > .step,
.review-row > .wp-block-column > .review { flex: 1; }
.card-row { gap: 28px; }
.card-row + .card-row { margin-top: 28px; }
.step-row { gap: 30px; }
.review-row { gap: 28px; }

.card .card__media { margin: 0; }
.card .card__media img { border-radius: 0; }
.card__link { margin-top: 16px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .95rem; }
.card__link a { color: var(--navy-soft); }
.card__link a:hover { color: var(--accent); }
.card__body h3 { margin-bottom: .45em; }
.card--cta {
	background: var(--navy); color: #fff; border-color: var(--navy);
	padding: 34px 26px; justify-content: center; text-align: center;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.85); font-size: .95rem; }
.card--cta a { color: var(--accent); }
.card--cta .wp-block-buttons { justify-content: center; }
.card--cta .wp-block-button .wp-block-button__link { padding: 14px 20px; white-space: nowrap; }
.card--cta:hover { transform: none; }

.step { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 38px 26px 32px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.step p.step__num {
	position: absolute; top: -18px; left: 50%; transform: translateX(-50%); margin: 0;
	width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--navy-deep);
	font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1;
	display: grid; place-items: center;
}
.step .step__icon { width: 76px; margin: 6px auto 18px; }
.step .step__icon img { width: 76px; height: 76px; object-fit: contain; }
.step h3 { margin-bottom: .5em; }
.step > p { font-size: .95rem; flex: 1; }
.step .wp-block-buttons { margin-top: 18px; }

.review { background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review p { font-size: .97rem; font-style: italic; color: var(--body); }
.review p.review__stars { color: var(--accent); font-size: 1.15rem; letter-spacing: .14em; margin-bottom: 14px; font-style: normal; }
.review p.review__who { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-style: normal; font-size: 1.1rem; color: var(--ink); }
.review p:nth-child(2) { margin-bottom: 18px; }

/* ---- Gallery (core Gallery block) ---- */
.blocks-page .wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: 18px; gap: 18px; margin: 0; }
.blocks-page .wp-block-gallery.has-nested-images figure.wp-block-image {
	aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--surface-alt); box-shadow: var(--shadow);
}
.blocks-page .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blocks-page .wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.07); }
.blocks-page .wp-block-gallery + .wp-block-buttons { margin-top: 36px; }

/* ---- Service area list ---- */
.blocks-page ul.area-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 260px)); justify-content: center; gap: 18px;
}
.blocks-page ul.area-list li {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	background: #fff; border: 2px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 20px 18px; font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; color: var(--ink);
}
.blocks-page ul.area-list li::before {
	content: ""; width: 19px; height: 19px; flex-shrink: 0; background: var(--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---- FAQ (core Details block) ---- */
.faq { max-width: 880px; margin: 0 auto; }
.wp-block-details {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	margin: 0 0 12px; overflow: hidden;
}
.wp-block-details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.wp-block-details summary {
	cursor: pointer; list-style: none; padding: 19px 54px 19px 22px; position: relative;
	font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; color: var(--ink);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.6rem; line-height: 1; color: var(--accent); font-weight: 400;
}
.wp-block-details[open] summary::after { content: '\2212'; }
.wp-block-details summary:hover { color: var(--navy-soft); }
.wp-block-details > p, .wp-block-details > .wp-block-paragraph { padding: 0 22px 20px; margin: 0; font-size: .97rem; }

/* ---- Service-page copy + image rows ---- */
.copy-block { gap: 54px; margin-bottom: 76px !important; }
.copy-block:last-child { margin-bottom: 0 !important; }
.copy-block h2 { margin-bottom: .6em; }
.copy-block .copy-block__img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---- CTA band ---- */
.cta-band {
	position: relative; color: #fff; text-align: center;
	padding: 78px 0;
	background: var(--navy);
}
.cta-band::before {
	content: ''; position: absolute; inset: 0;
	background-image: var(--cta-img); background-size: cover; background-position: center;
	opacity: .2;
}
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,22,40,.9), rgba(22,54,95,.78)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 62ch; margin: 0 auto 28px; }
.cta-band > .wrap { position: relative; z-index: 2; }
.cta-band p { margin-left: auto; margin-right: auto; }
.cta-band .wp-block-buttons { justify-content: center; margin-bottom: 0; }

/* ---- Contact ---- */
.contact-cols { gap: 54px; align-items: flex-start !important; }
.contact-info { display: grid; gap: 22px; margin-top: 26px; }
.contact-item { position: relative; padding-left: 64px; min-height: 46px; }
.contact-item::before {
	content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 10px; background: var(--navy);
}
.contact-item::after {
	content: ""; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; background: var(--accent);
	-webkit-mask: var(--ci-icon) center / contain no-repeat; mask: var(--ci-icon) center / contain no-repeat;
}
.contact-item--phone   { --ci-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2z'/%3E%3C/svg%3E"); }
.contact-item--email   { --ci-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.contact-item--office  { --ci-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.contact-item--license { --ci-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1 3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm0 6a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zm0 11c-2 0-3.8-1-4.8-2.6.8-1.3 2.7-2 4.8-2s4 .7 4.8 2C15.8 17 14 18 12 18z'/%3E%3C/svg%3E"); }
.contact-item h4 { font-size: 1.15rem; margin: 0 0 3px; }
.contact-item p { margin: 0; }
.contact-item a { color: var(--navy-soft); font-weight: 600; }
.contact-item a:hover { color: var(--accent); }
.contact-cols h3 { margin-top: 38px; }
.blocks-page .map-embed { margin-top: 44px; }
.contact-cols .map-embed { margin-top: 28px; }

.hours-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { border: 0; border-bottom: 1px solid var(--line); padding: 9px 0; text-align: right; color: var(--body); }
.hours-table td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* ---- Narrow text column (legal pages, thank-you) ---- */
.narrow { max-width: 820px; margin: 0 auto; }
.narrow h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.7em; margin-bottom: .5em; }
.narrow > h2:first-of-type { margin-top: 1.2em; }
.narrow ul { padding-left: 1.4em; margin: 0 0 1.15em; list-style: disc; }
.narrow li { margin-bottom: .5em; }
.t-center { text-align: center; }


/* tablet: 4-up service cards wrap to 2 x 2 */
@media (min-width: 782px) and (max-width: 1100px) {
	.card-row--4 { flex-wrap: wrap !important; }
	.card-row--4 > .wp-block-column { flex-basis: calc(50% - 14px) !important; flex-grow: 0 !important; }
	.card-row--4 + .card-row--4 { margin-top: 28px; }
	.copy-block, .about, .contact-cols, .hero .hero__cols { gap: 36px; }
}

/* flip every second copy row (image left) on desktop */
@media (min-width: 782px) {
	.copy-block--flip { flex-direction: row-reverse; }
}

/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
	.hero p.hero__sub { max-width: none; }
}

@media (max-width: 900px) {
	.section { padding: 64px 0; }
	.about > .wp-block-column:first-child::before { display: none; }

	.site-header .wrap { flex-wrap: wrap; min-height: 70px; }
	.nav-toggle { display: flex; order: 3; }
	.header-cta { order: 2; margin-left: auto; }
	.header-phone { font-size: 1.1rem; }

	.main-nav {
		order: 4; flex-basis: 100%; display: none;
		border-top: 1px solid rgba(255,255,255,.12); padding: 10px 0 16px;
		max-height: 72vh; overflow-y: auto;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: 12px 6px; border-radius: 0; }
	.main-nav .menu-item-has-children > a::after { float: right; margin-top: 8px; }
	.main-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; background: rgba(255,255,255,.05); border-radius: 8px;
		margin: 2px 0 8px; padding: 4px; display: none; max-height: none;
	}
	.main-nav .sub-menu.is-open { display: block; }
	.main-nav .sub-menu a { color: rgba(255,255,255,.86); }
	.main-nav .sub-menu a:hover { background: rgba(255,255,255,.08); color: var(--accent); }

	.topbar__meta { gap: 14px; font-size: .82rem; }
}

@media (max-width: 680px) {
	body { font-size: 15.5px; }
	.section { padding: 52px 0; }
	.topbar .wrap { justify-content: center; text-align: center; }
	.brand img { max-height: 46px; }
	.header-phone small { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { justify-content: center; text-align: center; }
	.hero { padding: 52px 0 62px; }
	.quote-card { padding: 24px 20px 22px; }
	.btn { width: 100%; }
	.blocks-page .wp-block-columns { gap: 28px; }
	.wp-block-button { flex: 1 1 auto; }
	.wp-block-button .wp-block-button__link { width: 100%; }
	.copy-block { margin-bottom: 48px !important; }

	/* sticky call bar */
	.call-bar {
		display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
		background: var(--navy-deep); border-top: 2px solid var(--accent);
	}
	.call-bar a {
		flex: 1; text-align: center; padding: 14px 8px; color: #fff;
		font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
		display: flex; align-items: center; justify-content: center; gap: 8px;
	}
	.call-bar a + a { border-left: 1px solid rgba(255,255,255,.16); }
	.call-bar a:first-child { background: var(--accent); color: var(--navy-deep); }
	.call-bar svg { width: 17px; height: 17px; fill: currentColor; }
	.site-footer { padding-bottom: 60px; }
}

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

/* ---- Homepage match tweaks ---- */
.review p.review__more { margin: 0 0 14px; font-size: .9rem; font-style: normal; }
.review p.review__more a { color: var(--navy-soft); text-decoration: underline; }
.faq + .wp-block-buttons { margin-top: 34px; }
@media (min-width: 1101px) {
	.card-row--partial { justify-content: center; }
	.card-row--partial > .wp-block-column { flex: 0 0 calc(25% - 21px) !important; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.card-row--partial { justify-content: center; }
}

/* ---- About page value cards ---- */
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.value h3 { margin-bottom: .45em; }
.value p { font-size: .95rem; }
