/*
Theme Name: Jonathan's Fleet Service
Theme URI: https://www.ranahandesign.com
Author: Ranahan Design
Author URI: https://www.ranahandesign.com
Description: Custom theme for Jonathan's Fleet Service — 24/7 mobile diesel and truck repair.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: txfleet
*/

:root {
	--ink: #15171b;
	--ink-2: #1c1f25;
	--ink-3: #262a32;
	--coal: #0d0e11;
	--red: #d21f2b;
	--red-hi: #ff4552;
	--red-dk: #a3141e;
	--cream: #f2efe9;
	--paper: #faf8f4;
	--white: #fff;
	--text: #22252b;
	--muted: #5e6470;
	--muted-dk: #a5abb5;
	--line: #e3ded4;
	--line-dk: rgba(255, 255, 255, .1);
	--radius: 4px;
	--shadow: 0 1px 2px rgba(16, 18, 22, .06), 0 10px 30px -12px rgba(16, 18, 22, .25);
	--shadow-lg: 0 2px 4px rgba(16, 18, 22, .08), 0 24px 48px -16px rgba(16, 18, 22, .35);
	--f-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--wrap: 1200px;
	--gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--red-dk); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--white); color: var(--ink); padding: 10px 14px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 36px; }
.center-text { text-align: center; margin: 40px auto 0; }
.small { font-size: .9rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------- type bits */

.display { font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.04; }
.display em { display: block; font-style: italic; color: var(--red); }
.display.small { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--f-cond); font-weight: 600; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
.eyebrow.small { font-size: .78rem; margin-bottom: 8px; }
.slashes { display: inline-block; flex: none; width: 26px; height: 13px; background: repeating-linear-gradient(115deg, transparent 0 3px, currentColor 3px 7px, transparent 7px 9px); }
.slashes.big { width: 74px; height: 26px; color: var(--red); background: repeating-linear-gradient(115deg, transparent 0 6px, currentColor 6px 14px, transparent 14px 18px); }
.lead { font-size: 1.15rem; color: var(--muted-dk); max-width: 46em; }
.h3 { font-size: 1.35rem; }

/* ----------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-cond); font-weight: 700; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 14px 24px; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; line-height: 1.1; }
.btn .icon { width: 18px; height: 18px; }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(210, 31, 43, .7); }
.btn-red:hover { background: var(--red-hi); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--red); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; font-size: .95rem; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ topbar */

.topbar { background: var(--coal); color: var(--muted-dk); font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--red-hi); width: 15px; height: 15px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ header */

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 23, 27, .97); border-bottom: 1px solid var(--line-dk); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-cond); font-size: 1.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.brand-name strong { color: var(--red-hi); font-weight: 700; }
.brand-sub { font-family: var(--f-cond); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-dk); margin-top: 6px; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { color: #e6e8ec; text-decoration: none; font-family: var(--f-cond); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 10px; display: block; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current] { color: var(--red-hi); }
.site-nav > ul > li > a[aria-current]::after { content: ""; display: block; height: 2px; background: var(--red); margin-top: 3px; }
.sub-toggle { display: none; }
.has-sub > .sub { position: absolute; top: 100%; left: -12px; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: var(--ink-2); border: 1px solid var(--line-dk); border-top: 3px solid var(--red); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; font-size: .98rem; letter-spacing: .04em; padding: 9px 12px; border-radius: var(--radius); }
.sub a .icon { color: var(--red-hi); width: 20px; height: 20px; }
.sub a:hover { background: var(--ink-3); color: var(--white); }
.site-nav .nav-call { display: inline-flex; padding: 12px 18px; white-space: nowrap; flex: none; letter-spacing: .1em; }
.nav-toggle { display: none; }

/* -------------------------------------------------------------------- hero */

.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(210, 31, 43, .18), transparent 60%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-title { font-size: clamp(2.8rem, 6.2vw, 5.4rem); margin-bottom: 26px; }
.hero-title span { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.stats { display: flex; flex-wrap: wrap; gap: 44px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line-dk); }
.stats div { margin: 0; }
.stats dt { font-family: var(--f-display); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.stats dt span { color: var(--red-hi); font-size: .8em; }
.stats dd { margin: 8px 0 0; font-family: var(--f-cond); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-dk); }
.stats dd a { color: inherit; }
.hero-media { position: relative; }
.hero-media .slashes.big { position: absolute; top: -40px; right: 6px; z-index: 2; }
.hero-frame { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%); }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 62%; height: 70%; border: 3px solid var(--red); border-radius: var(--radius); }
.hero-badge { position: absolute; z-index: 2; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 14px; background: var(--white); color: var(--ink); padding: 14px 20px 14px 14px; border-left: 4px solid var(--red); box-shadow: var(--shadow-lg); }
.hb-icon { display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); color: var(--red-hi); border-radius: var(--radius); }
.hb-icon .icon { width: 24px; height: 24px; }
.hero-badge strong { display: block; font-family: var(--f-cond); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.hero-badge small { color: var(--muted); font-size: .88rem; }

@media (prefers-reduced-motion: no-preference) {
	.reveal-line { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
	em.reveal-line { animation-delay: .18s; }
	.hero-frame { animation: frame-in 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
	@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
	@keyframes frame-in { from { opacity: 0; transform: translateX(30px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ------------------------------------------------------------------ ticker */

.ticker { background: var(--red); color: var(--white); overflow: hidden; border-top: 1px solid var(--red-hi); border-bottom: 1px solid var(--red-dk); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--f-cond); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 15px 0; white-space: nowrap; display: flex; align-items: center; }
.ticker span::after { content: ""; width: 22px; height: 11px; margin: 0 28px; background: repeating-linear-gradient(115deg, transparent 0 3px, rgba(255, 255, 255, .85) 3px 6px, transparent 6px 8px); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------------------------------------------------------------- sections */

.section { padding: 96px 0; }
.section.tint { background: var(--cream); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 60px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head > p { max-width: 460px; color: var(--muted); margin: 0; }
.sec-head .display { margin: 0; }

.card { position: relative; background: var(--white); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow); }
.card .num { position: absolute; top: 18px; right: 22px; font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: #d0cabd; }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--ink); color: var(--red-hi); margin-bottom: 18px; flex: none; }
.card-icon .icon { width: 24px; height: 24px; }
.card h3, .card .h3 { font-family: var(--f-cond); font-weight: 700; font-size: 1.35rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }

.why { background: var(--cream); }
.why-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-copy > p { color: var(--muted); font-size: 1.08rem; }
.pull-quote { margin: 28px 0; padding: 22px 24px; background: var(--ink); color: var(--white); border-left: 4px solid var(--red); border-radius: var(--radius); }
.pull-quote blockquote { margin: 0 0 10px; font-family: var(--f-display); font-style: italic; font-size: 1.2rem; line-height: 1.45; }
.pull-quote figcaption { font-family: var(--f-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--muted-dk); }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card:nth-child(2), .why-card:nth-child(4) { transform: translateY(26px); }
.why-card:nth-child(2).rv:not(.in), .why-card:nth-child(4).rv:not(.in) { transform: translateY(44px); }

.services-sec { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.svc-card::before { content: ""; position: absolute; left: 0; right: 100%; top: -3px; height: 3px; background: var(--ink); transition: right .35s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.svc-card:hover::before { right: 0; }
.svc-card p { flex: 1; margin-bottom: 18px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; color: var(--red); }
.more .icon { width: 16px; transition: transform .2s; }
.svc-card:hover .more .icon { transform: translateX(4px); }
.also { margin-top: 36px; background: var(--ink); color: var(--white); padding: 28px 32px; border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: center; }
.also h3 { font-family: var(--f-cond); font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red-hi); margin: 0; }
.also p { margin: 0; color: #d6d9de; line-height: 1.8; }

.process { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 22px); }
.process .wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li::after { content: ""; position: absolute; top: 32px; left: 76px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.step-n { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--red); color: var(--white); font-family: var(--f-display); font-style: italic; font-size: 1.8rem; border-radius: 50%; margin-bottom: 22px; background: var(--ink); position: relative; z-index: 1; }
.steps h3 { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; }
.steps p { color: var(--muted-dk); margin: 0; }
.steps a { color: var(--white); }

.reviews-sec { background: var(--cream); }
.rating-box { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 14px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.rating-num { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.rating-box small { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.stars { display: inline-flex; gap: 2px; color: #f2b01e; font-size: 1.15rem; line-height: 1; }
.star.off { color: #d9d4ca; }
.star.half { background: linear-gradient(90deg, #f2b01e 55%, #d9d4ca 55%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review-card { margin: 0; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review-top { display: flex; justify-content: space-between; align-items: center; }
.g-badge { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: #4285f4; font-family: Arial, sans-serif; }
.review-card blockquote { margin: 0; color: var(--text); font-size: 1rem; }
.review-card blockquote p:last-child { margin: 0; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-card figcaption small { display: block; color: var(--muted); font-size: .85rem; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--f-cond); font-weight: 700; font-size: 1.1rem; flex: none; }
.review-grid.masonry { display: block; columns: 3 300px; column-gap: 20px; }
.review-grid.masonry .review-card { break-inside: avoid; margin-bottom: 20px; }
.rating-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.rating-box.big .rating-num { font-size: 3.2rem; }
.rating-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.area-teaser { background: var(--ink-2); color: var(--white); }
.area-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.area-teaser p { color: #d3d6dc; }
.area-map { color: var(--white); max-width: 460px; }
.page-body .area-map, .section:not(.area-teaser) .area-map { color: var(--ink); }
.texas { width: 100%; }
.tx-label { font-family: var(--f-cond); font-weight: 700; letter-spacing: .24em; font-size: 15px; fill: var(--white); }

.cta-band { background: linear-gradient(115deg, var(--red-dk), var(--red) 55%, #e2333e); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 420px; background: repeating-linear-gradient(115deg, rgba(0, 0, 0, .12) 0 18px, transparent 18px 36px); }
.cta-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta-band .eyebrow { color: var(--white); }
.cta-band .display em { color: var(--ink); }
.cta-band p { color: #ffe4e6; margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-band .btn-red { background: var(--ink); box-shadow: none; }
.cta-band .btn-red:hover { background: var(--coal); }

/* -------------------------------------------------------------- inner pages */

.page-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 10%, rgba(210, 31, 43, .2), transparent 60%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 22px); }
.page-hero-in { position: relative; padding-top: 44px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 16em; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero .hero-actions { margin-bottom: 0; }
.hero-icon { position: absolute; right: var(--gut); bottom: 30px; color: rgba(255, 255, 255, .06); }
.hero-icon .icon { width: 260px; height: 260px; stroke-width: 1.2; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 36px; padding: 0; font-family: var(--f-cond); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--muted-dk); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red-hi); }
.crumbs a { color: var(--muted-dk); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.aside-card.dark { background: var(--ink); color: var(--white); border-top: 3px solid var(--red); }
.aside-card.dark h2 { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 8px; }
.aside-card .btn { letter-spacing: .08em; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: center; padding: 4px 0; color: #d6d9de; }
.ticks .icon { color: var(--red-hi); }
.aside-h { font-family: var(--f-cond); letter-spacing: .16em; text-transform: uppercase; font-size: 1rem; color: var(--muted); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links .icon { color: var(--red); width: 20px; height: 20px; }
.aside-links a:hover { color: var(--red); }
.aside-card.quote p { font-family: var(--f-display); font-style: italic; font-size: 1.05rem; margin: 12px 0 8px; }
.aside-card.quote .who { font-family: var(--f-cond); font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }

/* prose (page content) */
.prose { font-size: 1.08rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { font-family: var(--f-cond); font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; margin: 1.5em 0 .4em; }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 30px; margin: .45em 0; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.prose ul.cols { columns: 2 220px; column-gap: 32px; }
.prose ul.cols li { break-inside: avoid; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin: .4em 0; padding-left: .3em; }
.prose ol li::marker { color: var(--red); font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: 20px 24px; background: var(--cream); border-left: 4px solid var(--red); font-family: var(--f-display); font-style: italic; font-size: 1.15rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5em 0; }
.prose .callout { background: var(--ink); color: var(--white); padding: 24px 28px; border-radius: var(--radius); border-left: 4px solid var(--red); margin: 1.8em 0; }
.prose .callout p:last-child { margin: 0; }
.prose .callout a { color: var(--white); font-weight: 700; }
.prose .callout strong { color: var(--red-hi); }
.prose details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.prose summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 1.08rem; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1.2rem; line-height: 1; transition: transform .2s, background .2s; }
.prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--red); }
.prose details > *:not(summary) { padding: 0 22px; color: var(--muted); }
.prose details > *:last-child { padding-bottom: 18px; margin-bottom: 0; }
.prose .grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.5em 0; }
.prose .grid-cards > div { background: var(--white); border-top: 3px solid var(--red); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.prose .grid-cards h3 { margin-top: 0; font-size: 1.15rem; }
.prose .grid-cards p { margin: 0; color: var(--muted); font-size: 1rem; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0; width: 100%; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.area-teaser .prose, .area-teaser p { font-size: 1.08rem; }

.city-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.city-grid li { display: flex; gap: 10px; align-items: center; background: var(--white); padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; }
.city-grid .icon { color: var(--red); }

/* --------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-big { display: flex; align-items: center; gap: 18px; background: var(--white); padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); border-left: 4px solid var(--red); transition: transform .2s; }
a.contact-big:hover { transform: translateX(4px); color: var(--text); }
.contact-big .card-icon { margin: 0; }
.contact-big small { display: block; font-family: var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-size: .8rem; }
.contact-big strong { font-family: var(--f-cond); font-size: 1.6rem; letter-spacing: .02em; line-height: 1.2; }
.contact-big strong.email { font-size: 1.15rem; word-break: break-all; }
.contact-info .prose { margin-top: 14px; font-size: 1rem; }
.form-card { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); }
.form-card > p { color: var(--muted); }
.request-form label { display: block; margin-bottom: 16px; }
.request-form label > span { display: block; font-family: var(--f-cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; margin-bottom: 6px; color: var(--ink); }
.request-form b { color: var(--red); }
.request-form input, .request-form select, .request-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc9bd; border-radius: var(--radius); background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(210, 31, 43, .18); background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.form-foot p { margin: 0; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { background: #fdecee; border-left: 4px solid var(--red); padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius); }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.form-done { display: flex; gap: 16px; background: #edf7ef; border-left: 4px solid #2e8540; padding: 20px; border-radius: var(--radius); }
.form-done .icon { color: #2e8540; width: 28px; height: 28px; }
.form-done h3 { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.form-done p { margin: 0; }

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

.site-footer { background: var(--coal); color: var(--muted-dk); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { margin: 18px 0 0; max-width: 340px; }
.footer-tag { font-family: var(--f-display); font-style: italic; color: var(--white); font-size: 1.15rem; }
.footer-h { font-family: var(--f-cond); color: var(--white); font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-h::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); margin-top: 10px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 7px 0; }
.site-footer a { color: #d6d9de; text-decoration: none; }
.site-footer a:hover { color: var(--red-hi); }
.footer-contact li { display: flex; gap: 12px; margin: 10px 0; }
.footer-contact .icon { color: var(--red-hi); margin-top: 4px; }
.footer-contact a { word-break: break-all; }
.footer-bar { border-top: 1px solid var(--line-dk); }
.footer-bar-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-size: .88rem; }
.footer-bar p { margin: 0; }
.footer-bar a { text-decoration: underline; color: var(--muted-dk); }

.mobile-bar { display: none; }

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

.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.js .rv.in { opacity: 1; transform: none; }
.js .why-card.rv.in:nth-child(2), .js .why-card.rv.in:nth-child(4) { transform: translateY(26px); }
.js .svc-card.rv.in:hover { transform: translateY(-4px); }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
	.site-nav a { font-size: .95rem; padding: 10px 7px; }
	.site-nav .nav-call { display: none; }
}

@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-dk); border-radius: var(--radius); cursor: pointer; padding: 0 12px; }
	.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.site-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(380px, 88vw); flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-2); padding: 96px 20px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); z-index: -1; box-shadow: -20px 0 40px rgba(0, 0, 0, .4); }
	.nav-open .site-nav { transform: none; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 40; }
	.site-header { z-index: 60; }
	.site-nav > ul { flex-direction: column; }
	.site-nav > ul > li { border-bottom: 1px solid var(--line-dk); display: flex; flex-wrap: wrap; align-items: center; }
	.site-nav > ul > li > a { flex: 1; font-size: 1.15rem; padding: 14px 6px; }
	.site-nav > ul > li > a[aria-current]::after { display: none; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--white); cursor: pointer; }
	.sub-toggle .icon { transform: rotate(90deg); transition: transform .2s; }
	.has-sub.open .sub-toggle .icon { transform: rotate(-90deg); }
	.has-sub > .sub { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; background: transparent; }
	.has-sub.open > .sub { display: block; }
	.site-nav .nav-call { display: flex; margin-top: 24px; }
	.hero-in { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; }
	.hero-media { max-width: 620px; }
	.hero-badge { left: 12px; }
	.why-in, .area-in, .contact-grid, .with-aside, .cta-in { grid-template-columns: 1fr; }
	.why-in, .area-in { gap: 48px; }
	.area-map { max-width: 360px; }
	.aside { position: static; }
	.steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
	.steps li::after { display: none; }
	.review-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 680px) {
	body { font-size: 16px; padding-bottom: 64px; }
	:root { --gut: 18px; }
	.section { padding: 64px 0; }
	.topbar .hide-sm { display: none; }
	.header-in { min-height: 66px; }
	.brand img { width: 42px; height: 42px; }
	.brand-name { font-size: 1.15rem; }
	.brand-sub { font-size: .62rem; letter-spacing: .2em; }
	.hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
	.stats { gap: 24px 32px; }
	.stats dt { font-size: 1.9rem; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-media::before { left: -8px; bottom: -10px; }
	.hero-badge { position: relative; left: auto; bottom: auto; margin: -24px 12px 0; }
	.why-cards { grid-template-columns: 1fr; }
	.why-card:nth-child(2), .why-card:nth-child(4), .js .why-card.rv.in:nth-child(2), .js .why-card.rv.in:nth-child(4) { transform: none; }
	.also { grid-template-columns: 1fr; padding: 24px; }
	.steps { grid-template-columns: 1fr; }
	.review-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.grid-2 { grid-template-columns: 1fr; }
	.form-card { padding: 24px 18px; }
	.cta-actions .btn { flex: 1 1 100%; }
	.hero-icon { display: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-family: var(--f-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--white); }
	.mb-call { background: var(--red); }
	.mb-req { background: var(--ink); }
	.contact-big strong { font-size: 1.35rem; }
}

@media print {
	.topbar, .site-header, .mobile-bar, .cta-band, .ticker { display: none; }
	.hero, .page-hero { background: none; color: #000; }
}
