/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    ##font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f6f8;
    color: #2c2c2c;
    line-height: 1.6;
}

/* HERO / BANNER */
header {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 👈 clave */
    background-color: black; /* opcional, relleno elegante */
}

/* Capa oscura encima de la imagen */
header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Texto encima del banner */
header h1,
header .subtitle {
    position: absolute;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 2;
}

header h1 {
    top: 40%;
    transform: translateY(-50%);
    font-size: 2rem;
    padding: 0 20px;
}

header .subtitle {
    top: 60%;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* CONTENIDO */
section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Tarjetas suaves */
section p, section ul {
    background: white;
    padding: 18px;
    border-radius: 8px;
    margin-top: 10px;
}

/* Títulos */
h2 {
    color: #1a3d6d;
    margin-bottom: 10px;
    border-left: 4px solid #1a3d6d;
    padding-left: 10px;
}

h3 {
    margin-top: 20px;
    color: #444;
}

/* Listas */
ul {
    padding-left: 25px;
}

/* Footer */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 25px;
    background: #1a3d6d;
    color: white;
}

section p, section ul {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px auto;
    flex-wrap: wrap;
}

.logos img {
    height: 60px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.register {
    text-align: center;
    margin: 30px 0;
}

.register a {
    background: #c0392b;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.register a:hover {
    background: #a93226;
}
