/* Estilos base. El diseño final se definirá con el cliente. */

:root {
    --color-primario: #0d6efd;
}

body {
    -webkit-font-smoothing: antialiased;
}

.encabezado {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.hero {
    background: linear-gradient(135deg, #0b4fa8, #0d6efd);
    color: #fff;
    padding: 4.5rem 0;
}

.hero h1 {
    font-weight: 700;
    font-size: 2.25rem;
}

.curso .card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e9ecef;
}

fieldset.card legend {
    width: 100%;
    font-size: 1.1rem;
}

/* El feedback de los checkbox de Bootstrap 4 necesita mostrarse explícitamente */
.custom-control-input.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Honeypot fuera de pantalla (no display:none, que algunos bots detectan) */
.campo-trampa {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.pie {
    background: #212529;
    color: #adb5bd;
}

.pie a {
    color: #fff;
}

@media (max-width: 575.98px) {
    .hero {
        padding: 3rem 0;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    /* Evita el zoom automático de iOS al enfocar campos */
    .form-control, .custom-select {
        font-size: 16px;
    }
}
