:root {
    --azul: #072a61;
    --azul-claro: #eef4fb;
    --rojo: #ed1b24;
    --texto: #142033;
    --gris: #667085;
    --borde: #d7e0eb;
    --blanco: #ffffff;
    --verde: #137333;
    --fondo-verde: #e7f6ec;
    --fondo-rojo: #fdecec;
    --sombra: 0 14px 35px rgba(7, 42, 97, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--texto);
    background: #f4f7fb;
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
}

.site-header {
    min-height: 112px;
    padding: 22px 4%;
    background: var(--blanco);
    border-bottom: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--azul);
    font-weight: 700;
}

.brand-mark {
    color: var(--rojo);
    font-size: 44px;
    line-height: 1;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -4px;
}

.brand-name {
    font-size: 21px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--azul);
    font-weight: 700;
}

.main-nav a {
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--rojo);
}

.user-name {
    color: var(--gris);
    font-weight: 400;
}

.page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 56px 0 72px;
}

.hero-small {
    text-align: center;
    margin: 10px auto 42px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--rojo);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-small h1 {
    margin: 0;
    color: var(--azul);
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
}

.hero-small > p:last-child {
    margin: 24px auto 0;
    max-width: 800px;
    font-size: 20px;
    line-height: 1.6;
}

.card {
    padding: 42px;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 24px;
    box-shadow: var(--sombra);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

.full {
    grid-column: 1 / -1;
}

label,
legend {
    display: block;
    margin-bottom: 10px;
    color: var(--azul);
    font-size: 18px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 58px;
    padding: 13px 16px;
    color: var(--texto);
    background: var(--blanco);
    border: 1px solid #b9c7d8;
    border-radius: 12px;
    font: inherit;
    font-size: 17px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(7, 42, 97, 0.12);
    border-color: var(--azul);
}

input:disabled,
select:disabled {
    color: #8a94a3;
    background: #f2f4f7;
    cursor: not-allowed;
}

.help {
    margin: 8px 0 0;
    color: var(--gris);
    font-size: 14px;
    line-height: 1.5;
}

.btn {
    min-height: 56px;
    padding: 14px 28px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    color: var(--blanco);
    background: var(--rojo);
}

.btn-primary:hover {
    background: #c90008;
}

.btn-secondary {
    color: var(--blanco);
    background: var(--azul);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.alert {
    margin: 0 0 26px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 700;
}

.alert-success {
    color: var(--verde);
    background: var(--fondo-verde);
}

.alert-error {
    color: #a40000;
    background: var(--fondo-rojo);
}

.slot-message {
    margin-top: 10px;
    color: var(--gris);
    font-size: 15px;
}

.table-wrap {
    overflow-x: auto;
    background: var(--blanco);
    border: 1px solid var(--borde);
    border-radius: 16px;
    box-shadow: var(--sombra);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--borde);
    text-align: left;
    white-space: nowrap;
}

th {
    color: var(--azul);
    background: var(--azul-claro);
}

.site-footer {
    padding: 30px 20px;
    color: var(--gris);
    background: var(--blanco);
    border-top: 1px solid var(--borde);
    text-align: center;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .site-header {
        min-height: 100px;
        padding: 20px 5%;
    }

    .brand-name {
        display: none;
    }

    .brand-mark {
        font-size: 40px;
    }

    .main-nav {
        gap: 12px;
        font-size: 15px;
    }

    .page {
        width: min(100% - 28px, 680px);
        padding: 42px 0 56px;
    }

    .hero-small {
        margin-bottom: 32px;
    }

    .hero-small h1 {
        font-size: 43px;
    }

    .hero-small > p:last-child {
        font-size: 18px;
    }

    .eyebrow {
        font-size: 15px;
        letter-spacing: 3px;
    }

    .card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .full {
        grid-column: auto;
    }

    input,
    select,
    textarea {
        min-height: 58px;
        font-size: 16px;
    }

    .btn {
        width: 100%;
    }
}
.confirmation-table th {
    width: 48%;
}

.confirmation-table td {
    width: 52%;
}

.confirmation-table th,
.confirmation-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 760px) {
    .confirmation-table {
        table-layout: fixed;
    }

    .confirmation-table th,
    .confirmation-table td {
        padding: 13px 12px;
        font-size: 15px;
    }
}