:root {
    --primary-green: #28a745;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --background-grey: #f0f2f5;
    --white: #ffffff;
    --border-color: #dee2e6;
    --testimonial-bg: #e9f5ec;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    text-align: center;
}

.main-header {
    padding: 2rem 1rem;
}

.main-header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
}

.logo-car {
    width: 60px;
    height: auto;
    margin-right: 12px;
    fill: var(--primary-green);
}

.logo-inform {
    color: var(--primary-green);
}

.logo-express {
    color: var(--text-dark);
}

main {
    padding: 0 1rem;
}

.form-section {
    background-color: var(--white);
    max-width: 450px;
    margin: 0 auto 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-section .price-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

#vehicle-form input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.report-btn {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.report-btn.basic {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--border-color);
    margin-bottom: 1rem;
}

.report-btn.full {
    background-color: var(--primary-green);
    color: var(--white);
}

.report-btn span {
    font-size: 0.9rem;
    font-weight: 400;
}

.features-section {
    max-width: 550px;
    margin: 3rem auto;
    text-align: left;
}

.features-section h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.features-section > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* --- NUEVO CSS PARA CARRUSEL DE APARICIÓN/DESAPARICIÓN --- */
.testimonials-section {
    max-width: 450px;
    margin: 3rem auto;
}

.testimonials-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* 1. Contenedor principal. Se le da una altura fija para evitar saltos de layout. */
.testimonial-container {
    position: relative;
    min-height: 280px; /* Altura para acomodar el texto más largo */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--testimonial-bg);
    border-radius: 12px;
    padding: 1rem;
}

/* 2. Cada slide se posiciona absolutamente, uno encima del otro. */
.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    opacity: 0; /* Por defecto, todos son invisibles */
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. La clase 'is-active' hace visible el slide actual. */
.testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* 4. La tarjeta con el contenido. */
.testimonial-card {
    text-align: center;
    width: 100%;
}

.testimonial-card .stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.testimonial-card cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}

.main-footer {
    background-color: var(--background-grey);
    padding: 3rem 1rem 2rem 1rem;
    margin-top: 3rem;
    width: 100%;
}

.footer-wrapper {
    max-width: 550px;
    margin: 0 auto;
    text-align: left;
}

.footer-wrapper h3 {
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.footer-wrapper h2 {
    font-weight: 700;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.social-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.social-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.5rem;
}

.copyright {
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* --- Estilos para la Página de Informe Básico (SIN CAMBIOS) --- */
.report-page-container {
    max-width: 700px;
    margin: 40px auto;
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.report-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.report-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.report-header h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
}

.report-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    text-align: center;
}

.report-table td:first-child {
    font-weight: 600;
    color: var(--text-light);
    width: 50%;
}

.data-cell {
    font-weight: 700;
    color: var(--text-dark);
}

.upsell-section {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: #e9f5ec;
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    text-align: center;
}

.upsell-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upsell-section p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.report-btn.full.large {
    padding: 16px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    max-width: 350px;
    margin: 0 auto;
}

.back-button {
    display: block;
    width: fit-content;
    margin: 2.5rem auto 0 auto;
    background-color: var(--text-light);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease-in-out;
}

.back-button:hover {
    background-color: var(--text-dark);
}