/* ==========================================================================
   DeBoleto Organizer — páginas públicas: landing y registro.
   Usa los tokens de app.css; aquí solo se agregan los propios de estas páginas.
   ========================================================================== */

:root {
    --pub-forest: #0c3b2e;      /* fondo "sala a oscuras" */
    --pub-forest-2: #12503f;
    --pub-mint: #e3f5ef;
    --pub-bulb: #ffc24b;        /* bombillos de marquesina */
    --pub-paper: #ffffff;
    --pub-max: 1180px;
    --pub-display: var(--db-font-heading);
}

body.publico {
    background: var(--pub-paper);
    color: var(--db-ink);
}
.publico a { text-underline-offset: 3px; }
.publico :focus-visible { outline: 3px solid rgba(7, 155, 114, .45); outline-offset: 2px; }

.skip-link {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 100;
    padding: .5rem 1rem;
    background: #fff;
    border-radius: 8px;
}

.pub-container {
    width: 100%;
    max-width: var(--pub-max);
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 768px) { .pub-container { padding: 0 32px; } }

/* --- Navegación ------------------------------------------------------------ */
.pub-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.pub-nav.is-scrolled { border-bottom-color: var(--db-line); }
.pub-nav__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 76px;
}
.pub-nav__brand { text-decoration: none; }
.pub-nav__brand .brand-logo { --brand-h: 34px; }
.pub-nav__links {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
}
.pub-nav__links a {
    color: var(--db-ink-soft);
    font-weight: 600;
    text-decoration: none;
}
.pub-nav__links a:hover { color: var(--db-green); }
.pub-nav__actions { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 899.98px) {
    .pub-nav__links { display: none; }
    .pub-nav__actions { margin-left: auto; }
}
@media (max-width: 479.98px) {
    .pub-nav__brand .brand-logo { --brand-h: 28px; }
    .pub-nav__brand .brand-sub { display: none; }
    .pub-nav__inner { gap: .75rem; }
    .pub-nav__actions { gap: .25rem; }
    .pub-nav__actions .btn { padding: .4rem .7rem; font-size: .9rem; }
    .pub-nav__login { padding-inline: .4rem; }
}
.pub-nav__actions .btn { white-space: nowrap; }

/* --- Tipografía de sección -------------------------------------------------- */
.section-title {
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0 0 .9rem;
    max-width: 18ch;
}
.section-lead {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--db-ink-soft);
    max-width: 52ch;
    margin: 0;
}
.section-head { margin-bottom: 3rem; }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .section-lead { margin-inline: auto; }

.pub-section { padding: 6.5rem 0; }
.pub-section--tint { background: #f6f8f7; }
.pub-section--dark {
    background: var(--pub-forest);
    color: #fff;
}
.pub-section--dark .section-lead { color: rgba(255, 255, 255, .75); }
@media (max-width: 767.98px) { .pub-section { padding: 4.5rem 0; } }

/* --- Hero ------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 4.5rem 0 6rem;
    overflow: hidden;
}
.hero::before {
    /* Un cono de luz de escenario muy suave detrás del mapa */
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 70%;
    height: 140%;
    background: radial-gradient(ellipse at 60% 30%, rgba(7, 155, 114, .13), transparent 60%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
}
@media (max-width: 991.98px) {
    .hero { padding: 2.5rem 0 4.5rem; }
    .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero__title {
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 6.6vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.045em;
    margin: 0 0 1.5rem;
    color: var(--db-ink);
}
.hero__line { display: block; }
.hero__lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--db-ink-soft);
    max-width: 46ch;
    margin: 0 0 2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__note {
    margin: 1.25rem 0 0;
    font-size: .92rem;
    color: var(--db-muted);
}
.hero__note .bi { color: var(--db-green); }

/* Entrada orquestada: título, texto y mapa una sola vez al cargar */
@media (prefers-reduced-motion: no-preference) {
    .hero__line,
    .hero__lead,
    .hero__ctas,
    .hero__note {
        opacity: 0;
        transform: translateY(18px);
        animation: pub-rise .8s cubic-bezier(.2, .7, .2, 1) forwards;
    }
    .hero__line:nth-child(2) { animation-delay: .08s; }
    .hero__lead { animation-delay: .18s; }
    .hero__ctas { animation-delay: .26s; }
    .hero__note { animation-delay: .34s; }
    .venue__card {
        opacity: 0;
        transform: translateY(24px) scale(.98);
        animation: pub-rise .9s .15s cubic-bezier(.2, .7, .2, 1) forwards;
    }
}
@keyframes pub-rise { to { opacity: 1; transform: none; } }

/* --- Mapa de sala (hero) ----------------------------------------------------- */
.venue {
    position: relative;
    max-width: 540px;
    width: 100%;
    justify-self: end;
    padding-bottom: 7rem; /* espacio para el boleto que sobresale */
}
@media (max-width: 991.98px) { .venue { justify-self: center; } }

.venue__card {
    position: relative;
    padding: 1.4rem 1.4rem 1.25rem;
    background: var(--pub-forest);
    color: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 60px -20px rgba(12, 59, 46, .45), 0 8px 20px -8px rgba(12, 59, 46, .3);
}
.venue__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.venue__event { margin: 0; font-weight: 700; font-size: 1.05rem; }
.venue__date { margin: .15rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.venue__live {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: none;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: .78rem;
    font-weight: 700;
}
.venue__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ee0a5;
    box-shadow: 0 0 0 0 rgba(62, 224, 165, .6);
    animation: pub-pulse 1.8s infinite;
}
@keyframes pub-pulse {
    70% { box-shadow: 0 0 0 8px rgba(62, 224, 165, 0); }
    100% { box-shadow: 0 0 0 0 rgba(62, 224, 165, 0); }
}

.stage {
    position: relative;
    margin: 0 auto 1.4rem;
    width: 78%;
    padding: .9rem 0 .7rem;
    text-align: center;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
}
.stage__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .7);
}
.stage__bulbs {
    position: absolute;
    top: .35rem;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
}
.stage__bulbs i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pub-bulb);
    box-shadow: 0 0 6px var(--pub-bulb);
    opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
    .stage__bulbs i { animation: pub-bulb 2.4s infinite; }
    .stage__bulbs i:nth-child(3n + 2) { animation-delay: .8s; }
    .stage__bulbs i:nth-child(3n + 3) { animation-delay: 1.6s; }
}
@keyframes pub-bulb {
    0%, 100% { opacity: .95; }
    50% { opacity: .3; box-shadow: none; }
}

.venue__map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 200px;
}
.venue__zone-label {
    align-self: flex-start;
    margin: .35rem 0 .1rem;
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
}
.venue__row { display: flex; gap: 5px; }
.venue__seat {
    width: 14px;
    height: 12px;
    border-radius: 3px 3px 5px 5px;
    background: rgba(255, 255, 255, .14);
    transform: translateY(var(--curve, 0));
    transition: background-color .25s;
}
.venue__seat.is-sold { background: var(--z, #3ee0a5); }
.venue__seat.is-new { animation: pub-seat .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pub-seat {
    0% { transform: translateY(var(--curve, 0)) scale(.4); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
    100% { transform: translateY(var(--curve, 0)) scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}
@media (max-width: 419.98px) {
    .venue__seat { width: 11px; height: 10px; }
    .venue__row, .venue__map { gap: 4px; }
}

.venue__stats {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px dashed rgba(255, 255, 255, .2);
}
.venue__stat { display: flex; flex-direction: column; gap: .3rem; }
.venue__stat--grow { flex: 1; }
.venue__stat-label { font-size: .78rem; color: rgba(255, 255, 255, .65); }
.venue__stat-label strong { color: #fff; }
.venue__stat-value {
    font-family: var(--pub-display);
    font-size: 1.9rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.venue__bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}
.venue__bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--db-green), #3ee0a5);
    transition: width .4s ease-out;
}

/* Boleto que se "imprime" con cada venta */
.ticket {
    position: absolute;
    left: -2.5rem;
    bottom: 0;
    display: flex;
    width: 290px;
    color: var(--db-ink);
    filter: drop-shadow(0 18px 28px rgba(12, 59, 46, .28));
    transform: rotate(-5deg);
}
@media (max-width: 1199.98px) { .ticket { left: -1rem; } }
@media (max-width: 575.98px) { .ticket { left: .25rem; bottom: -1rem; width: 250px; } }
.ticket__main,
.ticket__stub {
    background: #fff;
    /* muescas semicirculares sobre la línea de corte */
    -webkit-mask: radial-gradient(circle 9px at var(--notch-x) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle 9px at var(--notch-x) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 9px at var(--notch-x) 0, transparent 98%, #000) top / 100% 51% no-repeat,
          radial-gradient(circle 9px at var(--notch-x) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main {
    --notch-x: 100%;
    flex: 1;
    padding: .9rem 1rem .95rem 1.1rem;
    border-radius: 14px 0 0 14px;
    border-right: 2px dashed var(--db-line);
}
.ticket__stub {
    --notch-x: 0;
    width: 64px;
    display: grid;
    place-items: center;
    border-radius: 0 14px 14px 0;
}
.ticket__brand { display: block; font-size: .68rem; font-weight: 700; color: var(--db-green); }
.ticket__event {
    display: block;
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 1.05rem;
    margin: .1rem 0 .55rem;
}
.ticket__seat { display: flex; gap: 1.1rem; margin: 0; }
.ticket__seat dt { font-size: .66rem; font-weight: 600; color: var(--db-muted); }
.ticket__seat dd {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}
.ticket.is-printing .ticket__seat dd { animation: pub-flip .45s ease; }
@keyframes pub-flip {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: none; }
}
.ticket__code {
    display: block;
    width: 34px;
    height: 70px;
    background: repeating-linear-gradient(180deg,
        var(--db-ink) 0 2px, transparent 2px 4px,
        var(--db-ink) 4px 5px, transparent 5px 8px,
        var(--db-ink) 8px 11px, transparent 11px 13px);
    border-radius: 2px;
    opacity: .85;
}

/* --- Cómo funciona: tira de boletos --------------------------------------- */
.strip {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--pub-mint);
    border-radius: 24px;
}
.strip__stub {
    position: relative;
    padding: 2.25rem 2rem 2.4rem;
}
.strip__stub + .strip__stub { border-left: 2px dashed rgba(7, 155, 114, .35); }
.strip__stub + .strip__stub::before,
.strip__stub + .strip__stub::after {
    /* muescas de la perforación */
    content: "";
    position: absolute;
    left: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pub-paper);
}
.strip__stub + .strip__stub::before { top: -12px; }
.strip__stub + .strip__stub::after { bottom: -12px; }
.strip__num {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.4rem;
    border-radius: 50%;
    background: var(--db-green);
    color: #fff;
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 1.2rem;
}
.strip__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 .6rem; }
.strip__text { margin: 0; color: var(--db-ink-soft); line-height: 1.6; }

@media (max-width: 767.98px) {
    .strip { grid-template-columns: 1fr; }
    .strip__stub { padding: 1.9rem 1.5rem; }
    .strip__stub + .strip__stub { border-left: 0; border-top: 2px dashed rgba(7, 155, 114, .35); }
    .strip__stub + .strip__stub::before,
    .strip__stub + .strip__stub::after { top: -13px; bottom: auto; }
    .strip__stub + .strip__stub::before { left: -12px; }
    .strip__stub + .strip__stub::after { left: auto; right: -12px; }
}

/* Al entrar en pantalla los tres talones se separan como al cortarlos */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal .strip[data-reveal] .strip__stub {
        transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s;
        opacity: 0;
        transform: translateY(20px);
    }
    .js-reveal .strip[data-reveal] .strip__stub:nth-child(2) { transition-delay: .12s; }
    .js-reveal .strip[data-reveal] .strip__stub:nth-child(3) { transition-delay: .24s; }
    .js-reveal .strip[data-reveal].is-visible .strip__stub { opacity: 1; transform: none; }
}

/* --- Tipos de evento ------------------------------------------------------- */
.tipos {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
}
@media (max-width: 991.98px) { .tipos { grid-template-columns: 1fr; gap: 2.5rem; } }
.tipos__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
}
@media (max-width: 575.98px) { .tipos__list { grid-template-columns: 1fr; } }
.tipos__item {
    display: flex;
    gap: 1rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--db-line);
}
.tipos__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    color: var(--db-green);
    font-size: 1.3rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}
.tipos__item h3 { font-size: 1.08rem; font-weight: 700; margin: .2rem 0 .35rem; }
.tipos__item p { margin: 0; color: var(--db-ink-soft); line-height: 1.55; }

/* --- Calculadora de comisiones -------------------------------------------- */
.calc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 4rem;
    align-items: center;
}
@media (max-width: 991.98px) { .calc { grid-template-columns: 1fr; gap: 2.5rem; } }
.calc__panel {
    padding: 2rem;
    border-radius: 24px;
    background: var(--pub-forest-2);
    border: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 479.98px) { .calc__panel { padding: 1.5rem 1.25rem; } }
.calc__label { display: block; font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: .4rem; }
.calc__input {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.1;
}
.calc__input span { color: var(--pub-bulb); }
.calc__input input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    border-bottom: 2px solid transparent;
}
.calc__input input:focus { outline: none; border-bottom-color: var(--pub-bulb); }
.calc__range {
    width: 100%;
    margin: 1rem 0 1.5rem;
    accent-color: var(--pub-bulb);
}
.calc__rows { margin: 0; }
.calc__rows > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.calc__rows dt { font-weight: 500; color: rgba(255, 255, 255, .75); }
.calc__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc__rows .calc__total { border-top: 2px dashed rgba(255, 255, 255, .25); padding-top: 1rem; margin-top: .3rem; }
.calc__total dt { color: #fff; font-weight: 700; }
.calc__total dd { font-size: 1.35rem; color: var(--pub-bulb); }

/* --- Elegir tipo de cuenta (cierre) --------------------------------------- */
.cuentas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 767.98px) { .cuentas { grid-template-columns: 1fr; } }
.cuenta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border: 2px solid var(--db-line);
    border-radius: 24px;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
}
.cuenta:hover { border-color: var(--db-green); color: inherit; }
.cuenta:hover .cuenta__go .bi { transform: translateX(4px); }
.cuenta__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--pub-mint);
    color: var(--db-green);
    font-size: 1.5rem;
}
.cuenta__body { display: flex; flex-direction: column; gap: .35rem; }
.cuenta__title { font-size: 1.3rem; font-weight: 700; }
.cuenta__text { color: var(--db-ink-soft); line-height: 1.55; }
.cuenta__go { margin-top: auto; font-weight: 700; color: var(--db-green); }
.cuenta__go .bi { display: inline-block; transition: transform .2s; }

/* --- Footer ----------------------------------------------------------------- */
.pub-footer { padding: 2.5rem 0; border-top: 1px solid var(--db-line); }
.pub-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
}
.pub-footer .brand-logo { --brand-h: 30px; }
.pub-footer__copy { margin: 0; color: var(--db-muted); font-size: .9rem; }
.pub-footer__links { display: flex; gap: 1.25rem; margin-left: auto; }
.pub-footer__links a { color: var(--db-ink-soft); font-weight: 600; text-decoration: none; }
.pub-footer__links a:hover { color: var(--db-green); }
@media (max-width: 575.98px) { .pub-footer__links { margin-left: 0; } }

/* ==========================================================================
   Registro
   ========================================================================== */
.registro {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    min-height: 100vh;
}
@media (max-width: 991.98px) { .registro { grid-template-columns: 1fr; } }

.registro__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 3rem;
    background: var(--pub-forest);
    color: #fff;
    overflow: hidden;
}
.registro__aside::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(62, 224, 165, .16), transparent 55%);
    pointer-events: none;
}
@media (max-width: 991.98px) { .registro__aside { display: none; } }
.registro__brand { position: relative; text-decoration: none; }
.registro__aside-body {
    position: relative;
    margin: auto 0;
    padding: 3rem 0;
}
.registro__aside-title {
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 2.2rem;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 0 0 2rem;
}
.registro__perks {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: grid;
    gap: .7rem;
    color: rgba(255, 255, 255, .8);
}
.registro__perks .bi { color: #3ee0a5; margin-right: .4rem; }

/* Pase que refleja los datos del formulario */
.pase {
    display: flex;
    max-width: 400px;
    color: var(--db-ink);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .3));
    transform: rotate(-3deg);
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.pase.is-empresa { transform: rotate(2deg); }
.pase__main,
.pase__stub {
    background: #fff;
    -webkit-mask: radial-gradient(circle 11px at var(--notch-x) 0, transparent 98%, #000) top / 100% 51% no-repeat,
                  radial-gradient(circle 11px at var(--notch-x) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 11px at var(--notch-x) 0, transparent 98%, #000) top / 100% 51% no-repeat,
          radial-gradient(circle 11px at var(--notch-x) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.pase__main {
    --notch-x: 100%;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1.4rem 1.3rem 1.5rem 1.5rem;
    border-radius: 18px 0 0 18px;
    border-right: 2px dashed var(--db-line);
}
.pase__stub {
    --notch-x: 0;
    width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: 1rem .5rem;
    border-radius: 0 18px 18px 0;
    text-align: center;
}
.pase__kind {
    align-self: flex-start;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--pub-mint);
    color: var(--db-green-600);
    font-size: .74rem;
    font-weight: 700;
}
.pase__name {
    margin-top: .5rem;
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 1.45rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.pase__mail { font-size: .88rem; color: var(--db-muted); overflow-wrap: anywhere; }
.pase .is-empty { color: #c3c8cf; }
.pase__admit { font-size: .7rem; font-weight: 600; color: var(--db-muted); }
.pase__all { font-size: .78rem; font-weight: 700; line-height: 1.2; margin-bottom: .6rem; }
.pase__stub .ticket__code { height: 46px; width: 56px; transform: rotate(90deg); }

/* Formulario */
.registro__main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 16px;
}
.registro__form-wrap { width: 100%; max-width: 520px; }
.registro__brand-mobile { display: none; text-decoration: none; margin-bottom: 2rem; }
@media (max-width: 991.98px) {
    .registro__main { align-items: flex-start; padding-top: 2rem; }
    .registro__brand-mobile { display: inline-block; }
    .registro__brand-mobile .brand-logo { --brand-h: 32px; }
}
.registro__title {
    font-family: var(--pub-display);
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    margin: 0;
}
.registro__lead { color: var(--db-muted); margin: .3rem 0 2rem; }

.tipo-cuenta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}
.tipo-cuenta__option { position: relative; }
.tipo-cuenta__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tipo-cuenta__card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: .75rem;
    align-items: center;
    height: 100%;
    padding: .9rem 1rem;
    border: 2px solid var(--db-line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.tipo-cuenta__card .bi {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--db-tile);
    color: var(--db-muted);
    font-size: 1.2rem;
    transition: background-color .15s, color .15s;
}
.tipo-cuenta__title { font-weight: 700; }
.tipo-cuenta__hint { font-size: .78rem; color: var(--db-muted); line-height: 1.3; }
.tipo-cuenta__card:hover { border-color: var(--db-green-300); }
.tipo-cuenta__input:checked + .tipo-cuenta__card {
    border-color: var(--db-green);
    background: #f4fbf8;
}
.tipo-cuenta__input:checked + .tipo-cuenta__card .bi { background: var(--db-green); color: #fff; }
.tipo-cuenta__input:focus-visible + .tipo-cuenta__card { outline: 3px solid rgba(7, 155, 114, .35); outline-offset: 2px; }
@media (max-width: 399.98px) {
    .tipo-cuenta__hint { display: none; }
    .tipo-cuenta__card { grid-template-rows: auto; }
    .tipo-cuenta__card .bi { grid-row: auto; }
}

/* Intercambio de campos personal / empresa */
.registro__grupo[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .registro__grupo.is-entering { animation: pub-swap .35s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes pub-swap {
    from { opacity: 0; transform: translateX(var(--from, 12px)); }
    to { opacity: 1; transform: none; }
}

.password { position: relative; }
.password .form-control { padding-right: 3rem; }
.password__toggle {
    position: absolute;
    top: 50%;
    right: .35rem;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--db-muted);
}
.password__toggle:hover { color: var(--db-green); }

.meter { display: flex; align-items: center; gap: .75rem; margin-top: .55rem; }
.meter__bars { display: flex; gap: 4px; }
.meter__bars i {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: var(--db-line);
    transition: background-color .25s;
}
.meter__label { font-size: .8rem; color: var(--db-muted); }
.meter[data-nivel="1"] .meter__bars i:nth-child(-n + 1) { background: var(--db-danger); }
.meter[data-nivel="2"] .meter__bars i:nth-child(-n + 2) { background: #e9a23b; }
.meter[data-nivel="3"] .meter__bars i:nth-child(-n + 3) { background: var(--db-green-300); }
.meter[data-nivel="4"] .meter__bars i:nth-child(-n + 4) { background: var(--db-green); }

.registro__terms { font-size: .92rem; color: var(--db-ink-soft); }
.registro__submit { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.registro__submit .spinner-border { display: none; }
.registro__submit.is-loading .spinner-border { display: inline-block; }
.registro__alt { margin: 1.5rem 0 0; text-align: center; color: var(--db-muted); }
.registro__alt a { font-weight: 700; }
