/* Estilos base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 16px; /* Ajuste de tamaño de fuente base */
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}
a {
    color: #673AB7;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
main {
    overflow-x: visible;
}

/* Ajuste de espaciado general de párrafos */
p {
    margin-bottom: 1em; /* Un poco más de espacio entre párrafos */
}

/* === BOTONES UNIFICADOS === */
.cta-button,
.submit-button {
  background-color: #FFCE00;  /* Amarillo vibrante */
  color: #000000;              /* Texto negro */
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  font-size: 1.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover,
.submit-button:hover {
  background-color: #e6b800;  /* Amarillo más oscuro al pasar el mouse */
  transform: translateY(-3px);
  cursor: pointer;
  text-decoration: none; /* Previene el subrayado en botones que son enlaces */
}


/* Hero Section */
/* IMAGEN DE FONDO ACTUALIZADA: Usando 'nino-aprendiendo-online-feliz.jpg' para comunicar virtualidad */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/nino-aprendiendo-online-feliz.jpg') no-repeat center center/cover; /* */
    color: white;
    text-align: center;
    padding: 100px 20px;
    background-attachment: fixed; /* Mantiene un efecto parallax sutil */
}
.hero-content .workshop-name {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 2px;
}
.hero-content h1 {
    font-size: 3em;
    margin: 20px 0;
}
.hero-content .subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
}
.hero-content .problem-description {
    font-style: italic;
    margin-bottom: 40px;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 20px;
    text-align: center;
}
.benefits-section h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.benefit-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para hover */
}
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.benefit-item h3 {
    color: #673AB7;
}

/* Methodology Section */
.methodology-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
}
.methodology-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}
.methodology-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1em;
}
.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.methodology-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para hover */
}
.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.methodology-item .icon-circle {
    font-size: 2.5em; /* Ajustado para Font Awesome */
    margin-bottom: 15px;
    color: #673AB7; /* Color para los iconos */
}
.methodology-item ul {
    list-style: none;
    padding: 0;
}
.methodology-item li {
    /* Eliminamos el background-image del check para usar Font Awesome en HTML */
    padding-left: 0; /* Ya no necesitamos espacio para la imagen de check */
    margin-bottom: 10px;
}
/* Estilo para los iconos de lista si se usa Font Awesome con <li> */
.methodology-item li i.fa-check-circle {
    margin-right: 8px;
    color: #4CAF50; /* Color verde para los checks */
}


/* Schedules Section */
.schedules-section {
    padding: 60px 20px;
    text-align: center;
}
.schedules-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.schedules-intro {
    max-width: 700px;
    margin: 0 auto 40px;
}
.schedule-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.schedule-item {
    border: 2px solid #673AB7;
    padding: 25px;
    border-radius: 8px;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para hover */
}
.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.schedule-item .availability {
    font-weight: bold;
    color: #4CAF50;
}
.schedules-cta p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* About Me Section */
.about-me-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}
.about-me-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.about-me-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.about-me-image {
    flex: 1;
    max-width: 400px;
}
.about-me-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* Asegúrate de que esta clase esté definida para todas las imágenes de contenido */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
}
.testimonials-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}
.testimonials-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.testimonial-item {
    background: #f4f4f4;
    padding: 25px;
    border-left: 5px solid #673AB7;
    border-radius: 5px;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para hover */
}
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.testimonial-author {
    font-weight: bold;
    text-align: right;
    margin-top: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}
.faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #fff;
    border: none;
    text-align: left;
}
.faq-question:hover {
    background-color: #f0f0f0;
}
.faq-question.active {
    background-color: #f0f0f0;
}
.faq-icon {
    font-size: 1.5em;
    margin-left: 10px;
    transition: transform 0.3s ease;
}
.faq-question.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 20px;
    font-size: 1em;
    color: #666;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: #fff;
}
.faq-answer.open {
    max-height: 300px;
    padding: 20px;
}

/* CTA Form Section */
.cta-form-section {
    background-color: #f4f4f4;
    padding: 80px 20px;
    text-align: center;
}
.cta-form-section .container {
    max-width: 800px;
}
.cta-form-title {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 20px;
}
.cta-form-subtitle {
    font-size: 1.3em;
    color: #666;
    margin-bottom: 40px;
}
.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: left;
}
.form-instruction {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 30px;
    line-height: 1.6;
}
.form-group {
    margin-bottom: 25px; /* Ajuste de espaciado para elementos de formulario */
}
.form-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.form-container input[type="text"], .form-container input[type="email"], .form-container input[type="tel"], .form-container input[type="number"], .form-container textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}
.form-container input:focus, .form-container textarea:focus {
    border-color: #673AB7;
    outline: none;
}
/* Estilo para el ancho del botón de envío, separado del estilo visual */
.form-container .submit-button {
    width: 100%;
}

.form-container button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}
.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    font-size: 0.95em;
}
.privacy-consent input[type="checkbox"] {
    margin-top: 3px;
    min-width: 18px;
    min-height: 18px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}
footer a {
    color: #FFC107;
}

/* --- ESTILOS ADICIONALES PARA LA PÁGINA DEL BLOG --- */

.blog-header {
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.logo a {
    font-weight: 700;
    color: var(--color-principal);
    text-decoration: none;
    font-size: 1.2em;
}
.main-content {
    padding: 60px 0;
}
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
}
.article-content {
    max-width: 100%;
}
.article-header .category {
    color: var(--color-principal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}
.article-header h1 {
    font-size: 3em;
    margin: 10px 0 20px 0;
    text-align: left;
}
.article-meta {
    font-size: 0.9em;
    color: var(--color-texto-secundario);
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}
.article-body h2 {
    font-size: 1.8em;
    margin-top: 50px;
    text-align: left;
}
.article-body p, .article-body li {
    font-size: 1.1em;
    line-height: 1.9;
}
.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radio-borde);
    margin: 40px 0;
}
.sidebar {
    position: sticky;
    top: 40px;
}
.widget {
    background: var(--color-fondo-seccion);
    padding: 25px;
    border-radius: var(--radio-borde);
    margin-bottom: 30px;
}
.widget-title {
    font-weight: 700;
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-principal);
}
.final-cta {
    background: var(--color-fondo-seccion);
    padding: 50px;
    text-align: center;
    border-radius: var(--radio-borde);
    margin-top: 80px;
}
.final-cta h2 { text-align: center; }


/* ================================================== */
/* === ESTILOS PARA HEADER FIJO Y OTROS === */
/* ================================================== */
html {
  scroll-behavior: smooth;
}
.header-fijo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px !important; /* Ajustado el padding */
    background-color: #fff; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    animation: aparecerDesdeArriba 0.5s ease-out forwards;
    z-index: 1000;
}
.header-fijo .logo img {
    height: 40px !important;
}

@keyframes aparecerDesdeArriba {
    to {
        transform: translateY(0);
    }
}


/* ================================================== */
/* === Media Queries === */
/* ================================================== */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .methodology-grid {
        grid-template-columns: 1fr;
    }
    .about-me-content {
        flex-direction: column;
    }
    .cta-form-title {
        font-size: 2em;
    }
    .article-header h1 { 
        font-size: 2.2em; 
    }
}