:root {
    --background: #fbfdff;
    --foreground: #172033;
    --card: #ffffff;
    --card-foreground: #171717;
    --primary: #0f766e;
    --primary-hover: #0b5f59;
    --primary-foreground: #ffffff;
    --secondary: #ecfdf5;
    --muted: #f4f7fb;
    --muted-foreground: #5b6474;
    --accent: #f97316;
    --success: #168a29;
    --border: #d8dce3;
    --ring: rgba(15, 118, 110, 0.24);
    --radius: 0.65rem;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body {
    margin: 0;
    color: var(--foreground);
    background: var(--background);
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.16;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--primary-foreground);
    background: var(--primary);
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--background);
    border-bottom: 1px solid rgba(216, 220, 227, 0.85);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: max-content;
}

.brand-logo {
    width: 205px;
    height: auto;
    display: block;
    object-fit: contain;
}

.brand-mark {
    position: relative;
    width: 31px;
    height: 43px;
    flex: 0 0 31px;
}

.brand-mark i {
    position: absolute;
    top: 0;
    width: 10px;
    height: 43px;
    transform: skew(-12deg);
}

.brand-mark i:first-child {
    left: 2px;
    background: #0f766e;
}

.brand-mark i:last-child {
    right: 2px;
    background: #f97316;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    line-height: 0.88;
    letter-spacing: -0.035em;
}

.brand-copy small {
    margin-top: 5px;
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.phone-link strong,
.phone-link small {
    display: block;
}

.phone-link strong {
    color: #134e4a;
    font-size: 17px;
    line-height: 1.2;
}

.phone-link small {
    color: var(--muted-foreground);
    font-size: 12px;
}

.icon-circle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary);
    background: var(--muted);
}

.button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.1;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.menu-button:focus-visible,
.accordion-item button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 2px;
}

.button-primary {
    color: var(--primary-foreground);
    background: var(--primary);
    box-shadow: 0 1px 2px rgba(32, 24, 103, 0.2);
}

.button-primary:hover {
    background: var(--primary-hover);
}

.button-outline {
    border-color: #b8bec9;
    color: #20242c;
    background: var(--background);
}

.button-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0fdfa;
}

.menu-button {
    width: 44px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
}

.menu-button span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--foreground);
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
    border-top: 1px solid #edf0f4;
    color: #445066;
    background: rgba(255, 255, 255, 0.92);
}

.nav-links {
    min-height: 46px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    max-width: 980px;
    text-align: center;
}

.nav-links a {
    padding: 12px 10px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover {
    color: var(--primary);
    background: #ecfdf5;
}

.mobile-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border);
    color: #fff;
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

.mobile-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 18px;
    font-weight: 700;
}

.hero {
    width: min(calc(100% - 40px), 1280px);
    min-height: 485px;
    margin: 28px auto 0;
    overflow: hidden;
    border: 1px solid #cfe7e3;
    border-radius: 24px;
    background-color: #effcf9;
    background-image: linear-gradient(90deg, #f0fdfa 0%, rgba(240, 253, 250, 0.98) 39%, rgba(240, 253, 250, 0.3) 65%, rgba(240, 253, 250, 0.04) 100%), url("bg3.png");
    background-position: center, 74% 52%;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 24px 60px rgba(15, 118, 110, 0.11);
}

.hero-inner {
    min-height: 485px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(670px, 60%);
    padding: 58px 0 88px;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 10px;
    color: #13213a;
    font-size: clamp(34px, 3.8vw, 49px);
    font-weight: 800;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--primary);
}

.hero-lead {
    margin-bottom: 28px;
    max-width: 570px;
    color: #4c596e;
    font-size: clamp(18px, 1.8vw, 23px);
    line-height: 1.5;
}

.benefit-list {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #28364d;
    font-size: clamp(16px, 1.5vw, 20px);
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-list span {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: var(--primary);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.trust-badge {
    position: absolute;
    right: 3.5%;
    bottom: 34px;
    width: 82px;
    filter: drop-shadow(0 5px 10px rgba(14, 53, 92, 0.18));
}

.trust-badge img {
    width: 100%;
}

.trust-badge-copy {
    display: none;
}

.search-strip {
    position: relative;
    z-index: 3;
    margin-top: -48px;
    padding: 0;
    border: 0;
    background: transparent;
}

.search-strip > .container {
    padding: 25px 28px 22px;
    border: 1px solid #dce4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
}

.search-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(210px, 0.86fr) 44px minmax(220px, 0.9fr);
    align-items: end;
    gap: 24px;
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: #344258;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

input,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    background: var(--background);
    box-shadow: var(--shadow-sm);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:hover,
select:hover {
    border-color: #a9afba;
}

input:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--ring);
    outline: none;
}

input {
    padding: 10px 14px;
}

select {
    appearance: none;
    padding: 10px 42px 10px 14px;
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "⌄";
    position: absolute;
    top: 50%;
    right: 14px;
    color: #555b66;
    transform: translateY(-56%);
    pointer-events: none;
}

.form-arrow {
    display: grid;
    place-items: center;
    height: 46px;
    font-family: Arial, sans-serif;
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
}

.search-button {
    width: 100%;
    min-height: 46px;
    font-size: 18px;
}

.speed-note {
    margin: 9px 0 0;
    color: var(--success);
    font-size: 15px;
    font-weight: 700;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: var(--radius);
    background: var(--card);
}

.alert[hidden] {
    display: none;
}

.alert > span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
}

.alert p {
    margin: 0;
}

.alert strong {
    display: block;
}

.alert-success {
    border-color: #9dd5a4;
    color: #145b21;
    background: #f2fbf3;
}

.alert-success > span {
    background: #168a29;
}

.alert-error {
    border-color: #f3aaa5;
    color: #9b1c14;
    background: #fff6f5;
}

.alert-error > span {
    background: #c62d22;
}

.partner-section,
.assurance-section,
.steps-section,
.about-section,
.nationwide-section,
.reviews-section,
.faq-section {
    padding: 72px 0;
}

.partner-section {
    padding-block: 88px 62px;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    align-items: center;
    gap: 60px;
    padding: 34px 38px;
    border: 1px solid #d7e8e5;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.partner-promo {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 26px;
}

.partner-promo img {
    width: 112px;
    margin-inline: auto;
}

.partner-promo h2 {
    margin-bottom: 5px;
    font-size: clamp(24px, 2.5vw, 31px);
    font-weight: 600;
}

.partner-promo p {
    margin-bottom: 16px;
    color: var(--muted-foreground);
}

.text-link {
    color: var(--primary);
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.certificates {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
}

.certificates img {
    max-height: 96px;
    width: auto;
}

.assurance-section {
    padding-block: 48px;
    background: #effaf8;
}

.assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px;
}

.assurance-item {
    display: grid;
    grid-template-columns: 105px 1fr;
    align-items: center;
    gap: 25px;
    padding: 24px;
    border: 1px solid #d6e9e5;
    border-radius: 16px;
    background: #fff;
}

.assurance-item img {
    max-height: 96px;
    margin-inline: auto;
}

.assurance-item p {
    margin: 0;
    color: #3e4249;
}

.assurance-item strong {
    color: var(--success);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;
    color: #35383e;
    font-size: clamp(28px, 3.1vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-heading > p:last-child {
    color: var(--muted-foreground);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    position: relative;
    padding: 54px 28px 30px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    text-align: center;
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    border-color: #8dcac3;
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -21px;
    left: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #2a948a;
    border-radius: 999px;
    color: #134e4a;
    background: #ccfbf1;
    transform: translateX(-50%);
    font-weight: 800;
}

.step-card img {
    width: auto;
    height: 112px;
    margin: 0 auto 26px;
    object-fit: contain;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    color: var(--muted-foreground);
}

.about-section {
    background: #edf8f6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 46px;
}

.about-grid p {
    margin: 0;
    color: #454a53;
    line-height: 1.75;
}

.nationwide-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 64px;
}

.nationwide-copy h2 {
    margin-bottom: 14px;
    color: #35383e;
    font-size: clamp(30px, 3.5vw, 44px);
}

.nationwide-copy > p:not(.eyebrow):not(.speed-note) {
    max-width: 670px;
    color: var(--muted-foreground);
    font-size: 18px;
}

.compact-search {
    display: grid;
    grid-template-columns: 1.15fr 0.8fr auto;
    align-items: end;
    gap: 12px;
    margin-top: 26px;
}

.map-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(145deg, #f8fffd, #e8f7f4);
    box-shadow: var(--shadow-md);
}

.map-card img {
    width: 100%;
}

.reviews-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(15, 118, 110, 0.08), transparent 24%),
        #f8fbfc;
}

.reviews-section .section-heading {
    margin-bottom: 38px;
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    margin-block: -20px -40px;
    padding-block: 20px 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.reviews-track {
    width: max-content;
    display: flex;
    animation: review-marquee 48s linear infinite;
    will-change: transform;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
    animation-play-state: paused;
}

.reviews-group {
    display: flex;
    gap: 18px;
    padding-right: 18px;
}

.review-card {
    width: 350px;
    min-height: 250px;
    display: flex;
    flex: 0 0 350px;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #dce6e9;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 42, 39, 0.08);
}

.review-card:focus-visible {
    outline: 3px solid var(--ring);
    outline-offset: 3px;
}

.review-stars {
    margin-bottom: 15px;
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-card blockquote {
    margin: 0 0 24px;
    color: #344054;
    font-size: 16px;
    line-height: 1.65;
}

.review-card footer {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
}

.review-card footer > span:last-child {
    display: flex;
    flex-direction: column;
}

.review-card footer strong {
    color: #172033;
    font-size: 15px;
}

.review-card footer small {
    color: #667085;
    font-size: 13px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    color: #0b5f59;
    background: #dff7f2;
    font-size: 13px;
    font-weight: 800;
}

@keyframes review-marquee {
    to {
        transform: translateX(-50%);
    }
}

.faq-section {
    background: #fafafa;
}

.faq-container {
    max-width: 930px;
}

.accordion {
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.accordion-item + .accordion-item {
    border-top: 1px solid var(--border);
}

.accordion-item h3 {
    margin: 0;
}

.accordion-item button {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 22px;
    border: 0;
    color: #134e4a;
    background: var(--card);
    text-align: left;
    font-size: 18px;
    font-weight: 700;
}

.accordion-item button:hover,
.accordion-item button[aria-expanded="true"] {
    background: #f7f8fb;
}

.accordion-item button span {
    color: var(--primary);
    font-size: 25px;
    font-weight: 400;
}

.accordion-panel {
    padding: 0 22px 20px;
    color: var(--muted-foreground);
    background: #f7f8fb;
}

.accordion-panel p {
    margin: 0;
}

.site-footer {
    color: #fff;
    background: #101827;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr;
    gap: 70px;
    padding-top: 58px;
    padding-bottom: 48px;
}

.brand-light {
    color: #fff;
}

.brand-light .brand-logo {
    width: 245px;
    filter: brightness(0) invert(1);
}

.brand-light .brand-mark i:first-child {
    background: #5eead4;
}

.footer-intro {
    max-width: 350px;
    margin: 20px 0 0;
    color: #d5e2f2;
}

.footer-grid nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid nav h2 {
    margin-bottom: 7px;
    font-size: 17px;
}

.footer-grid nav a,
.footer-bottom a {
    color: #dce8f6;
}

.footer-grid nav a:hover,
.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #dce8f6;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 22px;
}

@media (max-width: 1020px) {
    .hero {
        background-position: center, 65% 50%;
    }

    .hero-copy {
        width: 67%;
    }

    .search-form {
        grid-template-columns: 1fr 0.75fr auto;
        gap: 14px;
    }

    .form-arrow {
        display: none;
    }

    .search-button {
        grid-column: auto;
    }

    .partner-grid,
    .nationwide-grid {
        gap: 34px;
    }

    .assurance-grid {
        gap: 32px;
    }

    .assurance-item {
        grid-template-columns: 82px 1fr;
    }

    .compact-search {
        grid-template-columns: 1fr 1fr;
    }

    .compact-search .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .header-inner {
        min-height: 70px;
    }

    .phone-link,
    .main-nav {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .mobile-nav {
        top: 70px;
    }

    .hero {
        width: calc(100% - 30px);
        min-height: 0;
        margin-top: 18px;
        border-radius: 19px;
        background-image: linear-gradient(180deg, rgba(240, 253, 250, 0.99) 0%, rgba(240, 253, 250, 0.96) 56%, rgba(240, 253, 250, 0.18) 79%, rgba(240, 253, 250, 0.05) 100%), url("bg3.png");
        background-position: center, 72% bottom;
        background-size: cover;
    }

    .hero-inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy {
        width: 100%;
        padding: 38px 0 18px;
    }

    .hero h1 {
        font-size: clamp(31px, 8.6vw, 41px);
    }

    .hero-lead {
        max-width: 480px;
        font-size: 18px;
    }

    .benefit-list {
        max-width: 540px;
        font-size: 16px;
    }

    .trust-badge {
        position: static;
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 24px;
        padding: 7px 14px 7px 8px;
        border: 1px solid rgba(15, 118, 110, 0.2);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 24px rgba(15, 42, 39, 0.12);
        filter: none;
        backdrop-filter: blur(8px);
    }

    .trust-badge img {
        width: 48px;
        flex: 0 0 48px;
    }

    .trust-badge-copy {
        display: flex;
        flex-direction: column;
        color: #26354a;
        line-height: 1.15;
    }

    .trust-badge-copy strong {
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .trust-badge-copy small {
        margin-top: 3px;
        color: #667085;
        font-size: 12px;
    }

    .search-form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .search-strip {
        margin-top: -24px;
    }

    .search-strip > .container {
        padding: 22px 20px 20px;
        border-radius: 15px;
    }

    .speed-note {
        font-size: 13px;
    }

    .search-button {
        margin-top: 3px;
    }

    .partner-section,
    .assurance-section,
    .steps-section,
    .about-section,
    .nationwide-section,
    .faq-section {
        padding: 58px 0;
    }

    .partner-grid,
    .assurance-grid,
    .steps-grid,
    .about-grid,
    .nationwide-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        padding: 28px 24px;
    }

    .partner-promo {
        grid-template-columns: 90px 1fr;
    }

    .partner-promo img {
        width: 85px;
    }

    .certificates {
        justify-content: center;
    }

    .steps-grid {
        gap: 48px;
    }

    .about-grid {
        gap: 22px;
    }

    .nationwide-grid {
        gap: 38px;
    }

    .footer-grid {
        gap: 34px;
    }

    .reviews-marquee {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-logo {
        width: 168px;
    }

    .brand-light .brand-logo {
        width: 210px;
    }

    .hero-copy {
        padding-top: 28px;
    }

    .eyebrow {
        margin-bottom: 8px;
        font-size: 11px;
        letter-spacing: 0.07em;
    }

    .hero h1 {
        margin-bottom: 9px;
        font-size: clamp(30px, 8.5vw, 36px);
        line-height: 1.08;
    }

    .hero-lead {
        max-width: 310px;
        margin-bottom: 20px;
        font-size: 17px;
        line-height: 1.42;
    }

    .benefit-list {
        gap: 10px;
        font-size: 15px;
    }

    .benefit-list li {
        align-items: flex-start;
        gap: 10px;
    }

    .benefit-list span {
        width: 23px;
        height: 23px;
        font-size: 14px;
    }

    .reviews-section {
        padding-block: 56px;
    }

    .review-card {
        width: min(310px, calc(100vw - 42px));
        min-height: 235px;
        flex-basis: min(310px, calc(100vw - 42px));
        padding: 21px;
    }

    .review-card blockquote {
        font-size: 15px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 27px;
        line-height: 1.2;
    }

    .section-heading > p:last-child,
    .step-card p,
    .about-grid p,
    .nationwide-copy > p:not(.eyebrow):not(.speed-note) {
        font-size: 15px;
    }

    .about-grid p {
        line-height: 1.65;
    }

    .partner-promo h2 {
        font-size: 25px;
    }

    .partner-promo,
    .assurance-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-promo img,
    .assurance-item img {
        margin-bottom: 4px;
    }

    .compact-search {
        grid-template-columns: 1fr;
    }

    .compact-search .button {
        grid-column: auto;
    }

    .map-card {
        padding: 12px;
    }

    .accordion-item button {
        padding-inline: 16px;
        font-size: 16px;
    }

    .accordion-panel {
        padding-inline: 16px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reviews-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .reviews-track {
        animation: none;
        will-change: auto;
    }

    .reviews-group[aria-hidden="true"] {
        display: none;
    }
}
