/* Additional content inside each original slide. */
html {
    overflow-x: clip;
}

body {
    overflow-x: hidden;
}

.hero-swiper {
    height: auto;
    min-height: 0;
}

.hero-swiper .swiper-wrapper {
    align-items: stretch;
}

.hero-swiper .swiper-slide {
    min-height: 0;
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 52px 48px 64px;
}

.hero-swiper .slide-text-wrapper {
    width: 100%;
    max-width: 1200px;
}

.hero-swiper .slide-text-wrapper > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.hero-solution-promo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 28px 40px;
    border: 3px solid #4eabdf;
    background: transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    color: #fff;
    text-align: center;
    isolation: isolate;
}

/* Keep content above the animated blue surface and border. */
.hero-solution-promo > p,
.hero-solution-promo > a {
    position: relative;
    z-index: 1;
}

.hero-solution-promo::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: 0;
    border: 3px solid #b8f4ff;
    border-radius: inherit;
    background: #1254ce;
    background-image: linear-gradient(115deg, #124ed1 0%, #0969cd 58%, #087c9f 100%);
    box-shadow: 0 0 24px #45caff, 0 0 56px rgba(47, 121, 255, 0.65);
    pointer-events: none;
    /* Three smooth glow pulses every two seconds, starting on page load. */
    /* One layer keeps the blue color and glow exactly in phase. */
    animation: promo-flash 0.6666667s ease-in-out infinite;
}

.hero-solution-promo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: #081d30;
    /* With the blue overlay, total background opacity stays at 85%-100%. */
    opacity: 0.85;
    pointer-events: none;
}

@keyframes promo-flash {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-solution-promo p {
    margin: 0;
    max-width: 1100px;
    font-size: clamp(34px, 3.2vw, 44px);
    font-weight: 800;
    line-height: 1.5;
    text-wrap: balance;
}

.solution-promo-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 72px;
    padding: 16px 36px;
    border: 1px solid #fff;
    border-radius: 9999px;
    background: #fff;
    color: #0c459f;
    box-shadow: 0 6px 20px rgba(4, 36, 94, 0.18);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.solution-promo-button:hover {
    background: #e8f7ff;
    transform: translateY(-2px);
}

.solution-promo-arrow {
    font-size: 32px;
    line-height: 1;
    transition: transform 0.2s;
}

.solution-promo-button:hover .solution-promo-arrow {
    transform: translateX(3px);
}

.solution-promo-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 1023px) {
    .hero-swiper {
        min-height: 0;
    }

    .hero-swiper .swiper-slide {
        padding: 44px 40px 64px;
    }

    .hero-solution-promo {
        width: 100%;
        flex-direction: column;
        gap: 24px;
        padding: 28px 32px;
    }

    .hero-solution-promo p {
        font-size: 34px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .hero-swiper {
        height: auto;
        min-height: 0;
    }

    .hero-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .hero-swiper .swiper-slide {
        height: auto;
        min-height: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 28px;
        padding: 40px 24px 64px;
    }

    .hero-swiper .slide-text-wrapper {
        width: 100%;
        padding: 0 8px;
    }

    .hero-swiper .slide-text-wrapper h1 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.25;
    }

    .hero-swiper .slide-text-wrapper p {
        font-size: 17px;
        line-height: 1.65;
    }

    .hero-solution-promo {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-height: 0;
        gap: 20px;
        padding: 24px 18px;
        text-align: center;
    }

    .hero-solution-promo p {
        font-size: 26px;
        line-height: 1.5;
    }

    .solution-promo-button {
        gap: 8px;
        min-height: 68px;
        padding: 16px 12px;
        font-size: 21px;
        flex-wrap: wrap;
    }

    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        top: 30%;
        width: 22px;
    }

    .hero-swiper .swiper-button-prev::after,
    .hero-swiper .swiper-button-next::after {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .solution-promo-button,
    .solution-promo-arrow {
        transition: none;
    }
}
