:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #eef2f8;
    --border: rgba(15, 23, 42, 0.12);
    --text: #0f172a;
    --text-soft: #1e293b;
    --text-muted: #334155;
    --text-faint: #475569;
    --placeholder: #64748b;
    --primary: #0056b3;
    --primary-hover: #003d82;
    --primary-soft: rgba(0, 86, 179, 0.12);
    --input-bg: #ffffff;
    --deep: #001d4a;
    --rvl-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius: 14px;
    --wrap: 1120px;
    --header-h: 64px;
    --shadow: 0 12px 32px rgba(0, 29, 74, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--rvl-font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.skip-link {
    position: absolute; left: 0.75rem; top: -3rem; z-index: 2000;
    background: var(--primary); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 0.75rem; }

.rc-wrap { width: min(100% - 1.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
    margin: 0 0 0.4rem; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary);
}
h1, h2, h3 { line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(1.85rem, 4.4vw, 3.05rem); margin: 0 0 0.6rem; }
h1 span { color: var(--primary); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.lead { font-size: 1.12rem; font-weight: 600; color: var(--text-soft); margin: 0 0 0.75rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0.65rem 1.15rem; border-radius: 999px;
    font-weight: 600; text-decoration: none; border: 1px solid transparent;
    cursor: pointer; font-size: 0.92rem; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.text-link { font-weight: 600; }

.rc-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.rc-header-inner {
    width: min(100% - 1.25rem, 1180px); margin: auto;
    min-height: var(--header-h); display: flex; align-items: center;
    gap: 0.75rem; flex-wrap: nowrap;
}
.rc-logo { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--text); flex: 0 0 auto; }
.rc-logo img { height: 42px; width: 42px; object-fit: contain; flex: 0 0 auto; }
.rc-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.rc-logo-text small { color: var(--text-muted); font-size: 0.68rem; }
.rc-nav { display: none; flex: 1; min-width: 0; justify-content: center; }
.rc-nav ul { display: flex; gap: 0.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; align-items: center; }
.rc-nav a, .rc-drop-toggle {
    display: flex; align-items: center; min-height: 40px; padding: 0 0.65rem;
    text-decoration: none; color: var(--text-muted); font-size: 0.84rem;
    font-weight: 600; background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap;
}
.rc-nav a[aria-current="page"], .rc-nav a:hover, .rc-drop-toggle:hover, .rc-nav-item.is-active .rc-drop-toggle { color: var(--text); }
.rc-nav-item { position: relative; }
.rc-drop-toggle::after {
    content: ""; width: 0.35rem; height: 0.35rem; margin-left: 0.4rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.rc-dropdown {
    position: absolute; top: calc(100% - 0.15rem); left: 0; min-width: 240px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 0.4rem; box-shadow: var(--shadow); z-index: 80; list-style: none; margin: 0;
}
.rc-dropdown[hidden] { display: none !important; }
.rc-dropdown a {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
    min-height: 44px; padding: 0.55rem 0.7rem; border-radius: 8px; white-space: normal;
}
.rc-dropdown small { color: var(--text-muted); font-size: 0.75rem; font-weight: 500; }
.rc-dropdown a:hover { background: var(--surface-2); color: var(--text); }
.rc-header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; }
.rc-phone { display: none; font-weight: 700; text-decoration: none; color: var(--text); font-size: 0.9rem; }
.rc-burger {
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; padding: 10px;
}
.rc-burger span { display: block; height: 2px; background: var(--text); }
.rc-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.45); z-index: 70; }
.rc-overlay.is-open { display: block; }
.rc-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); background: var(--surface);
    z-index: 80; padding: 1rem 1.15rem 1.5rem; box-shadow: -12px 0 40px rgba(15,23,42,0.15);
    transform: translateX(110%); visibility: hidden; transition: transform 0.2s ease, visibility 0.2s;
    display: flex; flex-direction: column;
}
.rc-drawer.is-open { transform: translateX(0); visibility: visible; }
.rc-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.rc-drawer-brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.rc-drawer-brand img { height: 36px; width: 36px; object-fit: contain; flex: 0 0 auto; }
.rc-drawer-close {
    min-height: 44px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface); color: var(--text); padding: 0 0.9rem; font: inherit; cursor: pointer;
}
.rc-drawer ul { list-style: none; padding: 0; margin: 0; }
.rc-drawer a { display: flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--text); }
.rc-drawer a[aria-current="page"] { color: var(--primary); font-weight: 700; }
body.menu-open { overflow: hidden; }

.rc-hero { padding: 1.6rem 0 2.1rem; }
.rc-hero-copy { max-width: 38rem; }
.rc-hero-copy > p { color: var(--text-soft); }
.rc-hero-grid, .rc-split, .rc-two, .rc-footer-grid { display: grid; gap: 1.35rem; }
.rc-hero-art {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); min-height: 220px;
}
.rc-hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-page-hero {
    margin: 0; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.rc-page-hero img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: cover; }
.rc-hero-actions, .rc-zip-row { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.rc-hero-actions { margin: 1rem 0 0; }
.rc-trust {
    display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; list-style: none;
    padding: 0; margin: 0.85rem 0 0; color: var(--text-soft); font-size: 0.9rem; font-weight: 600;
}
.rc-trust li::before { content: "✓ "; color: var(--primary); }
.rc-zip {
    margin-top: 1.15rem; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 0.85rem 1rem;
}
.rc-zip-row input { flex: 1 1 10rem; min-width: 0; }
.rc-zip input, .rc-form input, .rc-form select, .rc-form textarea {
    width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--input-bg); color: var(--text); padding: 0.65rem 0.8rem; font: inherit;
}
.rc-zip input::placeholder, .rc-form input::placeholder, .rc-form textarea::placeholder { color: var(--placeholder); }
.rc-zip-msg { margin: 0.5rem 0 0; color: var(--text-muted); }
.rc-zip-msg.ok { color: var(--primary); font-weight: 600; }
.rc-zip-msg.err { color: #991b1b; }

.rc-section { padding: 2.5rem 0; }
.rc-alt { background: var(--surface-2); }
.rc-section-head { max-width: 40rem; margin-bottom: 1.25rem; }
.rc-section-head h2 { margin-bottom: 0.4rem; }
.rc-section-head p { margin: 0; color: var(--text-soft); }
.rc-chip-label { margin: 1.35rem 0 0.35rem; }
.rc-cards, .rc-chips, .rc-towns, .rc-take-grid {
    display: grid; grid-template-columns: 1fr; gap: 0.85rem; padding: 0; list-style: none; margin: 0 0 1rem;
}
.rc-chips, .rc-towns { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.rc-partner-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0 0 1.15rem; }
a.rc-partner { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.rc-partner, .rc-cards article, .rc-panel, .rc-callout, .rc-form {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem;
}
.rc-cards article, .rc-panel, .rc-partner { display: flex; flex-direction: column; min-height: 100%; }
.rc-cards article p, .rc-panel p, .rc-partner p { margin: 0 0 0.75rem; color: var(--text-muted); }
.rc-cards article .text-link, .rc-panel .rc-hero-actions, .rc-partner .text-link { margin-top: auto; }
a.rc-partner:hover, .rc-cards article:hover { border-color: var(--primary); }
.rc-partner-logo { display: block; max-height: 48px; width: auto; margin: 0 0 0.75rem; }
.rc-list { padding-left: 1.1rem; color: var(--text-muted); }
.rc-steps { display: grid; gap: 0.85rem; padding: 0; list-style: none; counter-reset: step; margin: 0; }
.rc-steps li {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.05rem 1.1rem 1.05rem 3.3rem; position: relative;
}
.rc-steps li::before {
    counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem;
    width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--primary); color: #fff;
    display: grid; place-items: center; font-weight: 700;
}
.rc-steps span { display: block; color: var(--text-muted); }
.rc-pills { font-weight: 700; letter-spacing: 0.04em; color: var(--text-soft); }
.rc-chips li, .rc-towns li {
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    padding: 0.5rem 0.85rem; text-align: center; font-size: 0.9rem;
}
.rc-faq-home { max-width: 46rem; }
.rc-faq-home details, .rc-page details {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 0.8rem 1rem; margin: 0.5rem 0;
}
.rc-faq-home summary, .rc-page details summary { cursor: pointer; font-weight: 650; min-height: 28px; }
.rc-cta { background: var(--deep); color: #f8fafc; padding: 2.6rem 0; text-align: center; }
.rc-cta h2, .rc-cta p { color: #f8fafc; }
.rc-cta p { max-width: 40rem; margin: 0 auto 0.25rem; }
.rc-cta-actions { justify-content: center; margin-top: 1.1rem; }
.rc-cta .btn-ghost { color: var(--text); }

.rc-page { padding: 0; background: linear-gradient(var(--surface-2) 0 12.5rem, transparent 12.5rem); }
.rc-page .rc-wrap { padding: 1.6rem 0 3.4rem; }
.rc-page .rc-wrap > * + *:not(script) { margin-top: 1.1rem; }
.rc-page .lead { max-width: 62ch; }
.rc-page h2 { margin-top: 0.4rem; }
.rc-form-split { display: grid; gap: 1.35rem; }
.rc-form { max-width: 640px; display: grid; gap: 0.85rem; }
.rc-form label { font-weight: 600; }
.rc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rc-alert { padding: 0.8rem 1rem; border-radius: 10px; }
.rc-alert.ok { background: #ecfdf3; color: #166534; }
.rc-alert.err { background: #fef2f2; color: #991b1b; }
.rc-form .is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.rc-footer { background: var(--deep); color: #d6e4f5; padding: 2.4rem 0 1.2rem; }
.rc-footer a { color: #d6e4f5; }
.rc-footer-logo { display: block; height: 88px; width: auto; margin: 0 0 0.85rem; }
.rc-footer h2 { color: #fff; font-size: 0.9rem; margin: 0 0 0.6rem; }
.rc-footer ul { list-style: none; padding: 0; margin: 0; }
.rc-footer li { margin: 0.2rem 0; }
.rc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.5rem; padding-top: 1rem;
    display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
}

.rc-sticky-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    gap: 0.5rem; padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
}
.rc-sticky-cta .btn { flex: 1; }

@media (min-width: 640px) {
    .rc-cards { grid-template-columns: 1fr 1fr; }
    .rc-take-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
    .rc-wrap { width: min(100% - 2rem, var(--wrap)); }
    .rc-nav { display: flex; }
    .rc-header-cta { display: inline-flex; }
    .rc-burger { display: none; }
    .rc-hero { padding: 2rem 0 2.5rem; }
    .rc-hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
    .rc-hero-art img { min-height: 100%; max-height: 420px; }
    .rc-split, .rc-two { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
    .rc-footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr; }
    .rc-steps { grid-template-columns: repeat(3, 1fr); }
    .rc-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-section { padding: 3rem 0; }
}
@media (min-width: 900px) {
    .rc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rc-form-split { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); align-items: start; }
    .rc-form-split .rc-form { position: sticky; top: calc(var(--header-h) + 0.85rem); max-width: none; }
}
@media (min-width: 1100px) {
    .rc-phone { display: inline; }
}
@media (max-width: 767px) {
    .rc-header-cta { display: none; }
    .rc-sticky-cta { display: flex; }
    .rc-no-sticky .rc-sticky-cta { display: none; }
    body:not(.rc-no-sticky) { padding-bottom: 5.4rem; }
}
@media (max-width: 420px) {
    .rc-logo-text small { display: none; }
}
