/*
Theme Name: Carpet Cleaning Miami
Theme URI: https://carpetcleaningmiamifl.com/
Author: Dr Steemer
Description: Lead-focused local-business theme for Dr Steemer carpet cleaning in Miami, FL. Creates its own pages, service pages and quote form on first load.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: carpet-miami
*/

/* ===== Tokens ===== */
:root {
	--navy: #14201a;
	--navy-2: #1d3226;
	--ink: #14201a;
	--muted: #5b6a61;
	--aqua: #8fd1a6;
	--blue: #1e6b3c;
	--accent: #1e6b3c;
	--accent-2: #2a8a4f;
	--bg: #f6f4ee;
	--soft: #ffffff;
	--line: #e2ded2;
	--grad: linear-gradient(135deg, var(--aqua), var(--blue));
	--grad-accent: linear-gradient(135deg, var(--accent-2), var(--accent));
	--r: 18px;
	--r-sm: 12px;
	--shadow: 0 10px 30px -14px rgba(20, 32, 26, .22);
	--shadow-lg: 0 30px 60px -24px rgba(20, 32, 26, .32);
	--wrap: 1200px;
	--ease: cubic-bezier(.2, .8, .2, 1);
	--header-h: 76px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, .h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3, .h3 { font-size: 1.22rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.center-flex { justify-content: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }

.grad-text { background: linear-gradient(90deg, #7ff3e8, #8fc8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad); }
.eyebrow-light { color: var(--aqua); }

/* ===== Buttons ===== */
.btn {
	--b: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 2px solid var(--b);
	font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--grad-accent); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(255, 122, 69, .6); }
.btn-accent:hover { color: var(--navy); box-shadow: 0 16px 30px -8px rgba(255, 122, 69, .75); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; --b: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-outline { --b: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: #c9d8e8; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-links { gap: 20px !important; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar .ico { color: var(--aqua); }

/* ===== Header ===== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11, 37, 64, .45); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(10, 107, 214, .6); }
.brand-text { font-weight: 800; font-size: 1.22rem; line-height: 1.05; letter-spacing: -.02em; }
.brand-text small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-light { color: #fff; }
.brand-light small { color: #8ea6bf; }
.custom-logo { max-height: 52px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--ink); font-weight: 700; font-size: .97rem; text-decoration: none;
	transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { background: var(--soft); color: var(--blue); }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.sub-toggle svg { transition: transform .25s; }
.nav-cta { display: none; }

.header-inner { position: relative; }
.main-nav > ul > li.has-sub { position: static; }
.mega {
	position: absolute; top: calc(100% - 6px); left: 50%;
	width: min(920px, 94vw); padding: 14px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub:hover .mega, .has-sub:focus-within .mega, .has-sub.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mega-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: background .2s; }
.mega-item:hover { background: var(--soft); color: var(--ink); }
.mega-item strong { display: block; font-size: .95rem; color: var(--navy); }
.mega-item small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.mega-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: linear-gradient(135deg, rgba(25, 211, 197, .15), rgba(10, 107, 214, .15)); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.header-phone small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }
.pulse { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aqua); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.header-quote { padding: 12px 22px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 37, 64, .5); z-index: 90; opacity: 0; transition: opacity .3s; }
.nav-open .nav-backdrop { opacity: 1; }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(8, 26, 46, .96) 0%, rgba(8, 26, 46, .86) 42%, rgba(10, 60, 110, .55) 70%, rgba(10, 107, 214, .25) 100%);
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; opacity: .55; pointer-events: none; }
.hero-blob-1 { width: 420px; height: 420px; background: var(--aqua); top: -120px; left: -120px; animation: float 14s ease-in-out infinite; }
.hero-blob-2 { width: 360px; height: 360px; background: var(--blue); bottom: -140px; right: 25%; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 130px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
	padding: 8px 16px 8px 12px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
	font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 22px;
}
.stars { display: inline-flex; gap: 2px; color: #ffc53d; }
.stars .ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d6e4f2; max-width: 580px; }
.hero-ticks { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.hero-ticks .ico { color: var(--aqua); width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(25, 211, 197, .18); stroke-width: 3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--bg); }

/* ===== Quote form ===== */
.quote-form {
	position: relative;
	background: #fff; color: var(--ink);
	border-radius: 24px; padding: 30px;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, .6);
}
.hero .quote-form::before {
	content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 26px;
	background: linear-gradient(135deg, var(--aqua), transparent 40%, transparent 60%, var(--accent));
	opacity: .9;
}
.qf-head { margin-bottom: 18px; }
.qf-title { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin: 0 0 2px; }
.qf-sub { color: var(--muted); font-size: .92rem; margin: 0; }
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.qf-full { grid-column: 1 / -1; }
.qf-field label { display: block; font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.qf-field input, .qf-field select, .qf-field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
	transition: border-color .2s, background .2s, box-shadow .2s; appearance: none;
}
.qf-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23586a80' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(10, 107, 214, .12); }
.qf-field .is-invalid { border-color: #e5484d; background: #fff5f5; }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf-status { margin: 10px 0 0; font-size: .9rem; font-weight: 600; min-height: 0; }
.qf-status:empty { display: none; }
.qf-status.is-error { color: #c62828; }
.qf-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.qf-note .ico { color: var(--aqua); }
.quote-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.quote-form .btn .ico { transition: transform .25s var(--ease); }
.quote-form .btn:hover .ico { transform: translateX(4px); }

/* ===== Trust strip ===== */
.trust { position: relative; z-index: 2; margin-top: -40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--navy); font-size: 1rem; }
.trust-item span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.trust-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 107, 214, .6); }
.trust-ico .ico { width: 24px; height: 24px; }

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; }
.section-soft { background: var(--soft); }
.section-dark { background: radial-gradient(1200px 500px at 10% 0%, #14497c 0%, var(--navy) 55%); color: #c9d8e8; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-head p:last-child { color: #a9bdd2; }

/* ===== Service cards ===== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bento .svc-lg { grid-column: span 2; }
.bento-even .svc-card { grid-column: auto; }
.svc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	text-decoration: none; color: var(--ink);
	box-shadow: 0 2px 6px rgba(11, 37, 64, .04);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.svc-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.svc-lg .svc-img { aspect-ratio: 16 / 8; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 24px 24px; }
.svc-ico { position: absolute; top: -26px; left: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -8px rgba(10, 107, 214, .7); border: 3px solid #fff; }
.svc-card h3, .svc-card .h3 { margin-bottom: 8px; }
.svc-text { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 16px; flex: 1; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--blue); font-size: .95rem; }
.svc-link .ico { transition: transform .3s var(--ease); }
.svc-card:hover .svc-link .ico { transform: translateX(5px); }

/* ===== Split / stats ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split-media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: 28px; background: var(--grad); opacity: .18; z-index: -1; }
.float-card {
	position: absolute; right: -18px; bottom: 34px;
	display: flex; align-items: center; gap: 12px;
	padding: 16px 20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
	animation: bob 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.3rem; color: var(--navy); line-height: 1.1; }
.float-card span { font-size: .82rem; color: var(--muted); }
.float-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-accent); color: var(--navy); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.split-copy > p { color: var(--muted); font-size: 1.06rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 34px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ===== Process ===== */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: none; }
.process::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--aqua) 0 10px, transparent 10px 18px); opacity: .5; }
.process li { position: relative; text-align: center; padding: 0 8px; }
.step-n {
	position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px;
	border-radius: 50%; background: #fff; border: 3px solid transparent;
	background-image: linear-gradient(#fff, #fff), var(--grad); background-origin: border-box; background-clip: padding-box, border-box;
	font-weight: 800; font-size: 1.4rem; color: var(--blue); box-shadow: var(--shadow);
}
.process p { color: var(--muted); font-size: .96rem; }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
	margin: 0; padding: 30px; border-radius: var(--r);
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
	backdrop-filter: blur(6px);
	transition: transform .4s var(--ease), background .4s;
}
.review:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); }
.review blockquote { margin: 16px 0 22px; }
.review blockquote p { color: #e6eef7; font-size: 1.04rem; margin: 0; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.review figcaption small { display: block; color: #8ea6bf; font-weight: 500; font-size: .8rem; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }

/* ===== Areas marquee ===== */
.areas-section { overflow: hidden; }
.marquee { overflow: hidden; padding: 6px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); white-space: nowrap; box-shadow: 0 2px 8px rgba(11, 37, 64, .05); }
.chip .ico { color: var(--accent); }

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--soft); transition: background .3s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--grad); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-a { padding: 0 24px 20px; color: var(--muted); }
.faq-a p { margin: 0; }

/* ===== Final CTA ===== */
.cta-final { position: relative; overflow: hidden; padding: 100px 0; background: radial-gradient(900px 500px at 90% 10%, rgba(25, 211, 197, .35), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(10, 107, 214, .45), transparent 60%), var(--navy); color: #c9d8e8; }
.cta-final-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta-final h2 { color: #fff; }
.cta-final-copy > p { font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.ticks .ico { color: var(--aqua); stroke-width: 3; }
.cta-phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.cta-phone .ico { width: 30px; height: 30px; color: var(--accent); }
.cta-phone:hover { color: var(--aqua); }

/* ===== Page hero / inner pages ===== */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 70px 0 80px; background: radial-gradient(900px 400px at 85% 0%, rgba(25, 211, 197, .4), transparent 60%), linear-gradient(120deg, var(--navy), var(--navy-2)); }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero-img { padding: 90px 0 100px; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 26, 46, .95), rgba(8, 26, 46, .75) 55%, rgba(8, 26, 46, .35)); }
.page-lead { font-size: 1.15rem; color: #d6e4f2; max-width: 640px; margin-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: #a9bdd2; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--aqua); }

.prose { font-size: 1.06rem; }
.prose > * { max-width: 760px; }
.prose-center { text-align: center; margin: 0 auto 50px; }
.prose-center > * { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.prose ul li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.prose .faq-list { max-width: 760px; }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar .quote-form { border: 1px solid var(--line); }
.mini-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.mini-trust span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-weight: 700; color: var(--navy); font-size: .95rem; }
.mini-trust .ico { color: var(--blue); }

.area-grid { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.area-grid li { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.area-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-grid .ico { color: var(--accent); width: 26px; height: 26px; }
.area-grid strong { display: block; color: var(--navy); }
.area-grid small { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 24px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: var(--soft); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease); }
a.contact-card:hover { transform: translateY(-3px); color: var(--ink); }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { display: block; color: var(--navy); font-size: 1.15rem; }
.contact-grid .quote-form { border: 1px solid var(--line); }

.thanks { text-align: center; max-width: 640px; }
.thanks-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.thanks-ico .ico { width: 40px; height: 40px; stroke-width: 3; }

/* ===== Footer ===== */
.site-footer { background: #071a2e; color: #8ea6bf; padding: 80px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin: 18px 0; max-width: 340px; }
.footer-title { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 9px; }
.site-footer a { color: #c9d8e8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--aqua); }
.footer-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; color: #fff !important; }
.footer-phone .ico { color: var(--aqua); }
.footer-hours { display: flex; align-items: center; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* ===== Reveal animations ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

/* Above-the-fold entrance: pure CSS so it never waits for JavaScript. */
.rise { animation: rise .9s var(--ease) both; }
.rise[data-delay="1"] { animation-delay: .12s; }
.rise[data-delay="2"] { animation-delay: .24s; }
.rise[data-delay="3"] { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
.main-nav > ul > li > a, .header-phone { white-space: nowrap; }

@media (max-width: 1200px) {
	.header-inner { gap: 16px; }
	.header-phone > span:last-child { display: none; }
	.main-nav > ul > li > a { padding: 10px 10px; }
}

@media (max-width: 1100px) {
	.with-sidebar { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.topbar-msg { display: none !important; }
	.topbar .wrap { justify-content: center; }
	/* backdrop-filter would make the header the containing block for the fixed drawer. */
	.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
	.header-phone, .header-quote { display: none; }
	.nav-toggle { display: block; }
	.header-actions { margin-left: auto; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
		width: min(380px, 88vw); margin: 0; padding: 90px 22px 28px;
		background: #fff; box-shadow: var(--shadow-lg);
		overflow-y: auto; transform: translateX(105%);
		transition: transform .4s var(--ease);
		display: flex; flex-direction: column;
	}
	.nav-open .main-nav { transform: none; }
	.nav-open .nav-toggle { position: relative; z-index: 120; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-nav > ul > li { flex-wrap: wrap; }
	.main-nav > ul > li > a { flex: 1; padding: 14px 12px; font-size: 1.08rem; border-radius: 12px; }
	.sub-toggle { margin: 0; padding: 12px; }
	.mega { position: static; width: 100%; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-sub:hover .mega { transform: none; }
	.has-sub.open .mega { display: block; transform: none; }
	.has-sub:not(.open):hover .sub-toggle svg { transform: none; }
	.mega-grid { grid-template-columns: 1fr; gap: 0; }
	.mega-item { padding: 10px 12px; }
	.mega-item small { display: none; }
	.mega-ico { width: 32px; height: 32px; }
	.nav-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }

	.hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 110px; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.bento { grid-template-columns: 1fr 1fr; }
	.svc-row { grid-template-columns: 1fr 1fr; }
	.svc-row .svc-card:nth-child(3) { display: none; }
	.split, .faq-wrap, .cta-final-inner, .contact-grid, .with-sidebar { grid-template-columns: 1fr; gap: 48px; }
	.faq-side { position: static; }
	.process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.process::before { display: none; }
	.reviews { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	.area-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.section, .cta-final { padding: 72px 0; }
	.mobile-bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
		box-shadow: 0 -8px 24px -12px rgba(11, 37, 64, .35);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; font-weight: 800; text-decoration: none; }
	.mb-call { background: var(--grad-accent); color: var(--navy); }
	.mb-quote { background: var(--navy); color: #fff; }
	body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.brand-text { font-size: 1.08rem; }
	.brand-mark { width: 38px; height: 38px; }
	.hero-actions .btn { width: 100%; }
	.quote-form { padding: 22px 18px; border-radius: 20px; }
	.qf-grid { grid-template-columns: 1fr; }
	.trust { margin-top: -30px; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
	.bento, .svc-row { grid-template-columns: 1fr; }
	.bento .svc-lg { grid-column: auto; }
	.svc-lg .svc-img { aspect-ratio: 3 / 2; }
	.svc-row .svc-card:nth-child(3) { display: flex; }
	.stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.stat { padding: 14px 6px; }
	.stat strong { font-size: 1.45rem; }
	.float-card { right: 10px; bottom: 16px; padding: 12px 14px; }
	.process { grid-template-columns: 1fr; }
	.area-grid, .mini-trust { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.split-media::before { inset: 16px -8px -8px 16px; }
}
