/* Landing webinar NZ · Chile — tokens: yma-context/Marca/design-tokens.css */
:root {
    --yma-magenta: #FF3366; --yma-turquoise: #00DBD0; --yma-violet: #6A3765; --yma-violet-dark: #291026;
    --violet-100: #E9D9E5; --bg-cream: #E8F4F3; --bg-paper: #FFFFFF;
    --text-ink: #18121A; --text-ink-2: #3A2F3C; --text-muted: #7A6E7C;
    --border-subtle: rgba(24,18,26,.09); --border-strong: rgba(24,18,26,.18);
    --state-ok: #1B9A6B; --state-danger: #FF3366;
    --cl-blue: #2242C6; --cl-red: #E3262F;
    --font-display: 'Outfit', system-ui, sans-serif; --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --radius-md: 12px; --radius-lg: 16px; --radius-xl: 22px; --radius-full: 999px;
    --shadow-md: 0 4px 14px rgba(41,16,38,.08); --shadow-lg: 0 12px 34px rgba(41,16,38,.14);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--text-ink-2); background: var(--bg-cream); overflow-x: hidden; }
h1, h2 { font-family: var(--font-display); font-weight: 700; color: var(--text-ink); line-height: 1.12; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--yma-turquoise); outline-offset: 2px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; background: var(--bg-paper); border-bottom: 1px solid var(--border-subtle); }
.logo img { height: 28px; width: auto; }
.top-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--yma-violet); background: var(--violet-100); padding: 6px 12px; border-radius: var(--radius-full); }
.top-badge img { width: 18px; height: 16px; }

/* Hero (fondo oscuro de marca) */
.hero { background: radial-gradient(135% 120% at 50% 116%, #8A5683 0%, #6A3765 52%, #5A2E55 100%); color: #fff; padding: 32px 0 36px; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(30px, 8.2vw, 44px); margin: 14px 0 12px; letter-spacing: -0.01em; }
.grad { color: var(--yma-turquoise); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: var(--radius-full); background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22); }
.eyebrow img { width: 20px; height: 18px; }
.lead { font-size: 16.5px; color: rgba(255,255,255,.88); max-width: 460px; margin: 0 auto 20px; }
.lead strong { color: #fff; }
.countdown { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--radius-xl); padding: 14px 12px 12px; margin: 0 auto 20px; max-width: 380px; }
.cd-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-grid div { background: #fff; color: var(--yma-violet-dark); border-radius: var(--radius-md); padding: 8px 0 6px; }
.cd-grid b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cd-grid span { font-size: 12px; color: var(--text-muted); font-weight: 600; }

/* Botones (pill, ≥44px) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 24px; border-radius: var(--radius-full); font-family: var(--font-sans); font-weight: 700; font-size: 16px; text-decoration: none; border: none; cursor: pointer; transition: transform 160ms var(--ease-out), filter 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--yma-magenta); color: #fff; box-shadow: 0 6px 18px rgba(255,51,102,.35); }
@media (hover: hover) { .btn-primary:hover { filter: brightness(1.05); } }
.btn-primary[disabled] { background: var(--violet-100); color: var(--text-muted); box-shadow: none; cursor: not-allowed; }
.btn-hero { min-width: 260px; }
.btn-full { width: 100%; }
.btn-sec { background: var(--yma-turquoise); color: var(--yma-violet-dark); box-shadow: 0 4px 14px rgba(0,219,208,.30); font-size: 14.5px; min-height: 44px; padding: 10px 16px; }
.btn-ghost { background: transparent; color: var(--text-ink); border: 1.5px solid var(--border-strong); font-size: 14.5px; min-height: 44px; padding: 10px 16px; }
.btn-gift { background: var(--yma-violet); color: #fff; box-shadow: 0 6px 18px rgba(106,55,101,.30); }

/* Eventos */
.events { padding: 24px 0 8px; }
.events .wrap { display: grid; gap: 12px; }
.event { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-paper); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-md); }
.event-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--violet-100); display: grid; place-items: center; font-size: 24px; }
.event--live .event-icon { background: rgba(255,51,102,.12); }
.event-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--yma-violet); margin-bottom: 4px; }
.event-tag--live { color: var(--yma-magenta); }
.event h2 { font-size: 19px; }
.event-tz { font-size: 14px; font-weight: 600; color: var(--cl-blue); margin: 2px 0 6px; }
.event p:last-child { font-size: 15px; color: var(--text-ink-2); }

/* Anfitriones */
.hosts { padding: 8px 0 0; }
.hosts-wrap { text-align: center; }
.hosts-img { width: 100%; max-width: 440px; margin: 0 auto; }
.hosts-text { font-size: 15.5px; max-width: 420px; margin: 4px auto 0; }

/* Formulario */
.signup { padding: 24px 0 40px; scroll-margin-top: 64px; }
.card { background: var(--bg-paper); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 20px; border: 1.5px solid var(--border-subtle); }
.gift { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, rgba(0,219,208,.14), rgba(255,51,102,.10)); border-radius: var(--radius-lg); padding: 12px 14px; margin-bottom: 18px; }
.gift-icon { font-size: 28px; }
.gift p { font-size: 15px; color: var(--text-ink); }
.card h2 { font-size: 24px; margin-bottom: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--text-ink); margin-bottom: 6px; }
.field input { width: 100%; min-height: 52px; padding: 12px 14px; font-size: 16px; font-family: var(--font-sans); color: var(--text-ink); background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); outline: none; transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.field input:focus { border-color: var(--yma-magenta); box-shadow: 0 0 0 3px rgba(255,51,102,.18); }
.field input.bad { border-color: var(--state-danger); }
.field input.ok { border-color: var(--yma-turquoise); }
.hint { display: block; font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.err { display: block; font-size: 13.5px; color: var(--state-danger); margin-top: 4px; min-height: 0; }
.iti { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* Éxito */
.done { text-align: center; }
.done-yomi { width: 110px; margin: 0 auto 8px; }
.done h2 { margin-bottom: 14px; }
.done-sub { font-weight: 700; color: var(--text-ink); margin: 18px 0 10px; }
.cal { display: grid; gap: 12px; text-align: left; }
.cal-row { display: grid; gap: 8px; background: var(--bg-cream); border-radius: var(--radius-lg); padding: 12px; }
.cal-row span { font-size: 15px; color: var(--text-ink); }
.link-ics { background: none; border: none; color: var(--yma-violet); font: 600 14.5px var(--font-sans); text-decoration: underline; cursor: pointer; min-height: 44px; }

.foot { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 24px 20px 32px; font-size: 13.5px; color: var(--text-muted); }
.foot a { color: var(--yma-violet); font-weight: 600; }

@media (min-width: 720px) {
    .wrap { max-width: 640px; }
    .cal-row { grid-template-columns: 1fr auto auto; align-items: center; }
}

/* Formulario en violeta (variante B elegida 2026-10-01 · _variantes-color-formulario.html) */
.card { background: radial-gradient(135% 120% at 50% 116%, #8A5683 0%, #6A3765 52%, #5A2E55 100%); border: 3px solid rgba(255,255,255,.18); border-radius: 22px; box-shadow: 0 12px 34px rgba(41,16,38,.16); color: #fff; }
.card h2, .card .field label, .card .gift p { color: #fff; }
.card .gift { background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22); }
.card .hint, .card .fine { color: rgba(255,255,255,.75); }
.card .err { color: #FFB3C4; }
.card .field input { border-color: transparent; }
.card .field input.bad { border-color: #FF8FA8; }
.card .iti { color: var(--text-ink); }
.card .done-sub { color: #fff; }
.card .btn-gift { background: #fff; color: var(--yma-violet-dark); box-shadow: 0 6px 18px rgba(20,6,18,.30); }
.card .link-ics { color: #fff; }

/* Interruptor de edad 18-35 (2026-10-01, reemplaza el campo numérico) */
.field .switch { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,.10); border: 1.5px solid rgba(255,255,255,.22); cursor: pointer; font-weight: 500 !important; font-size: 15.5px !important; margin-bottom: 0 !important; -webkit-tap-highlight-color: transparent; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { flex-shrink: 0; position: relative; width: 50px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.28); transition: background 180ms var(--ease-out); }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20,6,18,.30); transition: transform 180ms var(--ease-out); }
.switch input:checked + .switch-track { background: var(--yma-turquoise); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--yma-turquoise); outline-offset: 2px; }
.switch-text strong { color: #fff; }
.field-switch .switch:has(input.bad) { border-color: #FF8FA8; }
@media (prefers-reduced-motion: reduce) { .switch-track, .switch-knob { transition: none; } }
