/*
Theme Name: New Brighton Structural Drying
Theme URI: https://newbrightonstructuraldrying.com/
Author: New Brighton Structural Drying
Author URI: https://newbrightonstructuraldrying.com/
Description: A lightweight, accessible one-page theme for New Brighton Structural Drying, a service-area structural drying and water damage recovery business serving New Brighton, MN and nearby communities. Includes a private server-side contact form, sitewide LocalBusiness JSON-LD, an accessible mobile menu and an FAQ accordion. No page builder or external libraries required.
Version: 1.1.4
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-brighton-structural-drying
Tags: one-column, custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--nb-navy: #062d4f;
	--nb-navy-deep: #041f38;
	--nb-blue: #0878bd;
	--nb-blue-light: #dff4ff;
	--nb-blue-text: #066ba8; /* brand blue, darkened slightly for small text contrast */
	--nb-orange: #ff7a00;
	--nb-orange-hover: #e56700;
	--nb-white: #ffffff;
	--nb-bg: #f5f9fc;
	--nb-text: #273746;
	--nb-muted: #607384;
	--nb-border: #d6e3ee;

	--nb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

	--nb-radius-sm: 8px;
	--nb-radius: 14px;
	--nb-radius-lg: 22px;

	--nb-shadow-sm: 0 1px 2px rgba(4, 31, 56, 0.06), 0 2px 8px rgba(4, 31, 56, 0.05);
	--nb-shadow: 0 2px 4px rgba(4, 31, 56, 0.05), 0 12px 32px rgba(4, 31, 56, 0.09);

	--nb-container: 1180px;
	--nb-gutter: clamp(16px, 4vw, 32px);
	--nb-section: clamp(64px, 9vw, 112px);
	--nb-header-h: 76px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nb-header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--nb-white);
	color: var(--nb-text);
	font-family: var(--nb-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--nb-navy);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.015em;
}

h1 {
	font-size: clamp(2.25rem, 5.2vw, 3.6rem);
	letter-spacing: -0.025em;
}

h2 {
	font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}

h3 {
	font-size: 1.2rem;
	letter-spacing: -0.005em;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--nb-blue-text);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--nb-navy);
}

:focus-visible {
	outline: 3px solid var(--nb-orange);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--nb-blue-light);
	color: var(--nb-navy-deep);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: var(--nb-white);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: var(--nb-navy);
	display: block;
	font-weight: 700;
	height: auto;
	left: 12px;
	padding: 14px 22px;
	top: 12px;
	width: auto;
	z-index: 100000;
	box-shadow: var(--nb-shadow);
	border-radius: var(--nb-radius-sm);
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: var(--nb-container);
	margin-inline: auto;
	padding-inline: var(--nb-gutter);
}

/* WordPress core alignment / caption classes */
.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.wp-block-image figcaption {
	color: var(--nb-muted);
	font-size: 0.9rem;
}

.wp-caption {
	max-width: 100%;
}

.sticky,
.gallery-caption,
.bypostauthor {
	/* Required by WordPress theme review; styled through general rules. */
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.8em 1.45em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
	width: 1.1em;
	height: 1.1em;
	flex: none;
}

/* Orange CTA uses deep-navy text: white on #FF7A00 does not meet WCAG contrast. */
.btn-primary {
	background: var(--nb-orange);
	color: var(--nb-navy-deep);
	box-shadow: 0 6px 18px rgba(255, 122, 0, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: var(--nb-orange-hover);
	color: var(--nb-navy-deep);
}

.btn-primary:hover {
	transform: translateY(-1px);
}

.btn-outline-light {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--nb-white);
	background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
	border-color: var(--nb-white);
	background: rgba(255, 255, 255, 0.1);
	color: var(--nb-white);
}

.btn-secondary {
	border-color: var(--nb-border);
	background: var(--nb-white);
	color: var(--nb-navy);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
	border-color: var(--nb-blue);
	background: var(--nb-blue-light);
	color: var(--nb-navy);
}

.btn-block {
	width: 100%;
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--nb-border);
	transition: box-shadow 0.2s ease;
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
	.site-header {
		background: rgba(255, 255, 255, 0.92);
		-webkit-backdrop-filter: saturate(160%) blur(10px);
		backdrop-filter: saturate(160%) blur(10px);
	}
}

.site-header.is-scrolled {
	box-shadow: 0 6px 24px rgba(4, 31, 56, 0.08);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--nb-header-h);
}

.site-branding {
	flex: none;
	margin-right: auto;
}

.site-branding a {
	display: block;
	border-radius: 6px;
}

.site-logo {
	width: 210px;
	height: auto;
}

.custom-logo {
	max-height: 56px;
	width: auto;
}

.primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.primary-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--nb-radius-sm);
	color: var(--nb-navy);
	font-size: 0.97rem;
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
	background: var(--nb-blue-light);
	color: var(--nb-navy);
}

.primary-nav .sub-menu {
	display: none;
}

.header-cta {
	flex: none;
	min-height: 44px;
	padding: 0.65em 1.3em;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius-sm);
	background: var(--nb-white);
	color: var(--nb-navy);
	cursor: pointer;
}

.nav-toggle-box {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle-bar {
	top: 6px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
	content: "";
}

.nav-toggle-bar::before {
	top: -6px;
}

.nav-toggle-bar::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
	top: 0;
	transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 1040px) {
	.primary-nav a {
		padding-inline: 9px;
		font-size: 0.93rem;
	}
}

@media (max-width: 960px) {
	.header-inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.site-logo {
		width: 186px;
	}

	.nav-toggle {
		display: inline-flex;
		order: 3;
	}

	.header-cta {
		order: 2;
	}

	.primary-nav {
		order: 4;
		flex-basis: 100%;
	}

	.primary-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 6px 0 16px;
		border-top: 1px solid var(--nb-border);
	}

	.primary-nav a {
		padding: 13px 12px;
		font-size: 1.05rem;
	}

	/* With JavaScript, the menu collapses behind the toggle. Without it, links stay visible. */
	.js .primary-nav {
		display: none;
	}

	.js .primary-nav.is-open {
		display: block;
	}

	.no-js .nav-toggle {
		display: none;
	}
}

@media (max-width: 420px) {
	.site-logo {
		width: 156px;
	}

	.header-cta {
		padding-inline: 1em;
		font-size: 0.95rem;
	}
}

/* ==========================================================================
   5. Section scaffolding
   ========================================================================== */
.section {
	padding-block: var(--nb-section);
}

.section-alt {
	background: var(--nb-bg);
}

.section-head {
	max-width: 720px;
	margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.is-centered {
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--nb-blue-text);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 3px;
	background: var(--nb-orange);
}

.section-intro {
	color: var(--nb-muted);
	font-size: 1.15rem;
	margin: 0;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 116px);
	background:
		radial-gradient(1100px 520px at 88% -10%, rgba(8, 120, 189, 0.45), transparent 60%),
		radial-gradient(700px 420px at -10% 110%, rgba(8, 120, 189, 0.25), transparent 60%),
		linear-gradient(160deg, var(--nb-navy) 0%, var(--nb-navy-deep) 100%);
	color: #d5e7f5;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 48px;
	background: var(--nb-bg);
	clip-path: ellipse(70% 100% at 50% 100%);
}

.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(32px, 5vw, 64px);
}

.hero .eyebrow {
	color: #ffb26b;
}

.hero h1 {
	color: var(--nb-white);
	margin-bottom: 0.45em;
	font-size: clamp(2.2rem, 4.2vw, 3.1rem);
	text-wrap: balance;
}

.hero-lead {
	max-width: 36em;
	font-size: clamp(1.1rem, 1.6vw, 1.25rem);
	color: #d5e7f5;
	margin-bottom: 1.8em;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-points {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.97rem;
	color: #c4dcee;
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero-points svg {
	width: 18px;
	height: 18px;
	color: #7cc8f5;
	flex: none;
}

.hero-visual {
	position: relative;
}

.hero-visual svg {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

@media (prefers-reduced-motion: no-preference) {
	.hero-visual .airflow {
		stroke-dasharray: 10 12;
		animation: nb-flow 2.8s linear infinite;
	}

	.hero-visual .vapor {
		animation: nb-rise 3.6s ease-in-out infinite;
	}

	.hero-visual .vapor-2 {
		animation-delay: 1.2s;
	}

	.hero-visual .vapor-3 {
		animation-delay: 2.4s;
	}

	.hero-visual .fan-blades {
		transform-box: view-box;
		transform-origin: 336px 304px;
		animation: nb-spin 2.4s linear infinite;
	}
}

@keyframes nb-flow {
	to {
		stroke-dashoffset: -44;
	}
}

@keyframes nb-rise {
	0% {
		transform: translateY(8px);
		opacity: 0;
	}

	35% {
		opacity: 0.9;
	}

	100% {
		transform: translateY(-34px);
		opacity: 0;
	}
}

@keyframes nb-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 900px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		max-width: 540px;
	}
}

/* ==========================================================================
   7. Cards (services, why choose us)
   ========================================================================== */
.card-grid {
	display: grid;
	gap: 22px;
}

.services-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px 28px;
	background: var(--nb-white);
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius);
	box-shadow: var(--nb-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--nb-shadow);
	border-color: #bcd6ea;
}

.card h3 {
	margin-bottom: 0.45em;
}

.card p {
	color: var(--nb-muted);
	margin: 0;
}

.card-icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 22px;
	border-radius: 16px;
	background: var(--nb-blue-light);
	color: var(--nb-blue);
}

.card-icon svg {
	width: 28px;
	height: 28px;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 20px;
	color: var(--nb-blue);
	font-weight: 700;
	font-size: 0.97rem;
	text-decoration: none;
}

.card-link svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s ease;
}

.card-link:hover {
	color: var(--nb-navy);
}

.card-link:hover svg {
	transform: translateX(3px);
}

.why-card {
	padding: 28px 24px;
	background: var(--nb-bg);
	border-color: transparent;
	box-shadow: none;
}

.why-card:hover {
	background: var(--nb-white);
	border-color: var(--nb-border);
}

.why-card .card-icon {
	background: var(--nb-navy);
	color: var(--nb-white);
	width: 50px;
	height: 50px;
	border-radius: 14px;
}

.why-card .card-icon svg {
	width: 24px;
	height: 24px;
}

@media (max-width: 1020px) {
	.services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.services-grid,
	.why-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   8. Process band
   ========================================================================== */
.process {
	background: var(--nb-navy);
	color: #c9deef;
	padding-block: clamp(56px, 7vw, 88px);
}

.process h2 {
	color: var(--nb-white);
}

.process .eyebrow {
	color: #ffb26b;
}

.process .section-intro {
	color: #b5cee2;
}

.process-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.process-steps li {
	position: relative;
	padding: 24px 20px 22px;
	border-radius: var(--nb-radius);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	counter-increment: step;
}

.process-steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 12px;
	color: var(--nb-orange);
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.process-steps h3 {
	color: var(--nb-white);
	font-size: 1.08rem;
	margin-bottom: 0.35em;
}

.process-steps p {
	margin: 0;
	font-size: 0.95rem;
	color: #b5cee2;
}

@media (max-width: 1020px) {
	.process-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.process-steps {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   9. About
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}

.about-copy p:not(.eyebrow) {
	font-size: 1.08rem;
}

.about-copy p.about-lead {
	color: var(--nb-navy);
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.55;
}

.about-panel {
	position: sticky;
	top: calc(var(--nb-header-h) + 24px);
	padding: 32px 30px;
	border-radius: var(--nb-radius-lg);
	background: linear-gradient(165deg, var(--nb-blue-light) 0%, #f0f9ff 100%);
	border: 1px solid #c6e6f8;
}

.about-panel h3 {
	font-size: 1.15rem;
	margin-bottom: 18px;
}

.check-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--nb-navy);
	font-weight: 600;
}

.check-list svg {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--nb-blue);
}

.about-panel-note {
	margin: 22px 0 0;
	padding-top: 18px;
	border-top: 1px solid #c6e6f8;
	color: var(--nb-text);
	font-size: 0.96rem;
}

@media (max-width: 900px) {
	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-panel {
		position: static;
	}
}

/* ==========================================================================
   10. Service area
   ========================================================================== */
.area-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}

.area-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.area-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: var(--nb-white);
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius);
	box-shadow: var(--nb-shadow-sm);
	color: var(--nb-navy);
	font-weight: 700;
}

.area-list li span {
	display: block;
	color: var(--nb-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.area-list svg {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--nb-orange-hover);
}

.area-list li:first-child {
	background: var(--nb-navy);
	border-color: var(--nb-navy);
	color: var(--nb-white);
}

.area-list li:first-child span {
	color: #b5cee2;
}

.area-list li:first-child svg {
	color: var(--nb-orange);
}

.notice {
	display: flex;
	gap: 12px;
	margin-top: 26px;
	padding: 16px 18px;
	border-radius: var(--nb-radius-sm);
	background: var(--nb-white);
	border: 1px dashed #a9c6dc;
	color: var(--nb-text);
	font-size: 0.96rem;
}

.notice svg {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--nb-blue);
}

@media (max-width: 900px) {
	.area-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.area-list {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */
.faq-list {
	max-width: 860px;
	margin-inline: auto;
	border-top: 1px solid var(--nb-border);
}

.faq-item {
	border-bottom: 1px solid var(--nb-border);
}

.faq-question {
	margin: 0;
	font-size: 1.12rem;
}

/* No-JS: questions are plain headings and every answer is visible. */
.faq-question-text {
	display: block;
	padding: 22px 4px 8px;
}

.faq-answer {
	padding: 0 4px 22px;
	color: var(--nb-text);
}

.faq-answer p {
	margin: 0;
	max-width: 70ch;
}

/* With JS, the heading text is wrapped in a disclosure button. */
.faq-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	padding: 22px 4px;
	border: 0;
	background: none;
	color: var(--nb-navy);
	font: inherit;
	font-weight: 750;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}

.faq-toggle:hover {
	color: var(--nb-blue);
}

.faq-icon {
	position: relative;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--nb-blue-light);
	color: var(--nb-blue);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease;
}

.faq-icon::after {
	transform: rotate(90deg);
}

.faq-toggle[aria-expanded="true"] .faq-icon {
	background: var(--nb-navy);
	color: var(--nb-white);
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
	transform: rotate(0deg);
}

.faq-answer[hidden] {
	display: none;
}

/* ==========================================================================
   12. Contact
   ========================================================================== */
.contact {
	background:
		radial-gradient(900px 480px at 100% 0%, rgba(8, 120, 189, 0.35), transparent 60%),
		linear-gradient(170deg, var(--nb-navy) 0%, var(--nb-navy-deep) 100%);
	color: #c9deef;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}

.contact h2 {
	color: var(--nb-white);
}

.contact .eyebrow {
	color: #ffb26b;
}

.contact .section-intro {
	color: #c9deef;
}

.contact-tips {
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
}

.contact-tips li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.contact-tips svg {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: #7cc8f5;
}

.safety-note {
	margin-top: 28px;
	padding: 16px 18px;
	border-radius: var(--nb-radius-sm);
	background: rgba(255, 122, 0, 0.12);
	border: 1px solid rgba(255, 122, 0, 0.4);
	color: #ffe2c7;
	font-size: 0.95rem;
}

.safety-note strong {
	color: var(--nb-white);
}

.form-card {
	padding: clamp(22px, 4vw, 36px);
	border-radius: var(--nb-radius-lg);
	background: var(--nb-white);
	color: var(--nb-text);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.form-card-title {
	margin: 0 0 6px;
	font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.form-card-sub {
	margin: 0 0 22px;
	color: var(--nb-muted);
	font-size: 1.02rem;
}

/* Single column: easiest to scan, fill in and correct, on any screen. */
.form-stack {
	display: grid;
	gap: 22px;
}

.form-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.form-field label,
.form-group legend {
	color: var(--nb-navy);
	font-size: 1.02rem;
	font-weight: 750;
	line-height: 1.35;
}

.form-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.form-group legend {
	float: left;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
}

.form-group legend + * {
	clear: left;
}

.form-group .form-pair {
	clear: left;
}

.req,
.optional {
	color: var(--nb-muted);
	font-size: 0.92rem;
	font-weight: 500;
	white-space: nowrap;
}

.field-hint {
	margin: -2px 0 10px;
	color: var(--nb-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.form-field .field-hint {
	margin: -4px 0 0;
}

.field-error {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
	color: #b3261e;
	font-size: 0.97rem;
	font-weight: 700;
	line-height: 1.4;
}

.form-group > .field-error {
	margin-bottom: 10px;
}

.field-error[hidden] {
	display: none;
}

.field-error svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	min-height: 54px;
	padding: 13px 15px;
	border: 2px solid #9fb6c9;
	border-radius: 10px;
	background: var(--nb-white);
	color: var(--nb-text);
	font: inherit;
	font-size: 1.0625rem; /* 17px: large and readable, and stops iOS zooming in */
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062D4F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
}

.form-field textarea {
	min-height: 128px;
	resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #6b7d8c;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: var(--nb-blue);
	box-shadow: 0 0 0 4px rgba(8, 120, 189, 0.2);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
	outline: 3px solid var(--nb-orange);
	outline-offset: 2px;
}

.form-field [aria-invalid="true"] {
	border-color: #b3261e;
	background-color: #fffafa;
}

.form-field [aria-invalid="true"]:focus {
	box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.18);
}

/* Large, easy-to-tap answer choices */
.choice-list {
	display: grid;
	gap: 10px;
}

.choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 12px 16px;
	border: 2px solid #c7d7e4;
	border-radius: 10px;
	background: var(--nb-white);
	color: var(--nb-text);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice:hover {
	border-color: var(--nb-blue);
}

.choice input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--nb-navy);
	cursor: pointer;
}

.choice input:focus-visible {
	outline: 3px solid var(--nb-orange);
	outline-offset: 3px;
}

.choice:has(input:checked) {
	border-color: var(--nb-blue);
	background: var(--nb-blue-light);
	color: var(--nb-navy);
}

.form-actions {
	margin-top: 26px;
}

.btn-lg {
	min-height: 58px;
	font-size: 1.1rem;
}

.btn.is-sending {
	cursor: progress;
	opacity: 0.85;
}

.btn.is-sending svg {
	display: none;
}

.form-privacy {
	margin: 14px 0 0;
	color: var(--nb-muted);
	font-size: 0.9rem;
	text-align: center;
}

/* Honeypot: removed from layout and from assistive technology. */
.nb-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-message {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0 0 22px;
	padding: 16px 18px;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.5;
}

.form-message p {
	margin: 0;
}

.form-message svg {
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 1px;
}

.form-message.is-success {
	background: #e6f6ec;
	border: 2px solid #6fbf8b;
	color: #12512a;
}

.form-message.is-error {
	background: #fdecec;
	border: 2px solid #d98080;
	color: #8a1c1c;
}

.error-list {
	margin: 8px 0 0;
	padding-left: 1.1em;
}

.error-list li + li {
	margin-top: 4px;
}

.error-list a {
	color: #8a1c1c;
	font-weight: 700;
	text-decoration: underline;
}

.error-list a:hover {
	color: #5e1010;
}

.form-message:focus {
	outline: 3px solid var(--nb-orange);
	outline-offset: 2px;
}

/* Hero form */
.hero-form {
	position: relative;
	scroll-margin-top: calc(var(--nb-header-h) + 12px);
}

.hero .safety-note {
	max-width: 36em;
	margin-top: 30px;
}

/* "What to include" band near the bottom of the page */
.help-band-action {
	margin: 32px 0 0;
}

.help-visual {
	max-width: 520px;
	justify-self: end;
}

.help-visual svg {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

/* Mobile "Get Help Now" bar */
.mobile-cta {
	display: none;
}

@media (max-width: 760px) {
	.mobile-cta {
		position: fixed;
		inset: auto 0 0;
		z-index: 900;
		display: block;
		padding: 10px var(--nb-gutter) calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.97);
		border-top: 1px solid var(--nb-border);
		box-shadow: 0 -8px 24px rgba(4, 31, 56, 0.12);
		transition: transform 0.2s ease, visibility 0.2s;
	}

	.mobile-cta .btn {
		min-height: 54px;
		font-size: 1.08rem;
	}

	.mobile-cta.is-hidden {
		transform: translateY(110%);
		visibility: hidden;
	}

	body {
		padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.help-visual {
		justify-self: start;
	}
}

@media (max-width: 600px) {
	.hero-points {
		display: none;
	}

	.hero-lead {
		margin-bottom: 1.4em;
	}

	.form-card {
		margin-inline: calc(var(--nb-gutter) * -0.5);
	}
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
	background: var(--nb-navy-deep);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #a9c1d5;
	padding-block: 56px 32px;
	font-size: 0.97rem;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-name {
	margin: 0 0 12px;
	color: var(--nb-white);
	font-size: 1.25rem;
	font-weight: 800;
}

.footer-desc {
	max-width: 46em;
}

.footer-note {
	margin: 0;
	color: #8eaac1;
	font-size: 0.92rem;
}

.footer-nav h2 {
	margin: 0 0 14px;
	color: var(--nb-white);
	font-size: 0.85rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-nav ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav a {
	color: #d5e7f5;
	text-decoration: none;
}

.footer-nav a:hover {
	color: var(--nb-white);
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	font-size: 0.9rem;
	color: #8eaac1;
}

.footer-bottom p {
	margin: 0;
}

@media (max-width: 760px) {
	.footer-top {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   14. Inner pages, posts and 404
   ========================================================================== */
.page-hero {
	padding-block: clamp(48px, 7vw, 84px);
	background: linear-gradient(160deg, var(--nb-navy) 0%, var(--nb-navy-deep) 100%);
	color: #d5e7f5;
}

.page-hero h1 {
	color: var(--nb-white);
	font-size: clamp(2rem, 4.4vw, 3rem);
	margin: 0;
}

.page-hero p {
	margin: 12px 0 0;
}

.content-area {
	padding-block: clamp(48px, 7vw, 80px);
}

.entry-content {
	max-width: 760px;
	margin-inline: auto;
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-top: 1.6em;
}

.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content img {
	height: auto;
	border-radius: var(--nb-radius-sm);
}

.entry-content blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--nb-blue);
	color: var(--nb-navy);
}

.post-list {
	display: grid;
	gap: 24px;
	max-width: 860px;
	margin-inline: auto;
}

.post-card {
	padding: 28px;
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius);
	background: var(--nb-white);
}

.post-card h2 {
	font-size: 1.45rem;
	margin-bottom: 0.3em;
}

.post-card h2 a {
	color: var(--nb-navy);
	text-decoration: none;
}

.post-card h2 a:hover {
	color: var(--nb-blue);
	text-decoration: underline;
}

.post-meta {
	margin-bottom: 0.8em;
	color: var(--nb-muted);
	font-size: 0.92rem;
}

.post-thumb {
	margin-bottom: 1.5em;
}

.post-thumb img {
	width: 100%;
	height: auto;
	border-radius: var(--nb-radius);
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius-sm);
	text-decoration: none;
	font-weight: 700;
}

.nav-links .page-numbers.current {
	background: var(--nb-navy);
	border-color: var(--nb-navy);
	color: var(--nb-white);
}

.error-404 {
	padding-block: clamp(72px, 10vw, 128px);
	text-align: center;
}

.error-404 .error-code {
	margin: 0 0 6px;
	color: var(--nb-blue);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.error-404 p {
	max-width: 34em;
	margin-inline: auto;
	color: var(--nb-muted);
}

.error-404 .btn {
	margin-top: 18px;
}

/* ==========================================================================
   15. Reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.mobile-cta,
	.site-header,
	.hero-visual,
	.form-card,
	.nav-toggle {
		display: none !important;
	}

	.hero,
	.process,
	.contact,
	.site-footer {
		background: none !important;
		color: #000 !important;
	}

	.hero h1,
	.process h2,
	.contact h2 {
		color: #000 !important;
	}

	.faq-answer[hidden] {
		display: block !important;
	}
}

/* Hero copy sits slightly lower so it lines up with the form heading. */
@media (min-width: 901px) {
	.hero-copy {
		padding-top: 18px;
	}
}

/* Hero photo background (real job photo) with a navy overlay for text contrast. */
.hero {
	background:
		linear-gradient(90deg, rgba(4, 31, 56, 0.93) 0%, rgba(4, 31, 56, 0.8) 42%, rgba(6, 45, 79, 0.42) 100%),
		url("/wp-content/uploads/2026/11/20220103_120927-scaled.jpg") center 40% / cover no-repeat,
		var(--nb-navy-deep);
}

@media (max-width: 900px) {
	.hero {
		background:
			linear-gradient(180deg, rgba(4, 31, 56, 0.86) 0%, rgba(4, 31, 56, 0.82) 100%),
			url("/wp-content/uploads/2026/11/20220103_120927-scaled.jpg") center / cover no-repeat,
			var(--nb-navy-deep);
	}
}

/* Call Now button: dials the business line without displaying the number. */
.btn-call {
	background: var(--nb-white);
	color: var(--nb-navy-deep);
	border-color: var(--nb-white);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-call:hover,
.btn-call:focus-visible {
	background: #e6f2fb;
	color: var(--nb-navy-deep);
}

.btn-call svg {
	width: 18px;
	height: 18px;
	flex: none;
}
/* Mobile bar: Call Now beside Get Help Now. */
@media (max-width: 760px) {
	.mobile-cta {
		display: flex;
		gap: 10px;
	}

	.mobile-cta .btn {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
		padding-inline: 10px;
		white-space: nowrap;
		font-size: 1rem;
	}

	.mobile-cta .btn-primary svg {
		display: none;
	}

	.mobile-cta .btn-call {
		background: var(--nb-navy);
		border-color: var(--nb-navy);
		color: var(--nb-white);
		box-shadow: none;
	}

	.mobile-cta .btn-call:hover,
	.mobile-cta .btn-call:focus-visible {
		background: var(--nb-navy-deep);
		color: var(--nb-white);
	}
}
