/*
Theme Name: Divi EAVicar
Theme URI: https://eavicar.masqweb.com
Description: Tema hijo de Divi para la Escuela Agraria Vícar
Author: masqweb
Author URI: https://masqweb.com
Template: Divi
Version: 1.0.0
Text Domain: divi-eavicar
*/

/* =====================================================
   ESCUELA AGRARIA VÍCAR — Estilos personalizados
   ===================================================== */

/* Desplazamiento suave para anclas */
html {
    scroll-behavior: smooth;
}

/* Offset para anclas fijas (compensa el header fijo) */
.et_pb_section[id] {
    scroll-margin-top: 80px;
}

/* ---- BARRA SUPERIOR (teléfono · email · redes) ---- */

#top-header {
    background-color: #25a53f !important;
    border-bottom: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    line-height: 1 !important;
}

#top-header a {
    font-size: 16px !important;
    font-weight: bold !important;
}

#top-header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 30px;
}

/* Info: teléfono + email */
#et-info {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.80) !important;
}

#et-info-phone,
#et-info-email {
    color: rgba(255, 255, 255, 0.80) !important;
    font-size: 13px;
    letter-spacing: 0.01em;
}

#et-info-phone::before {
    content: "📞 ";
    font-size: 11px;
}

#et-info-email::before {
    content: "✉ ";
    font-size: 11px;
}

#et-info a {
    color: rgba(255, 255, 255, 0.80) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

#et-info a:hover {
    color: #fff !important;
}

/* Separador entre teléfono y email */
#et-info-phone + a::before {
    content: "·";
    margin-right: 24px;
    opacity: 0.40;
}

/* Nombre del centro — centrado en la barra superior */
.eav-nombre-centro {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    white-space: nowrap;
    pointer-events: none;
}

/* Iconos de redes sociales */
#et-social-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

#et-social-icons .et-social-icon a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 14px !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 38px;
}

#et-social-icons .et-social-icon a:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

/* ---- SECCIÓN QUIÉNES SOMOS — centrado vertical texto e imagen ---- */

#sobre-nosotros .et_pb_row_2 {
    display: flex !important;
    align-items: center !important;
}

/* ---- SECCIÓN QUIÉNES SOMOS — foto alumnos sin recuadro ---- */

#sobre-nosotros .et_pb_image_0 .et_pb_image_wrap {
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

#sobre-nosotros .et_pb_image_0 {
    background: transparent !important;
}

/* ---- FIX: columna 53 (testimonial María López) — índice desplazado tras eliminar botón ---- */

.et_pb_column_53 {
    background-color: #25a53f !important;
    border-radius: 6px 6px 6px 6px !important;
    overflow: hidden !important;
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 20px !important;
    padding-left: 20px !important;
}

/* ---- FIX: blurbs 4-6 (¿Por Qué Elegirnos?) sin fuente generada por Divi ---- */

.et_pb_blurb_4.et_pb_blurb .et_pb_module_header,
.et_pb_blurb_4.et_pb_blurb .et_pb_module_header a,
.et_pb_blurb_5.et_pb_blurb .et_pb_module_header,
.et_pb_blurb_5.et_pb_blurb .et_pb_module_header a,
.et_pb_blurb_6.et_pb_blurb .et_pb_module_header,
.et_pb_blurb_6.et_pb_blurb .et_pb_module_header a {
    font-family: 'IBM Plex Sans Condensed', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #0e0c19 !important;
    line-height: 1.4em !important;
}

.et_pb_blurb_4.et_pb_blurb,
.et_pb_blurb_5.et_pb_blurb,
.et_pb_blurb_6.et_pb_blurb {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif !important;
    color: #3c3a47 !important;
    line-height: 1.75em !important;
}

/* ---- FIX: blurb_0 (Jornadas y visitas Técnicas) sin fuente generada por Divi ---- */

.et_pb_blurb_0.et_pb_blurb .et_pb_module_header,
.et_pb_blurb_0.et_pb_blurb .et_pb_module_header a {
    font-family: 'IBM Plex Sans Condensed', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 18px !important;
    color: #0e0c19 !important;
    line-height: 1.4em !important;
}

.et_pb_blurb_0.et_pb_blurb {
    font-family: 'IBM Plex Sans', Helvetica, Arial, Lucida, sans-serif !important;
    color: #3c3a47 !important;
    line-height: 1.75em !important;
}

/* ---- CABECERA / NAVEGACIÓN ---- */

/* Transición nativa de Divi — no interferir */
#main-header,
#main-header .logo_container,
#main-header #logo {
    transition: all 0.4s ease-in-out !important;
}

/* Header fijo al hacer scroll — igual que eav.masqweb.com (sólo sombra suave) */
#main-header.et-fixed-header {
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.1) !important;
    background-color: #fff !important;
}

/* Logo en header — 85% igual que eavicar.com */
#main-header #logo {
    max-height: 85% !important;
}
.et_pb_svg_logo #main-header #logo {
    height: 85% !important;
}

/* Links de navegación */
#top-menu > li > a,
.et_mobile_menu li a {
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    transition: color 0.2s ease !important;
}

/* Submenú */
#top-menu .sub-menu {
    border-top: 3px solid #25a53f;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Menú móvil */
.et_mobile_nav_menu .mobile_nav.opened {
    border-top: 3px solid #25a53f;
}

/* ---- SECCIONES GENERALES ---- */

.et_pb_section {
    transition: background-color 0.3s ease;
}

/* Mejor separación de secciones pares/impares */
.et_pb_section.et_section_regular:nth-child(even) .et_pb_row:not(.et_pb_row_fullwidth) {
    /* sutil separación visual */
}

/* ---- BOTONES ---- */

.et_pb_button {
    transition: all 0.25s ease !important;
    border-radius: 6px !important;
}

.et_pb_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 165, 63, 0.30) !important;
}

/* ---- BLURB / TARJETAS ---- */

.et_pb_blurb {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.et_pb_blurb:hover {
    transform: translateY(-4px);
}

/* ---- QUITAR FONDO BLANCO DE MÓDULOS HEADING EN HOMEPAGE ---- */

body.home .et_pb_section .et_pb_heading,
body.home .et_pb_row .et_pb_heading,
body.home [class*="et_pb_heading_"] {
    background-color: transparent !important;
    background: transparent !important;
}
body.home .et_pb_heading .et_pb_module_header {
    background-color: transparent !important;
    background: none !important;
}

/* ---- ESTADÍSTICAS / CONTADORES ---- */

/* Números y texto de contadores — color blanco uniforme */
.et_pb_number_counter .percent,
.et_pb_number_counter .title,
.et_pb_counter_amount,
.et_pb_counter_title,
body.home .et_pb_section .et_pb_number_counter .percent,
body.home .et_pb_section .et_pb_number_counter .title {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.et_pb_number_counter .percent {
    font-size: clamp(2.4rem, 4vw, 3.2rem) !important;
}
.et_pb_number_counter .title {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    opacity: 0.88;
    letter-spacing: 0.02em;
}

/* ---- GALERÍA ---- */

.et_pb_gallery_image {
    overflow: hidden;
    border-radius: 8px;
}

.et_pb_gallery_image img {
    transition: transform 0.4s ease !important;
}

.et_pb_gallery_image:hover img {
    transform: scale(1.05) !important;
}

/* Quitar el círculo con "+" al hacer hover en los módulos Image del homepage */
.et_pb_image.et_pb_has_overlay .et_overlay {
    display: none !important;
}

/* Reducir la transparencia al hacer hover (Divi baja la opacidad por defecto) */
.et_pb_image.et_pb_has_overlay a:hover img {
    opacity: 0.8 !important;
}

/* ---- PIE DE PÁGINA PRINCIPAL ---- */

/* Ocultar sidebar-footer de Divi y footer-bottom original (usamos nuestro propio footer) */
#main-footer > #footer-widgets,
#main-footer > #footer-bottom,
#main-footer > #et-footer-nav {
    display: none !important;
}

/* ===== FOOTER PERSONALIZADO EAVicar ===== */

.eav-footer {
    background-color: #1a2e1a;        /* verde oscuro institucional */
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 0 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.eav-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

/* Columna marca */
.eav-footer-brand .eav-footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.eav-footer-brand p {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
    margin: 0;
}

/* Columnas de enlaces */
.eav-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.eav-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eav-footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.60);
}

.eav-footer-col ul li a {
    color: rgba(255, 255, 255, 0.60);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eav-footer-col ul li a:hover {
    color: #fff;
}

/* Iconos pequeños SVG en el footer */
.eav-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.60;
}

/* Barra inferior */
.eav-footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.eav-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.40);
    margin: 0;
}

/* Redes sociales en el footer */
.eav-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.eav-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.eav-footer-social a svg {
    width: 16px;
    height: 16px;
}

.eav-footer-social a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-2px);
}

/* Enlace masqweb en el footer */
.eav-masqweb-link {
    font-family: 'Space Grotesk', 'IBM Plex Sans', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.3px;
    text-decoration: none;
    background: linear-gradient(135deg, #4f6ef7, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity 0.2s ease;
}

.eav-masqweb-link:hover {
    opacity: 0.80;
}

/* ---- MAPA / CONTACTO ---- */

.et_pb_map_container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* ---- TESTIMONIOS ---- */

.et_pb_testimonial {
    border-radius: 10px !important;
    transition: box-shadow 0.25s ease;
}

.et_pb_testimonial:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10) !important;
}

/* ---- VIDEO ---- */

.et_pb_video_wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* ---- RESPONSIVE ---- */

/* =====================================================
   SECCIÓN MAPA + FORMULARIO DE CONTACTO
   ===================================================== */

.eav-contact-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.eav-contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Encabezado de sección */
.eav-contact-header {
    text-align: center;
    margin-bottom: 52px;
}

.eav-contact-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3a7d44;
    background: rgba(58, 125, 68, 0.10);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.eav-contact-header h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: #1a2e1a;
    margin: 0 0 12px;
    line-height: 1.2;
}

.eav-contact-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Grid: mapa | formulario */
.eav-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Mapa */
.eav-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
    min-height: 460px;
}

.eav-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: none;
    display: block;
}

/* Formulario */
.eav-form-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.eav-form-row {
    margin-bottom: 20px;
}

.eav-form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.eav-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.eav-form-row--2 .eav-form-group {
    margin-bottom: 20px;
}

.eav-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.01em;
}

.eav-form-group input,
.eav-form-group textarea {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #111827;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.eav-form-group input:focus,
.eav-form-group textarea:focus {
    border-color: #3a7d44;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(58, 125, 68, 0.12);
}

.eav-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer del form */
.eav-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.eav-form-legal {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    flex: 1;
}

/* Botón enviar */
.eav-btn-enviar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3a7d44, #2d6235);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.eav-btn-enviar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 125, 68, 0.30);
}

.eav-btn-enviar:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Spinner */
.eav-btn-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: eav-spin 0.7s linear infinite;
}

.eav-btn-enviar:disabled .eav-btn-spinner {
    display: block;
}

@keyframes eav-spin {
    to { transform: rotate(360deg); }
}

/* Mensajes de estado */
.eav-form-status {
    margin-top: 16px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
}

.eav-form-status:not(:empty) {
    display: block;
}

.eav-form-status--ok {
    background: rgba(58, 125, 68, 0.10);
    color: #2d6235;
    border: 1px solid rgba(58, 125, 68, 0.25);
}

.eav-form-status--error {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
    border: 1px solid rgba(220, 38, 38, 0.20);
}

/* Separador visual entre sección y footer */
.eav-contact-section + .eav-footer {
    margin-top: 0;
}

/* =====================================================
   RESPONSIVE — MAPA + CONTACTO
   ===================================================== */

@media (max-width: 980px) {
    .et_pb_section[id] {
        scroll-margin-top: 60px;
    }

    .eav-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .eav-footer-brand {
        grid-column: 1 / -1;
    }

    .eav-footer-brand p {
        max-width: 100%;
    }

    .eav-contact-grid {
        grid-template-columns: 1fr;
    }

    .eav-map-wrap,
    .eav-map-wrap iframe {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .et_pb_section[id] {
        scroll-margin-top: 50px;
    }

    .eav-footer {
        padding: 48px 0 0;
    }

    .eav-footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }

    .eav-footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 8px;
    }

    .eav-contact-section {
        padding: 56px 0;
    }

    .eav-contact-inner {
        padding: 0 20px;
    }

    .eav-form-wrap {
        padding: 28px 20px;
    }

    .eav-form-row--2 {
        grid-template-columns: 1fr;
    }

    .eav-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .eav-btn-enviar {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   PÁGINAS DE CICLOS FORMATIVOS
   ===================================================== */

.eav-curso-wrap {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Hero */
.eav-curso-hero {
    background: linear-gradient(135deg, #1a2e1a 0%, #25a53f 100%);
    color: #fff;
    padding: 80px 0 60px;
}

.eav-curso-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.eav-curso-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.eav-curso-hero h1 {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.1;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.eav-curso-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 40px;
    padding-bottom: 0;
}

.eav-curso-datos-rapidos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.eav-curso-datos-rapidos div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eav-curso-datos-rapidos strong {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
}

.eav-curso-datos-rapidos span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Secciones */
.eav-curso-section {
    padding: 72px 0;
}

.eav-curso-section--alt {
    background: #f7f9f6;
}

.eav-curso-section--verde {
    background: #1a2e1a;
    color: rgba(255,255,255,0.85);
}

.eav-curso-section--verde h2 {
    color: #fff !important;
}

.eav-curso-section--verde p {
    color: rgba(255,255,255,0.75);
}

.eav-curso-section--cta {
    background: #25a53f;
    text-align: center;
}

.eav-curso-section-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px;
}

.eav-curso-section h2 {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a2e1a !important;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.eav-curso-section p {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
    margin-bottom: 32px;
    padding-bottom: 0;
}

/* Grid de cards */
.eav-curso-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

.eav-curso-card {
    background: #fff;
    border: 1px solid #e8f0e5;
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.eav-curso-card:hover {
    box-shadow: 0 8px 32px rgba(37,165,63,0.12);
    transform: translateY(-3px);
}

.eav-curso-card h4 {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2e1a !important;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.eav-curso-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
    padding: 0;
}

/* Módulos */
.eav-curso-modulos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 8px;
}

.eav-curso-modulo-grupo h3 {
    font-size: 16px;
    font-weight: 700;
    color: #25a53f !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    margin-top: 24px;
    padding-bottom: 0;
}

.eav-curso-modulo-grupo h3:first-child {
    margin-top: 0;
}

.eav-curso-modulo-grupo ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eav-curso-modulo-grupo ul li {
    padding: 10px 0 10px 20px;
    border-bottom: 1px solid #e8f0e5;
    font-size: 15px;
    color: #444;
    position: relative;
    line-height: 1.4;
}

.eav-curso-modulo-grupo ul li::before {
    content: "✓";
    color: #25a53f;
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Dos columnas */
.eav-curso-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

/* Listas */
.eav-curso-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.eav-curso-lista li {
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: #444;
    position: relative;
    line-height: 1.4;
}

.eav-curso-lista li::before {
    content: "→";
    color: #25a53f;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.eav-curso-lista--verde li::before {
    content: "✓";
}

/* Salidas profesionales */
.eav-curso-salidas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.eav-curso-salidas span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}

/* CTA */
.eav-curso-cta-inner h2 {
    color: #fff !important;
    font-size: 40px;
}

.eav-curso-cta-inner p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 32px;
}

.eav-btn-curso {
    display: inline-block;
    background: #fff;
    color: #25a53f !important;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eav-btn-curso:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Responsive ciclos */
@media (max-width: 980px) {
    .eav-curso-hero h1 { font-size: 32px; }
    .eav-curso-grid-3 { grid-template-columns: 1fr 1fr; }
    .eav-curso-modulos,
    .eav-curso-two-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .eav-curso-grid-3 { grid-template-columns: 1fr; }
    .eav-curso-datos-rapidos { gap: 20px; }
}



/* ---- FIX: Ciclos cards — Divi no genera padding de columnas #formacion ---- */
#formacion .et_pb_column {
    padding: 200px 30px 30px 30px !important;
}
@media (max-width: 980px) {
    #formacion .et_pb_column {
        padding: 130px 30px 30px 30px !important;
    }
}
@media (max-width: 767px) {
    #formacion .et_pb_column {
        padding: 100px 20px 20px 20px !important;
    }
}

/* Homepage — título principal en negrita */
.home h1.et_pb_module_heading {
    font-weight: 800;
}

/* Botón "Contáctanos Hoy" en bloque azul del hero homepage */
.et_pb_row_1 .et_pb_button_1 {
    color: #fff !important;
    border-color: #fff !important;
    background-color: transparent !important;
}
.et_pb_row_1 .et_pb_button_1:hover {
    color: #2ea3f2 !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

/* Lupa de búsqueda — alineación vertical correcta */
#et_search_icon:before {
    top: 0 !important;
}

/* Homepage hero — subtítulo "Descubre un mundo..." */
.home .et_pb_text_0.et_pb_text,
.home .et_pb_text_0.et_pb_text p {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
