/* -------------------------------------------------------
   HERO SIMPLE — CORREGIDO PARA QUE EL VIDEO SUBA HASTA ARRIBA
------------------------------------------------------- */
.hero-simple {
    position: relative;
    width: 100%;
    height: 100vh;                 /* 🔥 Ocupa toda la pantalla */
    overflow: hidden;
    padding-top: 0 !important;
    margin-top: 0 !important;      /* 🔥 Elimina espacio gris arriba */
    background: transparent !important; /* 🔥 Elimina fondo gris */
    z-index: 1;
}

/* -------------------------------------------------------
   SLIDER
------------------------------------------------------- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* -------------------------------------------------------
   HERO TEXT
------------------------------------------------------- */
.evh-hero-text {
    position: absolute;
    top: 40px;
    left: 40px;
    max-width: 650px;
    color: #fff;
    z-index: 900;
    pointer-events: none;
}

.evh-hero-text h1,
.evh-hero-text p {
    color: #fff !important;
    text-shadow: 0 0 22px rgba(0,0,0,0.85) !important;
}

.evh-hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.evh-hero-text p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}

/* -------------------------------------------------------
   CONTACTO
------------------------------------------------------- */
.section-contact-bg {
    background: #0c314f;
    padding: 80px 0;
    color: #fff !important;
}

.contact-section {
    display: flex;
    gap: 40px;
}

/* VIDEO DE FONDO HERO */
.evh-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.evh-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.contact-info {
    width: 40%;
}

.contact-info p,
.contact-info strong {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.75);
}

form {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

form button {
    background: #f4c400;
    color: #000;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* -------------------------------------------------------
   CAPACITACIONES
------------------------------------------------------- */
.section-capacitaciones {
    padding: 60px 0;
    background: #f7f9fc;
}

.capacitaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cap-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    border-top: 6px solid #005bbb;
}

.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cap-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #003f7d;
}

.cap-card p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #444;
}

.cap-card .btn {
    display: inline-block;
    background: #005bbb;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.cap-card .btn:hover {
    background: #003f7d;
}

.cap-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* -------------------------------------------------------
   CURSOS
------------------------------------------------------- */
.section-cursos {
    padding: 70px 0;
    background: #f7f9fc;
}

.titulo-cursos {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.subtitulo-cursos {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 45px;
}

.grid-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
}

.curso-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    transition: transform .25s ease;
    border: 1px solid #e6e6e6;
}

.curso-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

.curso-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.curso-info {
    padding: 25px;
}

.curso-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #003f7d;
}

.curso-info p {
    font-size: 16px;
    color: #444;
    margin-bottom: 22px;
    line-height: 1.5;
}

.btn-curso {
    display: inline-block;
    background: #005bbb;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.btn-curso:hover {
    background: #004999;
}

/* -------------------------------------------------------
   HERO CURSO
------------------------------------------------------- */
.curso-hero {
    background: linear-gradient(135deg, #003f7d 0%, #005bbb 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    border-bottom: 6px solid #f4c400;
}

.curso-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.curso-hero-content p {
    font-size: 20px;
    opacity: 0.95;
}

/* -------------------------------------------------------
   DETALLE CURSO
------------------------------------------------------- */
.curso-detalle {
    padding: 70px 0;
    background: #eef3f8;
}

.curso-card-pro {
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-left: 8px solid #005bbb;
}

.curso-detalle-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

/* -------------------------------------------------------
   NUEVO: CONTENEDOR DE IMÁGENES PARA LOS CUADROS EVH
------------------------------------------------------- */
.evh-cuadro-img-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
}

.evh-cuadro-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.evh-cuadro-img-container img.mostrar {
    opacity: 1;
}

/* -------------------------------------------------------
   CONTACTO EVH – DISEÑO MODERNO Y PROFESIONAL
------------------------------------------------------- */

.section-contact {
    background: #ffffff;
    padding: 60px 0;
}

.form-inscripcion {
    background: #fafafa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: auto;
}

.form-inscripcion label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #444;
}

.form-inscripcion input,
.form-inscripcion textarea,
.form-inscripcion select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 15px;
    background: #fff;
}

.form-inscripcion input:focus,
.form-inscripcion textarea:focus,
.form-inscripcion select:focus {
    border-color: #d4a017;
    box-shadow: 0 0 4px rgba(212,160,23,0.4);
    outline: none;
}

/* BOTÓN ENVIAR */
.form-inscripcion button.btn {
    background: #b30000;
    color: #fff;
    padding: 14px 22px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: 0.25s ease;
}

.form-inscripcion button.btn:hover {
    background: #8a0000;
}

/* MENSAJE DE ESTADO */
#mensaje-estado {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

/* TITULOS */
.section-title {
    text-align: center;
    color: #d4a017;
}

.section-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-inscripcion {
        padding: 20px;
    }
}

/* BOTÓN DE INSCRIPCIÓN – ESTILO CORPORATIVO EVH */
.btn-inscripcion-pro {
    display: inline-block;
    background: #b30000;
    color: #fff !important;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
    margin-top: 20px;
    text-align: center;
}

.btn-inscripcion-pro:hover {
    background: #8a0000;
}

/* VIDEO DE FONDO HERO (duplicado corregido) */
.evh-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.evh-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.btn-hero-rojo {
    background: #c62828; /* rojo fuerte */
    color: #fff; /* texto blanco */
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    transition: 0.25s ease;
}

.btn-hero-rojo:hover {
    background: #e53935; /* rojo más claro */
    color: #fff;
}
/* BOTÓN ROJO HERO */
.btn-hero-rojo {
    background: #c62828; /* rojo fuerte */
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    transition: 0.25s ease;

    /* EFECTO SALTO */
    animation: heroBounce 2.2s infinite ease-in-out;
}

/* HOVER */
.btn-hero-rojo:hover {
    background: #e53935;
    color: #fff;
}

/* ANIMACIÓN IGUAL A WHATSAPP */
@keyframes heroBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.evh-hero-text {
    position: relative;
    z-index: 10;
    pointer-events: auto; /* ← ESTO ES LO QUE LO ARREGLA */
}