@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../images/archivo-600.ttf') format('truetype')
}

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../images/archivo-800.ttf') format('truetype')
}

:root {
    --navy: #0B1D3A;
    --navy2: #16305A;
    --line: #1F3763;
    --accent: #4F8CFF;
    --accent-text: #8DB4FF;
    --accent-dark: #2F66D9;
    --white: #FFFFFF;
    --soft: #D5DDEB;
    --muted: #B8C4D9;
    --ink-soft: #44526B;
    --border: #D3DAE6;
    --brand-blue: #0E6EF5;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--navy);
    color: var(--white);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.5
}

h1,
h2,
h3 {
    font-family: 'Archivo', 'Inter', system-ui, sans-serif;
    font-weight: 800;
    margin: 0;
    line-height: 1.1
}

a {
    color: var(--accent-text)
}

a:hover {
    color: var(--white)
}

.light a {
    color: var(--accent-dark)
}

.light a:hover {
    color: var(--navy)
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px
}

header {
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--brand-blue);
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap
}

.brand:hover {
    color: var(--accent-dark)
}

.brand:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 6px;
    border-radius: 4px
}

.brand img {
    display: block;
    width: 48px;
    height: 48px
}

.tag {
    font-size: 14px;
    color: var(--ink-soft)
}

.hero {
    padding: 40px 0 88px
}

.hero .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: flex-start
}

.hero-copy {
    flex: 1 1 520px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px
}

.pill {
    align-self: flex-start;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-text)
}

h1 {
    font-size: clamp(32px, 4.6vw, 54px)
}

.lead {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--soft);
    margin: 0
}

.bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 17px;
    margin: 0;
    padding: 0;
    list-style: none
}

.bullets li {
    display: flex;
    gap: 12px;
    align-items: center
}

.bullets li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0
}

.card {
    flex: 0 1 440px;
    min-width: min(100%, 300px);
    background: var(--white);
    color: var(--navy);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.card h2 {
    font-size: 26px
}

.card .sub {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field label {
    font-size: 14px;
    font-weight: 600
}

.field input[type=text],
.field input[type=email] {
    height: 48px;
    border: 1px solid #A9B4C7;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 16px;
    font-family: inherit;
    width: 100%
}

.field input:focus {
    outline: 3px solid var(--accent);
    outline-offset: 1px
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-soft)
}

.check input {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    flex-shrink: 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 36px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: var(--navy);
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none
}

.btn:hover {
    background: #6FA0FF;
    color: var(--navy)
}

.btn:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 2px
}

.small {
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    margin: 0
}

.light {
    background: var(--white);
    color: var(--navy);
    padding: 88px 0
}

.light h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    margin-bottom: 12px
}

.light .intro {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 0 40px;
    max-width: 760px
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.item .n {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: var(--accent-dark)
}

.item h3 {
    font-size: 22px
}

.item p {
    margin: 0;
    font-size: 16px;
    color: var(--ink-soft)
}

.speaker {
    padding: 88px 0
}

.speaker .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center
}

.photo {
    flex: 0 0 280px;
    width: 280px;
    height: 320px;
    border-radius: 16px;
    background: var(--navy2);
    border: 1px dashed #5A7099;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 15px;
    color: var(--muted)
}

img.photo {
    padding: 0;
    border: 0;
    display: block;
    object-fit: cover;
    object-position: 50% 30%;
    background: var(--navy2)
}

.speaker-copy {
    flex: 1 1 440px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-text)
}

.speaker-copy h2 {
    font-size: clamp(28px, 3.6vw, 38px)
}

.speaker-copy p {
    margin: 0;
    font-size: 18px;
    color: var(--soft)
}

.faq {
    max-width: 860px
}

.faq h2 {
    margin-bottom: 28px
}

details {
    border-top: 1px solid var(--border);
    padding: 20px 0
}

details:last-of-type {
    border-bottom: 1px solid var(--border)
}

summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    align-items: center
}

summary h3 {
    font-size: 20px
}

summary::-webkit-details-marker {
    display: none
}

summary::after {
    content: "+";
    font-size: 26px;
    color: var(--accent-dark);
    flex-shrink: 0
}

details[open] summary::after {
    content: "–"
}

details p {
    margin: 10px 0 0;
    font-size: 16px;
    color: var(--ink-soft)
}

.final {
    padding: 88px 0;
    text-align: center
}

.final .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px
}

.final h2 {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 760px
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    font-size: 13px;
    color: var(--muted)
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center
}

fieldset.sesion {
    border: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

fieldset.sesion legend {
    font-size: 14px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 6px
}

.opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.opt {
    position: relative
}

.opt input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer
}

.opt span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 64px;
    border: 2px solid #A9B4C7;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
    color: var(--ink-soft);
    text-align: center
}

.opt span b {
    font-family: 'Archivo', sans-serif;
    font-size: 20px;
    color: var(--navy)
}

.opt input:checked+span {
    border-color: var(--accent-dark);
    background: #EAF1FF
}

.opt input:focus-visible+span {
    outline: 3px solid var(--accent);
    outline-offset: 2px
}

.err {
    display: none;
    font-size: 13px;
    color: #B3261E;
    margin: 0
}

.err.show {
    display: block
}

#webinar-gracias {
    display: none
}

.thanks {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center
}

.check-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center
}

.thanks h1 {
    font-size: clamp(32px, 5vw, 48px)
}

.when {
    width: 100%;
    background: var(--white);
    color: var(--navy);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center
}

.when .k {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft)
}

.when .d {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.15
}

.when .s {
    font-size: 16px;
    color: var(--ink-soft)
}

.when .btn {
    margin-top: 14px;
    height: auto;
    min-height: 52px;
    padding: 12px 20px;
    font-size: 17px
}

.calendario-opciones {
    width: 100%;
    max-width: 360px;
    border: 0;
    padding: 0
}

.calendario-opciones summary {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none
}

.calendario-opciones summary::after {
    content: none
}

.calendario-opciones summary::-webkit-details-marker {
    display: none
}

.calendario-lista {
    display: grid;
    gap: 8px;
    margin-top: 12px
}

.calendario-opcion {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer
}

.calendario-opcion:hover {
    background: #EAF1FF;
    color: var(--navy);
    border-color: var(--accent-dark)
}

.calendario-opcion:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px
}

.next {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--line)
}

.next h2 {
    max-width: 560px;
    font-size: 24px;
    line-height: 1.25
}

.next p {
    margin: 0;
    max-width: 480px;
    font-size: 17px;
    color: var(--soft)
}

.next .btn {
    align-self: center;
    margin-top: 8px;
    height: auto;
    min-height: 56px;
    padding: 12px 20px
}

.next .next-condiciones {
    font-size: 14px;
    color: var(--muted)
}

body.done #landing {
    display: none
}

body.done #webinar-gracias {
    display: block
}

@media (max-width:900px) {
    .grid.three {
        grid-template-columns: 1fr
    }
}

@media (max-width:760px) {
    .grid {
        grid-template-columns: 1fr
    }

    .light,
    .speaker,
    .final {
        padding: 56px 0
    }

    .photo {
        flex: 1 1 100%;
        width: 100%;
        height: 220px
    }

    .card {
        padding: 24px
    }

    header .wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px
    }
}

[hidden] {
    display: none !important
}

.trampa {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

#formulario-estado {
    font-size: 13px;
    margin: 0;
    color: var(--ink-soft)
}

#formulario-estado:empty {
    display: none
}

#formulario-estado[data-error=true] {
    color: #B3261E
}

.card .check a {
    color: var(--accent-dark)
}

.card .check a:hover {
    color: var(--navy)
}

.btn:disabled {
    opacity: .65;
    cursor: wait
}

.opt input:disabled+span {
    opacity: .5
}

.btn {
    max-width: 100%;
    min-height: 56px;
    height: auto;
    text-align: center
}

.when .btn {
    min-height: 52px;
    height: auto
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}