/* app.css — website-specific overrides on top of shared-styles.css */

/* Blazor error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    border-top: 1px solid #ffc107;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
    font-family: var(--fx-font);
    font-size: 0.875rem;
    color: #1a1c1c;
}
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    padding: 1rem;
    background: #ffdad6;
    color: #93000a;
    font-family: var(--fx-font);
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* Form validation helpers */
.valid.modified:not([type=checkbox]) { outline: 2px solid #05a357; }
.invalid { outline: 2px solid #ba1a1a; }
.validation-message { color: #ba1a1a; font-size: 0.8125rem; margin-top: 4px; }

/* Standalone cleaning-services marketing page */
.fx-marketing-shell,
.fx-market-page {
    min-height: 100%;
    background: #fff;
    color: #171717;
}

.fx-market-page {
    overflow-x: hidden;
}

.fx-market-page a,
.fx-market-page a:hover,
.fx-market-page a:focus {
    text-decoration: none;
}

.fx-market-page h1,
.fx-market-page h2,
.fx-market-page h3,
.fx-market-page p {
    letter-spacing: 0;
}

.fx-market-page h2 {
    max-width: 780px;
    margin: 0;
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 800;
}

.fx-market-page h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.fx-market-page p {
    line-height: 1.65;
}

.fx-market-skip {
    position: fixed;
    z-index: 1100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: #fff;
    color: #000;
}

.fx-market-hero {
    position: relative;
    height: min(760px, 86svh);
    min-height: 620px;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.fx-market-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.fx-market-hero__shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    pointer-events: none;
}

.fx-market-nav {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-inline: 28px;
}

.fx-market-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.fx-market-brand:hover,
.fx-market-brand:focus {
    color: #fff;
}

.fx-market-brand img {
    border: 1px solid rgb(0 0 0 / 55%);
    padding: 5px;
    background: #000;
    border-radius: 50%;
}

.fx-market-nav__links {
    align-items: center;
    gap: 30px;
}

.fx-market-nav__links a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
}

.fx-market-nav__links a:hover,
.fx-market-nav__links a:focus {
    color: #fff;
}

.fx-market-nav .btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
}

.fx-market-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    height: calc(100% - 84px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 28px 56px;
}

.fx-market-eyebrow,
.fx-market-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #5a5a5a;
    font-family: var(--fx-font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fx-market-eyebrow {
    color: rgba(255, 255, 255, 0.88);
}

.fx-market-eyebrow span {
    display: block;
    width: 38px;
    height: 3px;
    background: var(--fx-orange);
}

.fx-market-section-label--light {
    color: rgba(255, 255, 255, 0.66);
}

.fx-market-hero h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #fff;
    font-size: 4.1rem;
    line-height: 0.98;
    font-weight: 800;
}

.fx-market-hero h1 span {
    color: #ff7a2e;
}

.fx-market-hero__content > p {
    max-width: 590px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.13rem;
}

.fx-market-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
}

.fx-market-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fx-market-hero__proof .material-symbols-outlined {
    color: #ff7a2e;
    font-size: 18px;
}

.fx-market-platforms,
.fx-market-how,
.fx-market-trust {
    padding: 96px 28px;
}

.fx-market-platforms {
    border-bottom: 1px solid #dedede;
    background: #fff;
}

.fx-market-lead {
    color: #5c5c5c;
    font-size: 1.08rem;
}

.fx-market-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-block: 1px solid #dedede;
}

.fx-market-platform {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
    padding: 28px;
    border-right: 1px solid #dedede;
}

.fx-market-platform:last-child {
    border-right: 0;
}

.fx-market-platform > .material-symbols-outlined {
    flex: 0 0 44px;
    font-size: 38px;
}

.fx-market-platform strong,
.fx-market-platform small {
    display: block;
}

.fx-market-platform strong {
    font-size: 1.05rem;
}

.fx-market-platform small {
    margin-top: 3px;
    color: #6a6a6a;
}

.fx-market-how {
    background: #f3f5f6;
}

.fx-market-how > .container-xxl > h2 {
    margin-bottom: 56px;
}

.fx-market-steps {
    border-block: 1px solid #cfd3d5;
}

.fx-market-step {
    position: relative;
    min-height: 340px;
    padding: 40px;
    border-right: 1px solid #cfd3d5;
}

.fx-market-steps > div:last-child .fx-market-step {
    border-right: 0;
}

.fx-market-step__number {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #777;
    font-family: var(--fx-font-mono);
    font-size: 0.72rem;
}

.fx-market-step > .material-symbols-outlined {
    margin-bottom: 60px;
    color: var(--fx-orange);
    font-size: 42px;
}

.fx-market-step h3 {
    margin-bottom: 12px;
}

.fx-market-step p {
    margin: 0;
    color: #606466;
}

.fx-market-product {
    padding: 108px 28px;
    color: #fff;
}

.fx-market-product h2 {
    color: #fff;
}

.fx-market-product .fx-market-lead {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.68);
}

.fx-market-device-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
}

.fx-market-device {
    min-width: 0;
    margin: 0;
}

.fx-market-device--featured {
    transform: translateY(-28px);
}

.fx-market-device__screen {
    aspect-ratio: 390 / 844;
    overflow: hidden;
    padding: 7px;
    border: 1px solid #484848;
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.fx-market-device__screen img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    object-fit: cover;
}

.fx-market-device figcaption {
    min-height: 42px;
    padding-top: 14px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
    text-align: center;
}

.fx-market-offerings {
    padding: 108px 28px;
}

.fx-market-offerings--customer {
    border-bottom: 1px solid #dedede;
    background: #fff;
}

.fx-market-offerings--cleaner {
    background: #202020;
    color: #fff;
}

.fx-market-offerings--cleaner h2 {
    color: #fff;
}

.fx-market-offerings--cleaner .fx-market-lead {
    color: rgba(255, 255, 255, 0.7);
}

.fx-market-offerings__list {
    display: grid;
    gap: 20px;
    margin: 32px 0 36px;
}

.fx-market-offerings__list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.fx-market-offerings__list li > .material-symbols-outlined {
    color: var(--fx-orange);
    font-size: 26px;
}

.fx-market-offerings__list li span:last-child {
    color: #5e6264;
    line-height: 1.5;
}

.fx-market-offerings__list strong {
    display: block;
    margin-bottom: 2px;
    color: #171717;
}

.fx-market-offerings--cleaner .fx-market-offerings__list li span:last-child {
    color: rgba(255, 255, 255, 0.68);
}

.fx-market-offerings--cleaner .fx-market-offerings__list strong {
    color: #fff;
}

.fx-market-product-carousel {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
}

.fx-market-product-carousel .carousel-inner {
    min-height: 0;
}

.fx-market-product-carousel__figure {
    width: calc(100% - 64px);
    max-width: 320px;
    margin: 0 auto;
}

.fx-market-product-carousel__screen {
    aspect-ratio: 390 / 844;
    overflow: hidden;
    padding: 7px;
    border: 1px solid #484848;
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.fx-market-product-carousel__screen img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    object-fit: cover;
}

.fx-market-product-carousel figcaption {
    min-height: 70px;
    padding: 16px 28px 28px;
    color: #626668;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.fx-market-product-carousel--dark figcaption {
    color: rgba(255, 255, 255, 0.7);
}

.fx-market-product-carousel .carousel-control-prev,
.fx-market-product-carousel .carousel-control-next {
    top: 42%;
    bottom: auto;
    width: 44px;
    height: 44px;
    color: #171717;
    opacity: 0.72;
}

.fx-market-product-carousel--dark .carousel-control-prev,
.fx-market-product-carousel--dark .carousel-control-next {
    color: #fff;
}

.fx-market-product-carousel .carousel-control-prev:hover,
.fx-market-product-carousel .carousel-control-next:hover,
.fx-market-product-carousel .carousel-control-prev:focus-visible,
.fx-market-product-carousel .carousel-control-next:focus-visible {
    color: var(--fx-orange);
    opacity: 1;
}

.fx-market-product-carousel .carousel-control-prev .material-symbols-outlined,
.fx-market-product-carousel .carousel-control-next .material-symbols-outlined {
    font-size: 34px;
}

.fx-market-product-carousel .carousel-indicators {
    bottom: 3px;
    gap: 5px;
    margin-bottom: 0;
}

.fx-market-product-carousel .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 3px;
    margin: 0;
    border: 0;
    background-color: #9a9da0;
}

.fx-market-product-carousel--dark .carousel-indicators [data-bs-target] {
    background-color: #fff;
}

.fx-market-capabilities {
    padding: 108px 28px;
    border-bottom: 1px solid #d7dcde;
    background: #eef2f3;
}

.fx-market-capabilities__intro {
    max-width: 820px;
    margin-bottom: 52px;
}

.fx-market-capabilities__intro .fx-market-lead {
    max-width: 720px;
    margin-top: 20px;
    margin-bottom: 0;
}

.fx-market-capability-row {
    padding-block: 76px;
    border-top: 1px solid #cbd2d5;
}

.fx-market-capability-row--cleaner {
    padding-bottom: 12px;
}

.fx-market-capability-row h3 {
    max-width: 620px;
    font-size: 2rem;
    line-height: 1.12;
}

.fx-market-capability-list {
    display: grid;
    gap: 18px;
    margin: 30px 0 0;
}

.fx-market-capability-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 13px;
}

.fx-market-capability-list .material-symbols-outlined {
    color: var(--fx-orange);
    font-size: 25px;
}

.fx-market-capability-list span:last-child {
    color: #5e6264;
    line-height: 1.45;
}

.fx-market-capability-list strong {
    display: block;
    margin-bottom: 2px;
    color: #171717;
}

.fx-market-capability-shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    max-width: 620px;
    margin-inline: auto;
}

.fx-market-capability-shot {
    min-width: 0;
    margin: 0;
}

.fx-market-capability-shot--offset {
    margin-top: 46px;
}

.fx-market-capability-shot__screen {
    aspect-ratio: 390 / 844;
    overflow: hidden;
    padding: 7px;
    border: 1px solid #363a3b;
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 24px 58px rgba(27, 34, 36, 0.22);
}

.fx-market-capability-shot__screen img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    object-fit: cover;
}

.fx-market-capability-shot figcaption {
    min-height: 48px;
    padding: 14px 8px 0;
    color: #62686a;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.fx-market-audiences {
    background: #fff;
}

.fx-market-audience {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px;
}

.fx-market-audience--customer {
    background: #ff6a16;
    color: #171717;
}

.fx-market-audience--cleaner {
    color: #fff;
}

.fx-market-audience h2 {
    max-width: 560px;
}

.fx-market-audience > p {
    max-width: 590px;
    margin: 24px 0;
    font-size: 1.07rem;
}

.fx-market-audience ul {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.fx-market-audience li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fx-market-audience li .material-symbols-outlined {
    font-size: 20px;
}

.fx-market-audience--cleaner > p,
.fx-market-audience--cleaner li {
    color: rgba(255, 255, 255, 0.75);
}

.fx-market-audience--customer .fx-market-section-label {
    color: rgba(0, 0, 0, 0.58);
}

.fx-market-trust {
    background: #fff;
}

.fx-market-trust-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #dedede;
}

.fx-market-trust-list > div {
    display: flex;
    gap: 18px;
    min-height: 180px;
    padding: 30px 24px;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.fx-market-trust-list > div:nth-child(even) {
    border-right: 0;
}

.fx-market-trust-list .material-symbols-outlined {
    flex: 0 0 36px;
    color: var(--fx-orange);
    font-size: 32px;
}

.fx-market-trust-list h3 {
    margin-bottom: 8px;
}

.fx-market-trust-list p {
    margin: 0;
    color: #686868;
}

.fx-market-countries {
    padding: 104px 32px;
    background: #f4f7f8;
}

.fx-market-country-group {
    padding: 34px 0;
    border-top: 1px solid #cfd6d8;
}

.fx-market-country-group--full {
    border-top: 3px solid #198754;
}

.fx-market-country-group--preview {
    border-bottom: 1px solid #cfd6d8;
}

.fx-market-country-group__heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 12px;
}

.fx-market-country-group__heading > div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fx-market-country-group__heading h3 {
    margin: 0;
    font-size: 1.25rem;
}

.fx-market-country-group__heading > span {
    color: #5f686b;
    font-size: 0.875rem;
    white-space: nowrap;
}

.fx-market-country-group > p {
    max-width: 860px;
    color: #586265;
}

.fx-market-country-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 24px;
}

.fx-market-country {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #dce1e2;
    font-size: 0.9375rem;
    color: #202729;
    text-decoration: none;
}

.fx-market-country:hover,
.fx-market-country:focus-visible {
    color: #0d6efd;
    border-bottom-color: #9ec5fe;
}

.fx-market-country > .material-symbols-outlined {
    font-size: 1.1rem;
}

.fx-market-country__flag {
    flex: 0 0 auto;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(16, 24, 32, 0.12);
}

.fx-market-country-alert {
    max-width: 980px;
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #cfd6d8;
}

.fx-market-country-alert .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
}

.fx-market-country-alert .material-symbols-outlined {
    font-size: 1.15rem;
}

/* Country and city directory pages */
.fx-location-directory {
    min-height: 100%;
    background: #fff;
    color: #171717;
}

.fx-location-directory a {
    text-decoration: none;
}

.fx-location-directory__intro {
    padding: 72px 32px;
    background: #eef6ff;
    border-bottom: 1px solid #cfdae6;
}

.fx-location-directory__intro h1 {
    margin: 0 0 16px;
    font-size: 4.25rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.fx-location-directory__intro .lead {
    max-width: 760px;
    color: #43515a;
}

.fx-location-directory__flag {
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(16, 24, 32, 0.14);
}

.fx-location-link-grid,
.fx-location-city-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 24px;
}

.fx-location-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 14px 0;
    color: #172129;
    border-bottom: 1px solid #dce1e2;
    font-weight: 650;
}

.fx-location-link:hover,
.fx-location-link:focus-visible,
.fx-location-city-grid a:hover,
.fx-location-city-grid a:focus-visible {
    color: #0d6efd;
}

.fx-location-link .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.fx-location-region-list {
    border-top: 1px solid #cfd6d8;
}

.fx-location-region {
    padding: 18px 0;
    border-bottom: 1px solid #cfd6d8;
}

.fx-location-region h3 a {
    color: #172129;
}

.fx-location-region h3 a:hover,
.fx-location-region h3 a:focus-visible {
    color: #0d6efd;
}

.fx-location-region .btn {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
}

.fx-location-region .btn .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 160ms ease;
}

.fx-location-region .btn[aria-expanded="true"] .material-symbols-outlined {
    transform: rotate(180deg);
}

.fx-location-city-grid a {
    min-width: 0;
    padding: 7px 0;
    color: #3f4a50;
}

.fx-location-city-grid--wide {
    padding-block: 8px 32px;
    border-top: 1px solid #cfd6d8;
    border-bottom: 1px solid #cfd6d8;
}

.fx-market-final {
    padding: 70px 28px;
    color: #fff;
}

.fx-market-final > .container-xxl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.fx-market-final h2 {
    max-width: 850px;
    color: #fff;
}

.fx-market-footer {
    padding: 30px 28px;
    border-top: 1px solid #303030;
    background: #101010;
    color: rgba(255, 255, 255, 0.72);
}

.fx-market-footer > .container-xxl {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.fx-market-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.fx-market-footer__brand img {
    border-radius: 50%;
}

.fx-market-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.fx-market-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.fx-market-footer a:hover,
.fx-market-footer a:focus {
    color: #fff;
}

.fx-market-footer small {
    justify-self: end;
}

@media (max-width: 991.98px) {
    .fx-location-link-grid,
    .fx-location-city-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fx-market-page h2 {
        font-size: 2.55rem;
    }

    .fx-market-hero h1 {
        max-width: 650px;
        font-size: 3.4rem;
    }

    .fx-market-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-market-platform:nth-child(2) {
        border-right: 0;
    }

    .fx-market-platform:nth-child(-n + 2) {
        border-bottom: 1px solid #dedede;
    }

    .fx-market-product .fx-market-section-label {
        margin-top: 8px;
    }

    .fx-market-offerings {
        padding-block: 88px;
    }

    .fx-market-capabilities {
        padding-block: 88px;
    }

    .fx-market-capability-row {
        padding-block: 68px;
    }

    .fx-market-device-gallery {
        max-width: 760px;
        margin-inline: auto;
    }

    .fx-market-audience {
        min-height: auto;
        padding: 80px 48px;
    }

    .fx-market-final > .container-xxl {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .fx-location-link-grid,
    .fx-location-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-market-page h2 {
        font-size: 2.15rem;
        line-height: 1.08;
    }

    .fx-market-nav {
        min-height: 72px;
        padding-inline: 16px;
    }

    .fx-market-brand span {
        display: none;
    }

    .fx-market-hero {
        height: min(720px, 90svh);
        min-height: 590px;
    }

    .fx-market-hero__image {
        object-position: 61% center;
    }

    .fx-market-hero__shade {
        background: rgba(0, 0, 0, 0.52);
    }

    .fx-market-hero__content {
        height: calc(100% - 72px);
        justify-content: flex-end;
        padding: 24px 16px 38px;
    }

    .fx-market-hero h1 {
        font-size: 2.65rem;
        line-height: 1;
    }

    .fx-market-hero__content > p {
        max-width: 520px;
        font-size: 1rem;
    }

    .fx-market-hero__proof {
        margin-top: 22px;
        gap: 8px 16px;
    }

    .fx-market-platforms,
    .fx-market-how,
    .fx-market-trust,
    .fx-market-countries,
    .fx-market-product,
    .fx-market-offerings,
    .fx-market-capabilities {
        padding: 72px 16px;
    }

    .fx-market-how > .container-xxl > h2 {
        margin-bottom: 38px;
    }

    .fx-market-step {
        min-height: 0;
        padding: 34px 16px 34px 4px;
        border-right: 0;
        border-bottom: 1px solid #cfd3d5;
    }

    .fx-market-steps > div:last-child .fx-market-step {
        border-bottom: 0;
    }

    .fx-market-step > .material-symbols-outlined {
        margin-bottom: 34px;
    }

    .fx-market-device-gallery {
        display: flex;
        max-width: none;
        gap: 14px;
        margin-inline: -16px;
        padding: 16px 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .fx-market-device,
    .fx-market-device--featured {
        flex: 0 0 72%;
        transform: none;
        scroll-snap-align: center;
    }

    .fx-market-audience {
        padding: 72px 20px;
    }

    .fx-market-offerings--cleaner .row {
        --bs-gutter-y: 3.5rem;
    }

    .fx-market-capabilities__intro {
        margin-bottom: 44px;
    }

    .fx-market-capability-row {
        padding-block: 58px;
    }

    .fx-market-capability-row--cleaner {
        padding-bottom: 0;
    }

    .fx-market-capability-row h3 {
        font-size: 1.75rem;
    }

    .fx-market-capability-shots {
        display: flex;
        max-width: none;
        gap: 14px;
        margin-inline: -16px;
        padding: 8px 16px 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .fx-market-capability-shot,
    .fx-market-capability-shot--offset {
        flex: 0 0 74%;
        margin-top: 0;
        transform: none;
        scroll-snap-align: center;
    }

    .fx-market-trust-list {
        grid-template-columns: 1fr;
    }

    .fx-market-country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-market-trust-list > div,
    .fx-market-trust-list > div:nth-child(even) {
        min-height: 0;
        padding-inline: 8px;
        border-right: 0;
    }

    .fx-market-final {
        padding: 64px 16px;
    }

    .fx-market-footer {
        padding: 34px 16px;
    }

    .fx-market-footer > .container-xxl {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .fx-market-footer nav {
        justify-content: flex-start;
    }

    .fx-market-footer small {
        justify-self: start;
    }
}

@media (max-width: 575.98px) {
    .fx-market-platform-grid {
        grid-template-columns: 1fr;
    }

    .fx-market-platform,
    .fx-market-platform:nth-child(2) {
        padding: 20px 6px;
        border-right: 0;
        border-bottom: 1px solid #dedede;
    }

    .fx-market-platform:last-child {
        border-bottom: 0;
    }

    .fx-market-product-carousel__figure {
        width: calc(100% - 48px);
    }

    .fx-market-product-carousel .carousel-control-prev,
    .fx-market-product-carousel .carousel-control-next {
        width: 36px;
    }

    .fx-market-country-group__heading,
    .fx-market-country-group__heading > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .fx-market-country-grid {
        grid-template-columns: 1fr;
    }

    .fx-location-directory__intro {
        padding: 48px 16px;
    }

    .fx-location-directory__intro h1 {
        font-size: 2.5rem;
    }

    .fx-location-link-grid,
    .fx-location-city-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-market-page *,
    .fx-market-page *::before,
    .fx-market-page *::after {
        scroll-behavior: auto !important;
    }
}
