/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a,
.hotspot,
.swipe-hint {
    -webkit-user-select: none;
    user-select: none;
}

/* Home y escenario */
#home {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1;
}

.home-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-scene {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-scene #home-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Introducción */
#intro {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #000;
    overflow: hidden;
}

.intro-poster,
#intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro-poster {
    opacity: 0;
    visibility: hidden;
}

.intro-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#intro.show-poster .intro-poster {
    opacity: 1;
    visibility: visible;
}

#intro-video {
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}

#intro-video.is-playing {
    opacity: 1;
    visibility: visible;
}

#intro-video.is-finished {
    opacity: 0;
    visibility: hidden;
}

/* Transición de introducción a Home */
#transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease;
}

#transition-overlay.fade-in {
    opacity: 1;
}

#transition-overlay.fade-out {
    opacity: 0;
}

/* Navegación principal */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    pointer-events: none;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.navbar {
    position: relative;
    width: 100%;
    height: 94px;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.navbar-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.navbar-logo img {
    display: block;
    width: 145px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.1vw, 38px);
}

.navbar-links a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .3s ease;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.navbar-links a:hover::after,
.navbar-links a:focus-visible::after {
    transform: scaleX(1);
}

.navbar-links a:hover {
    color: #e6e6e6;
}

/* Hamburguesa */
.menu-toggle {
    display: none;
    position: relative;
    z-index: 110;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .4s cubic-bezier(.76, 0, .24, 1), opacity .25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Panel de navegación móvil */
#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(5, 5, 5, .94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.76, 0, .24, 1), visibility .45s;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 110px 24px 40px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(18px, 5vw, 26px);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1), color .3s ease;
}

#mobile-menu.open .mobile-nav a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a:nth-child(1) {
    transition-delay: .08s;
}

.mobile-nav a:nth-child(2) {
    transition-delay: .13s;
}

.mobile-nav a:nth-child(3) {
    transition-delay: .18s;
}

.mobile-nav a:nth-child(4) {
    transition-delay: .23s;
}

.mobile-nav a:nth-child(5) {
    transition-delay: .28s;
}

.mobile-nav a:nth-child(6) {
    transition-delay: .33s;
}

.mobile-nav a:hover {
    color: #b9b9b9;
}

/* Hotspots */
.hotspot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 5;
    width: 0;
    height: 0;
}

.hotspot-trigger {
    position: absolute;
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(0, 0, 0, .10);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 255, 255, .10), inset 0 0 12px rgba(255, 255, 255, .04);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), background .3s ease, box-shadow .4s ease;
}

.hotspot-ring {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    animation: hotspotPulse 3s ease-out infinite;
}

.hotspot-core {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, .9), 0 0 25px rgba(255, 255, 255, .4);
}

.hotspot-crosshair {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .3);
    animation: hotspotRotate 25s linear infinite;
}

@keyframes hotspotPulse {
    0% {
        transform: scale(.85);
        opacity: .8;
    }

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes hotspotRotate {
    to {
        transform: rotate(360deg);
    }
}

.hotspot:hover .hotspot-trigger,
.hotspot.active .hotspot-trigger,
.hotspot:focus-within .hotspot-trigger {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 30px rgba(255, 255, 255, .3), inset 0 0 20px rgba(255, 255, 255, .1);
}

/* Etiquetas de hotspots */
.hotspot-panel {
    position: absolute;
    left: 43px;
    top: 0;
    width: 225px;
    background: rgba(7, 7, 9, .92);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(-12px) scale(.96);
    transform-origin: left center;
    transition: opacity .3s ease, visibility .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.hotspot:hover .hotspot-panel,
.hotspot.active .hotspot-panel,
.hotspot:focus-within .hotspot-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0) scale(1);
}

.hotspot-left-panel .hotspot-panel {
    left: auto;
    right: 43px;
    transform-origin: right center;
    transform: translateY(-50%) translateX(12px) scale(.96);
}

.hotspot-left-panel:hover .hotspot-panel,
.hotspot-left-panel.active .hotspot-panel,
.hotspot-left-panel:focus-within .hotspot-panel {
    transform: translateY(-50%) translateX(0) scale(1);
}

.hotspot-center .hotspot-panel {
    left: 50%;
    top: 47px;
    transform: translateX(-50%) translateY(-12px) scale(.96);
    transform-origin: top center;
}

.hotspot-center:hover .hotspot-panel,
.hotspot-center.active .hotspot-panel,
.hotspot-center:focus-within .hotspot-panel {
    transform: translateX(-50%) translateY(0) scale(1);
}

.hotspot-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 17px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.hotspot-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.hotspot-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .035em;
}

.hotspot-description {
    color: rgba(255, 255, 255, .55);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
}

.hotspot-arrow {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform .3s ease;
}

.hotspot-link:hover .hotspot-arrow {
    transform: translateX(4px);
}

/* Adaptación por tamaño de pantalla */
@media (max-width: 1100px) {
    .navbar {
        height: 80px;
        padding: 0 24px;
    }

    .navbar-logo img {
        width: 125px;
    }

    .navbar-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-gradient {
        height: 150px;
    }
}

@media (max-width: 767px) {
    .home-image {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .home-image::-webkit-scrollbar {
        display: none;
    }

    .home-scene {
        width: auto;
        height: 100%;
        aspect-ratio: 2560 / 1440;
    }

    .home-scene #home-background {
        width: 100%;
        height: 100%;
        object-fit: contain;
        user-select: none;
        -webkit-user-drag: none;
    }

    .hotspot-trigger {
        width: 48px;
        height: 48px;
    }

    .hotspot-panel {
        width: 190px;
        left: 36px;
    }

    .hotspot-left-panel .hotspot-panel {
        right: 36px;
    }

    .hotspot-title {
        font-size: 12px;
    }

    .hotspot-description {
        font-size: 9px;
    }

    .hotspot-center .hotspot-panel {
        top: 40px;
    }

    .hotspot-link {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 76px;
        padding: 0 20px;
    }

    .navbar-logo img {
        width: 115px;
    }

    .mobile-nav {
        gap: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle span,
    #mobile-menu,
    .mobile-nav a,
    .hotspot-trigger,
    .hotspot-panel {
        transition-duration: .01ms;
        transition-delay: 0ms;
    }

    .hotspot-ring,
    .hotspot-crosshair {
        animation: none;
    }
}

/* Entrada de hotspots */

.hotspot-trigger {
    opacity: 0;
    visibility: hidden;
}

.hotspots-ready .hotspot-trigger {
    visibility: visible;
    animation: hotspotEntrance 0.85s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--entrance-delay, 0s);
}

.hotspot:nth-of-type(1) {
    --entrance-delay: 0.2s;
}

.hotspot:nth-of-type(2) {
    --entrance-delay: 0.1s;
}

.hotspot:nth-of-type(3) {
    --entrance-delay: 0.3s;
}

.hotspot:nth-of-type(4) {
    --entrance-delay: 0.4s;
}

@keyframes hotspotEntrance {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.45);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0);
    }
}

/* Etiquetas en pantallas táctiles */
@media (max-width: 767px) {
    .hotspot .hotspot-panel,
    .hotspot:hover .hotspot-panel,
    .hotspot.active .hotspot-panel,
    .hotspot:focus-within .hotspot-panel {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        filter: blur(7px);
        transform: translateY(-50%) translateX(-22px) scale(.90);
        transition:
            opacity .38s ease,
            transform .58s cubic-bezier(.16, 1, .3, 1),
            filter .48s ease,
            visibility 0s linear .58s;
    }

    .hotspot-left-panel .hotspot-panel,
    .hotspot-left-panel:hover .hotspot-panel,
    .hotspot-left-panel.active .hotspot-panel,
    .hotspot-left-panel:focus-within .hotspot-panel {
        transform: translateY(-50%) translateX(22px) scale(.90);
    }

    .hotspot-center .hotspot-panel,
    .hotspot-center:hover .hotspot-panel,
    .hotspot-center.active .hotspot-panel,
    .hotspot-center:focus-within .hotspot-panel {
        transform: translateX(-50%) translateY(-20px) scale(.90);
    }

    .hotspot.active.panel-visible .hotspot-panel,
    .hotspot.active.panel-visible:hover .hotspot-panel,
    .hotspot.active.panel-visible:focus-within .hotspot-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        filter: blur(0);
        transform: translateY(-50%) translateX(0) scale(1);
        transition:
            opacity .38s ease,
            transform .58s cubic-bezier(.16, 1, .3, 1),
            filter .48s ease,
            visibility 0s;
    }

    .hotspot-center.active.panel-visible .hotspot-panel,
    .hotspot-center.active.panel-visible:hover .hotspot-panel,
    .hotspot-center.active.panel-visible:focus-within .hotspot-panel {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hotspots-ready .hotspot-trigger {
        animation-duration: 0.01ms;
        animation-delay: 0ms;
    }
}

/* Indicador de desplazamiento */

.swipe-hint {
    display: none;
}

@media (max-width: 767px) {
    .swipe-hint {
        position: fixed;
        bottom: calc(100px + env(safe-area-inset-bottom));
        left: 50%;
        z-index: 20;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        color: #fff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, 12px);
        transition:
            opacity .5s ease,
            transform .6s cubic-bezier(.22, 1, .36, 1),
            visibility .5s;
    }

    .swipe-hint.visible {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .swipe-hint-animation {
        position: relative;
        width: 180px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swipe-hint-arrows {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        color: rgba(255, 255, 255, .7);
    }

    .swipe-hint-hand {
        position: relative;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .65));
        animation: swipeHintMove 2.2s ease-in-out infinite;
    }

    .swipe-hint-hand svg {
        width: 29px;
        height: 29px;
    }

    .swipe-hint-text {
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .18em;
        white-space: nowrap;
        text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
    }

    @keyframes swipeHintMove {
        0%,
        100% {
            transform: translateX(-25px);
        }

        50% {
            transform: translateX(25px);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .swipe-hint-hand {
        animation: none;
    }
}

/* Footer */

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    pointer-events: none;
}

.footer-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 130px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .85) 0%,
            rgba(0, 0, 0, .4) 45%,
            transparent 100%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 4% 28px;
    gap: 24px;
    pointer-events: auto;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    transition:
        color .3s ease,
        transform .35s cubic-bezier(.22, 1, .36, 1),
        filter .3s ease;
}

.footer-socials svg {
    width: 19px;
    height: 19px;
    display: block;
}

.footer-socials a:hover {
    color: #fff;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 6px rgba(220, 225, 235, .55));
}

.footer-privacy {
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    white-space: nowrap;
    transition: color .3s ease;
}

.footer-privacy:hover {
    color: #fff;
}

/* Footer móvil */

@media (max-width: 767px) {
    .footer-gradient {
        height: 105px;
    }

    .footer-content {
        padding:
            15px 20px calc(22px + env(safe-area-inset-bottom));
        gap: 12px;
    }

    .footer-socials {
        gap: 13px;
    }

    .footer-socials a {
        width: 18px;
        height: 18px;
    }

    .footer-socials svg {
        width: 17px;
        height: 17px;
    }

    .footer-privacy {
        font-size: 9px;
        letter-spacing: .07em;
    }
}

/* Marcas en desktop */

.navbar-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-dropdown-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .075em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: color .3s ease;
}

.navbar-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.navbar-dropdown:hover .navbar-dropdown-toggle::after,
.navbar-dropdown:focus-within .navbar-dropdown-toggle::after,
.navbar-dropdown.is-open .navbar-dropdown-toggle::after {
    transform: scaleX(1);
}

.navbar-dropdown-toggle:hover {
    color: #e6e6e6;
}

.navbar-dropdown-toggle svg,
.mobile-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease;
}

.navbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;
    min-width: 250px;
    padding: 10px 0;
    background: rgba(5, 5, 5, .94);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        opacity .3s ease,
        transform .4s cubic-bezier(.22, 1, .36, 1),
        visibility .3s;
    z-index: 100;
}

/* Mantiene el hover entre el botón y el panel */
.navbar-dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 18px;
}

.navbar-links .navbar-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .075em;
    line-height: 1.5;
    transition: color .3s ease, background .3s ease;
}

.navbar-links .navbar-dropdown-menu a::after {
    display: none;
}

.navbar-links .navbar-dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown:focus-within .navbar-dropdown-menu,
.navbar-dropdown.is-open .navbar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.navbar-dropdown:hover .navbar-dropdown-toggle svg,
.navbar-dropdown:focus-within .navbar-dropdown-toggle svg,
.navbar-dropdown.is-open .navbar-dropdown-toggle svg {
    transform: rotate(180deg);
}

/* Marcas en móvil */

.mobile-brands {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .5s ease .28s,
        transform .6s cubic-bezier(.22, 1, .36, 1) .28s;
}

#mobile-menu.open .mobile-brands {
    opacity: 1;
    transform: translateY(0);
}

.mobile-brands-title {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(18px, 5vw, 26px);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
}

.mobile-brands-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
}

.mobile-nav .mobile-brands-links a,
.mobile-brands-links .mobile-brand-soon {
    color: rgba(255, 255, 255, .65);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .075em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    transform: none;
    transition: color .3s ease;
}

.mobile-nav .mobile-brands-links a:hover {
    color: #fff;
}

.mobile-brand-soon {
    cursor: default;
}

/* Evitar cortes en pantallas pequeñas */
@media (max-width: 1100px) {
    .mobile-nav {
        max-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    .mobile-nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-brands-links {
        gap: 11px;
        margin-top: 16px;
    }

    .mobile-nav .mobile-brands-links a,
    .mobile-brands-links .mobile-brand-soon {
        font-size: 14px;
    }
}

/* Pantalla central */

.home-screen {
    position: absolute;
    left: 39.4140625%;
    top: 21.1805556%;
    width: 19.21875%;
    height: 48.9583333%;
    overflow: hidden;
    pointer-events: none;

    /* Integración con la iluminación del escenario */
    mix-blend-mode: screen;
    opacity: 1;
    z-index: 1;
}

.home-screen-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: brightness(.95) saturate(.85);
    transition: none;
    pointer-events: none;
    user-select: none;
}

.home-screen-slide.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .home-screen-slide {
        transition: none;
    }
}

/* Escena proporcional a la imagen original, con recorte centrado en desktop */
@media (min-width: 768px) {
    .home-scene {
        position: absolute;
        left: 50%;
        top: 50%;
        width: max(100vw, calc(100vh * 2560 / 1440));
        height: max(100vh, calc(100vw * 1440 / 2560));
        transform: translate(-50%, -50%);
    }
}

/* Efecto de pantalla LED */

.home-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, .12) 3px,
            transparent 4px);
    pointer-events: none;
    z-index: 5;
}

/* Cambio de señal */
.home-screen.is-switching .home-screen-slide.is-active {
    animation: screen-signal-change 320ms linear both;
}

@keyframes screen-signal-change {
    0% {
        opacity: 1;
        filter: brightness(.85) saturate(.85);
    }

    20% {
        opacity: .45;
        filter: brightness(.6) saturate(.6);
    }

    35% {
        opacity: .8;
        clip-path: inset(2% 0 4% 0);
        transform: translateX(1px);
    }

    48% {
        opacity: 0;
    }

    52% {
        opacity: 0;
    }

    65% {
        opacity: .65;
        clip-path: inset(0);
        transform: translateX(-1px);
        filter: brightness(1.05) saturate(.8);
    }

    80% {
        opacity: .9;
        transform: translateX(0);
    }

    100% {
        opacity: 1;
        filter: brightness(.85) saturate(.85);
        clip-path: inset(0);
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-screen.is-switching .home-screen-slide.is-active {
        animation: none;
    }
}

/* Logo del escenario */

.home-stage-logo {
    position: absolute;
    left: 37.3046875%;
    top: 48.1944444%;
    width: 23.4375%;
    height: 17.2916667%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    transform-origin: center center;
    animation: stage-logo-float 6s ease-in-out infinite;
}

.home-stage-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
    animation: stage-logo-shadow 6s ease-in-out infinite;
}

/* Animación del logo */

@keyframes stage-logo-float {
    0%,
    100% {
        transform: translateY(0) rotate(-0.5deg);
    }

    50% {
        transform: translateY(-5%) rotate(0.5deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-stage-logo {
        animation: none;
    }
}

@keyframes stage-logo-shadow {
    0%,
    100% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
    }

    50% {
        filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .25));
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-stage-logo img {
        animation: none;
    }
}

/* Interacción de pantalla LED */

.home-screen-slide {
    pointer-events: none;
}

/* Solo la imagen activa recibe clics */
.home-screen-slide.is-active[href] {
    pointer-events: auto;
    cursor: pointer;
}

.home-screen-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

/* Desactivar clics durante el cambio de señal */
.home-screen.is-switching .home-screen-slide {
    pointer-events: none;
}

/* Indicador para navegación con teclado */
.home-screen-slide:focus-visible {
    outline: 1px solid rgba(255, 255, 255, .6);
    outline-offset: -2px;
}

/* Objetos interactivos */

.home-interactive-object {
    position: absolute;
    display: block;
    z-index: 3;
    cursor: pointer;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.home-interactive-object img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    animation: object-discovery 2s ease-in-out infinite;
    transition: filter .4s ease;
}

/* Merch */

.object-merch {
    left: 12.3828125%;
    top: 60.7638889%;
    width: 2.734375%;
    height: 15.625%;
}

/* Pulso de iluminación ambiental */

@keyframes object-discovery {
    0%,
    100% {
        filter: brightness(1.08) drop-shadow(0 0 2px rgba(255, 230, 200, .25));
    }

    50% {
        filter: brightness(1.4) drop-shadow(0 0 3px rgba(255, 255, 255, .85)) drop-shadow(0 0 8px rgba(255, 230, 200, .65)) drop-shadow(0 0 16px rgba(255, 200, 150, .35));
    }
}

.home-interactive-object:hover img,
.home-interactive-object:focus-visible img,
.home-interactive-object.is-active img {
    animation: none;
    filter: brightness(1.3) drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 5px rgba(255, 230, 200, .7)) drop-shadow(0 0 15px rgba(255, 190, 120, .35));
}

/* Etiquetas de objetos */

.object-label {
    position: absolute;
    left: calc(100% + 15px);
    top: 40%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(15, 15, 15, .45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .075em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s;
    pointer-events: none;
}

/* Línea de conexión */

.object-label::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 15px;
    height: 1px;
    background: rgba(255, 255, 255, .5);
}

.object-label svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.home-interactive-object:hover .object-label,
.home-interactive-object:focus-visible .object-label,
.home-interactive-object.is-active .object-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .home-interactive-object img {
        animation: none;
    }
}

/* Objetos en pantallas táctiles */

@media (max-width: 767px),
(hover: none) {
    /* Evita que el hover persista después del toque. */

    .home-interactive-object:not(.is-active) img {
        animation: object-discovery 2s ease-in-out infinite;
    }

    .home-interactive-object:not(.is-active) .object-label {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-8px);
    }

    .home-interactive-object.is-active {
        z-index: 10;
    }

    .home-interactive-object.is-active img {
        animation: none;
        filter: brightness(1.4) drop-shadow(0 0 2px rgba(255, 255, 255, .95)) drop-shadow(0 0 8px rgba(255, 230, 200, .75)) drop-shadow(0 0 16px rgba(255, 190, 120, .4));
    }

    .home-interactive-object.is-active .object-label {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-interactive-object img,
    .home-interactive-object:not(.is-active) img {
        animation: none;
    }
}

/* Coordenadas de objetos */

/* Consola */

.object-console {
    left: 7.8515625%;
    top: 41.875%;
    width: 9.296875%;
    height: 10.4166667%;
}

/* Rines */

.object-wheels {
    left: 79.765625%;
    top: 34.7916667%;
    width: 17.96875%;
    height: 20.1388889%;
}

/* Tanque */

.object-tank {
    left: 72.8515625%;
    top: 64.7916667%;
    width: 11.71875%;
    height: 15.625%;
}

/* Etiquetas a la izquierda */

.object-label-left .object-label {
    left: auto;
    right: calc(100% + 15px);
    transform: translateX(8px);
}

.object-label-left .object-label::before {
    right: auto;
    left: 100%;
}

.object-label-left:hover .object-label,
.object-label-left:focus-visible .object-label,
.object-label-left.is-active .object-label {
    transform: translateX(0);
}

@media (max-width: 767px),
(hover: none) {
    .object-label-left:not(.is-active) .object-label {
        transform: translateX(8px);
    }
}

/* Orden de capas del objeto activo */

.home-interactive-object:hover,
.home-interactive-object:focus-visible,
.home-interactive-object.is-active {
    z-index: 10;
}

.object-merch img {
    animation-delay: 0s;
}

.object-console img {
    animation-delay: -.5s;
}

.object-wheels img {
    animation-delay: -1s;
}

.object-tank img {
    animation-delay: -1.5s;
}

/* Etiqueta central: reutiliza el estilo de los objetos */
.hotspot-center>.object-label {
    left: 50%;
    top: 47px;
    width: max-content;
    justify-content: flex-start;
    transform: translate(-50%, -8px);
}

.hotspot-center>.object-label::before {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 100%;
    width: 1px;
    height: 15px;
}

.hotspot-center:hover>.object-label,
.hotspot-center:focus-within>.object-label,
.hotspot-center.active.panel-visible>.object-label {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

@media (max-width: 767px),
(hover: none) {
    .hotspot-center>.object-label {
        top: 40px;
    }

    .hotspot-center:not(.panel-visible)>.object-label {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -8px);
    }

    .home-scene .object-label {
    width: max-content;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
    box-sizing: border-box;
}

    .home-scene .object-label svg {
        flex-shrink: 0;
    }
}

.hotspot-center.active,
.hotspot-center:hover,
.hotspot-center:focus-within {
    z-index: 10;
}
