.fh-home-hero {
    --fh-navy: #0b2545;
    --fh-deep: #091536;
    --fh-teal: #00a3a3;
    --fh-card-width: clamp(310px, 32vw, 450px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 50% 40%, rgba(76, 108, 205, .55), transparent 43%),
        radial-gradient(circle at 100% 100%, rgba(0, 163, 163, .42), transparent 40%),
        linear-gradient(145deg, #071638 0%, #173977 55%, #0b2545 100%);
    padding: clamp(48px, 5vw, 76px) 0 50px;
}

.fh-home-hero::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 80% 20%, rgba(38, 222, 212, .16), transparent 37%);
    animation: fh-hero-glow 16s ease-in-out infinite alternate;
}

.fh-home-hero * {
    box-sizing: border-box;
}

.fh-home-hero__intro {
    width: min(100% - 40px, 850px);
    margin: 0 auto;
    text-align: center;
}

.fh-home-hero h1 {
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(40px, 5.1vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.fh-home-hero__lead {
    max-width: 660px;
    margin: 18px auto 0;
    color: #e2edff;
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.6;
}

.fh-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.fh-home-hero__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.fh-home-hero__action:hover,
.fh-home-hero__action:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
}

.fh-home-hero__action--primary {
    color: #071c31;
    background: #fff;
    box-shadow: 0 12px 30px rgba(1, 13, 41, .15);
}

.fh-home-hero__action--primary:hover,
.fh-home-hero__action--primary:focus-visible {
    color: #071c31;
    background: #e8f7ff;
}

.fh-home-hero__action--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .08);
}

.fh-home-hero__action--secondary:hover,
.fh-home-hero__action--secondary:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.fh-home-hero__carousel {
    width: min(100%, 1440px);
    margin: clamp(38px, 4.5vw, 56px) auto 0;
}

.fh-home-hero__carousel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    width: min(100% - 40px, 1300px);
    margin: 0 auto 20px;
}

.fh-home-hero__carousel-title {
    margin: 0;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 650;
    letter-spacing: -.025em;
}

.fh-home-hero__carousel-copy {
    margin: 5px 0 0;
    color: #c6ddf7;
    font-size: 15px;
}

.fh-home-hero__controls,
.fh-home-hero__dots {
    display: none;
    align-items: center;
    gap: 9px;
}

.fh-home-hero--ready .fh-home-hero__controls,
.fh-home-hero--ready .fh-home-hero__dots {
    display: flex;
}

.fh-home-hero__arrow {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.fh-home-hero__arrow svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fh-home-hero__arrow:hover,
.fh-home-hero__arrow:focus-visible {
    color: var(--fh-deep);
    background: #fff;
}

.fh-home-hero__viewport {
    width: min(100% - 24px, 1300px);
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
}

.fh-home-hero__viewport::-webkit-scrollbar {
    display: none;
}

.fh-home-hero__track {
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 2px 2px 20px;
}

.fh-home-hero__card {
    position: relative;
    flex: 0 0 var(--fh-card-width);
    width: var(--fh-card-width);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 24px;
    background: #0d2446;
    box-shadow: 0 22px 38px rgba(1, 10, 35, .23);
}

.fh-home-hero__visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.fh-home-hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-home-hero__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 15, 36, .12) 30%, rgba(4, 15, 36, .94) 100%);
}

.fh-home-hero__card--feature::after {
    display: none;
}

.fh-home-hero__card-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 25px 27px;
}

.fh-home-hero__card-kicker {
    display: block;
    margin-bottom: 8px;
    color: #9ff6e8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fh-home-hero__card h3 {
    margin: 0;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.fh-home-hero__card p {
    margin: 9px 0 0;
    color: #d2e5f5;
    font-size: 15px;
    line-height: 1.45;
}

.fh-home-hero__dots {
    justify-content: center;
    margin-top: 5px;
}

.fh-home-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
}

.fh-home-hero__dot[aria-current='true'] {
    width: 28px;
    border-radius: 12px;
    background: #8bf3e2;
}

.fh-home-hero :focus-visible {
    outline: 3px solid #8bf3e2;
    outline-offset: 3px;
}

@keyframes fh-hero-glow {
    from { transform: translateX(-3%) scale(.98); }
    to { transform: translateX(3%) scale(1.04); }
}

@media (max-width: 767px) {
    .fh-home-hero {
        --fh-card-width: min(82vw, 345px);
        padding: 43px 0 40px;
    }
    .fh-home-hero__intro { width: min(100% - 32px, 620px); }
    .fh-home-hero__carousel { margin-top: 35px; }
    .fh-home-hero__carousel-head { align-items: center; }
    .fh-home-hero__carousel-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fh-home-hero::before { animation: none; }
    .fh-home-hero__action { transition: none; }
}
