/* Hero — image-led, minimal chrome */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: var(--color-hero-foreground);
    position: relative;
    overflow: hidden;
    padding-bottom: 6.25rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(19, 19, 19, 0.55) 0%,
        rgba(19, 19, 19, 0.18) 42%,
        rgba(19, 19, 19, 0) 72%
    );
}

.hero-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center 30%;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .hero-slide--desktop-only {
        display: none;
    }
}

.hero-content {
    max-width: 34rem;
    padding: 0 var(--space-md) 0;
    text-align: center;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: var(--text-h1-size);
    line-height: var(--text-h1-line);
    letter-spacing: var(--text-h1-track);
    font-weight: 400;
    margin: 0;
    color: var(--color-hero-foreground);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
    text-transform: none;
}

.hero-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    color: var(--color-hero-foreground);
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.88;
    text-shadow: none;
    line-height: 1;
    font-size: 0;
    overflow: visible;
}

.hero-social .social-icon,
.hero-social a svg {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    fill: currentColor;
    color: inherit;
    overflow: visible;
}

.hero-social a i {
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    width: 1.15rem;
    height: 1.15rem;
    color: inherit;
}

.hero-social a:hover {
    opacity: 1;
}

.hero-social a:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.hero-pagination {
    position: absolute;
    left: 50%;
    bottom: 2.65rem;
    z-index: 4;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    width: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    margin: 0 !important;
    background: rgba(229, 226, 225, 0.35);
    opacity: 1;
    transition: background-color var(--duration-normal) var(--ease-premium),
        transform var(--duration-normal) var(--ease-premium);
}

.hero-pagination .swiper-pagination-bullet-active {
    background: rgba(229, 226, 225, 0.85);
    transform: scale(1.2);
}

.hero-pause {
    position: absolute;
    right: max(0.5rem, env(safe-area-inset-right));
    bottom: 2.35rem;
    z-index: 4;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(229, 226, 225, 0.4);
    font-size: 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration-normal) var(--ease-premium);
}

.hero-pause:hover,
.hero-pause:focus-visible {
    color: rgba(229, 226, 225, 0.9);
}

.hero-pause:focus-visible {
    outline: 2px solid rgba(229, 226, 225, 0.7);
    outline-offset: 3px;
}

@media screen and (min-width: 1024px) {
    .hero {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        max-height: none;
        padding-bottom: 7.25rem;
    }

    .hero-content {
        max-width: 40rem;
        padding-bottom: 0.25rem;
    }

    .hero-content h1 {
        font-size: clamp(2.75rem, 4.2vw, 3.75rem);
    }

    .hero-social {
        gap: 0.55rem;
        margin-top: 1.1rem;
    }

    .hero-social a {
        width: 2.5rem;
        height: 2.5rem;
        opacity: 0.9;
    }

    .hero-social .social-icon,
    .hero-social a svg,
    .hero-social a i {
        width: 1.25rem;
        height: 1.25rem;
    }

    .hero-social a i {
        font-size: 1.25rem;
    }

    .hero-pagination {
        bottom: 2.9rem;
        gap: 0.45rem;
    }

    .hero-pause {
        bottom: 2.55rem;
        right: max(1rem, env(safe-area-inset-right));
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding-bottom: 5.75rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .hero-social a {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hero-pagination {
        bottom: 2.45rem;
    }

    .hero-pause {
        bottom: 2.15rem;
        right: 0.35rem;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 0.7rem;
        color: rgba(229, 226, 225, 0.45);
    }

}

@media (prefers-reduced-motion: reduce) {
    .hero-pagination .swiper-pagination-bullet,
    .hero-pause,
    .hero-social a {
        transition: none;
    }
}
