/**
 * ========================================================================
 * ARCHIVO: dock.css
 * PROYECTO: MOTELWEB.VIP
 * VERSIÓN: 1.0.0
 * FECHA: 2026-09-26
 * DESCRIPCIÓN: Dock flotante inferior. Solo íconos, scrollspy, tooltip.
 *              Solo activo en variante de header "dock".
 * ========================================================================
 */

.mod-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 890;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(17, 17, 17, 0.88);
    border: 1px solid var(--mw-color-border-gold, rgba(212, 175, 55, 0.3));
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.3, 1),
                opacity 0.4s ease;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* === Estado inicial: oculto hasta pasar el hero === */
.mod-dock-visible-after-hero {
    transform: translateX(-50%) translateY(calc(100% + 50px));
    opacity: 0;
    pointer-events: none;
}

.mod-dock-visible-after-hero.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* === Items === */
.dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--mw-color-text);
    text-decoration: none;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
}

.dock-item i {
    font-size: 1.1rem;
    color: var(--mw-color-accent);
    transition: transform 0.25s ease, color 0.25s ease;
    pointer-events: none;
}

.dock-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dock-item:hover i {
    transform: scale(1.18);
    color: var(--mw-color-primary);
}

.dock-item.is-active {
    background: rgba(212, 175, 55, 0.15);
}

.dock-item.is-active i {
    color: var(--mw-color-primary);
}

/* === Móvil === */
@media (max-width: 640px) {
    .mod-dock {
        bottom: 0;
        padding: 2px 45px;
        gap: 15px;
        border-radius: 18px;
    }

    .dock-item {
        width: 35px;
        height: 35px;
        border-radius: 10px;
    }

    .dock-item i {
        font-size: 1rem;
    }
}