/* Estilos Generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    color: #333;
}

/* --- ESTILOS PARA CADA BLOQUE --- */

/* Bloque Hero */
.hero-block {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2; }
.hero-content { position: relative; z-index: 3; }
.hero-content h1 { font-size: 3.5rem; margin: 0; }
.hero-content p { font-size: 1.5rem; }
.hero-button { background-color: #00B4D8; color: white; padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s; }
.hero-button:hover { background-color: #0077B6; }

/* Bloque Slider */
.slider-block { position: relative; overflow: hidden; }
.slider-container { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; height: 500px; background-size: cover; background-position: center; display: flex; justify-content: center; align-items: flex-end; padding: 20px; box-sizing: border-box; }
.slide-button { color: white; padding: 10px 20px; text-decoration: none; border-radius: 5px; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; font-size: 2rem; cursor: pointer; padding: 10px; }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

/* ... (Aquí irían los estilos para los demás bloques) ... */

/* Bloque Footer */
.footer-block { background-color: #264653; color: white; padding: 40px 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: auto; }
.footer-col h3 { color: #F4A261; }
.footer-col.social a { color: white; font-size: 1.5rem; margin-right: 15px; }
.footer-bottom { text-align: center; margin-top: 30px; border-top: 1px solid #457B9D; padding-top: 20px; }
/* --- ESTILOS PARA LOS NUEVOS BLOQUES --- */

/* Bloque Sobre Nosotros */
.sobrenos-block {
    position: relative;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    color: white;
}
.sobrenos-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 119, 182, 0.8); z-index: 1; }
.sobrenos-content { position: relative; z-index: 2; max-width: 1000px; margin: auto; text-align: center; }
.sobrenos-content h2 { font-size: 2.5rem; }
.sobrenos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-top: 30px; }
.sobrenos-button { background-color: #F4A261; color: white; padding: 12px 25px; text-decoration: none; border-radius: 5px; font-weight: bold; display: inline-block; margin-top: 20px; }
.sobrenos-button:hover { background-color: #E76F51; }

/* Bloque Pasos */
.pasos-block { padding: 60px 20px; background-color: #f8f9fa; }
.pasos-container { max-width: 1200px; margin: auto; text-align: center; }
.pasos-container h2 { font-size: 2.5rem; }
.pasos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.paso-item { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.paso-icon { font-size: 3rem; color: #00B4D8; margin-bottom: 15px; }

/* Bloque Testimonios */
.testimonios-block { padding: 60px 20px; }
.testimonios-container { max-width: 1200px; margin: auto; text-align: center; }
.testimonios-container h2 { font-size: 2.5rem; }
.testimonios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.testimonio-card { background: #f8f9fa; padding: 25px; border-radius: 8px; border-left: 5px solid #00B4D8; }
.testimonio-texto { font-style: italic; }
.testimonio-autor { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.testimonio-autor img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* Bloque FAQ (Preguntas Frecuentes) */
.faq-block { padding: 60px 20px; background-color: #f8f9fa; }
.faq-container { max-width: 800px; margin: auto; }
.faq-container h2 { text-align: center; font-size: 2.5rem; }
.faq-accordion { margin-top: 30px; }
.faq-item { border-bottom: 1px solid #dee2e6; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 20px; font-size: 1.2rem; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding: 0 20px 20px; margin: 0; }
.faq-item.active .faq-answer { max-height: 300px; } /* Altura máxima que puede tener la respuesta */
.faq-item.active .faq-icon { transform: rotate(45deg); }