/* ============================================================
   ESTILOS BASE Y RECURSOS
   ============================================================ */
:root {
    --rojo-bajaj: #d32f2f;
    --negro-fondo: #0a0a0a;
    --negro-tarjeta: #141414;
    --gris-texto: #b0b0b0;
    --blanco: #ffffff;
    --transicion: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html { scroll-behavior: smooth; }

.header-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #000;
    border-bottom: 2px solid var(--rojo-pulsar);
}

.btn-header {
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-header.entrar {
    background: var(--rojo-pulsar);
    color: #fff;
}

.btn-header.perfil {
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.8rem;
}

.btn-header.perfil:hover {
    background: #fff;
    color: #000;
}

.btn-logout {
    color: #666;
    font-size: 1.5rem;
    transition: 0.3s;
}

.btn-logout:hover {
    color: var(--rojo-pulsar);
}

.logo-img {
    width: 180px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-text {
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
}

.name-highlight {
    color: var(--rojo-pulsar);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .user-welcome { flex-direction: column; gap: 10px; }
    .welcome-text { font-size: 0.7rem; }
}













body {
    margin: 0;
    padding: 0;
    font-family: 'Exo 2', sans-serif;
    background-color: var(--negro-fondo);
    color: var(--blanco);
    overflow-x: hidden;
}

/* 1. HEADER INICIO */

/* 2. HERO SECTION */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../multimedia/fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content { 
    position: relative; 
    z-index: 10; 
    padding: 100px 20px 40px; 
}

.hero-title { 
    font-size: clamp(1.8rem, 5vw, 4rem); 
    font-weight: 900; 
    margin: 0; 
    line-height: 1.2; 
}

.hero-content img {
    width: 100%;
    max-width: 450px; 
    height: auto;
    margin: 15px 0;
    filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.3));
}

.hero-content p { 
    font-size: 1.1rem; 
    color: var(--gris-texto); 
    margin: 15px auto 35px;
    max-width: 600px;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

.btn-main, .btn-sec {
    padding: 15px 1px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transicion);
    letter-spacing: 1px;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
}

.btn-main { background: var(--rojo-bajaj); color: white; border: none; }
.btn-sec { background: transparent; color: white; border: 2px solid white; }

.btn-main:hover { transform: translateY(-3px); background: #ff1f1f; }
.btn-sec:hover { background: white; color: black; }

/* 3. BARRA DE UBICACIÓN */
.location-strip {
    background: var(--rojo-bajaj);
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* 4. BENEFICIOS */
.benefits-section { padding: 60px 5%; background: var(--negro-fondo); }


.red-line { width: 60px; height: 4px; background: var(--rojo-bajaj); margin: 12px auto 0; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--negro-tarjeta);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: var(--transicion);
    text-align: center;
}

.benefit-card i { font-size: 2.2rem; color: var(--rojo-bajaj); margin-bottom: 15px; display: block; }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 10px; text-transform: uppercase; }
.benefit-card p { color: var(--gris-texto); font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* 5. EVENTO SHOWCASE */
.event-showcase { padding: 40px 5%; background: #000; }
.event-container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--negro-tarjeta);
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 1px solid #333;
}

.event-media { background: #000; display: flex; align-items: center; justify-content: center; }
.img-full { width: 100%; height: auto; display: block; object-fit: cover; }

.event-info { padding: 30px; }
.badge-new { background: var(--rojo-bajaj); padding: 4px 10px; font-weight: 900; font-size: 0.7rem; border-radius: 3px; }
.event-info h2 { font-size: 2.2rem; margin: 10px 0; }
.event-info p { color: var(--gris-texto); line-height: 1.5; font-size: 0.9rem; margin-bottom: 25px; }
.btn-event { 
    background: var(--blanco); 
    color: #000; 
    padding: 12px 25px; 
    text-decoration: none; 
    font-weight: 900; 
    border-radius: 4px;
    display: inline-block;
    font-size: 0.85rem;
}

/* ============================================================
   ROBOT GUÍA INTEGRAL
   ============================================================ */
.robot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    transition: var(--transicion);
}

.burbuja-guia {
    background: white;
    color: #111;
    padding: 20px;
    border-radius: 20px 20px 0 20px;
    width: 250px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 2px solid var(--rojo-bajaj);
    animation: fadeInRobot 0.5s ease forwards;
}

.burbuja-guia p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.robot-acciones {
    display: flex;
    gap: 8px;
}

.btn-robot {
    flex: 1;
    background: #f0f0f0;
    border: none;
    padding: 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-robot:hover {
    background: var(--rojo-bajaj);
    color: white;
}

.robot-base {
    width: 80px;
    height: 80px;
    background: var(--rojo-bajaj);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.img-robot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.notificacion-ping {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    background: #25d366;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulsePing 1.5s infinite;
}

@keyframes pulsePing {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes fadeInRobot {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   COTIZACIÓN V2 (VISUAL E INTELIGENTE)
   ============================================================ */
.quote-section-v2 { 
    padding: 60px 5%; 
    background-color: var(--negro-fondo); 
}

.quote-container-v2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.quote-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-box {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.img-moto-revelada {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: all 0.5s ease;
}

.robot-recommendation {
    background: #1a1a1a;
    border: 2px solid var(--rojo-bajaj);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.1);
    animation: slideInUp 0.5s ease;
}

.icon-bot { font-size: 2rem; color: var(--rojo-bajaj); margin-top: 3px; }

#recomendacion-robot {
    color: var(--gris-texto);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}

.quote-header-v2 h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 5px; text-transform: uppercase; }
.rojo { color: var(--rojo-bajaj); }

.payment-tabs-v2 { display: flex; gap: 8px; margin: 25px 0; }
.tab-btn-v2 {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    color: var(--gris-texto);
    padding: 12px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.tab-btn-v2.active { background: var(--rojo-bajaj); color: white; border-color: var(--rojo-bajaj); }

.quote-card-v2 { background: var(--negro-tarjeta); padding: 30px; border-radius: 12px; border: 1px solid #222; }

#moto-selector-v2 {
    width: 100%;
    padding: 14px;
    background: #000;
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    margin-bottom: 20px;
    outline: none;
}

#moto-selector-v2:focus { border-color: var(--rojo-bajaj); }

.detalles-pre-quote {
    background: rgba(211, 47, 47, 0.05);
    border: 1px dashed var(--rojo-bajaj);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.detalles-pre-quote i { color: var(--rojo-bajaj); }
#enlace-detalles { color: var(--rojo-bajaj); text-decoration: none; font-weight: 800; }

.btn-submit-quote-v2 {
    width: 100%;
    padding: 16px;
    background: #25d366;
    color: white;
    font-weight: 900;
    border-radius: 6px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-submit-quote-v2:hover { transform: translateY(-3px); filter: brightness(1.1); }

/* 7. MAPA Y FOOTER */
.map-info { padding: 30px 5%; text-align: center; }
.map-holder { line-height: 0; }

.footer-premium {
    background: #050505;
    border-top: 2px solid var(--rojo-bajaj);
    color: var(--blanco);
    padding-top: 60px;
    font-family: 'Exo 2', sans-serif;
}

.footer-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    /* Estructura de 4 columnas equilibradas */
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* Títulos de Columnas */
.footer-column h3 {
    color: var(--blanco);
    font-size: 0.85rem; /* Tamaño reducido pero legible */
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    position: relative;
}

/* Línea roja decorativa bajo títulos */
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--rojo-bajaj);
}

/* Columna 1: Marca e Info */
.footer-logo-img { 
    height: 30px; /* Logo más discreto como en webs profesionales */
    margin-bottom: 20px; 
}

.footer-desc { 
    font-size: 0.78rem; 
    color: var(--gris-texto); 
    line-height: 1.6; 
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social-icons { display: flex; gap: 12px; }
.footer-social-icons a { 
    color: var(--blanco); 
    font-size: 1.3rem; 
    transition: var(--transicion); 
}
.footer-social-icons a:hover { 
    color: var(--rojo-bajaj); 
    transform: translateY(-3px); 
}

/* Columnas 2 y 3: Enlaces y Categorías */
.links-col ul { list-style: none; padding: 0; }
.links-col li { margin-bottom: 10px; }
.links-col a { 
    color: var(--gris-texto); 
    text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: 600;
    transition: var(--transicion);
    display: block;
}
.links-col a:hover { 
    color: var(--rojo-bajaj); 
    padding-left: 5px; 
}

/* Columna 4: Ubicación y Mapa */
.contact-item { 
    font-size: 0.78rem; 
    color: var(--gris-texto); 
    margin-bottom: 12px; 
    display: flex; 
    align-items: flex-start; 
    gap: 10px;
    line-height: 1.4;
}
.contact-item i { 
    color: var(--rojo-bajaj); 
    font-size: 1rem; 
    margin-top: 2px;
}

.footer-map-mini { 
    margin-top: 15px; 
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
    border: 1px solid #1a1a1a;
    filter: grayscale(0.5); /* Estilo sobrio */
    transition: 0.3s;
}
.footer-map-mini:hover { filter: grayscale(0); }

/* Bottom Footer (Copyright) */
.footer-bottom {
    margin-top: 60px;
    padding: 20px 5%;
    background: #000;
    border-top: 1px solid #111;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    font-size: 0.7rem;
    color: #555;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-legal { display: flex; align-items: center; gap: 15px; }
.footer-legal a { 
    color: #555; 
    text-decoration: none; 
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s; 
}
.footer-legal a:hover { color: var(--gris-texto); }
.divider { color: #222; }

/* ============================================================
   RESPONSIVO ESPECÍFICO PARA FOOTER
   ============================================================ */

/* Tablets */
@media (max-width: 1024px) {
    .footer-grid-container { 
        grid-template-columns: 1fr 1fr; 
        gap: 50px 30px;
    }
}

/* Móviles */
@media (max-width: 600px) {
    .footer-premium { padding-top: 40px; }
    .footer-grid-container { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .footer-column h3::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    .footer-social-icons { justify-content: center; }
    
    .footer-desc { margin: 0 auto 20px; }
    
    .contact-item { justify-content: center; }

    .footer-bottom-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .footer-legal { justify-content: center; }
}

/* ============================================================
   RESPONSIVO MÓVIL (QUERIES ESPECÍFICAS)
   ============================================================ */

@media (max-width: 992px) {
    .logo-area img { height: 35px; }
    
    .event-container { grid-template-columns: 1fr; }
    .event-info { text-align: center; }
    
    .quote-container-v2 { grid-template-columns: 1fr; gap: 40px; }
    .quote-visual { order: 2; }
    .payment-tabs-v2 { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-content { padding-top: 80px; }
    .hero-content img { max-width: 280px; }
    .hero-title { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .btn-main, .btn-sec { min-width: 100%; }

    .welcome-user span { display: none; } 
    
    .robot-container { bottom: 15px; right: 15px; }
    .robot-base { width: 60px; height: 60px; }
    .burbuja-guia { width: 180px; padding: 12px; font-size: 0.8rem; }

    .robot-recommendation { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 992px) {
    .mouse-scroll { display: none; }
}

