:root {
    --bg: #f5f7fa;
    --surface: #fff;
    --ink: #172337;
    --muted: #5d6d82;
    --line: #e2e8f0;
    --brand: #2457a6;
    --brand-hover: #1e478a;
    --accent: #e9a23b;
    --accent-soft: #fff3d9;
    --wordmark-accent: #80530f;
    --red: #2457a6;
    --red-ink: #fff;
    --gold: #925b12;
    --ok: #18794e;
    box-sizing: border-box;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #111827;
        --surface: #1b2638;
        --ink: #eef3fb;
        --muted: #b4c0d1;
        --line: #344155;
        --brand: #82b3ff;
        --brand-hover: #a7caff;
        --accent: #f2bd65;
        --accent-soft: #443820;
        --wordmark-accent: #f2bd65;
        --red: #82b3ff;
        --red-ink: #111827;
        --gold: #f2bd65;
        --ok: #75d6a7;
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
    margin: 0;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, "Helvetica Neue", "Segoe UI", sans-serif;
    font-size: 18px;
    line-height: 1.6;
}
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
header { position: relative; overflow: hidden; background: linear-gradient(115deg, #183b56 0%, #244e70 65%, #336b85 100%); color: #fff; border-bottom: 5px solid var(--accent); }
header::after { position: absolute; top: 80px; right: -110px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; pointer-events: none; }
header::before { position: absolute; top: 145px; right: -45px; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; pointer-events: none; }
.top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { color: #fff; font-weight: 800; font-size: 25px; letter-spacing: .2px; text-decoration: none; }
.brand span { color: #f2bd65; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #e0e6f1; font-size: 15px; text-decoration: none; }
.site-nav a:hover, .footer-links a:hover { color: #f2bd65; }
.site-nav .nav-action { min-height: 44px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 8px; color: #fff; font-weight: 600; }
.site-nav .secondary-action { min-height: 44px; padding: 7px 11px; border-color: rgba(255,255,255,.2); font-size: 14px; }
.hero { position: relative; z-index: 1; max-width: 760px; padding: 64px 0 56px; }
.hero-kicker, .section-kicker { margin: 0 0 10px; color: #f2bd65; font-size: 14px; font-weight: 700; letter-spacing: .8px; }
.location-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(233,162,59,.18); }
h1 { max-width: 690px; margin: 0 0 14px; font-size: clamp(38px, 6vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -.6px; }
.hero > p:not(.hero-kicker) { max-width: 530px; margin: 0 0 25px; color: #e5edf7; font-size: 20px; }
.search { display: flex; gap: 9px; flex-wrap: wrap; max-width: 720px; padding: 8px; border-radius: 12px; background: var(--surface); box-shadow: 0 12px 35px rgba(0,0,0,.16); }
input, select, textarea, button { font: inherit; color: inherit; }
.search input { flex: 1 1 220px; }
.search-field { display: flex; flex: 1 1 250px; min-width: 0; align-items: center; gap: 9px; padding-left: 8px; color: var(--muted); font-size: 25px; }
.search-field input { min-width: 0; padding-left: 0; border: 0; outline: 0; box-shadow: none; font-size: 17px; }
.search-field input:focus-visible { outline: none; }
input, select, textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
}
.search input, .search select { background: var(--surface); color: var(--ink); border-color: var(--line); width: auto; }
button { cursor: pointer; border: 0; border-radius: 8px; padding: 11px 18px; font-weight: 600; }
.primary { background: var(--red); color: var(--red-ink); }
.search .primary { padding-inline: 25px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 17px; color: #e5edf7; font-size: 15px; }
.hero-note span { color: #f2bd65; font-weight: 800; }
.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.category-section { padding: 40px 0 30px; scroll-margin-top: 24px; }
.section-intro, .listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-intro h2, .listing-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 32px); line-height: 1.2; }
.section-intro p:not(.section-kicker) { margin: 5px 0 0; color: var(--muted); }
.section-kicker { margin-bottom: 5px; color: var(--brand-hover); font-size: 14px; }
.text-link { flex: 0 0 auto; padding-bottom: 4px; color: var(--ink); font-weight: 600; text-decoration: none; }
.text-link span { color: var(--red); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-card { position: relative; display: flex; min-width: 0; min-height: 142px; flex-direction: column; align-items: flex-start; gap: 5px; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); text-align: left; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.category-card:hover { transform: translateY(-3px); border-color: #b9c9df; box-shadow: 0 8px 22px rgba(23,35,55,.08); }
.category-number { display: grid; width: 34px; height: 34px; margin-bottom: 3px; place-items: center; border-radius: 8px; background: var(--accent-soft); color: #80530f; font-size: 14px; font-weight: 700; }
.category-card-title { max-width: 92%; font-size: 16px; font-weight: 800; line-height: 1.2; }
.category-card-description { max-width: 95%; color: var(--muted); font-size: 15px; line-height: 1.45; }
.category-arrow { position: absolute; top: 16px; right: 15px; color: #7b8ba2; }
nav.tabs { display: flex; gap: 4px; margin: 22px 0 16px; border-bottom: 2px solid var(--line); overflow-x: auto; overscroll-behavior-inline: contain; }
nav.tabs button { min-height: 48px; background: none; border-radius: 8px 8px 0 0; color: var(--muted); white-space: nowrap; border-bottom: 4px solid transparent; margin-bottom: -2px; }
nav.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.listing-heading { margin: 26px 0 14px; scroll-margin-top: 20px; }
.listing-heading .meta { max-width: 350px; text-align: right; }
.how-it-works { margin: 42px 0 30px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step-card { padding-top: 15px; border-top: 2px solid var(--line); }
.step-card > span { color: var(--brand-hover); font-size: 14px; font-weight: 700; letter-spacing: .6px; }
.step-card h3 { margin: 8px 0 4px; font-size: 18px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }
.home-services, .customer-gallery { margin: 54px 0; scroll-margin-top: 24px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-service-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 5px 20px rgba(23,35,55,.045); }
.service-photo, .service-art { display: grid; width: 100%; height: 190px; object-fit: cover; }
.service-art { position: relative; overflow: hidden; align-content: center; justify-items: center; gap: 7px; background: radial-gradient(ellipse at 78% 20%, rgba(255,255,255,.8), transparent 28%), linear-gradient(135deg,#e8f0fb,#cbdcf0); color: #1d4168; }
.service-art::before, .service-art::after { position: absolute; width: 190px; height: 190px; border: 1px solid rgba(23,35,55,.1); border-radius: 50%; content: ""; }
.service-art::before { top: -125px; left: -50px; }
.service-art::after { right: -80px; bottom: -145px; width: 250px; height: 250px; }
.service-art-icon { z-index: 1; display: grid; width: 76px; height: 76px; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: rgba(255,255,255,.62); color: var(--red); font-size: 40px; box-shadow: 0 8px 25px rgba(23,35,55,.1); }
.service-art-label { z-index: 1; font-size: 14px; font-weight: 700; }
.service-card-body { display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; padding: 17px; }
.service-category { color: var(--brand-hover); font-size: 14px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.service-card-body h3 { margin: 5px 0; font-size: 19px; line-height: 1.25; }
.service-card-body p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.service-card-body a { margin-top: auto; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.service-card-body a span { color: var(--red); }
.impact-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 56px 0; padding: 29px; border-radius: 14px; background: #1b3e5d; color: #fff; }
.impact-strip > div { display: grid; gap: 2px; }
.impact-strip strong { color: #f2bd65; font-size: clamp(34px, 5vw, 48px); line-height: 1; }
.impact-strip span { color: #e5edf7; font-size: 16px; }
.impact-strip > p { grid-column: 1 / -1; margin: 8px 0 0; color: #d4dfed; font-size: 14px; }
.home-about { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; margin: 58px 0; padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.about-mark { display: grid; width: 150px; height: 150px; place-items: center; border-radius: 50%; background: #e7eef8; color: var(--brand-hover); font-size: 68px; font-weight: 800; }
.about-mark span { color: var(--accent); }
.home-about h2 { max-width: 600px; margin: 0 0 10px; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; }
.home-about p:not(.section-kicker) { max-width: 680px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.gallery-card { position: relative; min-height: 230px; margin: 0; overflow: hidden; border-radius: 12px; background: var(--surface); }
.gallery-card img { display: block; width: 100%; height: 280px; object-fit: cover; }
.gallery-card figcaption { padding: 11px 14px; background: var(--surface); font-size: 14px; font-weight: 600; }
.gallery-empty { display: grid; min-height: 180px; padding: 24px; place-content: center; justify-items: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.gallery-empty > span { color: var(--accent); font-size: 32px; }
.gallery-empty p { max-width: 490px; margin: 8px 0 0; }
.bar select { width: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { min-height: 44px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--surface); font-size: 15px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: 14px; }
.card { min-width: 0; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 19px; }
.meta { color: var(--muted); font-size: 15px; }
.rate { font-weight: 800; font-size: 20px; }
.rate small { font-weight: 400; color: var(--muted); font-size: 14px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.badge { font-size: 14px; font-weight: 600; color: var(--ok); border: 1.5px solid var(--ok); border-radius: 99px; padding: 1px 8px; }
.best { background: #fff0cd; color: #65430f; border-radius: 99px; padding: 2px 10px; font-size: 14px; font-weight: 700; }
.stars { color: var(--gold); font-weight: 700; }
.actions { display: flex; gap: 8px; margin-top: 6px; }
.actions a, .actions button { flex: 1; text-align: center; text-decoration: none; padding: 9px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.actions a { background: var(--ink); color: var(--bg); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 20px; max-width: 620px; }
.panel label { display: block; font-weight: 600; margin: 12px 0 4px; }
.panel h2 { margin-top: 0; }
.empty { padding: 28px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); }
.req { margin-bottom: 12px; }
.req p { margin: 6px 0; }
.form-submit { margin: 16px 0 0; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 8px; font-weight: 600; z-index: 5; max-width: calc(100% - 32px); text-align: center; }
.toast.error { background: #873d37; color: #fff; }
footer { padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding-top: 23px; border-top: 1px solid var(--line); }
.footer-brand { color: var(--ink); font-size: 21px; }
.footer-inner p { margin: 5px 0 0; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links { max-width: 490px; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer-links > strong { flex-basis: 100%; color: var(--muted); font-size: 14px; letter-spacing: .5px; text-align: right; text-transform: uppercase; }
.follow-label { margin-top: 6px; }
.social-links { display: flex; flex-basis: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.social-links a { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; }
.social-links .muted { font-size: 14px; }
.home-service-card, .gallery-card, .content-card, .faq-list details { min-width: 0; overflow-wrap: anywhere; }
.page-form input, .page-form select, .page-form textarea { max-width: 100%; }
input[type="file"] { max-width: 100%; }
.footer-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-note { grid-column: 1 / -1; font-size: 14px; }
.page-header { border-bottom-width: 2px; }
.page-header-inner { position: relative; z-index: 1; display: flex; width: 100%; max-width: 1120px; min-height: 76px; margin: 0 auto; padding: 10px 24px; align-items: center; justify-content: space-between; gap: 20px; }
.page-wrap { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.content-page { min-height: 60vh; padding-top: 48px; padding-bottom: 56px; }
.content-page > h1 { max-width: 760px; margin-bottom: 12px; font-size: clamp(36px, 5vw, 52px); }
.page-lead { max-width: 700px; margin: 0 0 26px; color: var(--muted); font-size: 19px; }
.content-card { margin: 14px 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.content-card h2 { margin-top: 0; }
.content-page > .content-card { max-width: 760px; }
.content-page > .section-intro { margin-top: 30px; }
.page-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.primary-link, .plain-link { display: inline-flex; min-height: 44px; padding: 10px 17px; align-items: center; justify-content: center; border: 0; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.primary-link { background: var(--red); color: var(--red-ink); }
.plain-link { background: transparent; color: var(--ink); }
.page-form { display: grid; gap: 8px; max-width: 650px; }
.page-form label { margin-top: 8px; font-weight: 600; }
.page-form .fine-print { margin: 8px 0; }
.page-form .button-submit { justify-self: start; }
.page-form input, .page-form select, .page-form textarea { min-width: 0; }
.page-form textarea { resize: vertical; }
.narrow-form { max-width: 520px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row > div { min-width: 0; }
.fine-print { color: var(--muted); font-size: 14px; }
.fine-print a { color: var(--ink); font-weight: 600; }
.faq-list { display: grid; max-width: 760px; gap: 10px; }
.faq-list details { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq-list summary { color: var(--ink); font-weight: 700; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }
.site-footer { padding-top: 24px; padding-bottom: 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.site-footer nav a { color: var(--ink); text-decoration: none; }
.site-footer .fine-print { margin-top: 16px; }
.confirmation-card { max-width: 700px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.confirmation-card h1 { font-size: clamp(34px, 5vw, 48px); }
.account-logout { margin: -12px 0 22px; }
.account-logout button { padding-left: 0; }
.empty-account a { color: var(--ink); font-weight: 700; }
.account-bookings { display: grid; max-width: 760px; gap: 12px; }
.account-booking h3 { margin: 0; }
.account-booking p { margin: 7px 0 0; }
.status-badge { padding: 4px 11px; border-radius: 99px; background: #fff0cd; color: #65430f; font-size: 14px; font-weight: 700; }
.billing-notice { display: flex; gap: 15px; align-items: flex-start; margin: 12px 0 24px; padding: 17px 20px; border: 1px solid #edc58f; border-radius: 12px; background: #fff7eb; color: #45331d; }
.billing-icon { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #f8e4c7; color: #77410e; font-size: 22px; }
.billing-notice strong { font-size: 17px; }
.billing-notice p { margin: 3px 0 0; font-size: 15px; }
.review-form { display: grid; gap: 8px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.review-form label { margin-top: 3px; font-size: 16px; font-weight: 700; }
.review-form select, .review-form textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.review-form button { justify-self: start; margin-top: 5px; }
.submitted-review { margin-top: 15px; padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--bg); }
.submitted-review strong { color: var(--gold); }
.submitted-review p { margin: 5px 0 0; }
.public-reviews { display: grid; gap: 8px; margin-top: 14px; }
.public-reviews blockquote { margin: 0; padding: 11px 12px; border-left: 3px solid var(--gold); border-radius: 0 7px 7px 0; background: var(--bg); }
.public-reviews blockquote p { margin: 4px 0; font-size: 14px; }
.public-reviews cite { color: var(--muted); font-size: 14px; font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
[hidden] { display: none !important; }

@media (max-width: 960px) {
    .top { flex-wrap: wrap; padding: 8px 0; }
    .top > .brand { margin-right: auto; }
    .top > .site-nav { width: 100%; flex-wrap: wrap; gap: 4px 16px; padding: 4px 0; }
    .site-nav a { display: inline-flex; min-height: 44px; align-items: center; }
    .page-header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
    .page-header-inner > .brand { margin-right: auto; }
    .page-header-inner > .site-nav { width: 100%; flex-wrap: wrap; gap: 4px 16px; padding: 4px 0; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .wrap { padding: 0 18px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding: 49px 0 42px; }
    .site-nav { gap: 15px; }
    .site-nav a { font-size: 14px; }
    .page-header-inner { flex-wrap: wrap; padding: 10px 18px; }
    .page-header-inner .site-nav { width: 100%; flex-wrap: wrap; overflow: visible; justify-content: flex-start; padding-bottom: 4px; }
    .home-service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .top { min-height: 66px; }
    .top { flex-wrap: wrap; }
    .site-nav { width: 100%; flex-wrap: wrap; gap: 4px 10px; overflow: visible; justify-content: flex-start; padding-bottom: 8px; }
    .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
    .page-header-inner .site-nav a:first-child { display: inline; }
    .site-nav a:first-child { display: inline; }
    .site-nav .nav-action { min-height: 44px; padding: 7px 10px; font-size: 14px; }
    .hero { padding: 38px 0 35px; }
    h1 { font-size: 40px; }
    .hero > p:not(.hero-kicker) { font-size: 17px; }
    .search { padding: 7px; }
    .search-field, .search input, .search select, .search button { width: 100%; }
    .search-field { flex-basis: 100%; }
    .search .primary { min-height: 46px; }
    nav.tabs { flex-wrap: wrap; gap: 8px; overflow: visible; border-bottom: 0; }
    nav.tabs button { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; margin: 0; white-space: normal; line-height: 1.2; }
    nav.tabs button[aria-selected="true"] { border-color: var(--red); background: var(--surface); }
    .section-intro, .listing-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .listing-heading .meta { text-align: left; }
    .how-it-works { margin: 30px 0 24px; padding: 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 14px; }
    .grid { grid-template-columns: 1fr; }
    .home-service-grid, .gallery-grid { grid-template-columns: 1fr; }
    .home-services, .customer-gallery { margin: 38px 0; }
    .home-about { grid-template-columns: 1fr; padding: 22px; }
    .about-mark { width: 90px; height: 90px; font-size: 44px; }
    .impact-strip { gap: 14px; padding: 22px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
    .footer-links > strong { text-align: left; }
    .social-links { justify-content: flex-start; }
    .footer-note { grid-column: auto; }
    .page-wrap { padding-right: 18px; padding-left: 18px; }
    .content-page { padding-top: 34px; }
    .page-lead { font-size: 17px; }
    .form-row { grid-template-columns: 1fr; gap: 4px; }
    .confirmation-card { padding: 20px; }
}

@media (max-width: 380px) {
    .wrap { padding-right: 14px; padding-left: 14px; }
    .page-wrap { padding-right: 14px; padding-left: 14px; }
    .page-header-inner { padding-right: 14px; padding-left: 14px; }
    .category-grid { gap: 8px; }
    .category-card { min-height: 132px; padding: 12px; }
    .category-card-title { font-size: 15px; }
    .billing-notice { gap: 10px; padding: 14px; }
    .content-card { padding: 17px; }
    .actions { flex-wrap: wrap; }
    .actions a, .actions button { min-width: 110px; }
}

.wrap { max-width: 1240px; }
.home-header {
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}
.home-header::before, .home-header::after { content: none; }
.home-header .top {
    min-height: 82px;
    border-bottom: 1px solid var(--line);
}
.page-header {
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}
.page-header::before, .page-header::after { content: none; }
.page-header-inner { max-width: 1240px; min-height: 82px; border: 0; }
.home-header .brand, .page-header .brand, .footer-brand {
    color: var(--brand);
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1.1px;
}
.home-header .brand span, .page-header .brand span, .footer-brand span {
    display: inline-block;
    margin-left: 3px;
    padding: 1px 6px 2px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--wordmark-accent);
    font-size: .68em;
    line-height: 1.25;
    letter-spacing: -.2px;
    vertical-align: .13em;
}
.home-header .site-nav { gap: clamp(12px, 2vw, 26px); }
.home-header .site-nav a {
    min-height: 44px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.home-header .site-nav a:hover { color: var(--brand); }
.page-header .site-nav { gap: clamp(12px, 2vw, 26px); }
.page-header .site-nav a {
    min-height: 44px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.page-header .site-nav a:hover { color: var(--brand); }
.home-header .site-nav .nav-action {
    padding: 10px 17px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: var(--red-ink);
    font-weight: 700;
    transition: background-color .16s ease, transform .16s ease;
}
.home-header .site-nav .nav-action:hover { transform: translateY(-1px); background: var(--brand-hover); color: var(--red-ink); }
.page-header .site-nav .nav-action {
    padding: 10px 17px;
    border: 0;
    border-radius: 8px;
    background: var(--brand);
    color: var(--red-ink);
    font-weight: 700;
}
.page-header .site-nav .nav-action:hover { background: var(--brand-hover); color: var(--red-ink); }
.hero {
    display: grid;
    width: 100%;
    max-width: none;
    min-height: 490px;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: center;
    gap: clamp(26px, 5vw, 70px);
    padding: 48px 0 58px;
}
.hero-copy { min-width: 0; }
.hero-kicker {
    display: flex;
    align-items: center;
    color: var(--brand-hover);
    font-size: 14px;
    letter-spacing: .7px;
}
.location-dot { background: #e9a23b; box-shadow: 0 0 0 4px rgba(233,162,59,.16); }
.hero h1 {
    max-width: 640px;
    margin: 0 0 17px;
    color: var(--ink);
    font-size: clamp(42px, 5.2vw, 66px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
}
.hero-copy > p:not(.hero-kicker) {
    max-width: 570px;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
}
.search {
    display: grid;
    max-width: 720px;
    grid-template-columns: minmax(0, 1fr) minmax(145px, auto) auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 32px rgba(23, 35, 55, .1);
}
.search-field { min-height: 48px; flex-basis: auto; padding-left: 10px; }
.search-field input { min-height: 44px; }
.search input, .search select { min-height: 48px; border-color: var(--line); }
.search select { max-width: 200px; padding-inline: 12px; }
.search .primary {
    min-height: 48px;
    padding-inline: 20px;
    border-radius: 8px;
    background: var(--brand);
    color: var(--red-ink);
    white-space: nowrap;
}
.search .primary:hover { background: var(--brand-hover); }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust b { color: var(--ok); font-size: 16px; }
.hero-provider-link { display: inline-flex; flex-wrap: wrap; gap: 5px; margin-top: 23px; color: var(--muted); font-size: 14px; text-decoration: none; }
.hero-provider-link strong { color: var(--brand); }
.hero-visual {
    position: relative;
    min-width: 0;
    aspect-ratio: 1.16;
    border-radius: 28px;
    background: #e7eef8;
}
.hero-visual > img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.hero-float-card {
    position: absolute;
    display: flex;
    min-width: 220px;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(23,35,55,.08);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(23,35,55,.14);
}
.hero-float-card > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: var(--accent-soft);
    color: #80530f;
    font-size: 22px;
    font-weight: 800;
}
.hero-float-card div { display: grid; gap: 2px; }
.hero-float-card strong { color: var(--ink); font-size: 14px; }
.hero-float-card small { color: var(--muted); font-size: 13px; }
.hero-float-card-top { top: 12%; left: -32px; }
.hero-float-card-bottom { right: -24px; bottom: 10%; }
.category-section { padding: 48px 0 32px; }
.section-intro { align-items: end; }
.section-intro h2, .listing-heading h2 { color: var(--ink); font-size: clamp(27px, 3vw, 36px); letter-spacing: -.7px; }
.section-intro p:not(.section-kicker) { color: var(--muted); font-size: 16px; }
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card {
    min-height: 158px;
    justify-content: flex-start;
    gap: 8px;
    padding: 18px;
    border-color: var(--line);
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(23,35,55,.035);
}
.category-card:hover { transform: translateY(-3px); border-color: #a9bfdc; box-shadow: 0 10px 24px rgba(23,35,55,.09); }
.category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 2px;
    place-items: center;
    border-radius: 12px;
    background: #e8f0fb;
    color: var(--brand);
    font-size: 22px;
    font-weight: 700;
}
.category-card:nth-child(3n + 2) .category-icon { background: var(--accent-soft); color: #80530f; }
.category-card-title { max-width: 100%; font-size: 16px; line-height: 1.3; }
.category-card-description { max-width: 100%; font-size: 14px; line-height: 1.4; }
.category-arrow { top: 20px; right: 17px; color: var(--brand); font-size: 18px; }
.billing-notice { max-width: 100%; border-color: #edc58f; border-radius: 12px; }
.tabs { margin-top: 35px; }
.tabs button { min-height: 50px; padding-inline: 18px; font-weight: 700; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.listing-heading { padding-top: 10px; }
.chips .chip { background: var(--surface); }
.chips .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--red-ink); }
.card, .panel, .home-service-card, .how-it-works, .home-about {
    border-color: var(--line);
    border-radius: 13px;
    box-shadow: 0 4px 18px rgba(23,35,55,.045);
}
.actions a { background: var(--brand); color: var(--red-ink); }
.actions a:hover { background: var(--brand-hover); }
.impact-strip { background: #1b3e5d; }
.home-about { padding: clamp(22px, 4vw, 40px); }
.site-footer { margin-top: 64px; padding-bottom: 44px; }
.footer-links a:hover { color: var(--brand); }

@media (max-width: 960px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 28px; }
    .hero h1 { font-size: clamp(40px, 5vw, 56px); }
    .search { grid-template-columns: minmax(0, 1fr) auto; }
    .search-field { grid-column: 1 / -1; }
    .search select { max-width: none; }
    .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-header .site-nav { gap: 10px; }
    .home-header .site-nav a { font-size: 14px; }
    .page-header-inner .site-nav { gap: 10px; }
    .page-header .site-nav a { font-size: 14px; }
}
@media (max-width: 760px) {
    .home-header .top { padding: 12px 0; }
    .home-header .site-nav { gap: 4px 14px; }
    .hero { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 42px 0 48px; }
    .hero-copy { max-width: 650px; }
    .hero-visual { width: min(100%, 560px); justify-self: center; }
    .hero-float-card-top { left: -12px; }
    .hero-float-card-bottom { right: -12px; }
    .category-section { padding-top: 36px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .home-header .top { align-items: flex-start; }
    .home-header .site-nav { padding-bottom: 4px; }
    .home-header .site-nav a { font-size: 14px; }
    .home-header .site-nav .nav-action { padding: 8px 12px; }
    .page-header .site-nav { padding-bottom: 4px; }
    .page-header .site-nav a { font-size: 14px; }
    .hero { gap: 26px; padding: 34px 0 38px; }
    .hero h1 { font-size: clamp(38px, 11vw, 48px); letter-spacing: -1.3px; }
    .hero-copy > p:not(.hero-kicker) { font-size: 17px; }
    .search { grid-template-columns: 1fr; gap: 7px; padding: 9px; }
    .search-field { grid-column: auto; }
    .search select { width: 100%; max-width: none; }
    .hero-trust { gap: 8px 12px; font-size: 13px; }
    .hero-visual { width: calc(100% - 20px); }
    .hero-float-card { min-width: 0; padding: 9px 11px; gap: 8px; }
    .hero-float-card > span { width: 36px; height: 36px; }
    .hero-float-card strong { font-size: 13px; }
    .hero-float-card small { font-size: 12px; }
    .hero-float-card-top { top: 8%; left: -10px; }
    .hero-float-card-bottom { right: -10px; bottom: 7%; }
    .category-grid { gap: 9px; }
    .category-card { min-height: 150px; padding: 13px; }
    .category-icon { width: 38px; height: 38px; }
    .category-card-title { font-size: 15px; }
    .category-card-description { font-size: 13px; }
}

.provider-page { background: var(--bg); }
.provider-hero { overflow: hidden; background: linear-gradient(115deg, #edf3fb 0%, #f4f7fb 56%, #fff6e8 100%); }
.provider-hero-inner {
    display: grid;
    width: 100%;
    max-width: 1240px;
    min-height: 490px;
    margin: auto;
    padding: 46px 24px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
    align-items: center;
    gap: clamp(30px, 6vw, 84px);
}
.provider-hero-copy { max-width: 650px; }
.provider-hero-copy .section-kicker, .provider-form-aside .section-kicker { color: var(--brand); }
.provider-hero-copy h1 { max-width: 620px; color: var(--ink); font-size: clamp(42px, 5vw, 62px); line-height: 1.06; letter-spacing: -1.8px; }
.provider-hero-copy > p:not(.section-kicker) { max-width: 570px; color: var(--muted); font-size: 19px; }
.provider-hero-cta { gap: 9px; margin-top: 5px; background: var(--brand); color: var(--red-ink); }
.provider-hero-cta:hover { background: var(--brand-hover); }
.provider-hero-note { margin-top: 14px; font-size: 14px !important; }
.provider-hero-art { position: relative; width: 100%; aspect-ratio: 1.16; border-radius: 24px; background: #e1ebf7; }
.provider-hero-art > img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.provider-art-card { position: absolute; right: -20px; bottom: 12%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(23,35,55,.08); border-radius: 12px; background: var(--surface); box-shadow: 0 12px 32px rgba(23,35,55,.13); color: var(--ink); font-size: 16px; line-height: 1.35; }
.provider-art-card span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: var(--accent-soft); color: #80530f; font-size: 23px; }
.provider-benefits, .provider-process { padding-top: 60px; padding-bottom: 14px; }
.provider-section-intro { max-width: 760px; }
.provider-section-intro h2, .provider-form-aside h2 { max-width: 700px; color: var(--ink); font-size: clamp(29px, 4vw, 40px); line-height: 1.15; letter-spacing: -.9px; }
.provider-section-intro p:not(.section-kicker) { max-width: 680px; font-size: 16px; }
.provider-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 25px; }
.provider-benefit-card { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.provider-benefit-card > span { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 12px; background: #e8f0fb; color: var(--brand); font-size: 23px; font-weight: 700; }
.provider-benefit-card:nth-child(2) > span { background: var(--accent-soft); color: #80530f; }
.provider-benefit-card h3 { margin: 16px 0 5px; font-size: 19px; }
.provider-benefit-card p { margin: 0; color: var(--muted); font-size: 15px; }
.provider-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; padding: 0; margin: 24px 0 6px; list-style: none; }
.provider-steps li { min-width: 0; padding: 18px 16px; border-top: 3px solid var(--brand); border-radius: 0 0 11px 11px; background: var(--surface); }
.provider-steps li > span { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .7px; }
.provider-steps h3 { margin: 10px 0 5px; font-size: 17px; }
.provider-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.provider-application-section { margin-top: 60px; padding: 58px 0; background: #edf2f8; }
.provider-form-layout { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(28px, 5vw, 66px); }
.provider-form-aside { position: sticky; top: 30px; padding-top: 15px; }
.provider-form-aside h2 { font-size: clamp(28px, 3.5vw, 38px); }
.provider-form-aside > p:not(.section-kicker) { color: var(--muted); font-size: 16px; }
.provider-form-aside ul { display: grid; gap: 11px; padding-left: 22px; color: var(--ink); font-size: 15px; }
.provider-form { width: 100%; max-width: 760px; margin: 0; padding: clamp(20px, 3vw, 34px); }
.provider-form h3 { margin: 0 0 12px; font-size: 23px; }
.provider-form label { font-size: 15px; }
.provider-form .button-submit { margin-top: 8px; background: var(--brand); color: var(--red-ink); }
.provider-form .button-submit:hover { background: var(--brand-hover); }
.provider-business-fields { display: grid; gap: 5px; }
.provider-business-fields[hidden] { display: none; }
.provider-business-fields .fine-print { margin: 0; }
.provider-form .fine-print { max-width: 600px; }
.provider-page + footer { margin-top: 0; }
.status.contacted { background: #e8f0fb; color: #244d83; }
.status.rejected { background: #f7e8e5; color: #873d37; }

@media (max-width: 760px) {
    .provider-hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding-top: 38px; padding-bottom: 42px; }
    .provider-hero-art { width: min(100%, 560px); justify-self: center; }
    .provider-benefit-grid { grid-template-columns: 1fr; }
    .provider-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .provider-form-layout { grid-template-columns: 1fr; gap: 18px; }
    .provider-form-aside { position: static; }
    .provider-application-section { margin-top: 40px; padding: 40px 0; }
}
@media (max-width: 560px) {
    .provider-hero-inner { padding: 30px 18px 35px; }
    .provider-hero-copy h1 { font-size: 40px; }
    .provider-hero-copy > p:not(.section-kicker) { font-size: 17px; }
    .provider-art-card { right: -8px; padding: 10px 12px; font-size: 14px; }
    .provider-art-card span { width: 36px; height: 36px; }
    .provider-benefits, .provider-process { padding-top: 40px; }
    .provider-steps { grid-template-columns: 1fr; gap: 10px; }
}
