/* Figma node 5388:11 match layer.
   Keep these overrides flow-safe so sections do not overlap or jump responsively. */

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-areas-hero {
    align-items: center;
    background: var(--color-dark);
    display: flex;
    min-height: 400px;
    overflow: hidden;
    padding-top: 96px;
    position: relative;
}

.service-areas-hero__media,
.service-areas-hero__overlay {
    inset: 0;
    position: absolute;
}

.service-areas-hero__media picture,
.wib-hero__media picture,
.svc-hero__media picture,
.contact-hero__media picture,
.reviews-hero__media picture,
.legal-hero__media picture,
.error-hero__media picture {
    display: block;
    height: 100%;
    width: 100%;
}

.service-areas-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
    width: 100%;
}

.service-areas-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.92) 0%, rgba(0, 17, 41, 0.68) 36%, rgba(0, 17, 41, 0.1) 100%);
}

.service-areas-hero .page-container {
    position: relative;
    z-index: 1;
}

.service-areas-hero h1 {
    color: #ffffff;
    max-width: 760px;
}

.service-areas-hero h1 span,
.service-areas-main h2 span {
    color: #0098df;
}

.service-areas-trust {
    margin-top: 0;
}

.service-areas-main {
    background: #ffffff;
    padding-bottom: 80px;
    padding-top: 100px;
}

.service-areas-main__grid {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1fr);
}

.service-areas-main__copy {
    max-width: 844px;
}

.service-areas-main h2 {
    color: var(--color-primary);
    margin: 0 0 22px;
    max-width: 700px;
}

.service-areas-main .eyebrow {
    color: #0098df !important;
}

.service-areas-main .eyebrow::before {
    background: #0098df;
}

.service-areas-main__text,
.service-areas-note {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
}

.service-areas-main__text {
    margin: 0 0 24px;
}

.service-areas-card-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 369px));
    margin-bottom: 24px;
}

.service-area-card {
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 21px 26px rgba(11, 31, 58, 0.1);
    display: flex;
    gap: 16px;
    min-height: 88px;
    padding: 18px 20px;
}

.service-area-card__icon {
    align-items: center;
    background: rgba(10, 95, 168, 0.1);
    border-radius: 5px;
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.service-area-card__icon img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.service-area-card__content {
    display: grid;
    min-width: 0;
}

.service-area-card strong {
    color: #0b1f3a;
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
}

.service-area-card small {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
}

.service-areas-note strong {
    color: var(--color-text);
    font-weight: 700;
}

.service-areas-note p {
    margin: 0;
}

.service-areas-actions {
    margin-top: 40px;
}

.service-areas-map {
    aspect-ratio: 845 / 798;
    border-radius: 10px;
    overflow: hidden;
}

.service-areas-map img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 1199.98px) {
    .service-areas-main__grid {
        grid-template-columns: 1fr;
    }

    .service-areas-main__copy {
        max-width: none;
    }

    .service-areas-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

}

@media (max-width: 767.98px) {
    .service-areas-page {
        overflow-x: clip;
    }

    .service-areas-hero {
        min-height: 300px;
        padding-top: 82px;
    }

    .service-areas-hero h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .service-areas-main {
        padding-bottom: 54px;
        padding-top: 64px;
    }

    .service-areas-main h2 {
        font-size: 34px;
        line-height: 40px;
    }

    .service-areas-main__grid,
    .service-areas-main__copy,
    .service-areas-main__text,
    .service-areas-note,
    .service-areas-map {
        max-width: 100%;
        min-width: 0;
    }

    .service-areas-main__text,
    .service-areas-note,
    .service-areas-note * {
        overflow-wrap: break-word;
    }

    .service-areas-card-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        min-width: 0;
    }

    .service-area-card {
        min-height: 82px;
    }

    .service-area-card strong {
        font-size: 20px;
        line-height: 28px;
    }

    .service-area-card small,
    .service-areas-main__text,
    .service-areas-note {
        font-size: 15px;
        line-height: 23px;
    }
}

.site-header__brand img {
    object-fit: contain;
}

.hero-section__media img {
    object-position: center center;
}

.hero-section__mobile-image {
    display: none;
}

.hero-section__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.94) 0%, rgba(0, 17, 41, 0.78) 36%, rgba(0, 17, 41, 0.1) 74%, rgba(0, 17, 41, 0) 100%);
}

@media (max-width: 767.98px) {
    .hero-section__desktop-image {
        display: none;
    }

    .hero-section__mobile-image {
        display: block;
        object-position: center top;
    }
}

.about-section,
.payment-section,
.services-section,
.paperwork-section {
    overflow: hidden;
}

.value-card {
    border-radius: 8px;
}

.payment-section .row {
    --bs-gutter-x: 54px;
}

.services-section {
    background: var(--color-soft);
}

.service-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 11px 11px rgba(11, 31, 58, 0.05);
}

.service-card > img {
    border-radius: 5px;
    height: 350px;
    margin: 10px;
    width: calc(100% - 20px);
}

.service-card__body {
    padding: 26px 30px 30px;
}

.service-card h3 {
    font-size: 32px;
    line-height: 40px;
}

.service-card p {
    font-size: 18px;
    line-height: 28px;
}

.service-card a {
    text-decoration: underline;
}

.service-card {
    transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    will-change: background-color, transform;
}

.service-card > img {
    transition: filter 0.35s ease, transform 0.45s ease;
    will-change: transform;
}

.service-card h3,
.service-card p,
.service-card a {
    transition: color 0.3s ease;
}

.service-card:hover,
.service-card:focus-within {
    background: var(--color-primary);
    box-shadow: 0 16px 26px rgba(11, 31, 58, 0.12);
    transform: translateY(-6px);
}

.service-card:hover > img,
.service-card:focus-within > img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.035);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover a,
.service-card:focus-within h3,
.service-card:focus-within p,
.service-card:focus-within a {
    color: #ffffff;
}

.image-stack img {
    transition: filter 0.35s ease, transform 0.45s ease;
    will-change: transform;
}

.image-stack:hover img,
.image-stack:focus-within img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card > img,
    .image-stack img,
    .service-card h3,
    .service-card p,
    .service-card a {
        transition: none;
    }

    .service-card:hover,
    .service-card:focus-within,
    .service-card:hover > img,
    .service-card:focus-within > img,
    .image-stack:hover img,
    .image-stack:focus-within img {
        transform: none;
    }
}

.paperwork-section {
    background: var(--color-soft);
}

.process-heading {
    align-items: flex-end;
    display: flex;
    gap: 56px;
    justify-content: space-between;
    margin-bottom: 56px;
}

.process-heading .section-copy {
    flex: 0 1 680px;
}

.process-heading > p {
    flex: 0 1 844px;
    font-size: 20px;
    line-height: 30px;
    margin: 0;
}

.process-body {
    align-items: center;
}

.image-stack--paperwork {
    aspect-ratio: 746 / 640;
    border-radius: 8px;
}

.service-accordion {
    margin-top: 0;
}

.service-accordion .accordion-item {
    background: transparent;
}

.service-accordion .accordion-item::before {
    content: none;
    display: none;
}

.service-accordion .accordion-button {
    align-items: center;
    background: transparent;
    display: flex;
    font-size: 32px;
    line-height: 40px;
    gap: 28px;
    padding: 24px 0;
}

.service-accordion .accordion-button span {
    align-items: center;
    background: var(--color-accent);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    justify-content: center;
    letter-spacing: 1.6px;
    line-height: 24px;
    width: 48px;
}

.service-accordion .accordion-button .accordion-title {
    display: block;
    flex: 1 1 auto;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    min-width: 0;
}

.service-accordion .accordion-button::after {
    background-color: #ffffff;
    background-position: center;
    border: 1px solid #d1d5dc;
    border-radius: 50%;
    flex: 0 0 44px;
    height: 44px;
    margin-left: auto;
    width: 44px;
}

.service-accordion .accordion-button:not(.collapsed)::after {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

.service-accordion .accordion-body {
    font-size: 18px;
    line-height: 28px;
    margin-left: 76px;
    padding: 0 70px 24px 0;
}

.process-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 22px;
}

.process-actions .btn-light-call,
.backflow-section .btn-light-call,
.testing-cta .btn-light-call {
    border: 1px solid var(--color-primary);
}

.backflow-section {
    background: linear-gradient(180deg, #0a5fa8 0%, #042542 100%);
}

.backflow-section__copy {
    padding-bottom: 120px;
    padding-top: 120px;
}

.backflow-section .eyebrow,
.backflow-section h2,
.backflow-section p {
    color: #ffffff;
}

.backflow-section .eyebrow::before {
    background: #ffffff;
}

.backflow-section__image {
    min-height: 620px;
}

.difference-section {
    padding: 100px 0;
}

.difference-section .section-heading {
    margin-bottom: 36px;
}

.difference-section .section-heading > p:not(.eyebrow) {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
    margin-top: 20px;
}

.difference-section .row.g-4 {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
    align-items: stretch;
}

.difference-section .row.g-4 > [class*="col-"] {
    display: flex;
}

.difference-card {
    align-items: flex-start;
    border-radius: 0;
    box-shadow: 0 21px 26px rgba(11, 31, 58, 0.1);
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0;
    min-height: 326px;
    padding: 36px;
    width: 100%;
}

.difference-card__icon {
    align-items: center;
    background: #f5f7fa;
    display: inline-flex;
    flex: 0 0 56px;
    height: 56px;
    justify-content: center;
    margin-bottom: 24px;
    padding: 0;
    width: 56px;
}

.difference-card__icon img {
    display: block;
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.difference-card h3 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 12px;
}

.difference-card p {
    font-size: 20px;
    line-height: 30px;
}

.area-list {
    gap: 15px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 36px 0 28px;
}

.area-list span {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 21px 26px rgba(11, 31, 58, 0.1);
    column-gap: 16px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    max-width: 369px;
    min-height: 88px;
    padding: 20px;
    width: 100%;
}

.area-list img {
    align-self: center;
    background: rgba(10, 95, 168, 0.1);
    border-radius: 5px;
    box-sizing: content-box;
    grid-row: 1 / span 2;
    height: 24px;
    padding: 12px;
    width: 24px;
}

.area-list strong {
    color: var(--color-primary);
    font-size: 24px !important;
    font-weight: 800;
    line-height: 32px !important;
    overflow-wrap: anywhere;
    align-self: end;
}

.area-list small {
    color: var(--color-text);
    font-size: 20px !important;
    font-weight: 400;
    line-height: 30px !important;
    overflow-wrap: anywhere;
    align-self: start;
}

.image-stack--areas {
    aspect-ratio: 845 / 798;
    border-radius: 10px;
    width: 100%;
}

.image-stack--areas img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
    width: 100%;
}

@media (min-width: 1600px) {
    .area-list {
        grid-template-columns: repeat(2, minmax(320px, 369px));
    }

    .image-stack--areas {
        min-height: 720px;
    }
}

.testing-cta {
    padding: 90px 0;
}

.testing-cta__panel {
    border-radius: 8px;
    box-shadow: 0 40px 80px -30px rgba(11, 31, 58, 0.28);
    min-height: 360px;
}

.testing-cta__actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: min(325px, 100%);
}

.testing-cta__actions .btn {
    width: 100%;
}

.footer-contact {
    background: var(--color-accent);
}

.footer-contact a {
    gap: 16px;
    justify-content: flex-start;
}

.footer-contact__icon {
    background: #f7f8f8;
    border-radius: 5px;
}

.footer-contact__icon img {
    height: 24px;
    padding: 0;
    width: 24px;
}

.site-footer {
    background: #000000;
    overflow: hidden;
    position: relative;
}

.site-footer__logo {
    height: 131px;
    width: 221px;
}

.site-footer__main {
    padding: 64px 0;
}

.site-footer__main p,
.site-footer__bottom p {
    font-size: 20px;
    line-height: 30px;
}

.site-footer__main h2 {
    font-size: 24px;
    line-height: 32px;
}

.site-footer__main ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 1599.98px) {
    .site-footer__inner {
        padding-left: 50px;
        padding-right: 50px;
    }

    .site-footer__menus {
        flex-basis: 760px;
        width: 58%;
    }
}

@media (max-width: 1199.98px) {
    .site-footer__main {
        gap: 44px;
    }

    .site-footer__brand {
        flex-basis: 340px;
    }

    .site-footer__menus {
        flex: 1 1 auto;
        gap: 36px;
        width: auto;
    }
}

@media (max-width: 991.98px) {
    .site-footer__inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-footer__main {
        flex-direction: column;
        min-height: 0;
        padding: 54px 0;
    }

    .site-footer__brand {
        flex: 0 1 auto;
        padding-bottom: 0;
    }

    .site-footer__menus {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
        width: 100%;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
}

.reviews-section {
    overflow-x: clip;
}

.reviews-section__fullwidth {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

@media (max-width: 575.98px) {
    :root {
        --section-spacing: 42px;
        --mobile-section-gutter: 20px;
    }

    main > section > .page-container,
    .footer-contact .page-container,
    .page-container {
        --bs-gutter-x: 0;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding-left: var(--mobile-section-gutter) !important;
        padding-right: var(--mobile-section-gutter) !important;
        width: 100%;
    }

    main > section > .page-container > .row,
    .page-container > .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    main > section > .page-container > .row > *,
    .page-container > .row > * {
        padding-left: 0;
        padding-right: 0;
    }

    .image-stack,
    .value-card,
    .service-card,
    .review-card,
    .testing-cta__panel {
        max-width: 100%;
        width: 100%;
    }

    .site-header__nav {
        padding-left: var(--mobile-section-gutter);
        padding-right: var(--mobile-section-gutter);
    }

    .hero-section {
        min-height: 660px;
    }

    .hero-section__content {
        min-height: 578px;
        padding-bottom: 30px;
    }

    .hero-badges {
        padding-bottom: 16px;
    }

    h1 {
        font-size: 34px;
        line-height: 40px;
        margin-bottom: 16px;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 14px;
    }

    h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .section-pad {
        padding-bottom: var(--section-spacing);
        padding-top: var(--section-spacing);
    }

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

    .section-copy p:not(.eyebrow),
    .section-heading > p:not(.eyebrow),
    .hero-section__content > p {
        font-size: 16px;
        line-height: 24px;
    }

    .values-section {
        padding-top: 34px;
        padding-bottom: 24px;
    }

    .payment-section.section-pad {
        padding-top: 30px;
    }

    .reviews-carousel--mobile {
        overflow: visible;
        padding: 14px 42px 18px;
    }

    .reviews-carousel--mobile .carousel-inner {
        overflow: hidden;
        padding: 16px 0 22px;
    }

    .reviews-carousel--mobile .carousel-item {
        padding: 0 2px;
    }

    .reviews-carousel--mobile .review-card {
        box-shadow: 0 8px 20px rgba(11, 31, 58, 0.08);
        filter: none;
    }

    .reviews-carousel--mobile .carousel-control-prev,
    .reviews-carousel--mobile .carousel-control-next {
        display: flex;
        height: 34px;
        width: 34px;
    }

    .reviews-carousel--mobile .carousel-control-prev {
        left: 0;
    }

    .reviews-carousel--mobile .carousel-control-next {
        right: 0;
    }

    .difference-section {
        padding-bottom: 42px;
        padding-top: 42px;
    }

    .testing-cta {
        padding-top: 28px;
    }

    .backflow-section__copy {
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer__inner {
        padding-left: var(--mobile-section-gutter);
        padding-right: var(--mobile-section-gutter);
    }

    .site-footer__watermark {
        bottom: 40px;
        height: 320px;
        right: -190px;
        width: 620px;
    }

    .site-footer__logo {
        height: 92px;
        width: 157px;
    }

    .site-footer__brand p,
    .site-footer__bottom p,
    .site-footer__legal a {
        font-size: 16px;
        line-height: 24px;
    }

    .site-footer__menus {
        grid-template-columns: 1fr;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .site-footer__legal ul {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 1399.98px) {
    .service-card h3 {
        font-size: 24px;
        line-height: 32px;
    }

    .service-card p,
    .service-accordion .accordion-body {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    body {
        font-size: 16px;
        line-height: 24px;
    }

    h1 {
        font-size: 58px;
        line-height: 64px;
    }

    h2 {
        font-size: 46px;
        line-height: 54px;
    }

    h3,
    .service-card h3,
    .difference-card h3,
    .area-list strong,
    .review-card h3 {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .section-copy p:not(.eyebrow),
    .section-heading > p:not(.eyebrow),
    .hero-section__content > p,
    .value-card p,
    .service-card p,
    .service-accordion .accordion-body,
    .difference-card p,
    .area-list small,
    .review-card p,
    .testing-cta p {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    .service-accordion .accordion-button,
    .service-accordion .accordion-button .accordion-title {
        font-size: 24px !important;
        line-height: 32px !important;
    }

    .service-accordion .accordion-button span {
        font-size: 16px;
        height: 44px;
        line-height: 24px;
        width: 44px;
    }

    .service-card > img {
        height: 270px;
    }

    .service-card__body,
    .review-card {
        padding: 22px;
    }

    .difference-card {
        min-height: 300px;
        padding: 30px;
    }

    .difference-card__icon {
        flex-basis: 48px;
        height: 48px;
        margin-bottom: 20px;
        width: 48px;
    }

    .area-list span {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 82px;
        padding: 18px;
    }

    .area-list img {
        height: 22px;
        padding: 11px;
        width: 22px;
    }

    .testing-cta h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .footer-contact span,
    .site-footer__brand p,
    .site-footer__bottom p,
    .site-footer__legal a {
        font-size: 17px;
        line-height: 26px;
    }

    .footer-contact strong,
    .site-footer h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .site-footer__menu a,
    .site-footer__follow-link {
        font-size: 14px;
        line-height: 22px;
    }
}

@media (max-width: 1199.98px) {
    .process-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 36px;
    }

    .process-heading .section-copy,
    .process-heading > p {
        flex-basis: auto;
    }

    .backflow-section__copy {
        max-width: none;
        padding: 30px 0px;
    }

    .backflow-section__image {
        min-height: 420px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .page-container,
    .site-header__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-header__nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .backflow-section__copy {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-footer__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-accordion .accordion-button {
        gap: 16px;
        padding: 16px 0;
    }

    .service-accordion .accordion-button,
    .service-accordion .accordion-button .accordion-title {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .service-accordion .accordion-button span {
        flex: 0 0 40px;
        font-size: 13px;
        height: 40px;
        line-height: 20px;
        width: 40px;
    }

    .service-accordion .accordion-button::after {
        background-size: 16px;
        flex: 0 0 34px;
        height: 34px;
        width: 34px;
    }

    .service-accordion .accordion-body {
        font-size: 15px !important;
        line-height: 23px !important;
        margin-left: 56px;
        padding: 0 44px 18px 0;
    }

    .process-actions {
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
        line-height: 23px;
    }

    h1 {
        font-size: 32px;
        line-height: 38px;
    }

    h2 {
        font-size: 28px;
        line-height: 34px;
    }

    h3 {
        font-size: 20px;
        line-height: 27px;
    }

    .section-copy p:not(.eyebrow),
    .section-heading > p:not(.eyebrow),
    .process-heading > p,
    .process-heading .section-copy,
    .hero-section__content > p,
    .service-card p,
    .service-accordion .accordion-body,
    .difference-card p,
    .area-list small,
    .review-card p,
    .testing-cta p {
        font-size: 15px !important;
        line-height: 23px !important;
    }

    .value-card {
        gap: 10px;
        min-height: 0;
        padding: 14px 16px;
    }

    .value-card img {
        width: 34px;
    }

    .value-card h3 {
        font-size: 22px !important;
        line-height: 28px !important;
        margin-bottom: 8px;
    }

    .value-card p {
        font-size: 15px !important;
        letter-spacing: 0;
        line-height: 23px !important;
    }

    .difference-section .row.g-4 {
        align-items: flex-start;
    }

    .difference-section .row.g-4 > [class*="col-"] {
        display: block;
    }

    .difference-card {
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        padding: 24px;
    }

    .service-card > img {
        height: 260px;
    }

    .service-card h3 {
        font-size: 20px;
        line-height: 27px;
    }

    .service-accordion .accordion-button {
        gap: 12px;
        padding: 14px 0;
    }

    .service-accordion .accordion-button,
    .service-accordion .accordion-button .accordion-title {
        font-size: 22px !important;
        line-height: 28px !important;
    }

    .service-accordion .accordion-button span {
        flex: 0 0 34px;
        font-size: 12px;
        height: 34px;
        line-height: 20px;
        width: 34px;
    }

    .service-accordion .accordion-button::after {
        background-size: 14px;
        flex: 0 0 32px;
        height: 32px;
        width: 32px;
    }

    .service-accordion .accordion-body {
        font-size: 15px !important;
        line-height: 23px !important;
        margin-left: 0;
        padding-right: 0;
    }

    .process-actions,
    .testing-cta__actions {
        width: 100%;
    }

    .testing-cta {
        padding-bottom: 28px;
    }

    .testing-cta__panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
        min-height: 0;
        padding: 30px 24px;
    }

    .area-list span {
        min-height: 82px;
        padding: 18px;
    }

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

    .area-list strong {
        font-size: 20px !important;
        line-height: 26px !important;
    }

    .area-list small {
        font-size: 18px !important;
        line-height: 24px !important;
    }

    .site-footer__main {
        gap: 28px;
        padding: 36px 0;
    }

    .site-footer__menus {
        gap: 24px;
    }

    .site-footer__menu {
        gap: 0;
    }

    .site-footer__main ul {
        gap: 10px;
    }

    .site-footer li + li {
        margin-top: 0;
    }

    .site-footer h2 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .site-footer__menu a,
    .site-footer__follow-link {
        font-size: 12px;
        letter-spacing: 1.1px;
        line-height: 18px;
    }

    .image-stack--areas {
        min-height: 320px;
    }
}

.wib-page {
    background: #ffffff;
}

.wib-hero {
    align-items: center;
    background: var(--color-primary);
    display: flex;
    min-height: 400px;
    overflow: hidden;
    padding-top: 96px;
    position: relative;
}

.wib-hero__media,
.wib-hero__overlay {
    inset: 0;
    position: absolute;
}

.wib-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.wib-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.94) 0%, rgba(0, 17, 41, 0.76) 42%, rgba(0, 17, 41, 0.15) 100%);
}

.wib-hero .page-container {
    position: relative;
    z-index: 1;
}

.wib-hero h1 {
    max-width: 760px;
}

.wib-trust {
    margin-top: 0;
}

.wib-split {
    align-items: center;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.wib-copy {
    max-width: 835px;
}

.wib-copy p {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
}

.wib-image {
    border-radius: 10px;
    overflow: hidden;
}

.wib-image img {
    aspect-ratio: 835 / 641;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.wib-callout {
    background: var(--color-primary);
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
    max-width: 690px;
    padding: 18px 24px;
}

.wib-hazard .section-heading {
    margin-bottom: 42px;
}

.wib-card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wib-card {
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(11, 31, 58, 0.08);
    min-height: 182px;
    padding: 28px;
}

.wib-card__icon,
.wib-cause__icon {
    align-items: center;
    background: #f5f7fa;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin-bottom: 18px;
    width: 40px;
}

.wib-card__icon img,
.wib-cause__icon img {
    height: 22px;
    object-fit: contain;
    width: 22px;
}

.wib-card__icon--mask img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(93%) saturate(2115%) hue-rotate(171deg) brightness(96%) contrast(101%);
}

.wib-card h3,
.wib-cause h3,
.wib-flow-step h3 {
    margin-bottom: 8px;
}

.wib-card p,
.wib-cause p,
.wib-flow-step p {
    color: var(--color-text);
    font-size: 18px;
    line-height: 28px;
    margin: 0;
}

.wib-science__grid {
    display: grid;
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.wib-causes {
    display: grid;
    gap: 34px;
}

.wib-cause {
    align-items: flex-start;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 24px;
    grid-template-columns: 56px minmax(0, 1fr);
    padding-top: 34px;
}

.wib-cause__icon {
    height: 56px;
    margin-bottom: 0;
    width: 56px;
}

.wib-flow {
    background: #f0f9fd;
    border: 1px solid var(--color-accent);
    border-radius: 10px;
    display: grid;
    gap: 28px;
    padding: 36px;
}

.wib-flow__labels {
    color: var(--color-accent);
    display: flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: 1.6px;
    line-height: 24px;
    text-transform: uppercase;
}

.wib-flow-step {
    align-items: flex-start;
    display: grid;
    gap: 24px;
    grid-template-columns: 56px minmax(0, 1fr);
}

.wib-flow-step > span {
    align-items: center;
    background: var(--color-accent);
    color: #ffffff;
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 56px;
    justify-content: center;
    line-height: 32px;
    width: 56px;
}

.wib-bullets {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 28px 0;
    padding: 0;
}

.wib-bullets li {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
    padding-left: 18px;
    position: relative;
}

.wib-bullets li::before {
    background: var(--color-accent);
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 11px;
    width: 8px;
}

@media (max-width: 1199.98px) {
    .wib-split,
    .wib-science__grid {
        grid-template-columns: 1fr;
    }

    .wib-split--reverse .wib-image {
        order: 2;
    }
}

@media (max-width: 767.98px) {
    .wib-hero {
        min-height: 300px;
        padding-top: 82px;
    }

    .wib-hero h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .wib-split,
    .wib-science__grid {
        gap: 28px;
    }

    .wib-card-grid {
        grid-template-columns: 1fr;
    }

    .wib-copy p,
    .wib-card p,
    .wib-cause p,
    .wib-flow-step p,
    .wib-bullets li {
        font-size: 15px;
        line-height: 23px;
    }

    .wib-card {
        min-height: 0;
        padding: 22px;
    }

    .wib-flow {
        gap: 22px;
        padding: 22px;
    }

    .wib-flow__labels {
        font-size: 12px;
        gap: 12px;
        letter-spacing: 1.1px;
        line-height: 18px;
    }

    .wib-cause,
    .wib-flow-step {
        gap: 16px;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .wib-cause__icon,
    .wib-flow-step > span {
        height: 44px;
        width: 44px;
    }

.wib-flow-step > span {
        font-size: 18px;
        line-height: 24px;
    }
}

.svc-page {
    background: #ffffff;
}

.svc-hero {
    align-items: center;
    background: var(--color-primary);
    display: flex;
    min-height: 460px;
    overflow: hidden;
    padding-top: 96px;
    position: relative;
}

.svc-hero__media,
.svc-hero__overlay {
    inset: 0;
    position: absolute;
}

.svc-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: 68% 34%;
    width: 100%;
}

.svc-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.94) 0%, rgba(0, 17, 41, 0.78) 38%, rgba(0, 17, 41, 0.08) 100%);
}

.svc-hero .page-container {
    position: relative;
    z-index: 1;
}

.svc-hero h1 {
    max-width: 760px;
}

.svc-hero p {
    color: #ffffff;
    font-size: 24px;
    line-height: 32px;
    margin: 24px 0 0;
    max-width: 720px;
}

.svc-trust {
    margin-top: 0;
}

.svc-section--soft,
.svc-card-section--soft {
    background: #f2fbff;
}

.svc-split {
    align-items: center;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.svc-copy {
    max-width: 835px;
}

.svc-copy p,
.svc-detail-list p,
.svc-card p {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
}

.svc-copy p {
    margin-bottom: 18px;
}

.svc-note {
    color: var(--color-accent) !important;
    font-weight: 700;
}

.svc-copy .btn {
    margin-top: 14px;
}

.svc-image {
    border-radius: 10px;
    overflow: hidden;
}

.svc-image img {
    aspect-ratio: 835 / 641;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.svc-detail-list {
    display: grid;
    gap: 28px;
    margin-top: 28px;
}

.svc-detail-list.svc-editor {
    display: block;
}

.svc-detail-list h3,
.svc-card h3 {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    margin: 0 0 8px;
}

.svc-detail-list.svc-editor h3 {
    margin-top: 28px;
}

.svc-detail-list.svc-editor h3:first-child {
    margin-top: 0;
}

.svc-editor p:last-child {
    margin-bottom: 0;
}

.svc-card-section .section-heading {
    margin: 0 auto 36px;
    max-width: 1120px;
}

.svc-card-grid {
    display: grid;
    gap: 30px;
}

.svc-card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.svc-card {
    background: #ffffff;
    box-shadow: 0 21px 26px rgba(11, 31, 58, 0.1);
    padding: 36px;
}

.svc-card__icon {
    align-items: center;
    background: #f5f7fa;
    display: inline-flex;
    height: 56px;
    justify-content: center;
    margin-bottom: 22px;
    width: 56px;
}

.svc-card__icon img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.svc-card p {
    margin: 0;
}

@media (max-width: 1199.98px) {
    .svc-split {
        grid-template-columns: 1fr;
    }

    .svc-split--reverse .svc-image {
        order: 2;
    }

    .svc-card-grid--four,
    .svc-card-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .svc-hero {
        min-height: 380px;
        padding-top: 82px;
    }

    .svc-hero__media img {
        object-position: 62% 32%;
    }

    .svc-hero h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .svc-hero p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 16px;
    }

    .svc-split {
        gap: 28px;
    }

    .svc-card-grid--four,
    .svc-card-grid--three {
        grid-template-columns: 1fr;
    }

    .svc-copy p,
    .svc-detail-list p,
    .svc-card p {
        font-size: 15px;
        line-height: 23px;
    }

    .svc-detail-list h3,
    .svc-card h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .svc-card {
        padding: 24px;
    }

    .svc-card__icon {
        height: 44px;
        margin-bottom: 16px;
        width: 44px;
    }
}

/* Contact page */
.contact-hero {
    align-items: center;
    background: var(--color-primary);
    display: flex;
    min-height: 400px;
    overflow: hidden;
    padding-top: 97px;
    position: relative;
}

.contact-hero__media,
.contact-hero__overlay {
    inset: 0;
    position: absolute;
}

.contact-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.contact-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.94) 0%, rgba(0, 17, 41, 0.66) 46%, rgba(0, 17, 41, 0.04) 100%);
}

.contact-hero .page-container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    max-width: 737px;
}

.contact-trust {
    margin-top: 0;
}

.contact-form-section {
    padding: 90px 0 100px;
}

.contact-form-card {
    background: #ffffff;
    box-shadow: 0 14px 27px rgba(0, 152, 223, 0.1);
    margin: 0 auto;
    max-width: 1363px;
    padding: 60px 99px 66px;
}

.contact-form-card .section-heading {
    margin-bottom: 50px;
}

.contact-form-card .section-heading h2,
.contact-office-section .section-heading h2 {
    margin-bottom: 0;
}

.contact-gravity-form .gform_wrapper .gfield {
    margin-bottom: 19px;
}

.contact-gravity-form .gform_required_legend {
    display: none;
}

.contact-gravity-form .gform_wrapper .gfield_label {
    color: #292929;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    margin: 0 0 9px 20px;
}

.contact-gravity-form .gform_wrapper input[type="text"],
.contact-gravity-form .gform_wrapper input[type="email"],
.contact-gravity-form .gform_wrapper input[type="tel"],
.contact-gravity-form .gform_wrapper select,
.contact-gravity-form .gform_wrapper textarea {
    background: #ffffff;
    border: 1px solid rgba(0, 152, 223, 0.2);
    border-radius: 5px;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 26px;
    min-height: 68px;
    padding: 20px 30px;
    width: 100%;
    box-shadow: none;
    outline: none;
}

.contact-gravity-form .gform_wrapper select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #5b6678 50%), linear-gradient(135deg, #5b6678 50%, transparent 50%);
    background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 52px;
}

.contact-gravity-form .gform_wrapper textarea {
    min-height: 174px;
    resize: vertical;
}

.contact-gravity-form .gform_wrapper input::placeholder,
.contact-gravity-form .gform_wrapper textarea::placeholder {
    color: #5b6678;
    opacity: 1;
}

.contact-gravity-form .gform_wrapper .gform_footer {
    justify-content: center;
    margin: 51px 0 0;
    padding: 0;
}

.contact-gravity-form .gform_wrapper .gform_button {
    background: var(--color-accent) !important;
    border: 0;
    border-radius: 5px;
    box-shadow: var(--shadow-button);
    color: #ffffff !important;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 24px;
    min-height: 55px;
    padding: 15px 28px 17px;
    text-transform: uppercase;
}

.contact-office-section {
    padding: 0 0 100px;
}

.contact-office-section .page-container {
    padding-top: 100px;
}

.contact-office-section .section-heading {
    margin-bottom: 46px;
}

.contact-map {
    margin: 0 auto;
    max-width: 1700px;
    overflow: hidden;
}

.contact-map iframe {
    border: 0;
    display: block;
    height: 604px;
    width: 100%;
}

/* Reviews page */
.reviews-hero {
    align-items: center;
    background: var(--color-primary);
    display: flex;
    min-height: 400px;
    overflow: hidden;
    padding-top: 96px;
    position: relative;
}

.reviews-hero__media,
.reviews-hero__overlay {
    inset: 0;
    position: absolute;
}

.reviews-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.reviews-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.9) 0%, rgba(0, 17, 41, 0.55) 40%, rgba(0, 17, 41, 0.04) 100%);
}

.reviews-hero .page-container {
    position: relative;
    z-index: 1;
}

.reviews-hero h1 {
    max-width: 737px;
}

.reviews-trust {
    margin-top: 0;
}

.reviews-page-main {
    background: #ffffff;
    padding-bottom: 96px;
    padding-top: 100px;
}

.reviews-page-heading {
    margin-bottom: 35px;
}

.reviews-page-heading h2 {
    margin-bottom: 12px;
}

.reviews-page-rating {
    align-items: center;
    color: var(--color-text);
    display: inline-flex;
    font-size: 16px;
    gap: 10px;
    justify-content: center;
    line-height: 24px;
    margin: 0;
}

.reviews-page-rating span {
    color: #f5a623;
    letter-spacing: 2px;
}

.reviews-page-grid .back-flow-review-grid {
    gap: 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1720px;
}

.reviews-page-grid .back-flow-review-card {
    background: #f5f5f5;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 368px;
    padding: 28px;
}

.reviews-page-grid .back-flow-review-card__rating {
    font-size: 14px;
}

.reviews-page-grid .back-flow-review-card__text {
    font-size: 16px;
    line-height: 26px;
}

.reviews-page-grid .back-flow-review-card__avatar {
    flex-basis: 40px;
    height: 40px;
    width: 40px;
}

.reviews-page-grid .back-flow-review-card__avatar--fallback {
    font-size: 18px;
}

.reviews-page-grid .back-flow-review-card__name {
    color: #1a1a1a;
    font-size: 16px !important;
    font-weight: 600;
    letter-spacing: 1.6px;
    line-height: 24px !important;
    text-transform: uppercase;
}

.reviews-page-grid .back-flow-review-card__date {
    color: var(--color-text);
    font-size: 16px;
    line-height: 24px;
}

.reviews-page-actions {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 42px;
}

.reviews-page-load-more {
    gap: 8px;
}

.reviews-page-load-more span {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 1199.98px) {
    .reviews-page-grid .back-flow-review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1600px) {
    .reviews-page-grid .back-flow-review-card__text {
        font-size: 18px;
        line-height: 28px;
    }

    .reviews-page-grid .back-flow-review-card__date {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 767.98px) {
    .reviews-hero {
        min-height: 300px;
        padding-top: 82px;
    }

    .reviews-hero h1,
    .reviews-page-heading h2 {
        font-size: 34px;
        line-height: 40px;
    }

    .reviews-page-main {
        padding-bottom: 60px;
        padding-top: 62px;
    }

    .reviews-page-grid .back-flow-review-grid {
        grid-template-columns: 1fr;
    }

    .reviews-page-grid .back-flow-review-card {
        min-height: 0;
        padding: 22px;
    }

    .reviews-page-grid .back-flow-review-card__text,
    .reviews-page-grid .back-flow-review-card__date {
        font-size: 15px;
        line-height: 23px;
    }

    .reviews-page-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-top: 30px;
    }
}

/* 404 page */
.error-404-standalone,
.error-page {
    background: var(--color-primary);
    min-height: 100vh;
}

.error-hero {
    align-items: center;
    background: var(--color-primary);
    display: flex;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.error-hero__media,
.error-hero__overlay {
    inset: 0;
    position: absolute;
}

.error-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.error-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.96) 0%, rgba(0, 17, 41, 0.82) 45%, rgba(0, 17, 41, 0.35) 100%);
}

.error-hero .page-container {
    align-items: center;
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.error-hero__content {
    max-width: 820px;
}

.error-hero h1 {
    max-width: 780px;
}

.error-hero__text {
    color: #ffffff;
    font-size: 22px;
    line-height: 32px;
    margin: 0 0 34px;
    max-width: 690px;
}

.error-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-outline-light {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 5px;
    color: #ffffff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 1.6px;
    line-height: 24px;
    min-height: 54px;
    padding: 14px 28px;
    text-transform: uppercase;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--color-primary);
}

.error-help {
    background: #ffffff;
}

.error-help__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.error-help-card {
    background: #f5f5f5;
    color: inherit;
    display: grid;
    gap: 10px;
    min-height: 210px;
    padding: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-help-card:hover {
    box-shadow: 0 21px 26px rgba(11, 31, 58, 0.1);
    transform: translateY(-3px);
}

.error-help-card span {
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 800;
    line-height: 26px;
}

.error-help-card strong {
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
}

.error-help-card small {
    color: var(--color-text);
    font-size: 18px;
    line-height: 28px;
}

@media (max-width: 991.98px) {
    .error-help__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .error-hero {
        min-height: 100vh;
    }

    .error-hero .page-container {
        min-height: 100vh;
    }

    .error-hero h1,
    .error-help .section-heading h2 {
        font-size: 34px;
        line-height: 40px;
    }

    .error-hero__text {
        font-size: 16px;
        line-height: 24px;
    }

    .error-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .error-help-card {
        min-height: 0;
        padding: 24px;
    }

    .error-help-card strong {
        font-size: 20px;
        line-height: 28px;
    }

    .error-help-card small {
        font-size: 15px;
        line-height: 23px;
    }
}

body.has-static-header .hero-section,
body.has-static-header .service-areas-hero,
body.has-static-header .wib-hero,
body.has-static-header .svc-hero,
body.has-static-header .reviews-hero,
body.has-static-header .contact-hero,
body.has-static-header .legal-hero {
    padding-top: 0;
}

/* Legal pages */
.legal-page {
    background: #ffffff;
}

.legal-hero {
    align-items: center;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    min-height: 390px;
    overflow: hidden;
    padding: 116px 0 56px;
    position: relative;
}

.legal-hero__media,
.legal-hero__overlay {
    inset: 0;
    position: absolute;
}

.legal-hero__media img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.legal-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 17, 41, 0.94) 0%, rgba(0, 17, 41, 0.78) 45%, rgba(0, 17, 41, 0.28) 100%);
}

.legal-hero .page-container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    color: #ffffff;
    font-size: 64px;
    line-height: 74px;
    margin: 0;
}

.legal-content-section {
    padding: 90px 0 110px;
}

.legal-content {
    color: var(--color-text);
    font-size: 18px;
    line-height: 30px;
    margin: 0 auto;
    max-width: 980px;
}

.legal-content > *:first-child {
    margin-top: 0;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    color: var(--color-primary);
    font-weight: 800;
    margin: 42px 0 14px;
}

.legal-content h2 {
    font-size: 30px;
    line-height: 38px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin: 0 0 20px;
}

.legal-content a {
    color: var(--color-brand);
}

/* Thank you page */
.thank-you-section {
    padding: 180px 0 100px;
}

.thank-you-card {
    background: #ffffff;
    box-shadow: 0 14px 27px rgba(0, 152, 223, 0.1);
    margin: 0 auto;
    max-width: 980px;
    padding: 72px 64px;
    text-align: center;
}

.thank-you-card h1 {
    color: var(--color-primary);
    font-size: 64px;
    line-height: 74px;
    margin: 16px auto 20px;
    max-width: 760px;
}

.thank-you-card__text {
    color: var(--color-text);
    font-size: 20px;
    line-height: 30px;
    margin: 0 auto 32px;
    max-width: 680px;
}

.thank-you-card__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .contact-form-card {
        padding: 54px 48px 60px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        min-height: 300px;
        padding-top: 82px;
    }

    .contact-hero h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .contact-form-section {
        padding: 50px 0 60px;
    }

    .contact-form-card {
        padding: 36px 24px 42px;
    }

    .contact-form-card .section-heading {
        margin-bottom: 24px;
    }

    .contact-form-card .section-heading h2 {
        font-size: 34px;
        line-height: 40px;
        white-space: nowrap;
    }

    .contact-form-card .section-heading h2 span {
        display: inline !important;
    }

    .contact-gravity-form .gform_wrapper .gform_fields {
        row-gap: 12px !important;
    }

    .contact-gravity-form .gform_wrapper .gfield_label {
        font-size: 18px;
        line-height: 24px;
        margin-left: 10px;
    }

    .contact-gravity-form .gform_wrapper .gfield {
        margin-bottom: 0 !important;
    }

    .contact-gravity-form .gform_wrapper input[type="text"],
    .contact-gravity-form .gform_wrapper input[type="email"],
    .contact-gravity-form .gform_wrapper input[type="tel"],
    .contact-gravity-form .gform_wrapper select,
    .contact-gravity-form .gform_wrapper textarea {
        font-size: 14px;
        line-height: 22px;
        min-height: 54px;
        padding: 14px 18px;
    }

    .contact-gravity-form .gform_wrapper textarea {
        height: 180px !important;
        min-height: 180px;
    }

    .contact-office-section {
        padding-bottom: 60px;
    }

    .contact-office-section .page-container {
        padding-top: 50px;
    }

    .contact-map iframe {
        height: 320px;
    }

    .thank-you-section {
        padding: 120px 0 60px;
    }

    .legal-hero {
        min-height: 300px;
        padding: 90px 0 42px;
    }

    .legal-hero h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .legal-content-section {
        padding: 50px 0 64px;
    }

    .legal-content {
        font-size: 16px;
        line-height: 26px;
    }

    .legal-content h2 {
        font-size: 24px;
        line-height: 31px;
        margin-top: 34px;
    }

    .thank-you-card {
        padding: 42px 24px;
    }

    .thank-you-card h1 {
        font-size: 34px;
        line-height: 40px;
    }

    .thank-you-card h1 span {
        display: inline !important;
    }

    .thank-you-card__text {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 991.98px) {
    .footer-contact__row {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .footer-contact a {
        max-width: 100%;
    }

    .footer-contact strong {
        font-size: clamp(18px, 3vw, 22px);
        line-height: 28px;
    }
}

@media (max-width: 575.98px) {
    .footer-contact a {
        gap: 12px;
    }

    .footer-contact__icon {
        flex-basis: 46px;
        height: 46px;
        width: 46px;
    }

    .footer-contact span {
        font-size: 16px;
        line-height: 22px;
    }

    .footer-contact strong {
        font-size: clamp(16px, 4.3vw, 18px);
        line-height: 24px;
    }
}
