/* =========================================================
   HERO VIDEO
========================================================= */
.hero-video-section {
    position: relative;
    width: 100%;
    height: calc(100svh - 120px);
    max-height: 100svh;
    overflow: hidden;
    background: var(--color-black);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.hero-video.loaded {
    opacity: 1;
}

/* ── Botón ── */
.hero-video-btn {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 3;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    color: var(--color-white);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.hero-video-btn.visible {
    display: flex;
}

.hero-video-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .hero-video-section {
        height: calc(100svh - 70px);
    }
}

/* ── Loader ── */
.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-loader-bar-wrap {
    width: 120px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-loader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    animation: loader-slide 1.2s ease-in-out infinite;
}

.hero-loader-text {
    font-family: var(--font-base);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes loader-slide {
    0% {
        left: -100%;
    }

    50% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

/* =========================================================
   SOBRE NOSOTROS - SECTION
========================================================= */
.sobre-nosotros-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.sobre-nosotros-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.sobre-nosotros-section .badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.sobre-nosotros-section .badge {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sobre-nosotros-section .badge-icon-img {
    object-fit: contain;
    max-width: 50px;
    max-height: 50px;
}

@media (max-width: 1024px) {
    .sobre-nosotros-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-nosotros-inner .title,
    .sobre-nosotros-inner p {
        text-align: center;
    }

    .sobre-nosotros-inner .badges .badge {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .sobre-nosotros-section .badges {
        flex-direction: column;
    }
}

/* =========================================================
   CATEGORIA - SECTION
========================================================= */
.categoria-section .categoria-header {
    display: flex;
    background-color: var(--color-bg-main);
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 40px;
}

.categoria-section .categoria-header .category-title {
    font-family: var(--font-headings);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
}

.categoria-section .categoria-header .see-all-link {
    color: var(--color-black-500);
    transition: 0.3s ease;
    font-weight: 500;
    font-size: 1.125rem;
}

.categoria-section .categoria-header .see-all-link:hover {
    color: var(--color-black);
}

@media screen and (max-width: 768px) {
    .categoria-section .categoria-header {
        position: sticky;
        top: 70px;
        gap: 2rem;
        z-index: 100;
    }

    .admin-bar .categoria-section .categoria-header {
        top: 116px;
    }
}

@media screen and (max-width: 580px) {
    .categoria-section .categoria-header {
        gap: 1rem;
    }
}