:root {
    --fondo: #f4f3ef;
    --tarjeta: #ffffff;
    --texto: #1c1b19;
    --suave: #6b6a64;
    --borde: #dedcd4;
    --acento: #b3261e;
    --acento-hover: #8f1e18;
    --aviso-fondo: #fdf1ef;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--fondo);
    color: var(--texto);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

.tarjeta {
    width: 100%;
    max-width: 440px;
    padding: 32px 28px;
    background: var(--tarjeta);
    border: 1px solid var(--borde);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.tarjeta img.logo {
    width: 100%;             /* Ocupa el ancho disponible pero respetando los límites */
    max-width: 260px;        /* Ajusta este valor máximo según lo grande o pequeño que quieras el logo */
    height: auto;            /* Mantiene la proporción para que no se deforme */
    display: block;
    margin: 0 auto 1.5rem auto; /* Centra el logo horizontalmente y deja espacio abajo */
}

.marca { margin: 0 0 18px; font-weight: 700; letter-spacing: .02em; color: var(--acento); }
h1 { margin: 0 0 10px; font-size: 24px; }
.texto { margin: 0 0 6px; }
.texto-en, .legal, [lang="en"] { color: var(--suave); }
.texto-en { margin-bottom: 22px; font-size: 14px; }

label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }

input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--borde);
    border-radius: 10px;
    font: inherit;
}

input[type="email"]:focus { outline: 2px solid var(--acento); outline-offset: 1px; border-color: transparent; }

button {
    width: 100%;
    margin-top: 16px;
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--acento);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

button:hover { background: var(--acento-hover); }

.aviso {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--aviso-fondo);
    color: var(--acento-hover);
    font-size: 14px;
}

.legal { margin: 18px 0 0; font-size: 12px; }

.hidden { display: none; }

/* Trampa para robots: fuera de la vista y de la navegación con teclado. */
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
