.frontend-home {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.06), transparent 26%),
        linear-gradient(180deg, #f8fdff 0%, #f2fafc 100%);
}

.hero-section {
    position: relative;
    padding: 38px 0 68px;
    background: transparent;
    overflow: visible;
}

.hero-card-slider {
    position: relative;
}

.hero-card-slider__track {
    position: relative;
    min-height: 660px;
}

.hero-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-top-left-radius: 28px;
    border-top-right-radius: 120px;
    border-bottom-right-radius: 28px;
    border-bottom-left-radius: 120px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.hero-card.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 33, 61, 0.58) 0%,
        rgba(8, 55, 98, 0.38) 36%,
        rgba(8, 145, 178, 0.12) 100%
    );
    z-index: 1;
}

.hero-card__body {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: flex;
    align-items: center;
    padding-block: 72px;
    padding-inline: var(--site-shell-x);
}

.hero-card__content {
    max-width: 100%;
}

.hero-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hero-card-slider__dots {
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 12px;
}

.hero-card-slider__dot {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.28);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-card-slider__dot.is-active {
    background: #0891b2;
    transform: scale(1.08);
}

@media (max-width: 1400px) {
    .hero-card-slider__track {
        min-height: 610px;
    }

    .hero-card {
        border-top-right-radius: 96px;
        border-bottom-left-radius: 96px;
    }

    .hero-card__body {
        min-height: 610px;
        padding-block: 60px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        padding: 30px 0 48px;
    }

    .hero-card-slider__track {
        min-height: 560px;
    }

    .hero-card {
        border-top-left-radius: 24px;
        border-top-right-radius: 80px;
        border-bottom-right-radius: 24px;
        border-bottom-left-radius: 80px;
    }

    .hero-card__body {
        min-height: 560px;
        padding-block: 48px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 24px 0 52px;
    }

    .hero-card-slider__track {
        min-height: 500px;
    }

    .hero-card {
        border-top-left-radius: 20px;
        border-top-right-radius: 70px;
        border-bottom-right-radius: 20px;
        border-bottom-left-radius: 70px;
    }

    .hero-card__body {
        min-height: 500px;
        padding-block: 42px;
    }
}

@media (max-width: 768px) {
    .hero-card-slider__track {
        min-height: 460px;
    }

    .hero-card {
        border-top-left-radius: 18px;
        border-top-right-radius: 44px;
        border-bottom-right-radius: 18px;
        border-bottom-left-radius: 44px;
    }

    .hero-card__body {
        min-height: 460px;
        padding-block: 30px;
    }

    .hero-card__content {
        max-width: 100%;
    }

    .hero-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card__actions .site-btn {
        width: 100%;
    }
}