/* ==========================================================================
   Campaña OES 2026 - "Es momento de donar Subs y sonrisas"
   Se carga después de main.css y sobreescribe el tema anterior.
   Las piezas gráficas (título, textos, fecha y logos) son los assets del cliente.
   ========================================================================== */

@font-face {
    font-family: "SubwaySansLCG";
    src: url("../fonts/SubwaySansLCG-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SubwaySansLCG";
    src: url("../fonts/SubwaySansLCG-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SubwaySansCond";
    src: url("../fonts/SubwaySansCond-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SubwaySansCond";
    src: url("../fonts/SubwaySansCond-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --oes-amarillo: #f7e02b;
    --oes-verde: #034724;
    --oes-blanco: #ffffff;
}

/* Fondo
   ========================================================================== */

body.oes2026 {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "SubwaySansCond", "Subway-Sans-Cond", Arial, sans-serif;
    font-weight: 500;
    color: var(--oes-blanco);
    background: #066534;
}

/* Capa fija: el fondo (con adornos en los bordes) queda quieto al hacer scroll.
   Se usa en lugar de background-attachment: fixed, que falla en iOS. */
body.oes2026::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: #066534 url("../img/fondo2026.jpg") center / cover no-repeat;
}

.oes2026 img {
    max-width: 100%;
    height: auto;
}

/* Encabezado
   ========================================================================== */

.oes-hero {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 16px 0;
    text-align: center;
}

.oes-hero > * {
    display: block;
    margin: 0 auto;
}

.oes-titulo {
    max-width: 560px;
    margin-bottom: 28px;
}

.oes-titulo img {
    width: 100%;
}

.oes-dona {
    width: 520px;
}

.oes-ninos {
    width: 640px;
    margin-top: 18px;
    margin-bottom: 18px;
}

.oes-fiesta {
    width: 440px;
}

/* Panel del formulario
   ========================================================================== */

.oes2026 form.oes-panel {
    max-width: 760px;
    margin: 36px auto 0;
    padding: 32px 32px 36px;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: rgba(3, 52, 26, 0.62);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.oes-duplica {
    display: block;
    width: 380px;
    margin: 0 auto 24px;
}

.oes2026 form label {
    display: block;
    padding-bottom: 8px;
    font-weight: 500;
    font-size: 19px;
    line-height: 1.2;
}

.oes2026 form input.form-control {
    height: 48px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: "SubwaySansLCG", Arial, sans-serif;
    font-size: 18px;
    color: var(--oes-verde);
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.oes2026 form input.form-control:focus {
    border-color: var(--oes-amarillo);
    box-shadow: 0 0 0 3px rgba(247, 224, 43, 0.45);
}

/* Contadores de puntos (solo lectura) */
.oes2026 form input.oes-contador,
.oes2026 form input.oes-contador[readonly] {
    height: 56px;
    border: 2px solid rgba(247, 224, 43, 0.7);
    background: rgba(255, 255, 255, 0.08);
    font-family: "SubwaySansCond", Arial, sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--oes-amarillo);
    box-shadow: none;
}

.oes-sep {
    margin: 8px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* !important: Donacion/css/main.css fuerza "p { color: white !important }" */
.oes2026 form .pDatos {
    margin-bottom: 4px;
    padding: 0;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.02em;
    color: var(--oes-amarillo) !important;
}

.oes2026 form .oes-tipo {
    margin-bottom: 16px;
    font-size: 19px;
}

.oes-radios {
    display: flex;
    justify-content: center;
    gap: 8px 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.oes2026 .oes-radios input[type="radio"] + label {
    display: inline-block;
    margin: 0;
    padding: 0 0 0 30px;
    font-size: 20px;
    line-height: 22px;
}

.oes2026 .oes-radios input[type="radio"] + label:before,
.oes2026 .oes-radios input[type="radio"] + label:after {
    width: 22px;
    height: 22px;
    border: 2px solid var(--oes-blanco);
}

.oes2026 .oes-radios input[type="radio"] + label:before {
    box-shadow: inset 0 0 0 4px var(--oes-verde), inset 0 0 0 11px var(--oes-verde);
}

.oes2026 .oes-radios input[type="radio"] + label:hover:before {
    box-shadow: inset 0 0 0 4px var(--oes-verde), inset 0 0 0 11px rgba(255, 255, 255, 0.35);
}

.oes2026 .oes-radios input[type="radio"]:checked + label:before {
    box-shadow: inset 0 0 0 4px var(--oes-verde), inset 0 0 0 11px var(--oes-amarillo);
}

.oes-acciones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.oes2026 form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 190px;
    height: 54px;
    margin: 0;
    padding: 0 28px;
    border: 2px solid var(--oes-amarillo);
    border-radius: 999px;
    font-family: "SubwaySansCond", Arial, sans-serif;
    font-weight: 900;
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--oes-verde);
    background-color: var(--oes-amarillo);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.oes2026 form .btn:hover,
.oes2026 form .btn:focus {
    color: var(--oes-verde);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.oes2026 form .btn.oes-btn-secundario {
    color: var(--oes-blanco);
    border-color: var(--oes-blanco);
    background-color: transparent;
}

.oes2026 form .btn.oes-btn-secundario:hover,
.oes2026 form .btn.oes-btn-secundario:focus {
    color: var(--oes-verde);
    background-color: var(--oes-blanco);
}

/* Paso 2: registro de la donación
   ========================================================================== */

.oes-hero--compacto .oes-titulo {
    max-width: 420px;
    margin-bottom: 0;
}

.oes2026 .oes-nombre h2 {
    margin: 0 0 20px;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.1;
    color: var(--oes-blanco);
}

.oes2026 .oes-nombre h2:empty {
    display: none;
}

.oes2026 form input.oes-donacion {
    border-color: var(--oes-amarillo);
    font-family: "SubwaySansCond", Arial, sans-serif;
    font-weight: 900;
    font-size: 24px;
}

.oes-sep--abajo {
    margin: 32px 0 20px;
}

.oes-equivalencia {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 24px;
    border-collapse: collapse;
    color: var(--oes-blanco);
}

.oes-equivalencia th,
.oes-equivalencia td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    text-align: center;
}

.oes-equivalencia th {
    font-weight: 500;
    font-size: 19px;
}

.oes-equivalencia td {
    font-family: "SubwaySansLCG", Arial, sans-serif;
    font-size: 20px;
}

.oes-equivalencia td:last-child {
    font-weight: 700;
    color: var(--oes-amarillo);
}

.oes2026 .oes-gracias {
    margin: 0;
    font-weight: 900;
    font-size: 30px;
    line-height: 1.1;
    color: var(--oes-amarillo) !important;
}

/* Fecha límite y logos
   ========================================================================== */

.oes-cierre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    max-width: 760px;
    margin: 40px auto 0;
    padding: 0 16px;
}

.oes-fecha {
    width: 340px;
}

.oes-logos {
    width: 340px;
}

.oes-legal {
    padding: 32px 16px 24px;
    text-align: center;
}

.oes2026 .oes-legal p {
    margin: 0;
    font-size: 14px;
    opacity: 0.85;
}

/* Responsive
   ========================================================================== */

@media (max-width: 767px) {
    .oes-hero {
        padding-top: 28px;
    }

    .oes-titulo {
        margin-bottom: 20px;
    }

    .oes-ninos {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .oes2026 form.oes-panel {
        width: auto;
        margin: 28px 16px 0;
        padding: 24px 16px 28px;
        border-radius: 18px;
    }

    .oes-cierre {
        flex-direction: column;
        justify-content: center;
        gap: 24px;
    }

    .oes-fecha,
    .oes-logos {
        width: 300px;
    }
}

@media (max-width: 400px) {
    .oes2026 form .btn {
        width: 100%;
    }
}
