/* ============================================================
   AIBENG - PRODUCTO.CSS (DISEÑO UNIFICADO Y RESPONSIVO)
   ============================================================ */

:root { 
    --bg: #05070a; 
    --card: #0f172a; 
    --accent: #00d4ff; 
    --primary: #cc0a74; 
    --usado: #06c24b;
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--bg); 
    color: white; 
    margin: 0; 
    min-height: 100vh; 
    position: relative; 
}

body::before { 
    content: ""; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('img/fondoweb.png'); 
    background-size: cover; 
    background-position: center; 
    filter: blur(20px) brightness(0.2); 
    z-index: -1; 
    transform: scale(1.1); 
}

/* NAVEGACIÓN */
nav { 
    width: 100%; 
    padding: 20px 0; 
    background: rgba(5, 7, 10, 0.85); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
    display: flex; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.nav-container { 
    width: 100%; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 40px; 
    display: flex; 
    justify-content: flex-start; 
}

.logo-nav img { 
    height: 80px; 
    transition: 0.3s; 
    filter: drop-shadow(0 0 10px rgba(204, 10, 116, 0.3)); 
}

.btn-back { 
    position: fixed; 
    top: 130px; 
    left: 30px; 
    z-index: 100; 
    background: var(--primary); 
    color: #fff; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    box-shadow: 0 10px 20px rgba(204, 10, 116, 0.4); 
    transition: 0.3s; 
}

.btn-back:hover { transform: scale(1.1); background: #fff; color: var(--primary); }

/* WRAPPER Y SWIPER */
.main-wrapper { max-width: 1100px; margin: 40px auto 80px; padding: 0 20px; display: flex; flex-direction: column; }

.swiper { 
    width: 100%; 
    border-radius: 30px 30px 0 0; 
    overflow: hidden; 
    background: #000; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    aspect-ratio: 16 / 9; 
    z-index: 5; 
}

.swiper-slide img { width: 100%; height: 100%; object-fit: contain; background: #000; }

.content { 
    background: var(--card); 
    padding: clamp(20px, 5vw, 50px); 
    border-radius: 0 0 30px 30px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-top: none; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.6); 
    position: relative; 
}

/* CABECERA Y BADGES */
.header-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 10px; }
h1 { font-size: 3.5rem; margin: 0; font-weight: 800; letter-spacing: -2px; color: #fff; line-height: 1; flex: 1; }

.btn-whatsapp-header { 
    display: flex; align-items: center; gap: 12px; background: #22c55e; color: white; padding: 12px 20px; 
    border-radius: 15px; text-decoration: none; font-size: 0.85rem; font-weight: 400; line-height: 1.2; 
    transition: 0.3s; box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2); flex-shrink: 0; 
}
.btn-whatsapp-header i { font-size: 1.8rem; }
.btn-whatsapp-header b { font-weight: 800; display: block; }

.badge-tipo { display: inline-block; padding: 6px 15px; border-radius: 8px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 5px; }
.tipo-0km { background: var(--accent); color: #000; }
.tipo-consignacion { background: #facc15; color: #000; }
.tipo-usado { background: var(--usado); color: #fff; }
.tipo-en_transito { background: #7b29ff; color: #fff; }

/* PRECIOS Y PROMOS */
.price-container { margin: 20px 0 30px; }
.price-label { font-size: 0.9rem; color: #94a3b8; font-weight: 800; text-transform: uppercase; }
.price { font-size: 3rem; color: var(--accent); font-weight: 800; }

.promo-0km, .promo-permutas { 
    padding: 15px; border-radius: 15px; margin-top: 10px; font-weight: 600; display: inline-block; transition: all 0.3s ease; border: 1px solid;
}

.price-final-container {
    margin: 15px 0;
    padding: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 15px;
    text-align: center;
}

.price-label-final {
    font-size: 0.9rem;
    color: #22c55e;
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.price-final {
    font-size: 2.5rem;
    color: #22c55e;
    font-weight: 800;
    margin: 0;
}
.promo-0km { background: rgba(0, 212, 255, 0.1); border-color: var(--accent); color: var(--accent); }
.promo-permutas { background: rgba(34, 197, 94, 0.15); border-color: #22c55e; color: #22c55e; }

/* GRILLA DE ESPECIFICACIONES */
.specs-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    background: rgba(255,255,255,0.03); 
    padding: 35px; 
    border-radius: 25px; 
    margin-bottom: 40px; 
    border: 1px solid rgba(255,255,255,0.05); 
}
.spec-item { display: flex; flex-direction: column; gap: 4px; }
.spec-label { color: #64748b; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.spec-value { font-size: 1.1rem; font-weight: 700; }

.fuel-badge { display: inline-block; padding: 4px 12px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

.btn-video { 
    display: flex; align-items: center; justify-content: center; gap: 12px; 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    color: white; padding: 20px; border-radius: 15px; text-decoration: none; font-weight: 800; 
    margin-bottom: 30px; transition: 0.3s; box-shadow: 0 10px 20px rgba(188, 24, 136, 0.2); 
}

.description { line-height: 1.8; color: #cbd5e1; font-size: 1.1rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }

/* ============================================================
   FOOTER - DISEÑO AIBENG CON HOVER ROSA
   ============================================================ */
footer {
    background: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left; /* Volvemos a la alineación original */
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(204, 10, 116, 0.2));
    align-self: flex-start;
}

/* EL HOVER ROSA QUE QUERÍAS */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--primary); /* El rosa #cc0a74 */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(204, 10, 116, 0.4);
    border-color: var(--primary);
}

/* LISTA DE CONTACTO */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #94a3b8;
    transition: 0.3s;
}

.contact-info li i {
    color: var(--accent); /* El celeste de Grippo */
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Hover también en los links de texto del footer */
.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary); /* Texto rosa al pasar el mouse */
    padding-left: 8px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* ============================================================
   AJUSTES PARA MÓVILES (BREAKPOINT FINAL)
   ============================================================ */
/* ============================================================
   AJUSTES PARA MÓVILES Y TABLETS (BREAKPOINT 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* NAVEGACIÓN Y BOTÓN VOLVER */
    .nav-container { padding: 0 20px; justify-content: center; }
    .logo-nav img { height: 60px; }
    
    .btn-back { 
        top: auto; 
        bottom: 30px; 
        left: 20px; 
        width: 60px; 
        height: 60px; 
        box-shadow: 0 5px 15px rgba(204, 10, 116, 0.5);
    }

    /* CABECERA Y PRECIO */
    .header-main { flex-direction: column; align-items: stretch; text-align: center; }
    h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .btn-whatsapp-header { justify-content: center; padding: 15px; }
    .price { font-size: 2.5rem; text-align: center; }
    .price-container { text-align: center; }

    /* GRILLA DE SPECS */
    .specs-grid { 
        grid-template-columns: 1fr 1fr; /* Dos columnas para aprovechar el ancho */
        padding: 20px; 
        gap: 15px; 
    }

    /* FOOTER RESPONSIVO CON IDENTIDAD AIBENG */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-column { align-items: center; }
    .footer-column h3 { text-align: center; margin-bottom: 20px; }
    .footer-logo { align-self: center; }

    .contact-info { 
        display: inline-flex; 
        flex-direction: column; 
        align-items: flex-start; /* Mantiene íconos alineados al texto */
    }

    .contact-info li { justify-content: flex-start; text-align: left; }

    /* EL HOVER ROSA SE MANTIENE EN TOUCH */
    .social-links { justify-content: center; }
    .social-links a:active { 
        background: var(--primary); 
        transform: scale(0.95); 
    }
}