.home-hero {
    --hero-accent: #087fda;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e8eef6;
    background: #f7faff;
}

.home-hero::before,
.home-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.home-hero::before {
    top: -320px;
    right: -220px;
    width: 740px;
    height: 740px;
    background: radial-gradient(circle, rgba(76, 172, 245, .16), rgba(76, 172, 245, 0) 67%);
}

.home-hero::after {
    bottom: -390px;
    left: -260px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(110, 94, 233, .09), rgba(110, 94, 233, 0) 68%);
}

.home-hero .brand-slider,
.home-hero .owl-stage-outer,
.home-hero .owl-stage,
.home-hero .owl-item,
.home-hero .brand-item {
    min-height: 680px;
}

.home-hero .owl-stage-outer {
    z-index: 1;
}

.home-hero .hero-slide {
    --slide-accent: #087fda;
    --slide-soft: #e9f5ff;
    display: flex;
    align-items: center;
    padding: 116px 0 72px;
}

.home-hero .hero-slide--violet {
    --slide-accent: #6a5be2;
    --slide-soft: #f0edff;
}

.home-hero .hero-slide--teal {
    --slide-accent: #078b87;
    --slide-soft: #e4f7f5;
}

.home-hero .hero-slide--amber {
    --slide-accent: #bd7920;
    --slide-soft: #fff3df;
}

.home-hero .hero-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    gap: clamp(52px, 7vw, 104px);
    align-items: center;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 20px;
    padding: 7px 13px;
    border: 1px solid color-mix(in srgb, var(--slide-accent) 22%, transparent);
    border-radius: 999px;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero-content h1,
.home-hero-content h2 {
    max-width: 660px;
    margin: 0 0 20px;
    color: #102341;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 760;
    line-height: 1.07;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 610px;
    margin: 0 0 25px;
    color: #53627a;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.7;
}

.home-hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    max-width: 650px;
    margin: 0 0 31px;
    padding: 0;
    list-style: none;
}

.home-hero-features li {
    position: relative;
    min-height: 24px;
    padding-left: 26px;
    color: #33445e;
    font-size: .94rem;
    line-height: 1.48;
}

.home-hero-features li::before {
    position: absolute;
    top: .1em;
    left: 0;
    display: grid;
    width: 19px;
    height: 19px;
    content: "\2713";
    place-items: center;
    border-radius: 50%;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: 11px;
    font-weight: 900;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-hero-primary,
.home-hero-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-hero-primary {
    gap: 8px;
    background: var(--slide-accent);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--slide-accent) 25%, transparent);
    color: #fff;
}

.home-hero-primary i {
    font-size: 1.25rem;
}

.home-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px color-mix(in srgb, var(--slide-accent) 32%, transparent);
}

.home-hero-secondary {
    border: 1px solid #ced9e7;
    background: rgba(255, 255, 255, .78);
    color: #243750;
}

.home-hero-secondary:hover {
    border-color: var(--slide-accent);
    background: #fff;
    color: var(--slide-accent);
    transform: translateY(-2px);
}

.home-hero-visual {
    position: relative;
    min-width: 0;
}

.home-hero-visual::before {
    position: absolute;
    z-index: -1;
    inset: -28px -32px -28px 32px;
    content: "";
    border-radius: 40% 60% 48% 52% / 56% 44% 56% 44%;
    background: var(--slide-soft);
}

.home-hero-media {
    position: relative;
    height: 430px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, .96);
    border-radius: 26px;
    background: #dce6f2;
    box-shadow: 0 28px 70px rgba(28, 54, 91, .17), 0 2px 8px rgba(28, 54, 91, .08);
}

.home-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 48%);
}

.home-hero .owl-item .home-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.home-hero-callout {
    position: absolute;
    z-index: 2;
    display: flex;
    max-width: 265px;
    min-height: 62px;
    gap: 12px;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid rgba(221, 230, 241, .95);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 40px rgba(26, 52, 89, .16);
    color: #263950;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-hero-callout i {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: 1.2rem;
}

.home-hero-callout--top {
    top: -24px;
    right: 26px;
}

.home-hero-callout--bottom {
    bottom: -25px;
    left: -30px;
}

.home-hero .owl-theme .owl-nav {
    position: absolute;
    z-index: 4;
    right: 26px;
    bottom: 27px;
    display: flex;
    gap: 8px;
    margin: 0;
}

.home-hero .owl-theme .owl-nav button.owl-prev,
.home-hero .owl-theme .owl-nav button.owl-next {
    display: grid;
    width: 40px;
    height: 40px;
    margin: 0;
    place-items: center;
    border: 1px solid #d9e3ef;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #263950;
    font-size: 22px;
    box-shadow: 0 7px 18px rgba(30, 57, 92, .08);
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.home-hero .owl-theme .owl-nav button:hover {
    border-color: var(--hero-accent);
    background: #fff;
    color: var(--hero-accent);
    transform: translateY(-1px);
}

.home-hero .owl-theme .owl-dots,
.home-hero .owl-theme .owl-nav.disabled + .owl-dots {
    position: absolute;
    z-index: 4;
    bottom: 34px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
}

.home-hero .owl-theme .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 5px 5px;
    background: #afbdcf;
    transition: width .25s ease, background-color .25s ease;
}

.home-hero .owl-theme .owl-dots .owl-dot.active span {
    width: 25px;
    border-radius: 999px;
    background: var(--hero-accent);
}

@media (max-width: 1199px) {
    .home-hero .hero-slide-inner {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
        gap: 48px;
    }

    .home-hero-media {
        height: 390px;
    }

    .home-hero-content h1,
    .home-hero-content h2 {
        font-size: clamp(2.35rem, 4.1vw, 3.3rem);
    }
}

@media (max-width: 991px) {
    .home-hero .brand-slider,
    .home-hero .owl-stage-outer,
    .home-hero .owl-stage,
    .home-hero .owl-item,
    .home-hero .brand-item {
        min-height: 920px;
    }

    .home-hero .hero-slide {
        padding: 102px 0 75px;
    }

    .home-hero .hero-slide-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-hero-content {
        max-width: 720px;
    }

    .home-hero-visual {
        width: min(690px, calc(100% - 20px));
        justify-self: center;
    }

    .home-hero-media {
        height: 365px;
    }

    .home-hero .owl-theme .owl-nav {
        display: none;
    }
}

@media (max-width: 575px) {
    .home-hero .brand-slider,
    .home-hero .owl-stage-outer,
    .home-hero .owl-stage,
    .home-hero .owl-item,
    .home-hero .brand-item {
        min-height: 890px;
    }

    .home-hero .hero-slide {
        padding: 82px 0 66px;
    }

    .home-hero .hero-slide-inner {
        gap: 35px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-hero-eyebrow {
        max-width: 100%;
        margin-bottom: 15px;
        font-size: .66rem;
        letter-spacing: .055em;
    }

    .home-hero-content h1,
    .home-hero-content h2 {
        margin-bottom: 14px;
        font-size: clamp(2rem, 9.4vw, 2.7rem);
        line-height: 1.1;
    }

    .home-hero-lead {
        margin-bottom: 19px;
        font-size: .96rem;
        line-height: 1.58;
    }

    .home-hero-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 25px;
    }

    .home-hero-features li {
        font-size: .86rem;
        line-height: 1.38;
    }

    .home-hero-actions {
        gap: 9px;
    }

    .home-hero-primary,
    .home-hero-secondary {
        min-height: 44px;
        padding: 10px 16px;
        font-size: .86rem;
    }

    .home-hero-visual {
        width: 100%;
    }

    .home-hero-visual::before {
        inset: -18px -12px -18px 18px;
    }

    .home-hero-media {
        height: 230px;
        border-width: 5px;
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(28, 54, 91, .15);
    }

    .home-hero-callout--top {
        display: none;
    }

    .home-hero-callout--bottom {
        bottom: -21px;
        left: 15px;
        max-width: calc(100% - 30px);
        min-height: 48px;
        padding: 8px 11px;
        font-size: .73rem;
    }

    .home-hero-callout i {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .home-hero .owl-theme .owl-dots,
    .home-hero .owl-theme .owl-nav.disabled + .owl-dots {
        bottom: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
