* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 8%; background: rgba(0, 0, 0, 0.9);
    position: fixed; width: 100%; z-index: 1000; color: white;
}

.logo span { color: #25d366; } /* Verde WhatsApp para el logo */

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 25px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.9rem; }
.btn-nav { background: #25d366; padding: 10px 20px; border-radius: 5px; font-weight: bold; color: white !important; }

.hero { position: relative; height: 60vh; overflow: hidden; }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: 1s; }
.slide.active { opacity: 1; }

.cotizacion-section { position: relative; margin-top: -80px; display: flex; justify-content: center; padding: 0 5% 50px; z-index: 100; }

.grid-container {
    display: grid; grid-template-columns: 1.2fr 0.8fr; max-width: 1050px;
    background: white; border-radius: 25px; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3); border: 1px solid #eee;
}

.form-card { padding: 40px; }
.form-card h2 { font-size: 1.8rem; color: #1a1a1a; margin-bottom: 10px; }
.form-card p { color: #555; margin-bottom: 25px; font-size: 0.95rem; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #333; font-size: 0.9rem; }
.input-group input, .input-group select { width: 100%; padding: 12px; border: 2px solid #f0f0f0; border-radius: 10px; font-size: 1rem; background: #fafafa; }

.btn-whatsapp-submit {
    width: 100%; padding: 16px; background: #25d366; color: white; border: none;
    border-radius: 10px; font-size: 1rem; font-weight: 800; cursor: pointer; transition: 0.3s;
}

.loader { display: none; }
.btn-loading .btn-text { display: none; }
.btn-loading .loader { display: inline-block; }

.trust-counter { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; font-size: 0.85rem; color: #2f855a; }
.pulse-dot { width: 10px; height: 10px; background: #25d366; border-radius: 50%; animation: pulse 2s infinite; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }

.image-promo { position: relative; }
.image-promo img { width: 100%; height: 100%; object-fit: cover; }
.promo-badge { position: absolute; top: 20px; right: 20px; background: #ff4d4d; color: white; width: 85px; height: 85px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 25px; right: 25px; background: #25d366; color: white; border-radius: 50%; font-size: 30px; display: flex; align-items: center; justify-content: center; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; }

@media (max-width: 850px) { .grid-container { grid-template-columns: 1fr; } .image-promo { display: none; } .cotizacion-section { margin-top: 20px; } }

/* --- SECCIÓN BENEFICIOS --- */
.beneficios {
    padding: 80px 8%;
    background-color: #fcfcfc;
}

.container-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.beneficio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #25d366; /* Resalta con el verde de WhatsApp */
}

.icon-box {
    width: 70px;
    height: 70px;
    background: #f0fff4;
    color: #25d366;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.beneficio-item:hover .icon-box {
    background: #25d366;
    color: white;
}

.beneficio-item h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.beneficio-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive para tablets y móviles */
@media (max-width: 600px) {
    .beneficios {
        padding: 50px 5%;
    }
}

/* --- FOOTER --- */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #25d366;
}

.footer-section p {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #25d366;
    padding-left: 5px;
}

/* Redes Sociales */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #25d366;
}

/* Métodos de Pago */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 30px; /* Tamaño para Visa/Mastercard */
}

.payment-methods img {
    width: 35px;
    filter: grayscale(20%);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-icons, .payment-methods {
        justify-content: center;
    }
}

/* --- INFO SOAT & EMERGENCY --- */
.info-soat {
    padding: 60px 8%;
    background: #ffffff;
}

.info-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 40px;
}

/* Pasos de funcionamiento */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.step {
    padding: 20px;
    border-left: 4px solid #25d366;
    background: #f9f9f9;
    border-radius: 0 15px 15px 0;
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(37, 211, 102, 0.2);
    display: block;
    line-height: 1;
}

.step h4 { margin: 10px 0; color: #333; }
.step p { font-size: 0.9rem; color: #666; }

/* Bloque de Emergencia */
.emergency-block {
    background: #fff5f5; /* Tono rojizo suave para alerta */
    padding: 40px;
    border-radius: 20px;
    border: 2px dashed #feb2b2;
}

.emergency-block .section-title { color: #c53030; }

.emergency-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.e-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.e-step i {
    font-size: 1.5rem;
    color: #c53030;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.e-step h4 { color: #2d3748; margin-bottom: 5px; }
.e-step p { color: #4a5568; font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 768px) {
    .emergency-block { padding: 25px; }
    .e-step { flex-direction: column; text-align: center; align-items: center; }
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 80px 8%;
    background-color: #fff;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.faq-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.faq-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.faq-overlay-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(37, 211, 102, 0.9);
    color: white;
    padding: 20px;
    border-radius: 15px;
    max-width: 250px;
}

.faq-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Acordeón */
.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 18px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.accordion-header:hover {
    color: #25d366;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 18px;
}

.accordion-body p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* Clase activa para JS */
.accordion-item.active .accordion-body {
    max-height: 200px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
    .faq-image {
        display: none; /* Ocultar imagen en móvil para mayor velocidad */
    }
}




/* --- ESTILOS PÁGINA LEGAL MEJORADA --- */
.legal-page {
    background: #f4f7f6; /* Fondo gris muy claro para resaltar la tarjeta */
}

/* Hero de la página legal */
.legal-hero {
    height:55vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
}

.legal-hero p {
    color: #25d366;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Tarjeta de Contenido (Glassmorphism sutil) */
.legal-main {
    margin-top: -80px;
    padding: 0 5% 80px;
    display: flex;
    justify-content: center;
}

.legal-card {
    background: white;
    width: 100%;
    max-width: 900px;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.legal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.back-btn {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

.back-btn:hover { color: #25d366; }

.last-update {
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Cuerpo del texto */
.legal-body h2 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Caja de Alerta */
.alert-box {
    background: #fff5f5;
    border-left: 5px solid #ff4d4d;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 30px 0;
}

.alert-box i { color: #ff4d4d; font-size: 1.5rem; }
.alert-box p { margin-bottom: 0; color: #742a2a; font-weight: 500; }

/* Responsive */
@media (max-width: 768px) {
    .legal-card { padding: 30px; border-radius: 20px; }
    .legal-hero h1 { font-size: 2rem; }
    .legal-header { flex-direction: column; gap: 15px; text-align: center; }
}


/* --- ESTILOS LIBRO DE RECLAMACIONES --- */
.reclamacion-header {
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.reclamacion-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reclamacion-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-family: inherit;
    resize: none;
}

.btn-reclamo {
    width: 100%;
    padding: 18px;
    background: #1a1a1a; /* Color serio para reclamaciones */
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.btn-reclamo:hover {
    background: #333;
}

@media (max-width: 600px) {
    .reclamacion-form .form-row {
        grid-template-columns: 1fr;
    }
}


/* --- CONTENEDOR FLOTANTE --- */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

/* Etiquetas de texto (Labels) */
.float-label {
    position: absolute;
    right: 75px;
    background: #333;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Colores Diferenciados */
.sales-btn { background-color: #25d366; animation: pulse-green 2s infinite; }
.support-btn { background-color: #3182ce; } /* Azul profesional para soporte */

.float-btn:hover {
    transform: scale(1.1);
}

/* Animación de pulso para el botón de ventas */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .float-label { display: none; } /* Ocultar etiquetas en móvil */
    .floating-container { bottom: 20px; right: 20px; }
}


/* Estilo para las listas dentro de las páginas legales */
.legal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #555;
}

.legal-body ul li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
}

.legal-body ul li::before {
    content: "•";
    color: #25d366;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}



/* Asegúrate que el contenedor de tu slider tenga: position: relative; */
.tu-contenedor-del-slider { 
    position: relative; 
    width: 100%;
    height: 100vh; /* O la altura que tenga tu proyecto */
}

.capa-texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el texto perfectamente */
    z-index: 10; /* Lo pone por encima de las imágenes */
    text-align: center;
    width: 90%;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Sombra para que se lea en cualquier imagen */
    pointer-events: none; /* Permite que los clics pasen a través si es necesario */
}

.capa-texto h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.capa-texto h2 {
    font-size: 1.8rem;
    font-weight: 300;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .capa-texto h1 { font-size: 2rem; }
    .capa-texto h2 { font-size: 1.2rem; }
}


.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Ajusta la altura según necesites */
    width: auto;  /* Mantiene la proporción */
    display: block;
    transition: transform 0.3s ease; /* Efecto suave al pasar el mouse */
}

.logo-img:hover {
    transform: scale(1.05); /* Se agranda un poquito al pasar el mouse */
}

/* Si el enlace pone un borde o color azul por defecto, lo quitamos */
.logo a {
    text-decoration: none;
    border: none;
    outline: none;
}



/* --- CONFIGURACIÓN POR DEFECTO (PC) --- */

/* Escondemos el logo de móvil cuando la pantalla es grande */
.logo-mobile {
    display: none;
}

.logo-desktop {
    display: block;
    height: 50px; /* Ajusta el tamaño de tu logo de PC */
    width: auto;
}

/* --- CONFIGURACIÓN PARA CELULAR (Pantallas menores a 768px) --- */

@media (max-width: 768px) {
    /* Escondemos el logo de PC */
    .logo-desktop {
        display: none;
    }

    /* Mostramos el logo de móvil */
    .logo-mobile {
        display: block;
        height: 40px; /* Ajusta el tamaño para que quepa bien en el cel */
        width: auto;
    }
}

/* Inhabilitar selección de texto en todo el sitio */
body {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 y superior */
    user-select: none;         /* Estándar moderno */
}

/* Si quieres que los campos de los formularios SÍ se puedan escribir */
input, textarea {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}