/* --- VARIABLES GLOBALES --- */
:root {
    --primary-blue: #0d214d;
    --secondary-green: #28a745;
    --background-light: #f4f7fa;
    --text-dark: #333;
    --text-light: #667;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

/* --- RESET BÁSICO Y FUENTES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background-color: var(--white); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary-blue); }
section { padding: 80px 0; }
.section-title { font-size: 32px; color: var(--primary-blue); text-align: center; margin-bottom: 50px; }

/* --- HEADER Y LOGO --- */
.main-header { padding: 10px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; background: var(--white); z-index: 1000; }
.main-header .logo { max-height: 50px; }

/* --- SECCIÓN HERO (Estilo Autofact) --- */
.hero-section { background-color: var(--background-light); padding: 60px 0; }
.hero-container { display: flex; align-items: flex-start; gap: 40px; }
.hero-text { flex: 1.2; text-align: left; }
.hero-form { flex: 1; }
.hero-text h1 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    line-height: 1.2; 
    margin-bottom: 20px; 
}
.hero-image { margin-top: 20px; }
.hero-image img { max-width: 100%; height: auto; display: block; margin-bottom: 20px; }
.hero-text .subtitle { font-size: 1.1rem; color: var(--text-light); white-space: pre-line; margin-bottom: 0; }

.form-container { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.form-intro-text { 
    font-size: 0.95rem;
    color: var(--text-dark); 
    margin-bottom: 25px;
    line-height: 1.4;
}
#vehicle-form { display: flex; flex-direction: column; gap: 15px; }
#vehicle-form input { width: 100%; padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; font-size: 16px; font-weight: 500; text-align: center; text-transform: uppercase; }
#vehicle-form input::placeholder { text-transform: none; }
.button-group { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.report-btn { padding: 12px 20px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.report-btn span { font-weight: 500; }
.report-btn strong { font-size: 1.1rem; }
.report-btn.basic { background-color: var(--white); color: var(--secondary-green); border: 2px solid var(--secondary-green); }
.report-btn.full { background-color: var(--secondary-green); color: var(--white); border: 2px solid var(--secondary-green); }
.report-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(40,167,69,0.3); }

/* --- SECCIÓN PROMO CON IMAGEN (AJUSTES) --- */
.promo-section { /* ... (sin cambios) ... */ }
.promo-container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.promo-text { flex: 1; min-width: 300px; }
.promo-image { flex: 1; min-width: 300px; max-width: 400px; margin: 0 auto; }
.promo-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.promo-text h2 { font-size: clamp(2rem, 4.5vw, 2.5rem); margin-bottom: 20px; }
.promo-text p { color: var(--text-light); font-size: 1.2rem; }

/* --- SECCIÓN ¿QUÉ INCLUYE? --- */
.info-section { background: var(--background-light); }
.info-section .section-subtitle { color: var(--text-light); margin-top: -40px; }
.features-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; text-align: left; }
.features-list li { background: var(--white); padding: 20px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 15px; font-weight: 500; }
.features-list li i { color: var(--secondary-green); font-size: 20px; }

/* --- SECCIÓN EMPRESA (AJUSTES) --- */
.company-section { padding-bottom: 0; }
.company-container { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; text-align: left; }
.company-text { flex: 1; min-width: 300px; }
.company-image { flex: 1; min-width: 300px; max-width: 500px; margin: 0 auto; }
.company-image img { width: 100%; border-radius: 12px; }
.company-text h2 { font-size: clamp(2rem, 4.5vw, 2.5rem); margin-bottom: 20px; }
.company-text p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 15px; }
.company-logos-container { text-align: center; padding-top: 80px; margin-top: 60px; }
.company-logos-container h3 { font-size: 16px; color: var(--text-light); font-weight: 500; letter-spacing: 1px; margin-bottom: 30px; }
.logo-carousel { overflow: hidden; position: relative; width: 100%; }
.logo-carousel::before, .logo-carousel::after { content: ''; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2; }
.logo-carousel::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logo-carousel::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.logo-track { display: flex; width: calc(200px * 14); animation: scroll 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-track img { height: 80px; width: 200px; padding: 0 40px; transition: all 0.3s ease; }
.logo-track img:hover { transform: scale(1.1); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-200px * 7)); } }

/* --- SECCIÓN TESTIMONIOS --- */
.testimonials-section { padding-bottom: 80px; }
.testimonial-container { position: relative; min-height: 250px; display: flex; align-items: center; justify-content: center; }
.testimonial-slide { position: absolute; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out; width: 100%; }
.testimonial-slide.is-active { opacity: 1; visibility: visible; }
.testimonial-card { background: var(--background-light); padding: 30px; border-radius: 12px; text-align: center; max-width: 700px; margin: 0 auto; border-left: 5px solid var(--secondary-green); }
.testimonial-card .stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-card p { font-size: 16px; font-style: italic; margin-bottom: 15px; }
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--primary-blue); }

/* --- FOOTER --- */
.main-footer { background: var(--primary-blue-dark); color: var(--white); padding: 30px 0; }
.main-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; text-align: center; }
.main-footer p { flex-basis: 100%; text-align: center; font-size: 14px; color: #aaa; }
.social-icons { margin: 10px auto 0 auto; }
.social-icons a { color: var(--white); margin: 0 10px; font-size: 20px; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--secondary-green); }

/* --- ESTILOS PARA LA PÁGINA INFORME-BASICO.HTML --- */
.report-page-container { max-width: 700px; margin: 60px auto; background-color: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); text-align: center; }
.report-header { border-bottom: 1px solid var(--border-color); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.report-header h2 { font-size: 1.8rem; }
.report-header h3 { font-size: 1.2rem; color: var(--text-light); font-weight: 400; }
.report-table { width: 100%; border-collapse: collapse; text-align: center; margin-bottom: 2.5rem; }
.report-table td { padding: 14px 10px; border-bottom: 1px solid #f0f0f0; font-size: 1.1rem; }
.report-table td:first-child { font-weight: 600; color: var(--text-light); width: 40%; text-align: right; padding-right: 20px; }
.data-cell { font-weight: 600; text-align: left; }
.upsell-section { padding: 2rem; background-color: var(--background-light); border-radius: 8px; }
.report-btn.full.large { margin: 0 auto; display: block; }
.back-button { /* ... (sin cambios) ... */ }

/* --- Media Queries (Responsive) --- */
@media (max-width: 900px) {
    .hero-container { 
        flex-direction: column; 
        text-align: center; 
    }
    /* Se eliminan las reglas 'order' para mantener el orden natural */
    .hero-form { 
        width: 100%; 
        max-width: 500px; 
    }
    .hero-image { display: none; }
    .promo-container { flex-direction: column; }
    .company-container { flex-direction: column-reverse; }
    .main-footer .container { flex-direction: column; gap: 10px; }
}