/* La portada participa en la transición hacia el mapa (ver indexMapaActividades.css). */
@view-transition {
    navigation: auto;
}

html, body {
    margin: 0;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.portada-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portada {
    position: relative;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0 16px;
    text-align: center;
    font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
    color: #fff;
    /* Velo verde institucional (#1e5c50) sobre el video. */
    background: rgb(30 92 80 / .45);
}

.portada-logo {
    width: min(320px, 70vw);
    height: auto;
    /* Contorno blanco que sigue la silueta del PNG transparente. */
    filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff);
}

.portada-leyenda {
    margin: 0;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-wrap: balance;
    text-shadow: 0 4px 24px rgb(0 0 0 / .45);
}

/* Filete blanco bajo el título, separa la leyenda del botón. */
.portada-leyenda::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 1.25rem auto 0;
    border-radius: 999px;
    background: #fff;
}

.portada-entrar {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: .5rem;
    padding: .9rem 2rem;
    border-radius: 999px;
    background: #fff;
    color: #1e5c50;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 8px 24px rgb(0 0 0 / .25);
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.portada-entrar svg {
    transition: transform .2s;
}

.portada-entrar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgb(0 0 0 / .35);
    background: #1e5c50;
    color: #fff;
}

.portada-entrar:hover svg {
    transform: translateX(4px);
}

.portada-entrar:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .portada-entrar,
    .portada-entrar svg {
        transition: none;
    }
}
