* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    height: 100dvh;
    /* Fija la altura exacta del viewport móvil */
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    /* Elimina scroll vertical si solo hay hero + footer */
}

/* =========================
   Hero
========================= */

.hero {
    flex: 1;
    /* Ocupa exactamente el espacio restante arriba del footer */
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url("../img/hero-bg.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 7rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.45);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================
   Footer
========================= */

.footer {
    flex-shrink: 0;
    height: 60px;
    /* Altura fija para no consumir espacio excesivo en mobile */

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 1rem;

    background-color: #111111;
    color: #ffffff;

    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    font-weight: 600;
}