/* =========================
   VARIABLES & BASE
========================= */
:root {
    --azul-oscuro: #0b2a7a;
    --azul: #1141b5;
    --celeste: #00b6f0;
    --acento: #ffd84d;
    --gris-borde: #dfe5f0;
    --sombra: 0 18px 40px rgba(0, 0, 0, .18);
    --ink: #0e1730;
    --muted: #6b7b8f;
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

/* =========================
   HERO
========================= */
.lp-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
}

/* Fondo degradado */
.lp-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--celeste) 0%, #0d4db6 55%, #043b99 100%);
    z-index: -3;
}

/* Cinta diagonal */
.lp-hero__ribbon {
    position: absolute;
    inset: 0 0 0 auto;
    width: 54%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06));
    clip-path: polygon(55% 0, 100% 0, 100% 100%, 20% 100%);
    z-index: -2;
}

/* Contenedor */
.wrap {
    width: min(1200px, 92%);
    margin-inline: auto;
    display: grid;
    gap: 28px;
    align-items: center;
    grid-template-columns: 1.1fr .9fr;
    padding: 28px 0;
}

/* =========================
   IZQUIERDA (Otito + textos)
========================= */
.lp-left {
    display: flex;
    align-items: center;
    gap: 24px
}

.lp-mascot img {
    width: 900px;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25));
    animation: ottoFloat 3.5s ease-in-out infinite;
}

@keyframes ottoFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.lp-copy {
    animation: fadeUp 1s ease both
}

.lp-copy h1 {
    margin: 0 0 .8rem 0;
    font-weight: 900;
    line-height: 1.05;
    font-size: clamp(28px, 3.4vw, 46px);
    color: #fff;
}

.lp-copy strong {
    color: #fff
}

.lp-copy .accent {
    color: var(--acento)
}

.lp-cta {
    display: inline-block;
    margin-top: .4rem;
    background: #0e1730;
    color: #fff;
    text-decoration: none;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
    transition: transform .2s ease, filter .2s ease;
    animation: fadeUp 1.5s ease both;
}

.lp-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.05)
}

/* =========================
   FORMULARIO
========================= */
.lp-form {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    border: 1px solid var(--gris-borde);
    box-shadow: var(--sombra);
    padding: 18px 18px 14px;
    animation: fadeUp 1s ease both;
}

.lp-form h3 {
    margin: .25rem 0 1rem 0;
    text-align: center;
    font-weight: 900;
    color: var(--ink);
    font-size: 1.05rem;
}

.form-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: 1fr 1fr;
}

.form-grid input,
.form-grid select {
    width: 100%;
    height: 40px;
    padding: .5rem .7rem;
    border: 1px solid #d7dce3;
    border-radius: 10px;
    font-size: .92rem;
    outline: none;
    background: #fff;
}

/* =========================
   CHECKBOX + BOTÓN (corregido)
========================= */
.check {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--ink);
    margin-top: 0.25rem;
}

/* Cuadros más pequeños y alineados */
.check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 0;
    flex-shrink: 0;
    accent-color: #1141b5;
    cursor: pointer;
}

.lp-submit {
    grid-column: 1 / -1;
    justify-self: end;
    background: #1141b5;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 1.1rem;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 5px 12px rgba(17, 65, 181, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    animation: fadeUp 1.5s ease both;
}

.lp-submit:hover {
    background: #3264f0;
    transform: translateY(-1px);
}

.lp-legal {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
    margin-top: 0.35rem;
}

/* =========================
   SECCIÓN: ¿QUIÉN ES OTITO? centrado y con aire
========================= */
.otito-about {
    background: #fff;
    padding: 100px 0;
    border-top: 1px solid #eef2f6;
}

.otito-about .wrap-about {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

/* Contenedor de texto centrado */
.otito-text {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.otito-about h3 {
    margin: 0 0 0.8rem;
    font-weight: 900;
    color: #0b2a7a;
    font-size: 2rem;
    animation: fadeUp 0.8s ease both;
}

.otito-about p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    animation: fadeUp 1s ease both;
}

/* Imagen centrada visualmente */
.otito-mini {
    text-align: center;
    animation: fadeUp 1.2s ease both;
}

.otito-mini img {
    width: 300px;
    height: auto;
    animation: ottoFloat 3.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .otito-about {
        padding: 80px 0;
    }

    .otito-about .wrap-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .otito-text {
        max-width: 90%;
        text-align: center;
    }

    .otito-mini img {
        width: 180px;
    }
}

/* =========================
   SECCIÓN: BENEFICIOS
========================= */
.otito-benefits {
    background: #f6f9ff;
    padding: 60px 0;
    border-top: 1px solid #e0e6f0;
    text-align: center;
}

.otito-benefits h3 {
    margin-bottom: 1rem;
    font-weight: 900;
    color: #0b2a7a;
    font-size: 1.7rem;
    animation: fadeUp 0.8s ease both;
}

.b-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 720px;
    display: grid;
    gap: 0.8rem;
    text-align: left;
}

.b-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
    color: #222;
    line-height: 1.5;
    animation: fadeUp 1s ease both;
}

.b-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd84d;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .wrap {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .lp-left {
        flex-direction: column;
        text-align: center
    }

    .lp-mascot img {
        width: 240px
    }

    .lp-form {
        max-width: 640px;
        margin-inline: auto
    }

    .otito-about .wrap-about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .otito-mini img {
        width: 140px;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .lp-mascot img {
        width: 200px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .lp-submit {
        justify-self: stretch
    }
}