:root {
    --blue: #003e70;
    --blue-dark: #002a4d;
    --blue-soft: #e8f3fb;
    --yellow: #f7b900;
    --yellow-soft: #fff4c7;
    --ink: #101820;
    --muted: #627083;
    --line: #dbe4ee;
    --light: #f7f9fc;
    --white: #ffffff;
    --sky: #13a9df;
    --sky-soft: #e9f8fd;
    --shadow: 0 18px 45px rgba(0, 42, 77, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

.wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 50;
    padding: 10px 14px;
    color: var(--white);
    background: var(--blue);
}

.skip-link:focus {
    left: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 62, 112, 0.12);
    backdrop-filter: blur(14px);
}

.top-bar {
    color: var(--white);
    background: var(--blue-dark);
    font-size: 0.88rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 36px;
}

.top-bar a {
    color: var(--white);
    font-weight: 800;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 104px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    color: var(--blue);
}

.custom-logo-link img {
    display: block;
    width: auto;
    max-height: 92px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    color: var(--blue);
    background: var(--yellow);
    border: 4px solid var(--blue);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 1000;
    line-height: 1;
    box-shadow: 0 6px 0 rgba(0, 42, 77, 0.18);
}

.brand-text {
    display: grid;
    line-height: 1.05;
    text-transform: uppercase;
}

.brand-text strong {
    font-size: 1.62rem;
    letter-spacing: 0;
}

.brand-text em {
    color: var(--blue-dark);
    font-size: 1.02rem;
    font-style: normal;
    font-weight: 900;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 12px;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ink);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 800;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: var(--blue);
    background: var(--blue-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
}

.menu-rdv,
.btn.primary {
    color: var(--blue-dark);
    background: var(--yellow);
    box-shadow: 0 8px 0 rgba(0, 42, 77, 0.16);
}

.menu-rdv {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 0.94rem;
    font-weight: 950;
    white-space: nowrap;
}

.btn.secondary {
    color: var(--white);
    background: var(--blue);
}

.btn.on-dark {
    color: var(--blue-dark);
    background: var(--white);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--blue);
    border: 0;
    border-radius: 6px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: clamp(540px, 36vw, 720px);
    color: var(--ink);
    background-color: #ffffff;
    background-position: center;
    background-size: cover;
    overflow: visible;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    min-height: clamp(540px, 36vw, 720px);
    padding: clamp(54px, 6vw, 96px) 0 110px;
}

.hero-panel {
    width: min(520px, 48vw);
    padding: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 42, 77, 0.16);
    backdrop-filter: blur(8px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(2rem, 3.6vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p:not(.eyebrow) {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.quick-info {
    margin-top: -62px;
    position: relative;
    z-index: 3;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    color: var(--white);
    background: rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-grid div {
    display: grid;
    gap: 4px;
    padding: 24px;
    background: var(--blue);
}

.info-grid strong {
    color: var(--yellow);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.info-grid span {
    font-weight: 850;
    line-height: 1.25;
}

.section {
    padding: 86px 0;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.section h2,
.content-wrap h2 {
    margin: 0 0 18px;
    color: var(--blue-dark);
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.04;
}

.section p {
    color: var(--muted);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-list article,
.post-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 42, 77, 0.08);
}

.service-list h3,
.post-card h2 {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 1.2rem;
    line-height: 1.2;
}

.service-list p {
    margin: 0;
}

.band {
    color: var(--white);
    background: var(--blue-dark);
}

.band h2 {
    color: var(--white);
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.page-hero {
    padding: 74px 0;
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(0, 42, 77, 0.96), rgba(0, 62, 112, 0.82)),
        url("../images/hero-aplus-glass-muret.png") center / cover;
}

.content-wrap {
    max-width: 820px;
}

.content-wrap h2,
.content-wrap h3 {
    color: var(--blue-dark);
}

.content-wrap a {
    font-weight: 850;
}

.content-wrap ul {
    padding-left: 1.2rem;
}

.content-wrap li::marker {
    color: var(--yellow);
}

.posts-list {
    display: grid;
    gap: 18px;
}

.site-footer {
    color: rgba(255, 255, 255, 0.84);
    background: #071c31;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 0.8fr;
    gap: 42px;
    padding: 58px 0;
}

.footer-brand {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 1000;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 12px;
    color: var(--yellow);
    font-size: 1rem;
    text-transform: uppercase;
}

.site-footer p {
    margin: 10px 0 0;
}

.site-footer a {
    color: var(--white);
    font-weight: 800;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    padding: 18px 20px;
    color: rgba(255, 255, 255, 0.72);
    background: #04111e;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .top-bar-inner {
        display: grid;
        gap: 2px;
        padding: 8px 0;
    }

    .nav-row {
        display: flex;
        flex-wrap: wrap;
        min-height: 78px;
        padding: 10px 0;
    }

    .custom-logo-link img {
        max-height: 70px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        flex: 0 0 100%;
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        justify-content: stretch;
        gap: 4px;
    }

    .primary-nav a,
    .menu-rdv {
        min-height: 46px;
        padding: 0 12px;
        background: var(--light);
    }

    .menu-rdv {
        color: var(--blue-dark);
        background: var(--yellow);
    }

    .hero {
        min-height: 0;
        padding-top: 330px;
        background-color: #ffffff;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: auto 330px;
    }

    .hero-content {
        display: block;
        min-height: 0;
        padding: 0 0 38px;
    }

    .hero-panel {
        width: 100%;
        padding: 22px;
    }

    .hero h1 {
        font-size: clamp(2rem, 5.8vw, 2.8rem);
    }

    .info-grid,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-info {
        margin-top: 0;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .cta-row {
        display: grid;
        justify-items: start;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .wrap {
        width: min(100% - 28px, 1160px);
    }

    .brand-mark {
        width: 58px;
        height: 58px;
        font-size: 1.32rem;
    }

    .brand-text strong {
        font-size: 1.2rem;
    }

    .custom-logo-link img {
        max-height: 58px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 1.9rem;
        line-height: 1.08;
    }

    .hero p:not(.eyebrow) {
        font-size: 1rem;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .hero {
        min-height: 0;
        padding-top: 235px;
        background-position: center top;
        background-size: auto 235px;
    }

    .hero-panel {
        padding: 18px;
    }

    .hero-panel .eyebrow {
        font-size: 0.72rem;
    }

    .quick-info {
        margin-top: 0;
    }

    .section {
        padding: 58px 0;
    }

    .page-hero {
        padding: 54px 0;
    }
}

/* Homepage V2 */

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

body.home .top-bar {
    display: none;
}

body.home .nav-row {
    min-height: 92px;
}

body.home .site-header {
    box-shadow: 0 1px 0 rgba(0, 42, 77, 0.08);
}

body.home .site-header::after {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #06335e 0 42%, #13a9df 42% 72%, #ffc400 72% 100%);
}

body.home .primary-nav a {
    font-size: 0.82rem;
    text-transform: uppercase;
}

.home-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    background: #eef3f5;
}

.home-hero-media,
.home-hero-shade {
    position: absolute;
    inset: 0;
}

.home-hero-media {
    background-image: url("../images/hero-jockey-v4-1600.webp");
    background-position: center;
    background-size: cover;
    animation: home-hero-in 1.4s cubic-bezier(.2, .7, .2, 1) both;
}

.home-hero-shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 30%, rgba(255, 255, 255, 0.48) 49%, rgba(255, 255, 255, 0) 70%);
}

.home-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
    align-items: center;
    min-height: 760px;
    padding: 66px 0 92px;
}

.home-hero-copy {
    max-width: 660px;
    animation: home-copy-in .75s .15s ease-out both;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #d99a00;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-kicker::before {
    content: "";
    width: 28px;
    height: 4px;
    flex: 0 0 auto;
    background: #ffc400;
}

.home-hero h1 {
    margin: 0;
    color: #061f3b;
    font-size: clamp(2.8rem, 4.15vw, 4.35rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.home-hero h1 span {
    color: #164f91;
}

.home-hero-lead {
    max-width: 570px;
    margin: 22px 0 0;
    color: #33465a;
    font-size: 1.18rem;
    line-height: 1.55;
}

.home-hero-benefits {
    display: grid;
    gap: 9px;
    max-width: 620px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.home-hero-benefits li {
    position: relative;
    padding-left: 27px;
    color: #31465a;
    font-size: 0.96rem;
    line-height: 1.42;
}

.home-hero-benefits li::before {
    content: "";
    position: absolute;
    top: 0.48em;
    left: 0;
    width: 13px;
    height: 7px;
    border-bottom: 2px solid #13a9df;
    border-right: 2px solid #13a9df;
    transform: rotate(-45deg);
}

.home-hero-benefits strong {
    color: #07578f;
}

.home-hero-benefits .home-hero-highlight {
    color: #b57900;
    font-weight: 900;
}

@media (min-width: 851px) {
    .home-hero-lead {
        color: #102f4b;
        font-weight: 650;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 8px rgba(255, 255, 255, 0.9);
    }

    .home-hero-benefits li {
        color: #163650;
        font-weight: 600;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.95), 0 0 7px rgba(255, 255, 255, 0.9);
    }
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-hero-note {
    display: block;
    max-width: 590px;
    margin-top: 13px;
    color: #667789;
    font-size: 0.69rem;
    line-height: 1.4;
}

.home-btn-primary,
.home-btn-yellow {
    color: #061f3b;
    background: #ffc400;
    box-shadow: 0 8px 20px rgba(176, 124, 0, 0.22);
}

.home-btn-primary:hover,
.home-btn-yellow:hover {
    color: #061f3b;
    background: #ffd13b;
    transform: translateY(-2px);
}

.home-btn-ghost {
    color: #06335e;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(6, 51, 94, 0.38);
}

.home-btn-ghost:hover {
    color: #ffffff;
    background: #06335e;
}

.home-offer {
    align-self: center;
    justify-self: end;
    width: 340px;
    margin-top: 54px;
    padding: 28px 30px 26px;
    color: #ffffff;
    background: #052e56;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(0, 24, 48, 0.26);
    transform: rotate(-2deg);
}

.home-offer::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    pointer-events: none;
}

.home-offer {
    position: relative;
}

.home-offer-label,
.home-offer-value,
.home-offer small {
    position: relative;
    z-index: 1;
    display: block;
}

.home-offer-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.home-offer strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #ffc400;
    font-size: 2.25rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.home-offer-value {
    margin-top: 8px;
    font-size: 1.02rem;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
}

.home-offer small {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    line-height: 1.35;
    text-align: center;
}

.home-trust-wrap {
    position: relative;
    z-index: 3;
    margin-top: -54px;
}

.home-trust {
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    min-height: 138px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(4, 36, 67, 0.15);
}

.home-trust article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 27px;
    border-left: 1px solid #e1e7ec;
}

.home-trust article:first-child {
    border-left: 0;
}

.home-trust article > strong {
    color: #06335e;
    font-size: 1.34rem;
    line-height: 1.1;
}

.home-trust article > span {
    margin-top: 7px;
    color: #687889;
    font-size: 0.8rem;
    line-height: 1.35;
}

.home-trust-main {
    flex-direction: row !important;
    align-items: center;
    gap: 18px;
    color: #ffffff;
    background: #06335e;
}

.home-trust-icon {
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    margin: 0 !important;
    color: #06335e !important;
    background: #ffc400;
    border-radius: 50%;
    font-size: 1.25rem !important;
    font-weight: 1000;
}

.home-trust-main p,
.home-trust-main h2,
.home-trust-main span {
    margin: 0;
}

.home-trust-main p {
    color: #ffc400;
    font-size: 0.73rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-trust-main h2 {
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1;
}

.home-trust-main div span {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-section {
    padding: 118px 0 96px;
}

.home-jockey {
    background: var(--sky-soft);
    border-top: 7px solid #13a9df;
}

.home-section-heading {
    max-width: 760px;
    text-align: center;
}

.home-section-heading h2,
.home-services h2,
.home-reviews h2,
.home-final-cta h2 {
    margin: 0;
    color: #062748;
    font-size: clamp(2.45rem, 4.4vw, 4.45rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.home-section-heading > p:last-child {
    max-width: 650px;
    margin: 22px auto 0;
    color: #637283;
    font-size: 1.08rem;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 58px;
    border-top: 1px solid #bcdde9;
    border-bottom: 1px solid #bcdde9;
}

.home-steps article {
    min-height: 245px;
    padding: 36px 38px;
    border-left: 1px solid #bcdde9;
    transition: background-color .25s ease, transform .25s ease;
}

.home-steps article:first-child {
    border-left: 0;
}

.home-steps article > span,
.home-services-list article > span {
    color: #d99a00;
    font-size: 0.78rem;
    font-weight: 950;
}

.home-steps article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #06335e;
    background: #ffc400;
    border-radius: 50%;
}

.home-steps article:hover {
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-4px);
}

.home-steps h3 {
    margin: 28px 0 10px;
    color: #06335e;
    font-size: 1.6rem;
}

.home-steps p {
    margin: 0;
    color: #637283;
    font-size: 0.93rem;
}

.home-centered-action {
    margin-top: 36px;
    text-align: center;
}

.home-btn-dark {
    color: #ffffff;
    background: #06335e;
}

.home-btn-dark:hover {
    color: #06335e;
    background: #ffc400;
    transform: translateY(-2px);
}

.home-services {
    padding: 98px 0;
    color: #ffffff;
    background: #07578f;
    border-top: 7px solid #ffc400;
}

.home-services-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 86px;
    align-items: start;
}

.home-services-intro {
    position: sticky;
    top: 130px;
}

.home-services h2 {
    color: #ffffff;
    font-size: clamp(2.4rem, 3.7vw, 3.8rem);
}

.home-services .home-kicker {
    color: #ffc400;
}

.home-services-list {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.home-services-list article {
    display: grid;
    grid-template-columns: 48px minmax(150px, 0.75fr) 1fr;
    gap: 20px;
    align-items: center;
    min-height: 112px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    transition: padding-left .25s ease, background-color .25s ease;
}

.home-services-list article:hover {
    padding-left: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.home-services-list article > span {
    color: #ffc400;
}

.home-services-list h3,
.home-services-list p {
    margin: 0;
}

.home-services-list h3 {
    color: #ffffff;
    font-size: 1.15rem;
}

.home-services-list p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.home-reviews {
    padding: 96px 0;
}

.home-reviews-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 40px;
}

.home-reviews h2 {
    font-size: clamp(2.45rem, 3.8vw, 3.9rem);
}

.home-rating {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 13px;
    align-items: center;
}

.home-rating strong {
    color: #06335e;
    font-size: 1.65rem;
}

.home-rating span {
    color: #f5b400;
    font-size: 1.18rem;
}

.home-rating small {
    grid-column: 1 / -1;
    color: #637283;
}

.home-insurance {
    padding: 100px 0;
    background: #fff7d7;
    border-top: 7px solid #ffc400;
}

.home-insurance-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.75fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.home-insurance-copy {
    max-width: 570px;
}

.home-insurance h2 {
    margin: 0;
    color: #062748;
    font-size: clamp(2.6rem, 4.4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.home-insurance-copy > p:not(.home-kicker) {
    margin: 24px 0 0;
    color: #637283;
    font-size: 1.04rem;
}

.home-text-link {
    display: inline-block;
    margin-top: 27px;
    padding-bottom: 4px;
    color: #06335e;
    border-bottom: 2px solid #ffc400;
    font-weight: 900;
}

.home-text-link:hover {
    color: #1762a8;
}

.home-insurance-visual {
    display: block;
    width: min(100%, 520px);
    justify-self: end;
}

.home-insurance-visual img {
    display: block;
    width: 100%;
    height: auto;
    border: 3px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 22px 48px rgba(5, 46, 86, 0.12);
}

.home-final-cta {
    padding: 88px 0 0;
    color: #ffffff;
    background: #052e56;
}

.home-final-layout {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 70px;
}

.home-final-cta h2 {
    color: #ffffff;
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.home-final-actions {
    display: grid;
    gap: 17px;
    min-width: 230px;
    text-align: center;
}

.home-final-actions > a:last-child {
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 900;
}

.home-contact-strip {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 24px;
    padding: 23px 0;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
}

.home-contact-strip span:last-child {
    text-align: right;
}

.home-mobile-actions {
    display: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.home-steps .reveal:nth-child(2),
.home-services-list .reveal:nth-child(2) {
    transition-delay: .08s;
}

.home-steps .reveal:nth-child(3),
.home-services-list .reveal:nth-child(3) {
    transition-delay: .16s;
}

.home-services-list .reveal:nth-child(4) {
    transition-delay: .24s;
}

@keyframes home-hero-in {
    from {
        opacity: 0;
        transform: scale(1.035);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes home-copy-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1000px) {
    .home-hero-layout {
        grid-template-columns: 1fr minmax(230px, 0.55fr);
    }

    .home-hero h1 {
        font-size: clamp(2.6rem, 5.8vw, 3.8rem);
    }

    .home-trust {
        grid-template-columns: 1.3fr repeat(3, 1fr);
    }

    .home-trust article {
        padding: 20px;
    }
}

@media (max-width: 800px) {
    body.home {
        padding-bottom: 64px;
    }

    .brand-logo {
        width: 152px;
        height: auto;
    }

    body.home .nav-row {
        min-height: 78px;
    }

    .home-hero {
        min-height: 0;
        background: #ffffff;
    }

    .home-hero-media {
        position: relative;
        height: 330px;
        background-image: url("../images/hero-jockey-v4-960.webp");
        background-position: 68% center;
    }

    .home-hero-shade {
        display: none;
    }

    .home-hero-layout {
        display: block;
        min-height: 0;
        padding: 38px 0 52px;
    }

    .home-hero-copy {
        max-width: none;
    }

    .home-hero h1 {
        font-size: clamp(2.35rem, 9.5vw, 3.5rem);
    }

    .home-hero-lead {
        font-size: 1.02rem;
    }

    .home-hero-benefits {
        gap: 11px;
    }

    .home-hero-benefits li {
        font-size: 0.94rem;
    }

    .home-offer {
        width: 100%;
        max-width: 390px;
        margin: 34px 0 0;
        padding: 24px;
        transform: none;
    }

    .home-offer strong {
        font-size: 2.2rem;
    }

    .home-trust-wrap {
        margin-top: 0;
    }

    .home-trust {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        border-width: 1px 0;
        border-radius: 0;
        box-shadow: none;
    }

    .home-trust-main {
        grid-column: 1 / -1;
    }

    .home-trust article:nth-child(2) {
        border-left: 0;
    }

    .home-trust article:last-child {
        grid-column: 1 / -1;
        border-top: 1px solid #e1e7ec;
        border-left: 0;
    }

    .home-section {
        padding: 76px 0 64px;
    }

    .home-steps {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .home-steps article {
        min-height: 0;
        padding: 28px 6px;
        border-top: 1px solid #bcdde9;
        border-left: 0;
    }

    .home-steps article:first-child {
        border-top: 0;
    }

    .home-steps h3 {
        margin-top: 15px;
    }

    .home-services {
        padding: 72px 0;
    }

    .home-services-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .home-services-intro {
        position: static;
    }

    .home-services-list article {
        grid-template-columns: 38px 1fr;
        gap: 8px 16px;
        padding: 22px 0;
    }

    .home-services-list article:hover {
        padding-left: 0;
    }

    .home-services-list p {
        grid-column: 2;
    }

    .home-reviews {
        padding: 72px 0;
    }

    .home-insurance {
        padding: 72px 0;
    }

    .home-insurance-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .home-insurance-visual {
        width: 100%;
        justify-self: stretch;
    }

    .home-reviews-heading,
    .home-final-layout {
        display: grid;
        align-items: start;
    }

    .home-final-actions {
        width: 100%;
        max-width: 320px;
    }

    .home-contact-strip {
        grid-template-columns: 1fr;
    }

    .home-contact-strip span:last-child {
        text-align: left;
    }

    .home-mobile-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1.35fr;
        height: 64px;
        background: #ffffff;
        border-top: 1px solid #dbe4ee;
        box-shadow: 0 -8px 25px rgba(0, 30, 58, 0.13);
    }

    .home-mobile-actions a {
        display: grid;
        place-items: center;
        color: #06335e;
        font-size: 0.84rem;
        font-weight: 950;
        text-transform: uppercase;
    }

    .home-mobile-actions a:last-child {
        color: #062748;
        background: #ffc400;
    }
}

@media (max-width: 480px) {
    .home-hero-media {
        height: 265px;
        background-position: 65% center;
    }

    .home-hero-actions {
        display: grid;
    }

    .home-hero-actions .btn {
        width: 100%;
    }

    .home-offer {
        max-width: none;
        padding: 22px 20px;
    }

    .home-offer strong {
        font-size: clamp(1.9rem, 9vw, 2.2rem);
    }

    .home-offer-value {
        font-size: 1rem;
    }

    .home-section-heading h2,
    .home-services h2,
    .home-reviews h2,
    .home-insurance h2,
    .home-final-cta h2 {
        font-size: 2.3rem;
    }

    .home-trust {
        grid-template-columns: 1fr;
    }

    .home-trust-main,
    .home-trust article:last-child {
        grid-column: auto;
    }

    .home-trust article,
    .home-trust article:nth-child(2) {
        min-height: 108px;
        border-top: 1px solid #e1e7ec;
        border-left: 0;
    }

    .home-trust-main {
        min-height: 132px !important;
        border-top: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-media,
    .home-hero-copy {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-steps article,
    .home-services-list article {
        transition: none;
    }
}
