@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Hairline.otf") format("woff2"),
        url("../fuentes/LTSaeada-Hairline.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Thin.otf") format("woff2"),
        url("../fuentes/LTSaeada-Thin.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-ExtraLight.otf") format("woff2"),
        url("../fuentes/LTSaeada-ExtraLight.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Light.otf") format("woff2"),
        url("../fuentes/LTSaeada-Light.otf") format("opentype");
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Regular.otf") format("woff2"),
        url("../fuentes/LTSaeada-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Medium.otf") format("woff2"),
        url("../fuentes/LTSaeada-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-SemiBold.otf") format("woff2"),
        url("../fuentes/LTSaeada-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Bold.otf") format("woff2"),
        url("../fuentes/LTSaeada-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-ExtraBold.otf") format("woff2"),
        url("../fuentes/LTSaeada-ExtraBold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-Black.otf") format("woff2"),
        url("../fuentes/LTSaeada-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LT Saeada";
    src: url("../fuentes/LTSaeada-ExtraBlack.otf") format("woff2"),
        url("../fuentes/LTSaeada-ExtraBlack.otf") format("opentype");
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

:root {
    --azul: #6EC1E4;
    --azul-oscuro: #001326;
    --blanco: #ffffff;
    --linea: #e2e5e9;
    --gris-texto: #6b7480;
    --gris-placeholder: #a9afb8;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--blanco);
    font-family: "LT Saeada", Georgia, 'Times New Roman', serif;
    color: var(--azul-oscuro);
}

/* ---------- HEADER ---------- */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    border-bottom: 1px solid var(--linea);
}

header h1 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--azul-oscuro);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

/* ---------- CONTENIDO ---------- */

main {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 24px 80px 24px;
}

.titulo {
    text-align: center;
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 18px 0;
}

.descripcion {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--gris-texto);
    text-align: center;
    margin: 0 0 46px 0;
}

.descripcion .obligatorio {
    color: var(--azul);
    font-weight: 700;
}

.fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

.fila.una-columna {
    grid-template-columns: 1fr;
}

.campo {
    margin-bottom: 30px;
}

label {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--azul-oscuro);
    margin-bottom: 10px;
}

label .req {
    color: var(--azul);
}

label .opcional {
    font-weight: 400;
    color: var(--gris-placeholder);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    padding: 4px 0 10px 0;
    border: none;
    border-bottom: 1px solid var(--linea);
    background: transparent;
    color: var(--azul-oscuro);
    transition: border-color 0.2s ease;
}

input::placeholder {
    color: var(--gris-placeholder);
}

input:focus {
    outline: none;
    border-bottom: 1px solid var(--azul);
}

/* Tipo de documento */

.doc-grupo {
    margin-bottom: 8px;
}

select {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    color: var(--azul-oscuro);
    border: none;
    border-bottom: 1px solid var(--linea);
    background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23001326' stroke-width='1.5' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px center;
    padding: 4px 22px 10px 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:invalid {
    color: var(--gris-placeholder);
}

select option {
    color: var(--azul-oscuro);
}

select:focus {
    outline: none;
    border-bottom: 1px solid var(--azul);
}

/* Autorización */

.autorizacion {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 40px 0 34px 0;
}

.autorizacion input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--azul-oscuro);
    cursor: pointer;
    flex-shrink: 0;
}

.autorizacion label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--gris-texto);
    line-height: 1.6;
    margin: 0;
    cursor: pointer;
}

.autorizacion a {
    color: var(--azul-oscuro);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--azul-oscuro);
}

/* Botón */

.contenedor-boton {
    text-align: center;
}

button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blanco);
    background: var(--azul-oscuro);
    border: none;
    padding: 15px 46px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #002144;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: var(--gris-placeholder);
}

.mensaje-resultado {
    display: none;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    margin: 18px 0 0 0;
}

.mensaje-resultado.exito {
    display: block;
    color: #1a7a3c;
}

.mensaje-resultado.error {
    display: block;
    color: #b3261e;
}

/* ---------- RESPONSIVO ---------- */

@media (max-width: 620px) {
    header {
        padding: 18px 22px;
    }

    .logo img {
        height: 32px;
        max-width: 120px;
    }

    main {
        padding: 40px 20px 60px 20px;
    }

    .fila {
        grid-template-columns: 1fr;
    }

    .titulo {
        font-size: 19px;
    }
}