/* ==========================================================================
   MOTO UBEROS - ESTILOS PRO v4.0 (Agregados Manual y Pagos)
   ========================================================================== */

:root {
    --primary-color: #ffc107;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: #333333;
}

body { margin: 0; font-family: 'Montserrat', sans-serif; background-color: var(--dark-bg); color: var(--text-color); overflow-x: hidden; }
a { text-decoration: none; }
ul { list-style: none; padding: 0; }

/* HEADER & NAV */
header { background-color: rgba(18, 18, 18, 0.95); padding: 1rem 0; position: sticky; top: 0; width: 100%; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.logo { display: flex; align-items: center; color: var(--text-color); }
.logo img { height: 50px; margin-right: 15px; }
.logo h1 { font-size: 1.2em; font-weight: 700; margin: 0; }
.header-right { display: flex; align-items: center; gap: 25px; }
.social-icons a { color: var(--text-muted); margin-right: 15px; font-size: 1.2rem; transition: 0.3s; }
.social-icons a:hover { color: var(--primary-color); }
.desktop-nav a { color: var(--text-muted); margin-left: 20px; font-weight: 500; transition: 0.3s; }
.desktop-nav a:hover, .desktop-nav a.active-link { color: var(--primary-color); }
.mobile-nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* MEN?0?3 M?0?7VIL */
.mobile-nav { display: none; position: fixed; top: 0; right: 0; width: 100%; height: 100%; background-color: rgba(18,18,18,0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 2000; }
.mobile-nav.active { display: flex; }
.mobile-nav a { color: white; font-size: 1.5rem; }
.mobile-nav .close-btn { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: white; font-size: 2rem; cursor: pointer; }

/* HERO */
.hero-app { background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=3600&auto=format&fit=crop'); background-size: cover; background-position: center; height: 50vh; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-overlay { background: rgba(0, 0, 0, 0.6); width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.hero-title { font-size: 3.5rem; font-weight: 800; color: var(--primary-color); margin: 0; text-transform: uppercase; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.hero-subtitle { font-size: 1.2rem; margin-top: 10px; margin-bottom: 20px; }
.btn-hero-download { padding: 15px 35px; font-size: 1.1rem; font-weight: 700; color: #000; background-color: var(--primary-color); border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 0 20px rgba(255,193,7,0.4); transition: transform 0.3s, box-shadow 0.3s; display: inline-flex; align-items: center; gap: 10px; }
.btn-hero-download:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,193,7,0.6); }

/* --- [NUEVO] SECCI?0?7N DE PASOS --- */
.steps-section { padding: 60px 20px; background-color: #0e0e0e; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center; }
.step-item { position: relative; padding: 20px; }
.step-number { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); color: black; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; display: flex; align-items: center; justify-content: center; z-index: 2; font-size: 1.2rem; box-shadow: 0 0 10px rgba(255,193,7,0.5); }
.step-icon { font-size: 3rem; color: white; margin: 30px 0 20px 0; opacity: 0.8; }
.step-item h3 { color: var(--primary-color); margin-bottom: 10px; }
.step-item p { color: #888; font-size: 0.9rem; }

/* SERVICIOS */
.services-section { padding: 60px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: white; }
.services-grid { display: grid; justify-content: center; grid-template-columns: repeat(auto-fit, minmax(300px, 350px)); gap: 30px; }
.service-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(255,193,7,0.15); border-color: var(--primary-color); }
.card-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { font-size: 1.5rem; margin: 0 0 10px 0; }
.service-card p { color: var(--text-muted); margin-bottom: 25px; line-height: 1.5; flex-grow: 1; }
.btn-card { background-color: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 12px 25px; border-radius: 50px; font-weight: 700; width: 100%; text-align: center; transition: 0.3s; cursor: pointer; display: inline-block; box-sizing: border-box; }
.btn-card:hover { background-color: var(--primary-color); color: black; }
.featured-card { border: 1px solid var(--primary-color); background: linear-gradient(145deg, #1e1e1e, #2a2a2a); }
.badge-new { position: absolute; top: 20px; right: 20px; background-color: #ff4757; color: white; padding: 5px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: bold; }
.travel-form { width: 100%; text-align: left; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 5px; }
.btn-travel { background-color: var(--primary-color); color: black; border: none; margin-top: 10px; display: flex; justify-content: center; gap: 10px; }

/* --- [NUEVO] SERVICIOS ESPECIALES --- */
.special-services { padding: 40px 20px; border-top: 1px solid #333; border-bottom: 1px solid #333; background-color: #151515; }
.section-title-small { text-align: center; font-size: 1.8rem; margin-bottom: 30px; color: #fff; }
.special-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1000px; margin: 0 auto; }
.special-item { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; text-align: center; }
.special-item i { font-size: 2rem; color: #888; transition: 0.3s; }
.special-item span { color: #888; font-size: 0.9rem; font-weight: 600; }
.special-item:hover i, .special-item:hover span { color: var(--primary-color); transform: scale(1.1); }

/* --- [NUEVO] M?0?7TODOS DE PAGO --- */
.payment-methods { padding: 60px 20px; background-color: #000; }
.payment-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; max-width: 1000px; margin: 0 auto; }
.pay-item { display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0.7; transition: 0.3s; }
.pay-item:hover { opacity: 1; }
.pay-item i { font-size: 2.5rem; color: #fff; }
.pay-item span { color: #fff; font-size: 0.9rem; }
.pay-item:nth-child(2) i { color: #b76bf3; } /* Nequi approx color */
.pay-item:nth-child(3) i { color: #ed1c24; } /* Davi approx color */

/* BENEFICIOS */
.benefits-section { background-color: #0a0a0a; padding: 80px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto 80px auto; }
.benefit-card { background: rgba(30, 30, 30, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px 30px; text-align: center; transition: 0.4s ease; backdrop-filter: blur(10px); }
.benefit-card:hover { transform: translateY(-10px); background: rgba(40, 40, 40, 0.8); border-color: var(--primary-color); box-shadow: 0 0 30px rgba(255,193,7,0.15); }
.card-icon-wrapper { width: 80px; height: 80px; background: linear-gradient(135deg, #1e1e1e, #000); border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; font-size: 2rem; color: var(--primary-color); box-shadow: 0 0 15px rgba(255,193,7,0.3); }
.benefit-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; }
.benefit-card p { color: #ccc; font-size: 0.95rem; line-height: 1.6; }
.featured-benefit { border: 1px solid var(--primary-color); box-shadow: 0 0 20px rgba(255,193,7,0.1); }

/* IMPACTO VISUAL */
.visual-impact-section { max-width: 1000px; margin: 0 auto; background: linear-gradient(90deg, #111, #1a1a1a); border-radius: 30px; display: flex; align-items: center; justify-content: space-between; padding: 50px; position: relative; border: 1px solid #333; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.impact-content { flex: 1; z-index: 2; }
.impact-content h3 { font-size: 2.5rem; color: white; margin-bottom: 10px; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.impact-content p { color: #aaa; margin-bottom: 30px; font-size: 1.2rem; }
.btn-neon { background: var(--primary-color); color: #000; font-weight: 800; padding: 15px 40px; border: none; border-radius: 50px; cursor: pointer; font-size: 1.1rem; box-shadow: 0 0 20px rgba(255,193,7,0.5); transition: 0.3s; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.btn-neon:hover { background: #fff; box-shadow: 0 0 40px rgba(255,193,7,0.8); transform: scale(1.05); }
.impact-image { flex: 1; display: flex; justify-content: center; position: relative; z-index: 1; }
.impact-image img { width: 100%; max-width: 450px; height: auto; transform: rotate(-5deg); filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); transition: transform 0.5s; }
.visual-impact-section:hover .impact-image img { transform: rotate(0deg) scale(1.05); }

/* MODAL */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.85); z-index: 3000; justify-content: center; align-items: center; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease; }
.modal-content { background-color: #1e1e1e; padding: 40px; border-radius: 20px; text-align: center; position: relative; border: 1px solid var(--primary-color); max-width: 90%; width: 350px; box-shadow: 0 0 50px rgba(255,193,7,0.2); animation: slideUp 0.3s ease; }
.modal-content h3 { color: var(--primary-color); font-size: 1.5rem; margin-top: 10px; }
.close-modal { position: absolute; top: 15px; right: 15px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: white; }
.store-buttons { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.store-btn { display: flex; align-items: center; justify-content: center; gap: 15px; background-color: white; color: black; padding: 10px 20px; border-radius: 10px; text-decoration: none; transition: transform 0.2s; border: 1px solid #ccc; }
.store-btn:hover { transform: scale(1.03); background-color: #f0f0f0; }
.store-btn i { font-size: 2rem; }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-text span { font-size: 0.7rem; }
.btn-text strong { font-size: 1.2rem; }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideUp { from {transform: translateY(50px);} to {transform: translateY(0);} }

/* FOOTER */
.site-footer { background-color: black; text-align: center; padding: 30px; color: #666; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 991px) {
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) { 
    .logo h1 { display: none; } 
    .visual-impact-section { flex-direction: column; text-align: center; padding: 30px; } 
    .impact-image img { margin-top: 30px; max-width: 100%; transform: none; }
    .site-footer { padding-bottom: 90px; }
}

/* Ajustes extra para pantallas muy peque?as (m?viles chicos) */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .hero-app {
        height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero-download {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .steps-section,
    .services-section,
    .special-services,
    .payment-methods,
    .benefits-section {
        padding: 40px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .visual-impact-section {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
    }

    .impact-content h3 {
        font-size: 2rem;
    }

    .impact-content p {
        font-size: 1rem;
    }

    /* Bot?n flotante: centrado y m?s compacto en m?viles peque?os */
    #botonFlotante {
        bottom: 15px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .boton-amarillo-interno {
        font-size: 14px;
        padding: 10px 18px;
        white-space: normal;
        text-align: center;
    }

    #menuDescargaContainer {
        width: 190px;
    }

    .store-link img {
        height: 36px;
    }
}

/* SELECT2 FIX */
.select2-container .select2-selection--single { background-color: #121212 !important; border: 1px solid #444 !important; border-radius: 8px !important; height: 48px !important; display: flex !important; align-items: center !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #ffffff !important; padding-left: 15px !important; font-family: 'Montserrat', sans-serif; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px !important; right: 5px !important; }
.select2-dropdown { background-color: #1e1e1e !important; border: 1px solid var(--primary-color) !important; color: white !important; z-index: 9999 !important; }
.select2-search__field { background-color: #333 !important; color: white !important; border: 1px solid #555 !important; border-radius: 4px !important; }
.select2-results__option { padding: 10px 15px !important; border-bottom: 1px solid #2a2a2a; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background-color: var(--primary-color) !important; color: #000 !important; font-weight: 700; }
.select2-container--default .select2-results__option[aria-selected=true] { background-color: #333 !important; color: var(--primary-color) !important; }
/* =========================================
   ESTILOS DEL BOT?0?7N FLOTANTE "MOTO UBEROS"
   ========================================= */

/* 1. El Contenedor Principal (Hace que flote) */
#botonFlotante {
    position: fixed;   /* CLAVE: Esto lo saca del footer y lo pone en la pantalla */
    bottom: 20px;      /* Distancia desde abajo */
    right: 20px;       /* Distancia desde la derecha */
    z-index: 9999;     /* Asegura que est?? encima de todo */
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    touch-action: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Oculto al cargar la p�gina (aparece a los 2.5 s con sonido) */
#botonFlotante.botonFlotante-oculto {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}

/* Visible con animaci�n para llamar la atenci�n */
#botonFlotante.botonFlotante-visible {
    opacity: 1;
    pointer-events: auto;
    animation: botonFlotanteAparece 0.7s ease forwards;
}

@keyframes botonFlotanteAparece {
    0% { opacity: 0; transform: scale(0.5); }
    60% { transform: scale(1.12); }
    100% { opacity: 1; transform: scale(1); }
}

/* 2. El Bot??n Amarillo Grande (PEDIR YA) */
.boton-amarillo-interno {
    background-color: #ffc107; /* Tu amarillo corporativo */
    color: #000;
    font-family: 'Montserrat', sans-serif; /* Tu fuente */
    font-weight: 800;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    border: 2px solid #fff; /* Borde blanco para resaltar sobre mapa oscuro */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.boton-amarillo-interno:hover {
    transform: scale(1.05);
}

.boton-amarillo-interno:active {
    transform: scale(0.95);
}

/* 3. El Men?? de Descarga (Contenedor que sube) */
#menuDescargaContainer {
    position: absolute;
    bottom: 100%; /* Se ubica justo encima del bot??n amarillo */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px; /* Espacio extra para que no pegue con el amarillo */
    z-index: 10000;
    width: 160px;
    pointer-events: auto;
}

/* 4. El Botoncito "Descargar App" (Estilo Oscuro) */
.btn-mini-descargar {
    background: #222; /* Fondo oscuro */
    color: #fff;       /* Texto blanco */
    border: 1px solid #444;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    white-space: nowrap;
    transition: all 0.2s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-mini-descargar:hover {
    background: #000;
    transform: translateY(-2px);
}

/* 5. Los Iconos de las Tiendas (Ocultos al inicio) */
.iconos-tiendas {
    display: none; /* OCULTO por defecto */
    flex-direction: column;
    gap: 10px;
    background: #fff;
    padding: 12px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28); /* Rebote suave */
    border: 1px solid #eee;
    margin-bottom: 5px;
}

/* Clase para mostrar el men?? cuando se hace clic */
.iconos-tiendas.mostrar {
    display: flex;
}

.store-link img {
    height: 40px; /* Tama?0?9o ajustado */
    width: auto;
    display: block;
    transition: transform 0.2s;
}

.store-link:hover img {
    transform: scale(1.05);
}

/* Animaci??n de entrada */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 6. Zona de Basura (Opcional, si la usas) */
#zonaBasura {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    transition: bottom 0.3s;
    z-index: 9998;
}
#zonaBasura.visible { bottom: 20px; }
#zonaBasura.drag-hover { transform: translateX(-50%) scale(1.2); background: red; }