/* =========================================================
   ARREGLA CASA - PORTADA
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
}

/* Portada a pantalla completa */
.portada {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        url("../images/index.png")
        center center / cover
        no-repeat;
}

/* Capa oscura/transparente sobre la fotografía */
.portada__capa {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.38);
}

/* Contenido central */
.portada__contenido {
    position: relative;
    z-index: 1;

    width: min(90%, 620px);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

/* Logo */
.portada__logo {
    display: block;
    width: min(72vw, 390px);
    max-height: 330px;
    object-fit: contain;

    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.25));
}

/* Lema */
.portada__lema {
    margin-top: 18px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

/* Botón */
.portada__boton {
    margin-top: 38px;

    min-width: 190px;
    padding: 14px 34px;

    border: 1px solid rgba(255, 255, 255, 0.75);

    color: #fff;
    background: rgba(255, 255, 255, 0.06);

    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.portada__boton:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #171717;
    transform: translateY(-2px);
}

.portada__boton:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

/* Móvil */
@media (max-width: 600px) {
    .portada {
        background-position: center center;
    }

    .portada__logo {
        width: min(78vw, 310px);
    }

    .portada__lema {
        margin-top: 14px;
        font-size: 0.66rem;
        letter-spacing: 0.22em;
    }

    .portada__boton {
        margin-top: 30px;
        min-width: 170px;
        padding: 13px 28px;
    }
}
