/* ─────────────── HERO SLIDER ─────────────── */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    background: var(--navy);
    margin-top: calc(var(--nav-h) + var(--top-h));
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.hero-slider.is-dragging {
    cursor: grabbing;
}

.hero-slider.is-dragging .hs-content,
.hero-slider.is-dragging .hs-media {
    transition: none !important;
}

.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hs-slide.leaving {
    opacity: 0;
    z-index: 2;
}

.hs-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hs-media img,
.hs-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    filter: saturate(1.2) contrast(1.1);
}

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

@keyframes kb-zoom {
    from {
        transform: scale(1.08) translate(0, 0);
    }

    to {
        transform: scale(1) translate(0, 0);
    }
}

.hs-slide:nth-child(2).active .hs-media img {
    animation: kb-drift 9s ease-out forwards;
}

@keyframes kb-drift {
    from {
        transform: scale(1.1) translate(-1%, 0.5%);
    }

    to {
        transform: scale(1) translate(1%, -0.5%);
    }
}

.hs-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to right, rgba(10, 14, 26, 0.88) 0%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.25) 100%),
        linear-gradient(to top, rgba(10, 14, 26, 0.7) 0%, transparent 50%);
}

.hs-slide.vid .hs-overlay {
    background:
        linear-gradient(to right, rgba(10, 14, 26, 0.82) 0%, rgba(10, 14, 26, 0.5) 55%, rgba(10, 14, 26, 0.2) 100%),
        linear-gradient(to top, rgba(10, 14, 26, 0.65) 0%, transparent 50%);
}

.hs-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 36px;
    max-width: 1300px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

@media(max-width:640px) {
    .hs-content {
        padding: 0 20px;
    }
}

.hs-text {
    max-width: 640px;
}

.hs-slide .hs-badge,
.hs-slide .hs-title,
.hs-slide .hs-desc,
.hs-slide .hs-actions,
.hs-slide .hs-meta {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hs-slide.active .hs-badge {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
}

.hs-slide.active .hs-title {
    opacity: 1;
    transform: none;
    transition-delay: 0.5s;
}

.hs-slide.active .hs-desc {
    opacity: 1;
    transform: none;
    transition-delay: 0.65s;
}

.hs-slide.active .hs-actions {
    opacity: 1;
    transform: none;
    transition-delay: 0.8s;
}

.hs-slide.active .hs-meta {
    opacity: 1;
    transform: none;
    transition-delay: 0.95s;
}

.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 200, 224, 0.12);
    border: 1px solid rgba(0, 200, 224, 0.3);
    color: var(--cyan);
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hs-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.hs-title {
    font-family: var(--font);
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    color: #fff;
}

.hs-title .accent {
    background: linear-gradient(135deg, var(--cyan) 0%, #7EF8FF 50%, var(--cyan2) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 3s ease infinite;
}

@keyframes gradShift {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.hs-title .coral-acc {
    background: linear-gradient(135deg, #FF7B6A, var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hs-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.85;
    margin-bottom: 32px;
    max-width: 500px;
}

.hs-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hs-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hs-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.hs-meta-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
}

.slide-video-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 6px 14px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}

.vid-rec {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    animation: rec-blink 1.2s ease-in-out infinite;
}

@keyframes rec-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
}

.hs-arrow:hover {
    background: rgba(0, 200, 224, 0.2);
    border-color: var(--cyan);
    transform: translateY(-50%) scale(1.1);
}

.hs-arrow svg {
    width: 20px;
    height: 20px;
}

.hs-prev {
    left: 28px;
}

.hs-next {
    right: 28px;
}

@media(max-width:640px) {
    .hs-prev {
        left: 12px;
    }

    .hs-next {
        right: 12px;
    }

    .hs-arrow {
        width: 40px;
        height: 40px;
    }
}

.hs-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hs-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
}

.hs-dot.active {
    width: 36px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 200, 224, 0.6);
}

.hs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--coral));
    width: 0%;
    transition: width 0.1s linear;
}

.hs-counter {
    position: absolute;
    bottom: 29px;
    right: 36px;
    z-index: 10;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    font-variant-numeric: tabular-nums;
}

.hs-counter .cur {
    color: #fff;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce-hint 2s ease-in-out infinite;
    margin-left: 60px;
}

@media(max-width:768px) {
    .scroll-hint {
        display: none;
    }
}

@keyframes bounce-hint {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

.hint-line {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}