:root {
    --naranja: #f58220;
    --naranja-oscuro: #d96500;
    --negro: #222;
    --gris: #666;
    --borde: #dedede;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #262626;
    background: #eee;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.cabecera {
    position: relative;
    z-index: 2;
    color: white;
    background: var(--negro);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .25);
}

.navegacion {
    width: min(1180px, calc(100% - 40px));
    min-height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    display: block;
    width: 180px;
    max-height: 58px;
    object-fit: contain;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 24px;
}

nav a {
    color: white;
    font-size: .78rem;
    font-weight: bold;
    letter-spacing: .045em;
    text-decoration: none;
}

nav a:hover {
    color: var(--naranja);
}

.portada {
    min-height: calc(100vh - 86px);
    padding: 65px 20px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            115deg,
            rgba(0, 0, 0, .78),
            rgba(0, 0, 0, .30)
        ),
        url("https://www.baw.com.ar/images/fi.webp")
        center / cover no-repeat;
}

.tarjeta {
    width: min(790px, 100%);
    padding: clamp(28px, 5vw, 54px);
    background: rgba(255, 255, 255, .97);
    border-top: 7px solid var(--naranja);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.superior {
    margin: 0 0 8px;
    color: var(--naranja-oscuro);
    font-size: .75rem;
    font-weight: bold;
    letter-spacing: .18em;
}

h1 {
    margin: 0;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.1;
}

.introduccion {
    margin: 14px 0 30px;
    color: var(--gris);
}

.columnas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 22px;
}

.campo {
    min-width: 0;
}

.campo.ancho {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 7px;
    font-size: .82rem;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--borde);
    border-radius: 0;
    color: #262626;
    background: white;
    font: inherit;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--naranja);
    outline: 3px solid rgba(245, 130, 32, .17);
}

.g-recaptcha {
    margin-top: 22px;
}

button,
.boton {
    display: inline-block;
    min-width: 220px;
    margin-top: 22px;
    padding: 15px 26px;
    border: 0;
    color: white;
    background: var(--naranja);
    cursor: pointer;
    font-size: .83rem;
    font-weight: bold;
    letter-spacing: .06em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

button:hover,
.boton:hover {
    background: var(--naranja-oscuro);
}

button:disabled {
    opacity: .65;
    cursor: wait;
}

.errores {
    margin-bottom: 24px;
    padding: 14px 16px;
    color: #701818;
    background: #fff0f0;
    border-left: 5px solid #a51f1f;
}

.errores ul {
    margin: 5px 0 0 18px;
    padding: 0;
}

.campo-trampa {
    position: absolute;
    left: -9999px;
}

footer {
    padding: 45px 20px;
    color: #eee;
    background: var(--negro);
}

.pie {
    width: min(1180px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 2fr 1fr 1fr;
    gap: 30px;
}

.pie img {
    width: 160px;
    max-width: 100%;
}

.pie h2 {
    margin: 0 0 12px;
    color: var(--naranja);
    font-size: .82rem;
}

.pie p {
    margin: 0;
    color: #ccc;
    font-size: .86rem;
}

.agradecimiento {
    text-align: center;
}

@media (max-width: 800px) {
    .navegacion {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        justify-content: flex-start;
        gap: 12px 18px;
    }

    .pie {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .portada {
        min-height: auto;
        padding: 35px 14px;
    }

    .tarjeta {
        padding: 28px 20px;
    }

    .columnas,
    .pie {
        grid-template-columns: 1fr;
    }

    .campo.ancho {
        grid-column: auto;
    }

    button {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(.88);
        transform-origin: left top;
    }
}