﻿.pista {
        overflow: hidden;
        width: 100%;
        height: 25px;
        background-color: #fff;
    }

    .carro {
        display: block;
        height: 25px;
        width: 25px;
        position: relative;
        animation: movimientoCarro 10s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    }

    @keyframes movimientoCarro {
        0% {
            transform: translateX(-150px);
        }

        100% {
            transform: translateX(100vw);
        }
    }

    /* ====== FOOTER STYLES ====== */
    .footer-main {
        background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1f3c 100%);
        color: #c8d6e5;
        font-size: 0.92rem;
    }

    .footer-main h5 {
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
        position: relative;
        padding-bottom: 0.6rem;
    }

    .footer-main h5::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: #0d6efd;
        border-radius: 2px;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-links a {
        color: #8899aa;
        text-decoration: none;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    .footer-links a:hover {
        color: #fff;
        padding-left: 5px;
    }

    .footer-links a i {
        margin-right: 6px;
        font-size: 0.8rem;
    }

    .footer-contact-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .footer-contact-item i {
        color: #0d6efd;
        font-size: 1.1rem;
        margin-top: 2px;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .footer-contact-item a {
        color: #8899aa;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-contact-item a:hover {
        color: #fff;
    }

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #8899aa;
        font-size: 1.1rem;
        margin-right: 10px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .footer-social a:hover {
        transform: translateY(-3px);
        color: #fff;
    }

    .footer-social a.fb:hover {
        background: #1877f2;
    }

    .footer-social a.yt:hover {
        background: #ff0000;
    }

    .footer-social a.wa:hover {
        background: #25d366;
    }

    .footer-social a.web:hover {
        background: #0d6efd;
    }

    .footer-bottom {
        background: rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-bottom a {
        color: #6b7c8d;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-bottom a:hover {
        color: #fff;
    }

/* ====== FAB EXPANDIBLE ====== */
        .fab-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* BotÃ³n principal */
        .fab-main {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            border: none;
            background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
            color: white;
            font-size: 1.6rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fab-main:hover {
            transform: scale(1.08);
            box-shadow: 0 6px 25px rgba(13, 110, 253, 0.5);
        }

        .fab-main .fab-icon-open,
        .fab-main .fab-icon-close {
            position: absolute;
            transition: all 0.3s ease;
        }

        .fab-main .fab-icon-close {
            opacity: 0;
            transform: rotate(-90deg) scale(0.5);
        }

        .fab-container.active .fab-main .fab-icon-open {
            opacity: 0;
            transform: rotate(90deg) scale(0.5);
        }

        .fab-container.active .fab-main .fab-icon-close {
            opacity: 1;
            transform: rotate(0) scale(1);
        }

        .fab-container.active .fab-main {
            background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
            box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
        }

        /* Contenedor de opciones */
        .fab-options {
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            margin-bottom: 12px;
            pointer-events: none;
        }

        .fab-container.active .fab-options {
            pointer-events: all;
        }

        /* Cada opciÃ³n */
        .fab-option {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: white;
            font-size: 1.15rem;
            margin-bottom: 10px;
            opacity: 0;
            transform: scale(0.4) translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transition-delay: calc(var(--i) * 0.06s);
            position: relative;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
        }

        .fab-container.active .fab-option {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .fab-option:hover {
            transform: scale(1.15) translateY(0) !important;
        }

        /* Colores de cada opciÃ³n */
        .fab-option:nth-child(1) {
            background: #25d366;
        }

        /* WhatsApp */
        .fab-option:nth-child(2) {
            background: #0d6efd;
        }

        /* Soporte */
        .fab-option:nth-child(3) {
            background: #6f42c1;
        }

        /* Email */
        .fab-option:nth-child(4) {
            background: #198754;
        }

        /* Llamar */

        /* Labels que aparecen a la izquierda */
        .fab-option::before {
            content: attr(data-label);
            position: absolute;
            right: calc(100% + 12px);
            background: rgba(15, 23, 42, 0.92);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #fff;
            padding: 6px 14px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 500;
            font-family: 'Segoe UI', system-ui, sans-serif;
            white-space: nowrap;
            opacity: 0;
            transform: translateX(8px);
            transition: all 0.25s ease;
            pointer-events: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .fab-option:hover::before {
            opacity: 1;
            transform: translateX(0);
        }

        /* Pulse animation en el botÃ³n principal */
        .fab-main::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: inherit;
            z-index: -1;
            animation: fabPulse 2s ease-in-out infinite;
        }

        .fab-container.active .fab-main::after {
            animation: none;
        }

        @keyframes fabPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 0.4;
            }

            50% {
                transform: scale(1.3);
                opacity: 0;
            }
        }

        /* Responsive */
        @media (max-width: 576px) {
            .fab-container {
                bottom: 16px;
                right: 16px;
            }

            .fab-main {
                width: 52px;
                height: 52px;
                font-size: 1.4rem;
            }

            .fab-option {
                width: 42px;
                height: 42px;
                font-size: 1rem;
            }
        }
