/* 1. Hero Banner */
.financiamiento-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
}
.hero-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #333;
}
.hero-background img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 2. Sección de Beneficios */
.benefits-section {
    padding: 80px 0;
}
.benefits-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 0;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.benefit-card {
    text-align: center;
    padding: 20px;
}
.benefit-icon {
    margin-bottom: 20px;
}
.benefit-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--toyota-red);
}
.benefit-card h3 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
}
.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}


/* --- CAMBIO: NUEVA SECCIÓN PARA EL PDF --- */
.pdf-section {
    background-color: var(--bg-light-gray);
    padding: 80px 0;
}
.pdf-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    padding: 0;
}

.pdf-viewer-wrapper {
    max-width: 900px; /* Ancho máximo del visor de PDF */
    margin: 0 auto; /* Centra el visor */
    height: 700px; /* Altura fija, puedes ajustarla */
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden; /* Oculta los bordes del iframe */
}

.pdf-viewer-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none; /* Quitamos el borde por defecto del iframe */
}


/* 4. Sección de Llamada a la Acción (CTA) */
.cta-section {
    padding: 80px 40px;
    background-color: var(--text-dark);
    color: var(--text-light);
    text-align: center;
}
.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}
.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--toyota-red);
    color: var(--text-light);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: var(--toyota-red-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pdf-viewer-wrapper {
        height: 600px;
    }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .pdf-viewer-wrapper {
        height: 500px;
    }
}