:root {
    --violet-950: #12051d;
    --violet-900: #1b0929;
    --violet-800: #29113d;
    --violet-700: #3a1954;
    --gold: #ffd35c;
    --gold-2: #f1a93d;
    --ivory: #fff8df;
    --text: #fffaf0;
    --muted: rgba(255, 250, 240, .74);
    --line: rgba(255, 211, 92, .28);
    --line-soft: rgba(255, 255, 255, .1);
    --danger: #ffb4a8;
    --shadow: 0 28px 90px rgba(0, 0, 0, .36);
    --radius: 10px;
    --container: 1180px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    font-family: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 8%, rgba(255, 211, 92, .12), transparent 24rem),
        radial-gradient(circle at 8% 44%, rgba(111, 63, 157, .32), transparent 28rem),
        linear-gradient(180deg, #10041a 0%, var(--violet-950) 48%, #0d0415 100%);
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .18;
    mix-blend-mode: soft-light;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 5px);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px max(22px, calc((100vw - var(--container)) / 2));
    border-bottom: 1px solid rgba(255, 211, 92, .14);
    background: rgba(18, 5, 29, .84);
    backdrop-filter: blur(18px);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ivory);
    font-size: clamp(1.08rem, 2vw, 1.55rem);
    font-weight: 900;
    text-decoration: none;
}

.public-brand strong { color: var(--gold); }
.public-brand__mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.7rem;
    box-shadow: 0 0 28px rgba(255, 211, 92, .12);
}

.public-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    color: rgba(255, 250, 240, .82);
    font-size: .9rem;
    font-weight: 800;
}

.public-nav a {
    text-decoration: none;
}

.public-login {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ivory);
    background: rgba(255,255,255,.04);
}

.hero {
    position: relative;
    isolation: isolate;
    max-width: var(--container);
    min-height: calc(100svh - 76px);
    margin: 0 auto;
    padding: clamp(44px, 7vw, 92px) 22px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(18,5,29,.96), rgba(18,5,29,.62) 42%, rgba(18,5,29,.18)),
        url("../img/hero-cinematic.webp") center / cover no-repeat;
    opacity: .78;
    mask-image: linear-gradient(180deg, black 72%, transparent);
}

.hero__glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(14px);
    opacity: .34;
    z-index: -1;
}

.hero__glow--one { left: -110px; top: 24px; background: radial-gradient(circle, #6f3f9d, transparent 68%); }
.hero__glow--two { right: 70px; bottom: 30px; background: radial-gradient(circle, var(--gold), transparent 70%); opacity: .2; }

.hero__content h1 {
    max-width: 800px;
    margin: 12px 0 4px;
    color: var(--gold);
    font-size: clamp(3.2rem, 8vw, 8.4rem);
    line-height: .86;
    font-weight: 950;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-wrap: balance;
}

.overline {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.claim {
    margin: 16px 0 18px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.03em;
}

.lead {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 211, 92, .32);
    background: rgba(255, 211, 92, .11);
    color: var(--gold);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 850;
    font-size: .86rem;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

button,
.cta {
    border: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--gold), #ffe996 48%, var(--gold-2));
    color: #1a0825;
    text-decoration: none;
    border-radius: var(--radius);
    padding: 16px 22px;
    font-weight: 950;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 18px 34px rgba(255, 211, 92, .24);
    transition: transform .18s var(--ease), box-shadow .18s ease;
}

button:hover,
.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(255, 211, 92, .34);
}

.cta--ghost {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: none;
}

.cta--light { background: #fff; color: var(--violet-950); }

.trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.trust-row span {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--muted);
    font-weight: 650;
}

.trust-row strong { color: #fff; }

.form-card {
    background:
        radial-gradient(circle at 80% 0, rgba(255, 211, 92, .18), transparent 13rem),
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
    color: var(--text);
    border: 1px solid rgba(255, 211, 92, .32);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.form-card__topline {
    color: var(--gold);
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: 12px;
}

.form-card h2 {
    margin: 0 0 8px;
    color: var(--ivory);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1;
}

.form-card p { color: var(--muted); margin-top: 0; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 800; }

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 14px 15px;
    outline: none;
    background: rgba(255, 255, 255, .08);
    color: var(--text);
}

input::placeholder,
textarea::placeholder { color: rgba(255, 250, 240, .45); }

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(255, 211, 92, .14);
}

.check {
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
}

.check input { margin-top: 5px; }
.hp { position: absolute; left: -99999px; opacity: 0; }

.alert {
    background: rgba(255, 180, 168, .14);
    color: #ffd7d1;
    border: 1px solid rgba(255, 180, 168, .32);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-weight: 800;
}

.form-note { font-size: .92rem; margin: 14px 0 0; }

.landing-image {
    display: block;
    width: 100%;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.landing-image--hero {
    margin-top: 28px;
    max-width: 760px;
    aspect-ratio: 16 / 9;
}

.landing-image--feature {
    min-height: 360px;
    align-self: stretch;
}

.landing-image--authority {
    max-height: 360px;
    margin: 22px 0;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(58px, 8vw, 100px) 22px;
}

.section h2 {
    margin: 14px 0;
    color: var(--ivory);
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    line-height: .98;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.section p {
    color: var(--muted);
    font-size: 1.06rem;
}

.objective-section,
.promise-section,
.method-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.objective-card,
.promise-card,
.authority,
.faq,
.content-section {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 80% 0, rgba(255, 211, 92, .08), transparent 12rem),
        rgba(255,255,255,.045);
    box-shadow: 0 18px 60px rgba(0,0,0,.2);
}

.objective-card,
.promise-card {
    padding: 28px;
}

.objective-card--main,
.promise-card {
    border-color: rgba(255, 211, 92, .28);
}

.clean-list,
.faq p {
    color: var(--muted);
}

.clean-list {
    margin: 18px 0 0;
    padding-left: 18px;
}

.clean-list li + li {
    margin-top: 10px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.check-grid,
.feature-grid,
.method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.check-grid article,
.feature-grid article,
.method-grid article {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(255,255,255,.045);
}

.check-grid span,
.step-number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    color: var(--violet-950);
    background: var(--gold);
    border-radius: 50%;
    font-weight: 950;
}

.method-grid strong {
    display: block;
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.method-grid span {
    color: var(--muted);
}

.promise-section--solo {
    grid-template-columns: 1fr;
}

.authority,
.faq,
.content-section {
    padding: 30px;
}

.authority {
    text-align: center;
}

.authority .landing-image {
    max-width: 720px;
    margin-inline: auto;
}

.faq details {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
}

.faq summary {
    cursor: pointer;
    color: var(--ivory);
    font-weight: 900;
}

.final-cta {
    max-width: 1120px;
    margin: 20px auto 80px;
    padding: clamp(38px, 6vw, 70px) 22px;
    text-align: center;
    border: 1px solid rgba(255, 211, 92, .34);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 0, rgba(255, 211, 92, .16), transparent 18rem),
        linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    box-shadow: var(--shadow);
}

.final-cta__badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--gold);
    border: 1px solid var(--line);
    background: rgba(255,211,92,.1);
}

.final-cta h2 {
    margin: 12px auto;
    max-width: 820px;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: .98;
}

.final-cta p {
    max-width: 640px;
    margin: 0 auto 24px;
    color: var(--muted);
}

.user-panel {
    min-height: 100svh;
}

.user-panel__main {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(54px, 8vw, 96px) 0;
}

.script-accent {
    margin: 0 0 10px;
    color: var(--gold);
    font-family: "Great Vibes", cursive;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.user-hero {
    max-width: 820px;
    margin-bottom: 34px;
}

.user-hero h1 {
    margin: 0;
    color: var(--gold);
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: .9;
    text-transform: uppercase;
}

.user-hero p {
    color: var(--muted);
    font-size: 1.08rem;
}

.user-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.user-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: rgba(255,255,255,.045);
}

.user-card span {
    color: var(--gold);
    font-weight: 950;
}

.user-card h2 {
    color: var(--ivory);
    margin: 10px 0;
}

.user-card p {
    color: var(--muted);
}

.user-role {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--gold) !important;
}

@media (max-width: 980px) {
    .hero,
    .objective-section,
    .promise-section,
    .method-section {
        grid-template-columns: 1fr;
    }

    .form-card {
        max-width: 620px;
    }

    .check-grid,
    .feature-grid,
    .method-grid,
    .user-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .public-header {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 16px;
    }

    .public-nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: .82rem;
    }

    .public-login {
        padding-inline: 14px;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .hero::before {
        opacity: .44;
        background-position: 62% top;
    }

    .hero__content h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .hero-actions,
    .trust-row {
        display: grid;
    }

    .cta,
    button {
        width: 100%;
    }

    .form-card {
        padding: 22px;
    }

    .check-grid,
    .feature-grid,
    .method-grid,
    .user-card-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .final-cta {
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Curiosamente v0.4.4 — logo institucional */
.public-brand__mark img {
    width: 78%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: sepia(1) saturate(1.45) hue-rotate(352deg) brightness(1.14);
}


/* Curiosamente v0.4.7 — agenda visible del vivo y del taller */
.event-schedule {
    padding-top: clamp(42px, 6vw, 72px);
    padding-bottom: clamp(42px, 6vw, 72px);
}

.section-heading--compact {
    max-width: 780px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading--compact h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

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

.schedule-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid rgba(255, 211, 92, .28);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 211, 92, .12), transparent 13rem),
        linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    box-shadow: var(--shadow);
}

.schedule-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -48px;
    bottom: -62px;
    border: 1px solid rgba(255, 211, 92, .14);
    border-radius: 50%;
}

.schedule-card__type {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 211, 92, .4);
    border-radius: 999px;
    color: var(--gold);
    background: rgba(255, 211, 92, .08);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.schedule-card h3 {
    margin: 0 0 12px;
    color: var(--ivory);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.05;
}

.schedule-card p {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.4;
}

.schedule-card__note {
    display: block;
    max-width: 38ch;
    color: var(--muted);
    line-height: 1.55;
}

.landing-image[src*="taller-mente-cerebro"] {
    object-position: center;
}

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

    .schedule-card {
        min-height: 0;
    }
}

/* Curiosamente v0.4.9 — consentimiento legal, vivo y cuenta regresiva */
.check a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.schedule-card--live {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.schedule-card--live h3 {
    max-width: 26ch;
    margin-inline: auto;
}

.schedule-card--live p {
    text-align: center;
}

.event-countdown {
    width: min(100%, 410px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 12px auto 10px;
    padding: 10px;
    border: 1px solid rgba(255, 211, 92, .3);
    border-radius: 16px;
    background: rgba(12, 3, 22, .4);
}

.event-countdown > span {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 9px 3px;
    border-radius: 10px;
    background: rgba(255,255,255,.05);
}

.event-countdown strong {
    color: var(--gold);
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.event-countdown small {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.event-countdown--compact {
    margin-top: 16px;
}

.event-timezone {
    display: block;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.landing-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 26px 20px;
    border-top: 1px solid rgba(255, 211, 92, .18);
    color: var(--muted);
    background: rgba(8, 2, 14, .35);
    font-size: .78rem;
}

.landing-footer a {
    color: var(--muted);
    text-decoration: none;
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 460px) {
    .event-countdown {
        gap: 5px;
        padding: 7px;
    }

    .event-countdown > span {
        padding: 8px 2px;
    }
}
