/* =========================================================
   ACORA HOME PAGE
   HERO CINEMATIC SLIDER
   ========================================================= */

.acora-hero-slider {
    --hero-blue: #1c4178;
    --hero-dark: #07162a;
    --hero-white: #ffffff;
    --slide-duration: 6500ms;

    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    background: #e9eef5;
    isolation: isolate;
}

.acora-slider-stage {
    position: absolute;
    inset: 0;
}

.acora-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transform: scale(1.015);
    transform-origin: center;
    transition:
        opacity 560ms ease,
        transform 700ms cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 700ms;
}

.acora-slide.is-active {
    z-index: 3;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 560ms ease,
        transform 700ms cubic-bezier(.22, 1, .36, 1),
        visibility 0s;
}

.acora-slide.is-leaving {
    z-index: 2;
    visibility: visible;
    opacity: 0;
    transform: scale(1.01);
}


/* Image */

.acora-slide-picture {
    position: absolute;
    inset: 0;
    display: block;
}

.acora-slide-picture::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .98) 0%,
            rgba(255, 255, 255, .94) 24%,
            rgba(255, 255, 255, .64) 42%,
            rgba(255, 255, 255, .12) 67%,
            rgba(255, 255, 255, 0) 100%
        );
}

.acora-slide-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.acora-slide.is-active .acora-slide-picture img {
    transform: scale(1);
}

.acora-slide.is-leaving .acora-slide-picture img {
    transform: scale(1.01);
}


/* Additional Overlay */

.acora-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 76% 46%,
            rgba(255, 255, 255, 0) 0%,
            rgba(28, 65, 120, .025) 36%,
            rgba(28, 65, 120, .09) 100%
        );
}


/* Content */

.acora-slide-inner {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    min-height: 760px;
}

.acora-slide-content {
    width: min(600px, 48%);
    padding-top: 20px;
    color: #0d1f38;
}

.acora-slide-eyebrow,
.acora-slide-content h1,
.acora-slide-content h2,
.acora-slide-content p,
.acora-slide-actions {
    opacity: 0;
    transform: translate3d(-55px, 28px, 0);
}

.acora-slide.is-active .acora-slide-eyebrow {
    animation: acoraTextReveal 850ms 180ms forwards;
}

.acora-slide.is-active .acora-slide-content h1,
.acora-slide.is-active .acora-slide-content h2 {
    animation: acoraTextReveal 950ms 330ms forwards;
}

.acora-slide.is-active .acora-slide-content p {
    animation: acoraTextReveal 900ms 500ms forwards;
}

.acora-slide.is-active .acora-slide-actions {
    animation: acoraTextReveal 900ms 650ms forwards;
}

@keyframes acoraTextReveal {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.acora-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--hero-blue);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.acora-slide-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--hero-blue);
}

.acora-slide-content h1,
.acora-slide-content h2 {
    margin: 0;
    color: #0d1f38;
    font-family: "Playfair Display", serif;
    font-size: clamp(50px, 5.3vw, 82px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.acora-slide-content h1 span,
.acora-slide-content h2 span {
    display: block;
    color: var(--hero-blue);
}

.acora-slide-content p {
    max-width: 560px;
    margin: 25px 0 0;
    color: #465367;
    font-size: 17px;
    line-height: 1.8;
}

.acora-slide-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.acora-hero-btn {
    gap: 12px;
    min-width: 178px;
}

.acora-hero-btn span {
    transition: transform 250ms ease;
}

.acora-hero-btn:hover span {
    transform: translateX(5px);
}

.acora-hero-outline {
    min-width: 150px;
    color: var(--hero-blue);
    border: 1px solid rgba(28, 65, 120, .38);
    background: rgba(255, 255, 255, .58);
    backdrop-filter: none;
}

.acora-hero-outline:hover {
    color: #ffffff;
    border-color: var(--hero-blue);
    background: var(--hero-blue);
    transform: translateY(-2px);
}


/* 3D Decorative Shapes */

.acora-depth-shape {
    display: none;
}

.acora-depth-shape-one {
    right: -130px;
    bottom: -235px;
    width: 610px;
    height: 610px;
    border-radius: 50%;
    animation: acoraShapeFloat 8s ease-in-out infinite;
}

.acora-depth-shape-two {
    right: 25%;
    top: -170px;
    width: 330px;
    height: 330px;
    border-radius: 45% 55% 52% 48%;
    transform: rotate(22deg);
    animation: acoraShapeFloat 10s 1s ease-in-out infinite reverse;
}

@keyframes acoraShapeFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(0, -22px, 0) rotate(5deg);
    }
}


/* Navigation Arrows */

.acora-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    color: var(--hero-blue);
    font-size: 21px;
    border: 1px solid rgba(28, 65, 120, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 14px 40px rgba(28, 65, 120, .13);
    backdrop-filter: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 250ms ease,
        background 250ms ease,
        transform 250ms ease;
}

.acora-slider-arrow:hover {
    color: #ffffff;
    background: var(--hero-blue);
}

.acora-slider-prev {
    left: 24px;
}

.acora-slider-prev:hover {
    transform: translateY(-50%) translateX(-4px);
}

.acora-slider-next {
    right: 24px;
}

.acora-slider-next:hover {
    transform: translateY(-50%) translateX(4px);
}


/* Bottom Pagination */

.acora-slider-bottom {
    position: absolute;
    right: 0;
    bottom: 29px;
    left: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acora-slider-pagination {
    display: flex;
    align-items: center;
    gap: 20px;
}

.acora-slider-dot {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 5px 0;
    color: rgba(13, 31, 56, .48);
    border: 0;
    background: transparent;
    cursor: pointer;
}

.acora-dot-number {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.acora-dot-progress {
    position: relative;
    display: block;
    width: 65px;
    height: 3px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(28, 65, 120, .18);
}

.acora-dot-progress span {
    position: absolute;
    inset: 0;
    background: var(--hero-blue);
    transform: scaleX(0);
    transform-origin: left;
}

.acora-slider-dot.is-active {
    color: var(--hero-blue);
}

.acora-slider-dot.is-active .acora-dot-progress span {
    animation: acoraProgress var(--slide-duration) linear forwards;
}

.acora-hero-slider.is-paused
.acora-slider-dot.is-active
.acora-dot-progress span {
    animation-play-state: paused;
}

@keyframes acoraProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* Pause Button */

.acora-slider-pause {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--hero-blue);
    border: 1px solid rgba(28, 65, 120, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.acora-slider-pause .play-symbol {
    display: none;
    padding-left: 2px;
    font-size: 12px;
}

.acora-hero-slider.is-paused
.acora-slider-pause
.pause-symbol {
    display: none;
}

.acora-hero-slider.is-paused
.acora-slider-pause
.play-symbol {
    display: inline;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .acora-hero-slider,
    .acora-slide-inner {
        min-height: 680px;
    }

    .acora-slide-content {
        width: min(590px, 55%);
    }

    .acora-slide-picture::after {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .98) 0%,
                rgba(255, 255, 255, .9) 35%,
                rgba(255, 255, 255, .3) 70%,
                rgba(255, 255, 255, 0) 100%
            );
    }

    .acora-slider-arrow {
        width: 46px;
        height: 46px;
    }

    .acora-slider-prev {
        left: 12px;
    }

    .acora-slider-next {
        right: 12px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .acora-hero-slider {
        min-height: 560px;
        min-height: max(560px, calc(100svh - 74px));
        max-height: 850px;
        background: #e8edf4;
    }

    .acora-slide-inner {
        min-height: 560px;
        min-height: max(560px, calc(100svh - 74px));
        max-height: 850px;
        align-items: flex-end;
        padding-top: 90px;
        padding-bottom: 115px;
    }

    .acora-slide-picture img {
        object-position: right top;
        transform: scale(1.12);
    }

    .acora-slide.is-active .acora-slide-picture img {
        transform: scale(1.02);
    }

    .acora-slide-picture::after {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .02) 0%,
                rgba(255, 255, 255, .1) 30%,
                rgba(255, 255, 255, .74) 56%,
                rgba(255, 255, 255, .98) 77%,
                #ffffff 100%
            );
    }

    .acora-slide-overlay {
        background:
            linear-gradient(
                180deg,
                transparent 0%,
                rgba(28, 65, 120, .025) 55%,
                rgba(28, 65, 120, .06) 100%
            );
    }

    .acora-slide-content {
        width: 100%;
        max-width: 620px;
        padding-right: 10px;
    }

    .acora-slide-eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .acora-slide-eyebrow::before {
        width: 30px;
    }

    .acora-slide-content h1,
    .acora-slide-content h2 {
        font-size: clamp(38px, 11vw, 58px);
        line-height: 1.02;
    }

    .acora-slide-content p {
        max-width: 520px;
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.65;
    }

    .acora-slide-actions {
        gap: 10px;
        margin-top: 23px;
    }

    .acora-slide-actions .btn {
        min-width: 0;
        padding: 11px 15px;
        font-size: 12px;
    }

    /* Move navigation arrows to bottom on mobile so they don't overlap slide content */
    .acora-slider-arrow {
        top: 20%;
        bottom: 78px;
        width: 40px;
        height: 40px;
        font-size: 17px;
        transform: none;
    }

    .acora-slider-prev {
        left: 18px;
    }

    .acora-slider-next {
        right: 18px;
    }

    .acora-slider-bottom {
        bottom: 20px;
    }

    .acora-slider-pagination {
        gap: 10px;
    }

    .acora-dot-progress {
        width: 37px;
    }

    .acora-slider-pause {
        width: 37px;
        height: 37px;
    }

    .acora-depth-shape {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .acora-slide-inner {
        padding-bottom: 105px;
    }

    .acora-slide-content h1,
    .acora-slide-content h2 {
        font-size: 38px;
    }

    .acora-slide-actions {
        align-items: stretch;
    }

    .acora-slide-actions .btn {
        flex: 1;
    }

    .acora-dot-number {
        display: none;
    }

    .acora-dot-progress {
        width: 44px;
    }
}


/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    .acora-slide,
    .acora-slide-picture img,
    .acora-depth-shape {
        transition: none;
        animation: none;
    }

    .acora-slide-eyebrow,
    .acora-slide-content h1,
    .acora-slide-content h2,
    .acora-slide-content p,
    .acora-slide-actions {
        opacity: 1;
        transform: none;
        filter: none;
    }
}


/* =========================================================
   HOME STATS
   ========================================================= */

.home-stats {
    position: relative;
    z-index: 6;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    padding: clamp(56px, 6vw, 82px) 0;
    border-top: 1px solid rgba(184, 211, 243, 0.12);
    border-bottom: 1px solid rgba(184, 211, 243, 0.1);
    background:
        radial-gradient(circle at 16% 10%, rgba(71, 125, 190, 0.25), transparent 34%),
        radial-gradient(circle at 84% 88%, rgba(31, 79, 137, 0.24), transparent 34%),
        linear-gradient(125deg, #06162b 0%, #0b294d 52%, #071a33 100%);
}

.home-stats .container {
    position: relative;
    z-index: 1;
}

.home-stats__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.home-stat {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    min-height: 124px;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 24px clamp(18px, 2vw, 28px);
    border: 1px solid rgba(190, 216, 247, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: none;
    text-align: left;
    isolation: isolate;
    transition:
        opacity 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        filter 650ms ease var(--reveal-delay, 0ms),
        background-color 300ms ease,
        box-shadow 300ms ease;
}

.home-stat::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 0, rgba(169, 198, 236, 0.13), transparent 52%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 70%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
}

.home-stat.reveal {
    transform: translateX(70px);
}

.home-stat.reveal.reveal-left {
    transform: translateX(-70px);
}

.home-stat.reveal.revealed {
    transform: translateX(0);
}

.home-slide-ready .home-stats .home-slide-right,
.home-slide-ready .home-stats .home-slide-left {
    opacity: 0;
    transform: none;
    will-change: opacity, translate;
    transition:
        opacity 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--stats-slide-delay, 0ms),
        translate 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--stats-slide-delay, 0ms),
        box-shadow 300ms ease,
        border-color 300ms ease;
}

.home-slide-ready .home-stats .home-slide-right {
    translate: 64px 0;
}

.home-slide-ready .home-stats .home-slide-left {
    translate: -64px 0;
}

.home-slide-ready .home-stats__grid > *:nth-child(1) { --stats-slide-delay: 0ms; }
.home-slide-ready .home-stats__grid > *:nth-child(2) { --stats-slide-delay: 90ms; }
.home-slide-ready .home-stats__grid > *:nth-child(3) { --stats-slide-delay: 180ms; }
.home-slide-ready .home-stats__grid > *:nth-child(4) { --stats-slide-delay: 270ms; }

.home-slide-ready .home-stats .home-slide-right.home-slide-visible,
.home-slide-ready .home-stats .home-slide-left.home-slide-visible {
    opacity: 1;
    translate: 0 0;
}

@media (max-width: 560px) {
    .home-stat.reveal {
        transform: translateX(36px);
    }

    .home-stat.reveal.reveal-left {
        transform: translateX(-36px);
    }
}

.home-stat__icon {
    position: relative;
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 1px solid rgba(190, 216, 247, 0.25);
    border-radius: 50%;
    color: #dcecff;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition:
        transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 350ms ease,
        border-color 350ms ease;
}

.home-stat__icon svg {
    width: 22px;
    height: 22px;
}

.home-stat__content {
    min-width: 0;
}

.home-stat__value {
    display: inline-flex;
    align-items: baseline;
    max-width: 100%;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 2.45vw, 38px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.045em;
    line-height: 1;
    white-space: nowrap;
}

.home-stat__number,
.home-stat__suffix {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

.home-stat__suffix {
    font-size: 0.62em;
    letter-spacing: 0;
}

.home-stat__label {
    display: block;
    margin-top: 8px;
    color: rgba(220, 233, 248, 0.68);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
    .home-stat:hover::before {
        opacity: 1;
    }

    .home-stat.reveal.revealed:hover {
        z-index: 2;
        border-color: rgba(220, 236, 255, 0.28);
        box-shadow:
            0 26px 56px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .home-stat:hover .home-stat__icon {
        border-color: rgba(220, 236, 255, 0.4);
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateY(-2px) rotate(-3deg);
    }
}

@media (max-width: 980px) {
    .home-stats {
        padding: 50px 0;
    }

    .home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stat {
        min-height: 116px;
        padding: 24px 28px;
    }
}

@media (max-width: 767px) {
    .home-stats {
        margin-top: 0;
        padding: 44px 0;
    }

    .home-stat {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 13px;
        padding: 22px 18px;
    }

    .home-slide-ready .home-stats .home-slide-right {
        translate: 32px 0;
        filter: none;
    }

    .home-slide-ready .home-stats .home-slide-left {
        translate: -32px 0;
        filter: none;
    }

    .home-slide-ready .home-stats .home-slide-right.home-slide-visible,
    .home-slide-ready .home-stats .home-slide-left.home-slide-visible {
        translate: 0 0;
    }

    .home-stat__icon {
        width: 46px;
        height: 46px;
        border-radius: 50%;
    }

    .home-stat__icon svg {
        width: 21px;
        height: 21px;
    }
}

@media (max-width: 560px) {
    .home-stats__grid {
        gap: 12px;
    }

    .home-stat {
        min-height: 142px;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 20px 10px;
        border-radius: 18px;
        text-align: center;
    }

    .home-stat__value {
        font-size: clamp(26px, 8vw, 31px);
    }

    .home-stat__label {
        margin-top: 7px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-stat,
    .home-stat::before,
    .home-stat__icon {
        transition: none !important;
    }

    .home-slide-ready .home-stats .home-slide-right,
    .home-slide-ready .home-stats .home-slide-left {
        opacity: 1;
        translate: none;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* Homepage category entrance: the heading leads, then each card follows. */
.home-category-showcase {
    --home-slide-distance: -72px;
    --home-slide-distance-right: 72px;
    --home-slide-duration: 800ms;

    overflow: hidden;
}

.home-slide-ready .home-category-showcase .home-slide-left {
    opacity: 0;
    translate: var(--home-slide-distance) 0;
    transform: none;
    will-change: opacity, translate;
}

.home-slide-ready .home-category-showcase .home-slide-right {
    opacity: 0;
    translate: var(--home-slide-distance-right) 0;
    transform: none;
    will-change: opacity, translate;
}

.home-slide-ready .home-category-showcase .section-head.home-slide-left,
.home-slide-ready .home-category-showcase .section-head.home-slide-right {
    --home-slide-delay: 0ms;

    transition:
        opacity var(--home-slide-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--home-slide-delay),
        translate var(--home-slide-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--home-slide-delay);
}

.home-slide-ready .home-category-showcase .category-card.home-slide-left,
.home-slide-ready .home-category-showcase .category-card.home-slide-right {
    transition:
        opacity var(--home-slide-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--home-slide-delay, 120ms),
        translate var(--home-slide-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--home-slide-delay, 120ms),
        transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 400ms ease,
        border-color 400ms ease;
}

.home-slide-ready .home-category-showcase .cards-4 > *:nth-child(1) { --home-slide-delay: 120ms; }
.home-slide-ready .home-category-showcase .cards-4 > *:nth-child(2) { --home-slide-delay: 210ms; }
.home-slide-ready .home-category-showcase .cards-4 > *:nth-child(3) { --home-slide-delay: 300ms; }
.home-slide-ready .home-category-showcase .cards-4 > *:nth-child(4) { --home-slide-delay: 390ms; }

.home-slide-ready .home-category-showcase .home-slide-left.home-slide-visible,
.home-slide-ready .home-category-showcase .home-slide-right.home-slide-visible {
    opacity: 1;
    translate: 0 0;
}

.home-slide-ready .home-category-showcase .category-card.home-slide-left:hover,
.home-slide-ready .home-category-showcase .category-card.home-slide-right:hover {
    transform: translateY(-7px);
}

@media (max-width: 900px) {
    .home-category-showcase {
        --home-slide-distance: -32px;
        --home-slide-distance-right: 32px;
        --home-slide-duration: 600ms;
    }

    .home-slide-ready .home-category-showcase .home-slide-left,
    .home-slide-ready .home-category-showcase .home-slide-right {
        filter: none;
    }
}

@media (max-width: 560px) {
    .home-slide-ready .home-category-showcase .cards-4 > .home-slide-left,
    .home-slide-ready .home-category-showcase .cards-4 > .home-slide-right {
        --home-slide-delay: 80ms;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-slide-ready .home-category-showcase .home-slide-left,
    .home-slide-ready .home-category-showcase .home-slide-right,
    .home-slide-ready .home-category-showcase .category-card.home-slide-left:hover,
    .home-slide-ready .home-category-showcase .category-card.home-slide-right:hover {
        opacity: 1;
        translate: none;
        transform: none;
        filter: none;
        transition: none;
    }
}












/* =========================================================
   DYNAMIC HOME CATEGORY SLIDER
========================================================= */

.home-categories-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(28, 65, 120, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(28, 65, 120, 0.06),
            transparent 30%
        ),
        #f3f7fc;
}

.home-categories-section::before {
    position: absolute;
    top: 130px;
    left: -150px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(28, 65, 120, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-categories-section::after {
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(28, 65, 120, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.category-slider {
    --category-gap: 24px;
    --category-per-view: 4;

    position: relative;
    z-index: 2;
    padding: 12px 4px 72px;
}

.category-slider__viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 4px 28px;
    touch-action: pan-y;
}

.category-slider__track {
    display: flex;
    align-items: stretch;
    gap: var(--category-gap);
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition:
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.category-slider__slide {
    min-width: 0;
    flex:
        0 0
        calc(
            (
                100%
                - (
                    var(--category-gap)
                    * (var(--category-per-view) - 1)
                )
            )
            / var(--category-per-view)
        );
}


/* Card */

.home-category-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 485px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(28, 65, 120, 0.12);
    border-radius: 22px;
    color: #111827;
    background: #ffffff;
    box-shadow:
        0 16px 40px rgba(28, 65, 120, 0.07);
    transition:
        transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 400ms ease,
        box-shadow 400ms ease;
}

.home-category-card:hover {
    border-color: rgba(28, 65, 120, 0.26);
    box-shadow:
        0 28px 65px rgba(28, 65, 120, 0.15);
    transform: translateY(-10px);
}

.home-category-card__image {
    position: relative;
    display: grid;
    height: 285px;
    flex: 0 0 285px;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #f8fbff 0%,
            #e8f0f9 100%
        );
}

.home-category-card__image::before {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(28, 65, 120, 0.1);
    border-radius: 50%;
    content: "";
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-category-card__image::after {
    position: absolute;
    bottom: -70px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(28, 65, 120, 0.055);
    content: "";
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-category-card:hover
.home-category-card__image::before {
    transform: scale(1.25) rotate(15deg);
}

.home-category-card:hover
.home-category-card__image::after {
    transform: translate(20px, -15px) scale(1.1);
}

.home-category-card__image img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 28px;
    object-fit: contain;
    background: transparent;
    transform: scale(0.92);
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 600ms ease;
}

.home-category-card:hover
.home-category-card__image img {
    filter:
        drop-shadow(
            0 22px 18px rgba(28, 65, 120, 0.18)
        );
    transform: scale(1.02) rotate(-1deg);
}

.home-category-card__placeholder {
    position: relative;
    z-index: 2;
    color: rgba(28, 65, 120, 0.35);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-category-card__number {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 4;
    color: rgba(28, 65, 120, 0.52);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.home-category-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: #1c4178;
    box-shadow:
        0 12px 26px rgba(28, 65, 120, 0.22);
    transition:
        transform 350ms ease,
        background-color 350ms ease;
}

.home-category-card:hover
.home-category-card__arrow {
    background: #0e294f;
    transform: rotate(-35deg);
}

.home-category-card__arrow svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-category-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 24px 27px;
}

.home-category-card__body h3 {
    margin: 0 0 10px;
    color: #10233f;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}

.home-category-card__body p {
    display: -webkit-box;
    margin: 0 0 20px;
    overflow: hidden;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1c4178;
    font-size: 13px;
    font-weight: 800;
}

.home-category-card__link span {
    transition: transform 250ms ease;
}

.home-category-card:hover
.home-category-card__link span {
    transform: translateX(5px);
}


/* Arrows */

.category-slider__arrow {
    position: absolute;
    top: 47%;
    z-index: 10;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(28, 65, 120, 0.14);
    border-radius: 50%;
    color: #1c4178;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 15px 35px rgba(28, 65, 120, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 250ms ease,
        background-color 250ms ease,
        opacity 250ms ease,
        transform 250ms ease;
}

.category-slider__arrow svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-slider__arrow:hover {
    color: #ffffff;
    background: #1c4178;
}

.category-slider__arrow:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    pointer-events: none;
}

.category-slider__arrow--previous {
    left: -26px;
}

.category-slider__arrow--previous:hover {
    transform: translateY(-50%) translateX(-4px);
}

.category-slider__arrow--next {
    right: -26px;
}

.category-slider__arrow--next:hover {
    transform: translateY(-50%) translateX(4px);
}


/* Bottom navigation */

.category-slider__footer {
    position: absolute;
    right: 4px;
    bottom: 0;
    left: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.category-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(28, 65, 120, 0.22);
    cursor: pointer;
    transition:
        width 300ms ease,
        border-radius 300ms ease,
        background-color 300ms ease;
}

.category-slider__dot.is-active {
    width: 30px;
    border-radius: 20px;
    background: #1c4178;
}

/* Enforce fixed card size on desktop to avoid expansion */
@media (min-width: 1101px) {
    .category-slider.category-slider__override,
    .category-slider { /* desktop: fixed card width */ }

    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 277px !important;
        max-width: 277px !important;
    }

    .category-slider .home-category-card {
        width: 277px !important;
        min-height: 463px !important;
    }
}

@media (max-width: 1100px) and (min-width: 821px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(33.333% - 16px) !important;
        max-width: none !important;
    }
}

@media (max-width: 820px) and (min-width: 561px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(50% - 12px) !important;
    }
}

@media (max-width: 560px) {
    .category-slider .category-slider__track .category-slider__slide {
        flex: 0 0 calc(100% - 38px) !important;
    }
}

.category-slider__counter {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #1c4178;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.category-slider__counter i {
    width: 34px;
    height: 1px;
    background: rgba(28, 65, 120, 0.28);
}


/* Tablet */

@media (max-width: 1100px) {
    .category-slider {
        --category-per-view: 3;
    }

    .category-slider__arrow--previous {
        left: -12px;
    }

    .category-slider__arrow--next {
        right: -12px;
    }
}

@media (max-width: 820px) {
    .category-slider {
        --category-per-view: 2;
        --category-gap: 18px;
    }

    .home-category-card {
        min-height: 455px;
    }

    .home-category-card__image {
        height: 260px;
        flex-basis: 260px;
    }
}


/* Mobile */

@media (max-width: 560px) {
    .home-categories-section .section-head.center {
        margin-bottom: 25px;
    }

    .category-slider {
        --category-per-view: 1;
        --category-gap: 14px;

        padding-right: 0;
        padding-left: 0;
        padding-bottom: 65px;
    }

    .category-slider__viewport {
        overflow: hidden;
        padding: 10px 0 22px;
    }

    .category-slider__track {
        touch-action: pan-y;
    }

    .category-slider__slide {
        flex-basis: calc(100% - 38px);
    }

    .home-category-card {
        min-height: 430px;
        border-radius: 18px;
    }

    .home-category-card__image {
        height: 245px;
        flex-basis: 245px;
    }

    .home-category-card__image img {
        padding: 22px;
    }

    .home-category-card__body {
        padding: 22px 20px 24px;
    }

    .home-category-card__body h3 {
        font-size: 20px;
    }

    .category-slider__arrow {
        top: auto;
        bottom: 0;
        width: 43px;
        height: 43px;
        transform: none;
    }

    .category-slider__arrow--previous {
        right: 53px;
        left: auto;
    }

    .category-slider__arrow--next {
        right: 0;
    }

    .category-slider__arrow--previous:hover,
    .category-slider__arrow--next:hover {
        transform: none;
    }

    .category-slider__footer {
        right: 115px;
        bottom: 8px;
        left: 0;
    }

    .category-slider__counter {
        display: none;
    }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .category-slider__track,
    .home-category-card,
    .home-category-card__image img,
    .home-category-card__arrow {
        transition: none;
    }
}


.category-slider__viewport {
    cursor: grab;
}

.category-slider__viewport:active {
    cursor: grabbing;
}

@media (max-width: 560px) {
    .category-slider__viewport {
        cursor: default;
    }
}


.category-slider__arrow:focus-visible,
.category-slider__dot:focus-visible,
.home-category-card:focus-visible {
    outline: 3px solid rgba(28, 65, 120, 0.3);
    outline-offset: 4px;
}


/* =========================================================
   ABOUT / 3D MODEL SHOWCASE
   Full-bleed scene image with drifting cloud layer; the
   model sits straight on the background, no panel/box.
   ========================================================= */

.home-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 120px 0;
    color: #eef4fc;
    background: #0a1e3b url("../images/3dbg.webp") center 68% / cover no-repeat;
}

.home-about::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(100deg, rgba(5, 14, 29, .86) 0%, rgba(5, 14, 29, .6) 34%, rgba(5, 14, 29, .18) 62%, rgba(5, 14, 29, .05) 85%),
        linear-gradient(0deg, rgba(5, 14, 29, .35), transparent 40%);
    pointer-events: none;
}

.home-about__clouds {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 2;
    height: 62%;
    background-repeat: repeat-x;
    background-size: 900px 100%;
    background-image:
        radial-gradient(ellipse 260px 90px at 12% 40%, rgba(255, 255, 255, .5), transparent 72%),
        radial-gradient(ellipse 190px 65px at 34% 60%, rgba(255, 255, 255, .32), transparent 70%),
        radial-gradient(ellipse 240px 80px at 58% 30%, rgba(255, 255, 255, .4), transparent 72%),
        radial-gradient(ellipse 300px 100px at 84% 50%, rgba(255, 255, 255, .38), transparent 72%);
    filter: blur(9px);
    opacity: .55;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent);
    animation: acora-clouds-drift 60s linear infinite;
    pointer-events: none;
}

@keyframes acora-clouds-drift {
    from { background-position-x: 0; }
    to { background-position-x: -900px; }
}

.home-about__grid {
    position: relative;
    z-index: 3;
}

.home-about__content .eyebrow {
    color: #a9c6ec;
}

.home-about__content h2 {
    color: #ffffff;
    text-shadow: 0 3px 22px rgba(0, 0, 0, .3);
}

.home-about__content p {
    color: rgba(238, 244, 252, .86);
}

.home-about__content .text-link {
    color: #ffffff;
}

.home-about__model-stage {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.home-about__model-viewer {
    width: 100%;
    height: 480px;
    background: transparent;
    --poster-color: transparent;
    filter: drop-shadow(0 34px 40px rgba(0, 0, 0, .38));
}

@media (max-width: 1100px) {
    .home-about {
        padding: 95px 0;
    }

    .home-about__model-viewer {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .home-about {
        padding: 70px 0;
        background-position: 62% 72%;
    }

    .home-about::before {
        background:
            linear-gradient(180deg, rgba(5, 14, 29, .78) 0%, rgba(5, 14, 29, .3) 45%, rgba(5, 14, 29, .55) 100%);
    }

    .home-about__model-stage {
        min-height: 320px;
        order: -1;
    }

    .home-about__model-viewer {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-about__clouds {
        animation: none;
    }
}

/* =========================================================
   CLIENT TESTIMONIALS
   Lightweight native scroll-snap carousel — no scroll-driven
   JS, so it stays smooth on every device.
   ========================================================= */

.home-testimonials {
    overflow: hidden;
}

.testimonial-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 10px;
}

.testimonial-viewport::-webkit-scrollbar {
    display: none;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    padding: 0 max(20px, calc((100% - 1180px) / 2 + 20px));
    width: max-content;
}

.testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 28px 26px;
    box-shadow: 0 12px 35px rgba(28, 65, 120, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.testimonial-quote-mark {
    font-family: "Playfair Display", serif;
    font-size: 52px;
    line-height: 1;
    color: var(--blue);
    opacity: .18;
    margin-bottom: 4px;
}

.testimonial-text {
    color: #465263;
    font-size: 15.5px;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0 0 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(28, 65, 120, .08);
    color: var(--blue);
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author-info strong {
    font-size: 15px;
    color: #10233f;
}

.testimonial-author-info span {
    font-size: 13px;
    color: var(--muted);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
    font-size: 17px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.testimonial-arrow:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .testimonial-card {
        flex-basis: 280px;
    }

    .testimonial-track {
        padding: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card {
        transition: none;
    }
}

/* ========================================================
   ACORA Hero - Mobile Top Accent Animation
   Purely decorative. Hidden by default; only shown at
   max-width:767px. Positioned absolutely at the top of
   .acora-hero-slider (already position:relative) so it
   cannot affect the layout of the slides, text, or any
   other element on any screen size.
   ======================================================== */

.acora-hero-top-accent {
    display: none;
}

@media (max-width: 767px) {

    .acora-hero-top-accent {
        display: block;
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: min(480px, 92vw);
        height: 82px;
        z-index: 4;
        pointer-events: none;
    }

    .acora-hero-top-accent__glow {
        position: absolute;
        top: 0;
        width: 62%;
        height: 82px;
        border-radius: 50%;
        filter: blur(30px);
        background: radial-gradient(ellipse, rgba(28, 65, 120, .55), transparent 70%);
        animation: acoraTopAccentFloat 4.5s ease-in-out infinite;
    }

    .acora-hero-top-accent__glow--a {
        left: -11%;
    }

    .acora-hero-top-accent__glow--b {
        right: -11%;
        width: 52%;
        height: 70px;
        top: 8px;
        animation-delay: 1.2s;
    }

    .acora-hero-top-accent__line {
        position: absolute;
        left: 50%;
        top: 50px;
        transform: translateX(-50%);
        width: 160px;
        height: 2px;
        border-radius: 2px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
        animation: acoraTopAccentShimmer 3.2s ease-in-out infinite;
    }

    /* Breathes: contracted + white on the "in" breath,
       expanded + brand blue (#1c4178) on the "out" breath. */
    @keyframes acoraTopAccentFloat {
        0%, 100% {
            transform: translateY(0) scale(1);
            opacity: .55;
            background: radial-gradient(ellipse, rgba(255, 255, 255, .85), transparent 70%);
        }
        50% {
            transform: translateY(-7px) scale(1.2);
            opacity: .92;
            background: radial-gradient(ellipse, rgba(28, 65, 120, .68), transparent 70%);
        }
    }

    @keyframes acoraTopAccentShimmer {
        0%, 100% {
            opacity: .35;
            width: 130px;
        }
        50% {
            opacity: .9;
            width: 250px;
        }
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .acora-hero-top-accent__glow,
    .acora-hero-top-accent__line {
        animation: none;
        opacity: .6;
    }
}


/* =========================================================
   HOME STATS - FINAL MOBILE RESPONSIVE FIX
   ========================================================= */

.home-stats,
.home-stats .container,
.home-stats__grid,
.home-stat {
    min-width: 0;
}

.home-stats__grid {
    width: 100%;
}

.home-stat {
    width: 100%;
    max-width: 100%;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .home-stats {
        position: relative;
        overflow: hidden;
        padding: 42px 0;
    }

    .home-stats .container {
        width: calc(100% - 28px);
        max-width: 1180px;
        margin-inline: auto;
    }

    .home-stats__grid {
        display: grid;

        /* clean 2 x 2 layout */
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;

        width: 100%;
        overflow: visible;
        align-items: stretch;
    }


    /* -----------------------------------------
       CARDS
    ----------------------------------------- */

    .home-stat {
        position: relative;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        min-height: 140px;

        display: grid;
        grid-template-columns: 1fr;

        justify-items: center;
        align-content: center;

        gap: 10px;

        padding: 19px 10px;

        text-align: center;

        border-radius: 18px;

        overflow: hidden;

        /* VERY IMPORTANT:
           do not allow horizontal animation
           to move cards into each other */
        left: auto !important;
        right: auto !important;

        transform: none !important;
        translate: 0 0 !important;
    }


    /* -----------------------------------------
       FIX BOTH ANIMATION SYSTEMS
    ----------------------------------------- */

    .home-stat.reveal,
    .home-stat.reveal.reveal-left,
    .home-stat.home-slide-left,
    .home-stat.home-slide-right,
    .home-slide-ready .home-stats .home-slide-left,
    .home-slide-ready .home-stats .home-slide-right {
        transform: none !important;
        translate: 0 0 !important;
    }


    /*
       Mobile animation:
       fade only instead of sliding left/right.
       This keeps animation but prevents overlap.
    */

    .home-slide-ready
    .home-stats
    .home-slide-left,

    .home-slide-ready
    .home-stats
    .home-slide-right {

        opacity: 0;

        transition:
            opacity 520ms
            cubic-bezier(0.22, 1, 0.36, 1)
            var(--stats-slide-delay, 0ms),
            box-shadow 300ms ease,
            border-color 300ms ease;
    }


    .home-slide-ready
    .home-stats
    .home-slide-left.home-slide-visible,

    .home-slide-ready
    .home-stats
    .home-slide-right.home-slide-visible,

    .home-stat.reveal.revealed {

        opacity: 1;

        transform: none !important;
        translate: 0 0 !important;
    }


    /* -----------------------------------------
       ICON
    ----------------------------------------- */

    .home-stat__icon {
        width: 44px;
        height: 44px;

        min-width: 44px;

        margin: 0 auto;

        border-radius: 50%;
    }

    .home-stat__icon svg {
        width: 20px;
        height: 20px;
    }


    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */

    .home-stat__content {
        width: 100%;
        min-width: 0;

        text-align: center;
    }


    .home-stat__value {
        display: inline-flex;

        align-items: baseline;
        justify-content: center;

        max-width: 100%;

        font-size: clamp(25px, 7vw, 31px);

        line-height: 1;

        white-space: nowrap;
    }


    .home-stat__number,
    .home-stat__suffix {
        display: inline;

        margin: 0;

        font: inherit;
        line-height: inherit;

        color: inherit;
    }


    .home-stat__suffix {
        font-size: .62em;
    }


    .home-stat__label {
        display: block;

        width: 100%;

        margin-top: 7px;

        font-size: 10px;
        line-height: 1.35;

        letter-spacing: .06em;

        text-align: center;

        overflow-wrap: anywhere;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .home-stats .container {
        width: calc(100% - 24px);
    }


    /* switch to one column on extremely narrow screens */
    .home-stats__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .home-stat {
        min-height: 110px;

        grid-template-columns: 44px minmax(0, 1fr);

        justify-items: stretch;
        align-items: center;

        gap: 14px;

        padding: 16px 18px;

        text-align: left;
    }


    .home-stat__icon {
        margin: 0;
    }


    .home-stat__content {
        text-align: left;
    }


    .home-stat__value {
        justify-content: flex-start;

        font-size: 28px;
    }


    .home-stat__label {
        text-align: left;
    }
}