/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f2027;
    color: #fff;
}

/* HERO */
.hero {
    position: relative;
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* IMAGEN FONDO */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    z-index: -2;
}

/* OVERLAY OSCURO SUAVE */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.7));
    z-index: -1;
}

/* CONTENIDO */
.contenido {
    max-width: 700px;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease;
}

/* TÍTULO */
.contenido h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* TEXTO */
.contenido p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 12px;
    color: #e0f2f1;
}

/* ANIMACIÓN */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MENÚ HAMBURGUESA */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 26px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

    nav ul {
        display: none;
        flex-direction: column;
        background: rgba(42, 125, 140, 0.95);
        position: absolute;
        top: 60px;
        right: 10px;
        width: 220px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        padding: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
}