/*
 * RankDriven — Home Services Marketing
 * One stylesheet, no framework, no web fonts. Loads only on section pages.
 *
 * Scoped under .rd-scope (and the shell classes) so it cannot leak into the
 * rest of the theme. Mobile-first throughout.
 */

.rd-scope,
.rd-nav,
.rd-foot,
.rd-crumbs,
.rd-sticky {
	--rd-ink: #0b1622;
	--rd-ink-2: #46566c;
	--rd-ink-3: #6b7a8f;
	--rd-brand: #12428f;
	--rd-brand-700: #0d3271;
	--rd-brand-50: #eef3fc;
	--rd-accent: #ef5a26;
	--rd-accent-700: #cf4718;
	--rd-surface: #ffffff;
	--rd-surface-2: #f4f6fa;
	--rd-surface-3: #eaeff7;
	--rd-line: #dbe2ed;
	--rd-ok: #0f7b43;
	--rd-radius: 14px;
	--rd-radius-lg: 20px;
	--rd-shadow: 0 1px 2px rgba(11, 22, 34, .05), 0 8px 24px -12px rgba(11, 22, 34, .18);
	--rd-shadow-lg: 0 2px 4px rgba(11, 22, 34, .06), 0 24px 48px -24px rgba(11, 22, 34, .28);
	--rd-wrap: 1180px;
	--rd-gap: clamp(20px, 4vw, 34px);

	color: var(--rd-ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.rd-scope *,
.rd-scope *::before,
.rd-scope *::after { box-sizing: border-box; }

.rd-scope img,
.rd-scope svg { max-width: 100%; }

/* ------------------------------------------------------------------ *
 * Layout
 * ------------------------------------------------------------------ */

.rd-wrap {
	width: 100%;
	max-width: var(--rd-wrap);
	margin-inline: auto;
	padding-inline: 20px;
}

.rd-sec { padding-block: clamp(48px, 7vw, 84px); background: var(--rd-surface); }
.rd-sec--alt { background: var(--rd-surface-2); }
.rd-sec__cta { margin-top: clamp(28px, 4vw, 40px); display: flex; justify-content: center; }

/* ------------------------------------------------------------------ *
 * Typography
 * ------------------------------------------------------------------ */

.rd-h1 {
	margin: 0 0 16px;
	font-size: clamp(2rem, 1.25rem + 3.2vw, 3.35rem);
	line-height: 1.06;
	letter-spacing: -.024em;
	font-weight: 800;
	color: var(--rd-ink);
	text-wrap: balance;
}

.rd-h2 {
	margin: 0 0 18px;
	font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.25rem);
	line-height: 1.16;
	letter-spacing: -.019em;
	font-weight: 780;
	color: var(--rd-ink);
	text-wrap: balance;
}

.rd-h3 {
	margin: 0 0 12px;
	font-size: clamp(1.12rem, 1rem + .5vw, 1.3rem);
	line-height: 1.25;
	letter-spacing: -.012em;
	font-weight: 700;
}

.rd-kicker {
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--rd-brand);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.rd-kicker a { color: inherit; text-decoration: none; }
.rd-kicker a:hover { text-decoration: underline; }
.rd-kicker span { color: var(--rd-ink-3); }

.rd-lede {
	margin: 0 0 18px;
	font-size: clamp(1.03rem, .98rem + .3vw, 1.2rem);
	line-height: 1.6;
	color: var(--rd-ink-2);
	max-width: 68ch;
}
.rd-lede--center { margin-inline: auto; text-align: center; }

.rd-prose { max-width: 72ch; }
.rd-prose p { margin: 0 0 18px; color: var(--rd-ink-2); }
.rd-prose p:last-child { margin-bottom: 0; }

.rd-fineprint {
	font-size: .875rem;
	line-height: 1.55;
	color: var(--rd-ink-3);
	max-width: 72ch;
}
.rd-fineprint--center { margin-inline: auto; text-align: center; margin-top: 28px; }

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

/* ------------------------------------------------------------------ *
 * Buttons
 * ------------------------------------------------------------------ */

.rd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -.006em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rd-btn--primary {
	background: var(--rd-accent);
	color: #fff;
	box-shadow: 0 10px 22px -12px rgba(239, 90, 38, .85);
}
.rd-btn--primary:hover,
.rd-btn--primary:focus-visible {
	background: var(--rd-accent-700);
	color: #fff;
	transform: translateY(-1px);
}

.rd-btn--ghost {
	background: transparent;
	color: var(--rd-brand);
	border-color: var(--rd-line);
}
.rd-btn--ghost:hover,
.rd-btn--ghost:focus-visible {
	background: var(--rd-brand-50);
	border-color: var(--rd-brand);
	color: var(--rd-brand-700);
}

.rd-btn--sm { padding: 11px 18px; font-size: .92rem; }
.rd-btn--block { width: 100%; }
.rd-btn__icon { width: 18px; height: 18px; transition: transform .16s ease; }
.rd-btn:hover .rd-btn__icon { transform: translateX(3px); }

.rd-scope a:focus-visible,
.rd-scope button:focus-visible,
.rd-scope summary:focus-visible,
.rd-scope input:focus-visible,
.rd-scope select:focus-visible {
	outline: 3px solid var(--rd-brand);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ *
 * Breadcrumbs
 * ------------------------------------------------------------------ */

.rd-crumbs { background: var(--rd-surface-2); border-bottom: 1px solid var(--rd-line); font-size: .85rem; }
.rd-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; list-style: none; }
.rd-crumbs li { display: flex; align-items: center; gap: 8px; color: var(--rd-ink-3); }
.rd-crumbs li + li::before { content: "/"; color: var(--rd-line); }
.rd-crumbs a { color: var(--rd-ink-2); text-decoration: none; }
.rd-crumbs a:hover { color: var(--rd-brand); text-decoration: underline; }

/* ------------------------------------------------------------------ *
 * Hero
 * ------------------------------------------------------------------ */

.rd-hero {
	position: relative;
	padding-block: clamp(40px, 6vw, 76px);
	background:
		radial-gradient(900px 420px at 88% -8%, var(--rd-brand-50), transparent 70%),
		linear-gradient(180deg, var(--rd-surface) 0%, var(--rd-surface-2) 100%);
	border-bottom: 1px solid var(--rd-line);
	overflow: hidden;
}

.rd-hero__inner { display: grid; gap: var(--rd-gap); }
.rd-hero__sub {
	margin: 0 0 14px;
	font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem);
	font-weight: 700;
	color: var(--rd-brand);
	line-height: 1.3;
	text-wrap: balance;
}
.rd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.rd-hero__note { margin: 18px 0 0; font-size: .875rem; color: var(--rd-ink-3); max-width: 60ch; }

@media (min-width: 900px) {
	.rd-hero__inner { grid-template-columns: 1.1fr .9fr; align-items: center; }
}

/* ------------------------------------------------------------------ *
 * Lead flow diagram
 * ------------------------------------------------------------------ */

.rd-flow { margin: 0; }
.rd-flow__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.rd-flow__step {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	padding: 16px 18px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	box-shadow: var(--rd-shadow);
	animation: rd-rise .5s cubic-bezier(.2, .7, .3, 1) both;
	animation-delay: var(--rd-delay, 0ms);
}

.rd-flow__icon {
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--rd-brand-50);
	color: var(--rd-brand);
}
.rd-flow__icon .rd-icon { width: 22px; height: 22px; }
.rd-flow__label { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.rd-flow__note { font-size: .85rem; color: var(--rd-ink-3); }

.rd-flow__step + .rd-flow__step::before {
	content: "";
	position: absolute;
	left: 39px;
	top: -13px;
	width: 2px;
	height: 13px;
	background: var(--rd-line);
}

/* ------------------------------------------------------------------ *
 * Artwork
 * ------------------------------------------------------------------ */

.rd-art { margin: 0; }
.rd-art__svg { width: 100%; height: auto; display: block; border-radius: var(--rd-radius-lg); box-shadow: var(--rd-shadow); }

.rd-map { margin: 0; }
.rd-map__svg { width: 100%; height: auto; display: block; border-radius: var(--rd-radius-lg); box-shadow: var(--rd-shadow); }
.rd-map__caption {
	margin-top: 14px;
	padding: 14px 16px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	font-size: .85rem;
	color: var(--rd-ink-3);
	display: grid;
	gap: 4px;
}
.rd-map__caption strong { color: var(--rd-ink); font-size: .95rem; }

/* ------------------------------------------------------------------ *
 * Cards
 * ------------------------------------------------------------------ */

.rd-cards { display: grid; gap: 18px; }
@media (min-width: 640px) { .rd-cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rd-cards--3 { grid-template-columns: repeat(3, 1fr); } }

.rd-card {
	position: relative;
	padding: 26px 24px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius-lg);
	box-shadow: var(--rd-shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rd-cards--linked .rd-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--rd-shadow-lg);
	border-color: var(--rd-brand);
}

.rd-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 12px;
	background: var(--rd-brand-50);
	color: var(--rd-brand);
}
.rd-card__icon--brand { background: var(--rd-brand); color: #fff; }
.rd-card__icon .rd-icon { width: 23px; height: 23px; }

.rd-card__title { margin: 0 0 10px; font-size: 1.1rem; font-weight: 720; letter-spacing: -.012em; line-height: 1.25; }
.rd-card__title a { color: inherit; text-decoration: none; }
.rd-card__title a::after { content: ""; position: absolute; inset: 0; }
.rd-card__copy { margin: 0; font-size: .95rem; color: var(--rd-ink-2); }
.rd-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 16px;
	font-size: .9rem;
	font-weight: 700;
	color: var(--rd-brand);
}
.rd-card--trade:hover .rd-card__cta { color: var(--rd-accent); }

/* ------------------------------------------------------------------ *
 * Split / lists
 * ------------------------------------------------------------------ */

.rd-split { display: grid; gap: var(--rd-gap); }
@media (min-width: 940px) { .rd-split { grid-template-columns: 1.15fr .85fr; align-items: start; } }

.rd-split__aside {
	padding: 26px 24px;
	background: var(--rd-surface-2);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius-lg);
}
.rd-sec--alt .rd-split__aside { background: var(--rd-surface); }

.rd-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rd-problems li {
	position: relative;
	padding-left: 26px;
	font-size: .95rem;
	color: var(--rd-ink-2);
}
.rd-problems li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .62em;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--rd-accent);
	transform: rotate(45deg);
}
@media (min-width: 760px) { .rd-problems--grid { grid-template-columns: repeat(2, 1fr); gap: 14px 32px; } }

.rd-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .rd-ticks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rd-ticks { grid-template-columns: repeat(4, 1fr); } }
.rd-ticks--stack { grid-template-columns: 1fr !important; }
.rd-ticks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	font-size: .93rem;
	font-weight: 600;
	line-height: 1.45;
}
.rd-sec--alt .rd-ticks li { background: var(--rd-surface); }
.rd-ticks .rd-icon { color: var(--rd-brand); margin-top: .18em; }

.rd-checklist { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 11px; }
.rd-checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--rd-ink-2); }
.rd-checklist .rd-icon { color: var(--rd-accent); margin-top: .22em; }

.rd-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rd-pills a {
	display: inline-block;
	padding: 9px 16px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 600;
	color: var(--rd-ink-2);
	text-decoration: none;
	transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.rd-pills a:hover { background: var(--rd-brand); border-color: var(--rd-brand); color: #fff; }

.rd-inline-links { margin-top: 26px; font-size: .9rem; color: var(--rd-ink-3); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rd-inline-links a { color: var(--rd-brand); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rd-line); }
.rd-inline-links a:hover { border-bottom-color: var(--rd-brand); }

/* ------------------------------------------------------------------ *
 * Steps / metrics / facts
 * ------------------------------------------------------------------ */

.rd-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: rd; }
@media (min-width: 720px) { .rd-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .rd-steps { grid-template-columns: repeat(4, 1fr); } }

.rd-step {
	position: relative;
	padding: 26px 22px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius-lg);
	box-shadow: var(--rd-shadow);
}
.rd-step__num {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	border-radius: 10px;
	background: var(--rd-brand);
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
}
.rd-step__title { margin: 0 0 8px; font-size: 1.06rem; font-weight: 720; }
.rd-step p { margin: 0; font-size: .93rem; color: var(--rd-ink-2); }

.rd-metrics { display: grid; gap: 16px; }
@media (min-width: 640px) { .rd-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rd-metrics { grid-template-columns: repeat(4, 1fr); } }
.rd-metric {
	padding: 22px 20px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-left: 3px solid var(--rd-accent);
	border-radius: var(--rd-radius);
}
.rd-metric__title { margin: 0 0 6px; font-size: 1rem; font-weight: 720; }
.rd-metric p { margin: 0; font-size: .88rem; color: var(--rd-ink-2); }

.rd-factgrid,
.rd-localfacts,
.rd-trackgrid,
.rd-strategy { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 720px) {
	.rd-factgrid { grid-template-columns: repeat(3, 1fr); }
	.rd-localfacts { grid-template-columns: repeat(2, 1fr); }
	.rd-trackgrid { grid-template-columns: repeat(2, 1fr); }
	.rd-strategy { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
	.rd-trackgrid { grid-template-columns: repeat(3, 1fr); }
	.rd-strategy { grid-template-columns: repeat(3, 1fr); }
}

.rd-fact,
.rd-localfact,
.rd-track,
.rd-strategy__item {
	padding: 24px 22px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius-lg);
}
.rd-sec--alt .rd-fact,
.rd-sec--alt .rd-localfact,
.rd-sec--alt .rd-track,
.rd-sec--alt .rd-strategy__item { background: var(--rd-surface); }

.rd-fact__title,
.rd-localfact__title,
.rd-track h3,
.rd-strategy__item h3 { margin: 0 0 10px; font-size: 1.02rem; font-weight: 720; letter-spacing: -.01em; }
.rd-fact ul,
.rd-track ul { margin: 0; padding-left: 18px; font-size: .92rem; color: var(--rd-ink-2); display: grid; gap: 6px; }
.rd-fact p,
.rd-localfact p,
.rd-track p,
.rd-strategy__item p { margin: 0 0 10px; font-size: .92rem; color: var(--rd-ink-2); }
.rd-localfact p:last-child,
.rd-track p:last-child,
.rd-strategy__item p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ *
 * Callouts / areas / keywords
 * ------------------------------------------------------------------ */

.rd-callouts {
	margin-top: clamp(28px, 4vw, 40px);
	padding: 26px 24px;
	background: var(--rd-brand);
	border-radius: var(--rd-radius-lg);
	color: #fff;
}
.rd-callouts .rd-h3 { color: #fff; }
.rd-callouts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .rd-callouts__list { grid-template-columns: repeat(3, 1fr); } }
.rd-callouts__list li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.rd-callouts__list .rd-icon { color: #ffb694; margin-top: .18em; }

.rd-areas,
.rd-keywords { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 620px) { .rd-areas, .rd-keywords { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rd-areas { grid-template-columns: repeat(4, 1fr); } .rd-keywords { grid-template-columns: repeat(2, 1fr); } }

.rd-areas li,
.rd-keywords li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 14px;
	background: var(--rd-surface-2);
	border: 1px solid var(--rd-line);
	border-radius: 10px;
	font-size: .9rem;
}
.rd-sec--alt .rd-areas li,
.rd-sec--alt .rd-keywords li { background: var(--rd-surface); }
.rd-areas .rd-icon { color: var(--rd-brand); }
.rd-keywords .rd-icon { color: var(--rd-accent); }
.rd-keywords li span { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: .85rem; }
.rd-areas + .rd-fineprint,
.rd-keywords + .rd-fineprint { margin-top: 20px; }

/* ------------------------------------------------------------------ *
 * City grid / markets
 * ------------------------------------------------------------------ */

.rd-citygrid { display: grid; gap: 26px; margin-top: clamp(28px, 4vw, 40px); }
@media (min-width: 760px) { .rd-citygrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .rd-citygrid { grid-template-columns: repeat(3, 1fr); } }

.rd-citygrid__heading {
	margin: 0 0 12px;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rd-ink-3);
	padding-bottom: 10px;
	border-bottom: 1px solid var(--rd-line);
}
.rd-citygrid__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rd-citygrid__list a {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 12px 14px;
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	text-decoration: none;
	color: var(--rd-ink);
	transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.rd-citygrid__list a:hover { border-color: var(--rd-brand); transform: translateX(2px); box-shadow: var(--rd-shadow); }
.rd-citygrid__list .rd-icon { color: var(--rd-brand); }
.rd-citygrid__list span { display: grid; font-size: .95rem; font-weight: 650; line-height: 1.3; }
.rd-citygrid__list strong { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rd-ink-3); }

.rd-markets { display: grid; gap: 26px; margin-top: clamp(28px, 4vw, 40px); }
.rd-markets__row { padding-bottom: 22px; border-bottom: 1px solid var(--rd-line); }
.rd-markets__row:last-child { border-bottom: 0; padding-bottom: 0; }
.rd-markets__trade { margin: 0 0 12px; font-size: 1.05rem; font-weight: 750; }
.rd-markets__trade a { color: var(--rd-brand); text-decoration: none; }
.rd-markets__trade a:hover { text-decoration: underline; }
.rd-markets__cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.rd-markets__cities a { font-size: .87rem; color: var(--rd-ink-2); text-decoration: none; padding: 5px 12px; border: 1px solid var(--rd-line); border-radius: 999px; background: var(--rd-surface); }
.rd-markets__cities a:hover { border-color: var(--rd-brand); color: var(--rd-brand); }

.rd-related { display: grid; gap: 30px; }
@media (min-width: 900px) { .rd-related { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------------ *
 * CTA band
 * ------------------------------------------------------------------ */

.rd-band {
	padding-block: clamp(40px, 5.5vw, 62px);
	background: linear-gradient(135deg, var(--rd-brand-700), var(--rd-brand) 58%, #1a56b4);
	color: #fff;
}
.rd-band__inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .rd-band__inner { grid-template-columns: 1.3fr auto; } }
.rd-band__title { margin: 0 0 8px; font-size: clamp(1.32rem, 1.05rem + 1.1vw, 1.85rem); font-weight: 780; letter-spacing: -.018em; line-height: 1.18; color: #fff; text-wrap: balance; }
.rd-band__copy { margin: 0; color: rgba(255, 255, 255, .86); font-size: 1rem; max-width: 62ch; }
.rd-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rd-band .rd-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.rd-band .rd-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ------------------------------------------------------------------ *
 * FAQ
 * ------------------------------------------------------------------ */

.rd-faqs { display: grid; gap: 12px; max-width: 900px; }
.rd-faq {
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius);
	overflow: hidden;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.rd-faq[open] { border-color: var(--rd-brand); box-shadow: var(--rd-shadow); }
.rd-faq__q {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 54px 18px 20px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rd-ink);
}
.rd-faq__q::-webkit-details-marker { display: none; }
.rd-faq__q::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border-right: 2px solid var(--rd-brand);
	border-bottom: 2px solid var(--rd-brand);
	transform: rotate(45deg);
	transition: transform .2s ease;
}
.rd-faq[open] .rd-faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.rd-faq__a { padding: 0 20px 20px; }
.rd-faq__a p { margin: 0; color: var(--rd-ink-2); font-size: .95rem; }

/* ------------------------------------------------------------------ *
 * Audit form
 * ------------------------------------------------------------------ */

.rd-sec--audit { background: var(--rd-surface-2); }
.rd-audit { display: grid; gap: var(--rd-gap); align-items: start; }
@media (min-width: 940px) { .rd-audit { grid-template-columns: .95fr 1.05fr; } }

.rd-audit__form {
	padding: clamp(24px, 3.4vw, 34px);
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: var(--rd-radius-lg);
	box-shadow: var(--rd-shadow-lg);
}

.rd-form__grid { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 560px) { .rd-form__grid { grid-template-columns: repeat(2, 1fr); } }
.rd-field { margin: 0; display: grid; gap: 6px; }
.rd-field--wide { grid-column: 1 / -1; }
.rd-field label { font-size: .82rem; font-weight: 700; letter-spacing: .01em; color: var(--rd-ink-2); }
.rd-req { color: var(--rd-accent); }

.rd-field input,
.rd-field select {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: .95rem;
	color: var(--rd-ink);
	background: var(--rd-surface);
	border: 1px solid var(--rd-line);
	border-radius: 10px;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.rd-field input:focus,
.rd-field select:focus {
	border-color: var(--rd-brand);
	box-shadow: 0 0 0 3px var(--rd-brand-50);
	outline: none;
}
.rd-field select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--rd-ink-3) 50%), linear-gradient(135deg, var(--rd-ink-3) 50%, transparent 50%);
	background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 38px;
}
.rd-field input:user-invalid,
.rd-field select:user-invalid { border-color: var(--rd-accent); }

.rd-form__note { margin: 14px 0 0; font-size: .8rem; color: var(--rd-ink-3); text-align: center; }

.rd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rd-notice { padding: 20px 22px; border-radius: var(--rd-radius); margin-bottom: 20px; }
.rd-notice--ok { background: #ecf7f0; border: 1px solid #b7e0c6; }
.rd-notice--ok h3 { margin: 0 0 6px; font-size: 1.1rem; }
.rd-notice--ok p { margin: 0; color: var(--rd-ink-2); font-size: .95rem; }
.rd-notice--error { background: #fdf0ec; border: 1px solid #f6c6b5; }
.rd-notice--error p { margin: 0; font-size: .93rem; }

/* ------------------------------------------------------------------ *
 * Sticky mobile CTA
 * ------------------------------------------------------------------ */

.rd-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: flex;
	gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.6) blur(10px);
	border-top: 1px solid var(--rd-line);
	box-shadow: 0 -8px 24px -16px rgba(11, 22, 34, .5);
	transform: translateY(110%);
	transition: transform .26s cubic-bezier(.2, .7, .3, 1);
}
.rd-sticky[data-rd-visible] { transform: translateY(0); }

.rd-sticky__call,
.rd-sticky__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
}
.rd-sticky__call { flex: 0 0 auto; background: var(--rd-brand-50); color: var(--rd-brand); }
.rd-sticky__cta { flex: 1 1 auto; background: var(--rd-accent); color: #fff; }
.rd-sticky__cta:hover { background: var(--rd-accent-700); color: #fff; }

@media (min-width: 860px) { .rd-sticky { display: none; } }

/* ------------------------------------------------------------------ *
 * Standalone shell (header / footer)
 * ------------------------------------------------------------------ */

.rd-nav { background: var(--rd-surface); border-bottom: 1px solid var(--rd-line); position: sticky; top: 0; z-index: 50; }
.rd-nav__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.rd-nav__brand { text-decoration: none; color: var(--rd-ink); font-weight: 800; letter-spacing: -.02em; font-size: 1.18rem; }
.rd-nav__links { display: none; gap: 20px; margin-left: auto; }
.rd-nav__links a { font-size: .92rem; font-weight: 600; color: var(--rd-ink-2); text-decoration: none; }
.rd-nav__links a:hover { color: var(--rd-brand); }
.rd-nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.rd-nav__phone { display: none; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--rd-brand); text-decoration: none; }
@media (min-width: 900px) {
	.rd-nav__links { display: flex; }
	.rd-nav__actions { margin-left: 0; }
	.rd-nav__phone { display: inline-flex; }
}

.rd-foot { background: var(--rd-ink); color: rgba(255, 255, 255, .74); padding-block: clamp(44px, 6vw, 68px); font-size: .92rem; }
.rd-foot__cols { display: grid; gap: 32px; }
@media (min-width: 860px) { .rd-foot__cols { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.rd-foot__brand { margin: 0 0 10px; color: #fff; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.rd-foot__tag { margin: 0 0 20px; max-width: 44ch; }
.rd-foot h3 { margin: 0 0 14px; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rd-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rd-foot__markets { grid-template-columns: repeat(2, 1fr); }
.rd-foot a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.rd-foot a:hover { color: #fff; text-decoration: underline; }
.rd-foot .rd-btn--primary { color: #fff; }
.rd-foot__legal { margin: 36px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ------------------------------------------------------------------ *
 * Motion
 * ------------------------------------------------------------------ */

@keyframes rd-rise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: none; }
}

.rd-reveal { opacity: 0; transform: translateY(14px); }
.rd-reveal[data-rd-in] {
	opacity: 1;
	transform: none;
	transition: opacity .55s cubic-bezier(.2, .7, .3, 1), transform .55s cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
	.rd-scope *,
	.rd-sticky {
		animation: none !important;
		transition: none !important;
	}
	.rd-reveal { opacity: 1; transform: none; }
	.rd-sticky { transform: translateY(0); }
}

/* Print: drop the furniture, keep the argument. */
@media print {
	.rd-sticky, .rd-band__actions, .rd-hero__actions, .rd-sec__cta, .rd-sec--audit { display: none !important; }
	.rd-scope { font-size: 12pt; }
	.rd-faq[open] .rd-faq__a, .rd-faq .rd-faq__a { display: block !important; }
}
