.hh-hero {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 126px);
    height: calc(100svh - 126px);
    min-height: 520px;
    max-height: 760px;
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    touch-action: pan-y;
}

.hh-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hh-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.hh-slide.active {
    opacity: 1;
    z-index: 1;
}

.hh-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

.hh-slide.active .hh-slide-img {
    animation: hh-zoom 8s ease-out forwards;
}

.hh-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(8, 28, 70, 0.70) 0%, rgba(8, 28, 70, 0.35) 60%, rgba(8, 28, 70, 0.15) 100%);
    pointer-events: none;
}

.hh-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 56px;
}

.hh-card {
    max-width: 460px;
    padding: 28px 32px;
    background: rgba(10, 30, 70, 0.30);
    backdrop-filter: blur(3px) saturate(1.1);
    -webkit-backdrop-filter: blur(3px) saturate(1.1);
    border: 3px solid rgba(130, 170, 230, 0.55);
    border-radius: 24px;
    color: white;
    box-shadow: 0 12px 40px rgba(8, 28, 70, 0.35);
    animation: hh-card-in 0.8s ease-out both;
}

.hh-label {
    display: inline-block;
    position: relative;
    background: none !important;
    overflow: visible;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.hh-label::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: transparent;
    background: linear-gradient(100deg, transparent 0%, transparent 42%, #ffffff 50%, transparent 58%, transparent 100%);
    background-size: 260% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.55));
    pointer-events: none;
    animation: hh-sheen 3.4s ease-in-out infinite;
}

.hh-title {
    color: white !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.6rem, 2.3vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 18px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.hh-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0b2a5b 0%, #1746a2 45%, #2f7de1 100%) !important;
    color: white !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 7px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 3px 10px rgba(23, 70, 162, 0.35), 0 0 12px rgba(47, 125, 225, 0.35);
    margin: 0;
    min-height: 34px;
}

.hh-btn:hover,
.hh-btn:focus {
    filter: brightness(1.08) !important;
    transform: translateY(-2px);
    color: white !important;
    box-shadow: 0 6px 18px rgba(23, 70, 162, 0.45), 0 0 18px rgba(47, 125, 225, 0.5);
}

.hh-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.hh-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hh-dot.active {
    background: linear-gradient(135deg, #0b2a5b 0%, #1746a2 45%, #2f7de1 100%) !important;
    transform: scale(1.15);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
}

@keyframes hh-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@keyframes hh-card-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hh-sheen {
    0% { background-position: 130% 0; }
    60%, 100% { background-position: -60% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hh-slide.active .hh-slide-img {
        animation: none !important;
        transform: none !important;
    }

    .hh-card {
        animation: none !important;
    }
}

@media (max-height: 780px) {
    .hh-inner {
        padding-top: 14px;
        padding-bottom: 48px;
    }

    .hh-card {
        padding: 22px 26px;
    }

    .hh-title {
        font-size: 1.55rem;
        margin-bottom: 12px;
    }

    .hh-btn {
        margin: 0;
        padding: 6px 16px;
    }
}

@media (max-width: 992px) {
    .hh-card {
        max-width: 100%;
        padding: 26px;
    }
}

@media (max-width: 767.98px) {
    .hh-hero {
        height: auto;
        min-height: 520px;
        min-height: clamp(480px, 76vh, 640px);
        min-height: clamp(480px, 76svh, 640px);
        max-height: none;
        align-items: flex-end;
        touch-action: pan-y;
    }

    .hh-slide-img {
        object-position: center 25%;
    }

    .hh-overlay {
        background: linear-gradient(to top, rgba(8, 28, 70, .78) 0%, rgba(8, 28, 70, .25) 55%, rgba(8, 28, 70, .08) 100%);
    }

    .hh-inner {
        padding-top: 20px;
        padding-bottom: 56px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .hh-card {
        margin: 0 16px;
        width: calc(100% - 32px);
        max-width: 480px;
        padding: 20px 20px 22px;
        border-radius: 20px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px) saturate(1.1);
    }

    .hh-label {
        font-size: .7rem !important;
        letter-spacing: .16em !important;
    }

    .hh-title {
        font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
        line-height: 1.15 !important;
    }

    .hh-card .hh-btn {
        width: auto !important;
        align-self: flex-start;
        display: inline-block !important;
        text-align: center;
        min-height: 42px;
        padding: 10px 24px !important;
        font-size: .85rem !important;
        margin: 0 !important;
    }

    .hh-dots {
        bottom: 18px !important;
        gap: 8px;
    }

    .hh-dot {
        width: 10px !important;
        height: 10px !important;
        padding: 7px !important;
        background-clip: content-box !important;
        box-sizing: content-box !important;
    }
}

@media (max-width: 576px) {
    .hh-hero {
        height: auto;
        min-height: 520px;
        max-height: none;
    }

    .hh-card {
        padding: 22px;
    }

    .hh-title {
        font-size: 1.6rem;
    }

    .hh-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 0 16px;
    }

    .hh-dots {
        bottom: 16px;
    }
}