/* =========================================================
   TodoParaElBaile - Portal público
   site.css limpio y consolidado
   ========================================================= */

/* ---------- BASE ---------- */

:root {
    --tpb-bg: #f3f6fb;
    --tpb-surface: #ffffff;
    --tpb-text: #172033;
    --tpb-muted: #667085;
    --tpb-border: #e5e7eb;
    --tpb-dark: #141e30;
    --tpb-dark-2: #243b55;
    --tpb-primary: #6f42c1;
    --tpb-primary-dark: #5b2fa8;
    --tpb-warning: #ffc107;
    --tpb-danger: #dc3545;
    --tpb-radius: 18px;
    --tpb-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--tpb-bg);
    color: var(--tpb-text);
}

a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

img {
    max-width: 100%;
}

/* ---------- HERO HOME ---------- */

.tpb-hero {
    min-height: 470px;
    max-width: 1600px;
    margin: -48px auto 0;
    border-radius: 0 0 38px 38px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(9, 14, 30, .88), rgba(120, 47, 180, .65)), url("https://images.unsplash.com/photo-1504609813442-a8924e83f76e?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.tpb-hero-content {
    width: min(1100px, 92%);
    margin: auto;
    text-align: center;
}

.tpb-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 193, 7, .45);
    border-radius: 999px;
    background: rgba(255, 193, 7, .18);
    color: var(--tpb-warning);
    font-weight: 700;
}

.tpb-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -2px;
}

.tpb-hero p {
    max-width: 760px;
    margin: 0 auto 35px;
    font-size: 1.35rem;
    opacity: .92;
}

/* ---------- ESTILOS DE BAILE DEL HERO ---------- */

.tpb-dance-styles {
    margin: -8px auto 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tpb-dance-style {
    min-height: 38px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    background: rgba(15, 23, 42, .28);
    color: #ffffff;
    font-size: .88rem;
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .13);
    backdrop-filter: blur(8px);
}

    .tpb-dance-style i {
        color: #fbbf24;
        font-size: .82rem;
    }

    .tpb-dance-style:nth-child(2) i {
        color: #fb7185;
    }

    .tpb-dance-style:nth-child(3) i {
        color: #facc15;
    }

    .tpb-dance-style:nth-child(4) i {
        color: #c084fc;
    }

.tpb-dance-style-more {
    color: rgba(255, 255, 255, .86);
}

/* ---------- BUSCADOR HOME ---------- */

.tpb-search-box {
    width: min(900px, 100%);
    margin: auto;
    padding: 13px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .8fr) auto;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .30);
    backdrop-filter: blur(12px);
}

.tpb-search-field {
    min-width: 0;
    min-height: 56px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dfe3ea;
    border-radius: 15px;
    background: #ffffff;
}

    .tpb-search-field:focus-within {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 4px rgba(139, 92, 246, .11);
    }

    .tpb-search-field i {
        flex-shrink: 0;
        color: #6b7280;
        font-size: 1rem;
    }

    .tpb-search-field input {
        width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #172033;
        font-size: .98rem;
    }

.tpb-search-box button {
    min-height: 56px;
    padding: 14px 25px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #171717;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 9px 24px rgba(245, 158, 11, .28);
}

    .tpb-search-box button:hover {
        background: linear-gradient(135deg, #f59e0b, #ea9007);
        transform: translateY(-2px);
        box-shadow: 0 13px 28px rgba(245, 158, 11, .34);
    }
/* ---------- SECCIONES ---------- */

.tpb-section-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

    .tpb-section-heading > div {
        min-width: 0;
    }

.tpb-section-kicker {
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7c3aed;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

    .tpb-section-kicker i {
        color: #f59e0b;
    }

.tpb-section-heading h2 {
    margin: 0;
    color: var(--tpb-text);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -.035em;
}

.tpb-section-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--tpb-muted);
    font-size: .98rem;
    line-height: 1.6;
}

.tpb-section-link {
    min-height: 42px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(124, 58, 237, .18);
    border-radius: 999px;
    background: #ffffff;
    color: #6d28d9;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

    .tpb-section-link:hover {
        border-color: rgba(124, 58, 237, .35);
        background: #f8f5ff;
        color: #5b21b6;
        transform: translateY(-1px);
    }

.tpb-section {
    width: min(1320px, 92%);
    margin: 54px auto;
}

.tpb-section-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .tpb-section-header h2 {
        margin: 0;
        font-weight: 800;
    }

    .tpb-section-header a {
        color: var(--tpb-primary);
        font-weight: 700;
        text-decoration: none;
    }

        .tpb-section-header a:hover {
            color: var(--tpb-primary-dark);
        }

/* ---------- TARJETAS DE EVENTOS ---------- */

.tpb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.tpb-card {
    min-width: 0;
    min-height: 438px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: var(--tpb-surface);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .tpb-card:hover {
        border-color: rgba(111, 66, 193, .24);
        transform: translateY(-6px);
        box-shadow: 0 22px 45px rgba(15, 23, 42, .15);
    }

.tpb-card-media-wrapper {
    position: relative;
    flex-shrink: 0;
}

.tpb-card-media {
    height: 182px;
    overflow: hidden;
    display: block;
    background: #e9edf5;
    text-decoration: none;
}

.tpb-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.tpb-card:hover .tpb-card-img {
    transform: scale(1.045);
}

.tpb-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: radial-gradient( circle at top right, rgba(139, 92, 246, .10), transparent 45% ), linear-gradient(135deg, #eef2f8, #e4e9f2);
    color: #98a2b3;
    font-size: .88rem;
}

    .tpb-img-placeholder i {
        font-size: 1.55rem;
    }

.tpb-card-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    background: #fbbf24;
    color: #231800;
    font-size: .73rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .20);
}

    .tpb-card-featured i {
        font-size: .72rem;
    }

.tpb-card-body {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.tpb-card-title {
    min-height: 2.7em;
    margin: 0 0 17px;
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 900;
}

    .tpb-card-title a {
        color: var(--tpb-text);
        text-decoration: none;
    }

        .tpb-card-title a:hover {
            color: var(--tpb-primary);
        }

.tpb-card-meta {
    margin-bottom: 20px;
    display: grid;
    gap: 10px;
}

    .tpb-card-meta p {
        min-width: 0;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
        color: #596275;
        font-size: .88rem;
    }

        .tpb-card-meta p span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    .tpb-card-meta i {
        width: 18px;
        flex-shrink: 0;
        color: #8b5cf6;
        text-align: center;
    }

.tpb-card-button {
    min-height: 42px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-weight: 800;
}

    .tpb-card-button:hover {
        transform: translateY(-1px);
    }
/* ---------- LISTADO PÚBLICO DE EVENTOS ---------- */

.tpb-admin {
    width: min(1320px, 92%);
    margin: 48px auto 70px;
}

.tpb-admin-header {
    margin-bottom: 22px;
}

    .tpb-admin-header h1 {
        margin: 0;
        font-weight: 900;
    }

    .tpb-admin-header p {
        margin: 6px 0 0;
        color: var(--tpb-muted);
    }

.tpb-admin-filters {
    margin-bottom: 22px;
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(240px, 2fr) minmax(170px, 1fr) auto auto auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--tpb-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

    .tpb-admin-filters input[type="text"],
    .tpb-admin-filters input[type="search"],
    .tpb-admin-filters select {
        width: 100%;
        min-height: 42px;
        padding: 9px 12px;
        border: 1px solid #d0d5dd;
        border-radius: 10px;
        background: #fff;
    }

.tpb-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344054;
    font-weight: 700;
    white-space: nowrap;
}

.tpb-admin-filters button {
    min-height: 42px;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--tpb-warning);
    font-weight: 800;
}

.tpb-clear {
    color: var(--tpb-primary);
    font-weight: 800;
    text-decoration: none;
}

.tpb-admin-card {
    overflow: hidden;
    border: 1px solid var(--tpb-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--tpb-shadow);
}

    .tpb-admin-card table {
        width: 100%;
        margin: 0;
    }

    .tpb-admin-card thead {
        background: #f8fafc;
    }

    .tpb-admin-card th {
        padding: 14px 16px;
        border-bottom: 1px solid var(--tpb-border);
        color: #475467;
        font-size: .8rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        white-space: nowrap;
    }

    .tpb-admin-card td {
        padding: 12px 16px;
        border-color: #eef2f6;
        vertical-align: middle;
    }

    .tpb-admin-card tbody tr:hover {
        background: #fafbff;
    }

.tpb-admin-event {
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 14px;
}

    .tpb-admin-event a {
        color: var(--tpb-text);
        text-decoration: none;
    }

        .tpb-admin-event a:hover {
            color: var(--tpb-primary);
        }

.tpb-admin-thumb,
.tpb-img-placeholder-small {
    width: 88px;
    height: 58px;
    flex-shrink: 0;
    border-radius: 10px;
}

.tpb-admin-thumb {
    display: block;
    object-fit: cover;
}

.tpb-img-placeholder-small {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f6;
    color: #98a2b3;
    font-size: 11px;
}

.tpb-admin-card .btn {
    padding: 7px 13px;
    border-radius: 9px;
    font-weight: 700;
}

/* ---------- DETALLE PÚBLICO DEL EVENTO ---------- */

.tpb-detail-card {
    overflow: hidden;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

.tpb-detail-img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
}

.tpb-detail-body {
    padding: 36px;
}

    .tpb-detail-body h1 {
        margin-bottom: 20px;
        font-size: 42px;
        font-weight: 900;
    }

.tpb-detail-text {
    color: #374151;
    font-size: 17px;
    line-height: 1.7;
}

.tpb-event-quote {
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border-left: 6px solid #d63384;
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(214, 51, 132, .12), rgba(214, 51, 132, .03));
}

    .tpb-event-quote span {
        color: #d63384;
        font-size: 56px;
        font-weight: 900;
        line-height: 1;
    }

    .tpb-event-quote p {
        margin: 0;
        color: #1f2937;
        font-size: 1.2rem;
        font-style: italic;
        line-height: 1.6;
    }

.tpb-info-box {
    padding: 22px;
    border: 1px solid var(--tpb-border);
    border-radius: 18px;
    background: #f8fafc;
}

    .tpb-info-box h4 {
        margin-bottom: 16px;
        font-weight: 800;
    }

    .tpb-info-box div:not(.d-grid) {
        margin-bottom: 12px;
        color: #1f2937;
        font-size: 16px;
    }

/* ---------- EVENT LANDING ---------- */

.event-landing {
    margin-top: -16px;
}

.event-hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #111827;
}

    .event-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 15, 30, .94), rgba(10, 15, 30, .55), rgba(10, 15, 30, .15)), linear-gradient(0deg, rgba(10, 15, 30, .82), transparent 55%);
}

.event-hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, 92%);
    margin: 0 auto;
    padding-bottom: 72px;
    color: #fff;
}

.event-badge {
    margin-bottom: 18px;
    padding: 8px 16px;
    display: inline-block;
    border-radius: 999px;
    background: #d63384;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(214, 51, 132, .45);
}

.event-hero-content h1 {
    max-width: 950px;
    margin-bottom: 20px;
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 950;
    line-height: .95;
    letter-spacing: -3px;
}

.event-hero-content p {
    max-width: 760px;
    font-size: 1.35rem;
    line-height: 1.6;
    opacity: .95;
}

.event-hero-meta,
.event-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.event-hero-meta {
    margin-top: 22px;
    font-weight: 700;
}

    .event-hero-meta span {
        padding: 10px 16px;
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 999px;
        background: rgba(255, 255, 255, .14);
        backdrop-filter: blur(8px);
    }

.event-hero-buttons {
    margin-top: 28px;
}

.event-hero-stats {
    max-width: 880px;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 14px;
}

    .event-hero-stats div {
        padding: 16px 18px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 20px;
        background: rgba(255, 255, 255, .14);
        backdrop-filter: blur(10px);
    }

    .event-hero-stats span {
        display: block;
        margin-bottom: 8px;
        font-size: 1.4rem;
    }

    .event-hero-stats strong {
        display: block;
        color: #fff;
        font-size: 1.15rem;
        font-weight: 900;
    }

    .event-hero-stats small {
        display: block;
        margin-top: 4px;
        color: rgba(255, 255, 255, .75);
        font-weight: 700;
    }

.event-main {
    position: relative;
    z-index: 5;
    margin-top: -54px;
    margin-bottom: 80px;
}

.event-card,
.event-side-card {
    padding: 30px;
    border: 1px solid var(--tpb-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

    .event-card h2,
    .event-side-card h3 {
        margin-bottom: 22px;
        font-weight: 900;
    }

.event-description {
    margin-bottom: 0;
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.8;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

    .event-highlights div {
        padding: 18px;
        border: 1px solid var(--tpb-border);
        border-radius: 18px;
        background: #f8fafc;
    }

    .event-highlights strong {
        display: block;
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .event-highlights span,
    .event-highlights p {
        color: #4b5563;
        line-height: 1.5;
    }

    .event-highlights p {
        margin: 8px 0 0;
    }

.event-highlight-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fce7f3;
    font-size: 1.4rem;
}

.event-info-row {
    padding: 14px 0;
    display: flex;
    gap: 14px;
    border-bottom: 1px solid #eef2f7;
}

    .event-info-row:last-child {
        border-bottom: 0;
    }

    .event-info-row > span {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: #fce7f3;
    }

    .event-info-row small {
        display: block;
        color: #6b7280;
        font-size: .78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .event-info-row strong {
        display: block;
        color: #111827;
        font-size: 1rem;
    }

.event-detail-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.event-detail-layout {
    margin-top: -2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    align-items: start;
}

.event-detail-main {
    min-width: 0;
}

.event-detail-sidebar {
    width: 100%;
    position: sticky;
    top: 96px;
}

    .event-detail-sidebar > *,
    .event-info-card,
    .event-links-card {
        width: 100%;
    }

/* ---------- TARJETAS DE ENTRADAS ---------- */

.entrada-card {
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .entrada-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15) !important;
    }

    .entrada-card .fs-4 {
        color: #0d6efd;
    }

    .entrada-card hr {
        margin-top: auto;
    }

/* ---------- FOOTER ---------- */

footer {
    margin-top: 80px;
    padding: 30px;
    background: var(--tpb-dark);
    color: #fff !important;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1200px) {
    .tpb-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .navbar .form-control {
        width: 100%;
        margin: 15px 0;
    }

    .tpb-hero {
        padding: 80px 20px;
    }

        .tpb-hero h1 {
            font-size: 2.8rem;
        }

    .tpb-admin-filters {
        grid-template-columns: 1fr 1fr auto;
    }

    .event-detail-layout {
        grid-template-columns: 1fr;
        margin-top: 1rem;
    }

    .event-detail-sidebar {
        position: static;
    }
}

@media (max-width: 900px) {
    .tpb-search-box,
    .tpb-admin-filters {
        grid-template-columns: 1fr;
    }

    .tpb-search-box {
        grid-template-columns: 1fr;
    }

        .tpb-search-box button {
            width: 100%;
        }

    .tpb-dance-styles {
        margin-bottom: 24px;
    }

    .tpb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tpb-hero {
        min-height: 620px;
        margin-top: -30px;
    }

    .tpb-admin-card {
        overflow-x: auto;
    }

        .tpb-admin-card table {
            min-width: 900px;
        }

    .event-hero {
        min-height: 520px;
    }

    .event-hero-content {
        padding-bottom: 46px;
    }

    .event-main {
        margin-top: -34px;
    }

    .event-highlights {
        grid-template-columns: 1fr;
    }

    .event-side-card {
        position: static;
    }

    .event-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .tpb-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .tpb-section-link {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .tpb-hero {
        border-radius: 0 0 28px 28px;
    }

        .tpb-hero p {
            font-size: 1.05rem;
        }

    .tpb-detail-body {
        padding: 24px;
    }

        .tpb-detail-body h1 {
            font-size: 32px;
        }

    .tpb-detail-img {
        height: 280px;
    }
}

@media (max-width: 600px) {
    .tpb-grid {
        grid-template-columns: 1fr;
    }

    .tpb-card-media {
        height: 220px;
    }

    .tpb-card {
        min-height: 0;
    }

    .tpb-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .event-hero-stats {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   PORTAL PÚBLICO V2
   Footer y estructura general
   ========================================================= */

.public-main {
    min-height: 65vh;
}

/* FOOTER PÚBLICO */

.public-footer {
    margin-top: 90px;
    padding: 72px 0 0;
    background: radial-gradient(circle at top left, rgba(124, 58, 237, .18), transparent 34%), #0f172a;
    color: rgba(255, 255, 255, .74) !important;
}

.public-footer-container {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.public-footer-grid {
    padding-bottom: 52px;
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 52px;
}

.public-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
}

    .public-footer-logo:hover {
        color: #ffffff;
    }

.public-footer-brand p {
    max-width: 410px;
    margin: 22px 0;
    line-height: 1.75;
}

.public-social-links {
    display: flex;
    gap: 9px;
}

    .public-social-links a {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 12px;
        background: rgba(255, 255, 255, .06);
        color: rgba(255, 255, 255, .78);
        text-decoration: none;
    }

        .public-social-links a:hover {
            border-color: #a78bfa;
            background: #7c3aed;
            color: #ffffff;
            transform: translateY(-2px);
        }

.public-footer h2 {
    margin: 5px 0 20px;
    color: #ffffff;
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.public-footer ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.public-footer li a {
    color: rgba(255, 255, 255, .66);
    text-decoration: none;
}

    .public-footer li a:hover {
        color: #ffffff;
    }

.public-footer-bottom {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    font-size: .88rem;
}

    .public-footer-bottom .bi-heart-fill {
        margin-left: 4px;
        color: #ec4899;
    }

/* Evita el margen antiguo del footer global */
footer.public-footer {
    margin-top: 90px;
    padding: 72px 0 0;
}

/* RESPONSIVE DEL LAYOUT PÚBLICO */

@media (max-width: 1199px) {

    .public-navbar-container {
        padding: 15px 0;
    }

    .public-navbar .navbar-collapse {
        padding-top: 18px;
    }

    .public-nav-links {
        margin-left: 0;
        gap: 0;
    }

        .public-nav-links .nav-link {
            padding: 12px 0 !important;
        }

            .public-nav-links .nav-link::after {
                display: none;
            }

    .public-header-search {
        width: 100%;
        margin: 15px 0 0;
    }

    .public-header-actions {
        margin: 14px 0 0;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {

    .public-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px;
    }

    .public-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {

    .tpb-dance-styles {
        gap: 7px;
    }

    .tpb-dance-style {
        min-height: 34px;
        padding: 7px 11px;
        font-size: .77rem;
    }

    .tpb-dance-style-more {
        display: none;
    }

    .public-brand {
        font-size: 1.25rem;
    }

    .public-brand-icon {
        width: 36px;
        height: 36px;
    }

    .public-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-organizer-button,
    .public-account-button {
        width: 100%;
    }

    .public-footer {
        padding-top: 55px;
    }

    .public-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .public-footer-brand {
        grid-column: auto;
    }

    .public-footer-bottom {
        padding: 22px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}

/* =========================================================
   CATÁLOGO PÚBLICO DE EVENTOS
   ========================================================= */

.events-catalog-hero {
    padding: 72px 0 54px;
    background: radial-gradient( circle at top right, rgba(124, 58, 237, .12), transparent 34% ), linear-gradient(180deg, #ffffff, #f5f7fb);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.events-catalog-hero-inner {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.events-catalog-kicker {
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7c3aed;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

    .events-catalog-kicker i {
        color: #f59e0b;
    }

.events-catalog-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--tpb-text);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.055em;
}

.events-catalog-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: var(--tpb-muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.events-catalog {
    width: min(1320px, 92%);
    margin: -24px auto 80px;
    position: relative;
    z-index: 2;
}

.events-filter-card {
    padding: 16px;
    display: grid;
    grid-template-columns: minmax(260px, 2fr) minmax(210px, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .11);
    backdrop-filter: blur(14px);
}

.events-filter-search,
.events-filter-select {
    min-height: 52px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #ffffff;
}

    .events-filter-search:focus-within,
    .events-filter-select:focus-within {
        border-color: #8b5cf6;
        box-shadow: 0 0 0 4px rgba(139, 92, 246, .10);
    }

    .events-filter-search i,
    .events-filter-select i {
        flex-shrink: 0;
        color: #7c3aed;
    }

    .events-filter-search input,
    .events-filter-select select {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--tpb-text);
    }

.events-featured-filter {
    margin: 0;
    cursor: pointer;
}

    .events-featured-filter input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.events-featured-filter-control {
    min-height: 52px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #ffffff;
    color: #475467;
    font-size: .9rem;
    font-weight: 800;
    white-space: nowrap;
    transition: .2s ease;
}

    .events-featured-filter-control i {
        color: #f59e0b;
    }

.events-featured-filter input:checked +
.events-featured-filter-control {
    border-color: #fbbf24;
    background: #fff7d6;
    color: #5c4300;
    box-shadow: 0 7px 18px rgba(245, 158, 11, .14);
}

.events-clear-filter {
    min-height: 52px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #7c3aed;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

    .events-clear-filter:hover {
        color: #5b21b6;
    }

.events-catalog-toolbar {
    min-height: 72px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

    .events-catalog-toolbar > div {
        margin-right: auto;
        color: var(--tpb-muted);
    }

    .events-catalog-toolbar strong {
        margin-right: 5px;
        color: var(--tpb-text);
        font-size: 1.08rem;
    }

.events-active-filter {
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: .78rem;
    font-weight: 800;
}

.events-active-filter-featured {
    background: #fff4c2;
    color: #755600;
}

.events-catalog-grid {
    margin-top: 4px;
}

.events-empty-state {
    padding: 80px 24px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.events-empty-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #f1edff;
    color: #7c3aed;
    font-size: 2rem;
}

.events-empty-state h2 {
    margin-bottom: 10px;
    font-weight: 900;
}

.events-empty-state p {
    max-width: 520px;
    margin: 0 auto 24px;
    color: var(--tpb-muted);
    line-height: 1.65;
}

@media (max-width: 1050px) {

    .events-filter-card {
        grid-template-columns: 1fr 1fr;
    }

    .events-featured-filter-control,
    .events-clear-filter {
        width: 100%;
    }
}

@media (max-width: 700px) {

    .events-catalog-hero {
        padding: 54px 0 44px;
    }

    .events-catalog {
        margin-top: -18px;
    }

    .events-filter-card {
        grid-template-columns: 1fr;
    }

    .events-catalog-toolbar {
        padding: 14px 0;
        align-items: flex-start;
    }

        .events-catalog-toolbar > div {
            width: 100%;
        }
}
/* =========================================================
   FICHA PÚBLICA DEL EVENTO V2
   ========================================================= */

.public-event-page {
    background: var(--tpb-bg);
}

.public-event-hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #0f172a;
}

.public-event-hero-image,
.public-event-hero-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.public-event-hero-image {
    object-fit: cover;
}

.public-event-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, .45), transparent 42%), linear-gradient(135deg, #111827, #312e81);
    color: rgba(255, 255, 255, .2);
    font-size: 7rem;
}

.public-event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(6, 11, 26, .94) 0%, rgba(6, 11, 26, .72) 52%, rgba(6, 11, 26, .28) 100% ), linear-gradient( 0deg, rgba(6, 11, 26, .88), transparent 65% );
}

.public-event-hero-content {
    position: relative;
    z-index: 2;
    width: min(1320px, 92%);
    margin: 0 auto;
    padding: 85px 0 74px;
    color: #ffffff;
}

.public-event-badges {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.public-event-featured,
.public-event-category {
    min-height: 35px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
}

.public-event-featured {
    background: #fbbf24;
    color: #231800;
}

.public-event-category {
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .12);
    color: #ffffff;
    backdrop-filter: blur(9px);
}

.public-event-hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.2rem);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.055em;
}

.public-event-summary {
    max-width: 800px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.2rem;
    line-height: 1.65;
}

.public-event-hero-meta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .public-event-hero-meta span {
        min-height: 42px;
        padding: 10px 15px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 999px;
        background: rgba(255, 255, 255, .1);
        color: rgba(255, 255, 255, .92);
        font-size: .9rem;
        font-weight: 700;
        backdrop-filter: blur(10px);
    }

    .public-event-hero-meta i {
        color: #fbbf24;
    }

.public-event-hero-actions {
    margin-top: 31px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.public-event-buy-button,
.public-event-more-button {
    min-height: 52px;
    padding: 13px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 13px;
    font-weight: 900;
}

.public-event-buy-button {
    border: 0;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #171717;
    box-shadow: 0 13px 30px rgba(245, 158, 11, .32);
}

    .public-event-buy-button:hover {
        background: linear-gradient(135deg, #f59e0b, #ea9007);
        color: #171717;
        transform: translateY(-2px);
    }

.public-event-more-button {
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .11);
    color: #ffffff;
}

    .public-event-more-button:hover {
        border-color: rgba(255, 255, 255, .45);
        background: rgba(255, 255, 255, .18);
        color: #ffffff;
    }

/* RESUMEN */

.public-event-facts {
    position: relative;
    z-index: 4;
    width: min(1320px, 92%);
    margin: -35px auto 0;
}

.public-event-facts-inner {
    min-height: 104px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(15, 23, 42, .14);
    backdrop-filter: blur(14px);
}

.public-event-facts article {
    min-width: 0;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid #eef1f5;
}

    .public-event-facts article:last-child {
        border-right: 0;
    }

.public-event-fact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f1edff;
    color: #7c3aed;
    font-size: 1.1rem;
}

.public-event-facts small {
    display: block;
    color: var(--tpb-muted);
    font-size: .76rem;
    font-weight: 700;
}

.public-event-facts strong {
    display: block;
    margin-top: 3px;
    color: var(--tpb-text);
    font-size: .98rem;
    font-weight: 900;
}

/* LAYOUT */

.public-event-content {
    width: min(1320px, 92%);
    margin: 46px auto 80px;
}

.public-event-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}

.public-event-main-column {
    min-width: 0;
    display: grid;
    gap: 26px;
}

.public-event-section-card,
.public-event-booking-card,
.public-event-info-card,
.public-event-organizer-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 13px 35px rgba(15, 23, 42, .07);
}

.public-event-section-card {
    padding: 32px;
}

.public-event-section-kicker {
    margin-bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7c3aed;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.public-event-section-card h2 {
    margin: 0 0 22px;
    color: var(--tpb-text);
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 950;
    letter-spacing: -.035em;
}

.public-event-description {
    color: #475467;
    font-size: 1.03rem;
    line-height: 1.85;
    white-space: pre-line;
}

.public-event-empty-text {
    margin: 0;
    color: var(--tpb-muted);
}

.public-event-section-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

    .public-event-section-heading h2 {
        margin-bottom: 0;
    }

.public-event-section-count {
    min-width: 39px;
    height: 39px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1edff;
    color: #7c3aed;
    font-weight: 900;
}

/* PROFESORES */

.public-event-professors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.public-event-professor {
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e8ebf1;
    border-radius: 16px;
    background: #fafbff;
}

.public-event-professor-image {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 1.4rem;
}

    .public-event-professor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .public-event-professor-image span {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 21px;
        height: 21px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #fbbf24;
        color: #231800;
        font-size: .6rem;
    }

.public-event-professor h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 900;
}

.public-event-professor p {
    margin: 5px 0 0;
    color: var(--tpb-muted);
    font-size: .76rem;
}

/* HORARIOS */

.public-event-schedule {
    display: grid;
}

.public-event-schedule-item {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 65px 85px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid #eef1f5;
}

    .public-event-schedule-item:first-child {
        padding-top: 0;
    }

    .public-event-schedule-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

.public-event-schedule-date {
    width: 58px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px;
    background: #f1edff;
    color: #6d28d9;
}

    .public-event-schedule-date span {
        font-size: 1.2rem;
        font-weight: 950;
        line-height: 1;
    }

    .public-event-schedule-date small {
        margin-top: 4px;
        font-size: .67rem;
        font-weight: 900;
        text-transform: uppercase;
    }

.public-event-schedule-time strong {
    display: block;
    font-size: .92rem;
}

.public-event-schedule-time small {
    display: block;
    margin-top: 3px;
    color: var(--tpb-muted);
    font-size: .72rem;
}

.public-event-schedule-info h3 {
    margin: 7px 0 5px;
    font-size: 1rem;
    font-weight: 900;
}

.public-event-schedule-info p {
    margin: 0;
    color: var(--tpb-muted);
    font-size: .8rem;
}

.public-event-schedule-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .public-event-schedule-tags span {
        padding: 4px 7px;
        border-radius: 999px;
        background: #f3f4f6;
        color: #667085;
        font-size: .65rem;
        font-weight: 800;
    }

/* ENTRADAS */

.public-event-tickets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.public-event-ticket {
    padding: 19px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 17px;
    background: radial-gradient( circle at top right, rgba(139, 92, 246, .09), transparent 42% ), #ffffff;
}

.public-event-ticket-label {
    margin-bottom: 10px;
    padding: 5px 8px;
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: #fff2b8;
    color: #725300;
    font-size: .67rem;
    font-weight: 900;
}

.public-event-ticket h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
}

.public-event-ticket p {
    margin: 6px 0 0;
    color: var(--tpb-muted);
    font-size: .8rem;
}

.public-event-ticket-price {
    margin: 24px 0 17px;
}

    .public-event-ticket-price del {
        display: block;
        color: #98a2b3;
        font-size: .78rem;
    }

    .public-event-ticket-price strong {
        display: block;
        color: var(--tpb-text);
        font-size: 1.6rem;
        font-weight: 950;
    }

.public-event-ticket-button {
    min-height: 40px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    font-weight: 800;
}

    .public-event-ticket-button:hover {
        background: #272f3d;
        color: #ffffff;
    }

/* SIDEBAR */

.public-event-sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 18px;
}

.public-event-booking-card,
.public-event-info-card,
.public-event-organizer-card {
    padding: 24px;
}

.public-event-booking-label {
    color: var(--tpb-muted);
    font-size: .8rem;
    font-weight: 700;
}

.public-event-booking-price {
    margin: 5px 0 9px;
    color: var(--tpb-text);
    font-size: 2.25rem;
    font-weight: 950;
    letter-spacing: -.04em;
}

.public-event-booking-card > p {
    margin-bottom: 20px;
    color: var(--tpb-muted);
    font-size: .88rem;
    line-height: 1.6;
}

.public-event-booking-features {
    margin-top: 19px;
    padding-top: 18px;
    display: grid;
    gap: 11px;
    border-top: 1px solid #eef1f5;
}

    .public-event-booking-features span {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #475467;
        font-size: .78rem;
    }

    .public-event-booking-features i {
        color: #16a34a;
    }

.public-event-info-card h2 {
    margin-bottom: 14px;
    font-size: 1.08rem;
    font-weight: 900;
}

.public-event-info-row {
    padding: 13px 0;
    display: flex;
    gap: 11px;
    border-bottom: 1px solid #eef1f5;
}

    .public-event-info-row > i {
        width: 37px;
        height: 37px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #f1edff;
        color: #7c3aed;
    }

    .public-event-info-row small {
        display: block;
        color: var(--tpb-muted);
        font-size: .7rem;
        font-weight: 700;
    }

    .public-event-info-row strong {
        display: block;
        margin-top: 3px;
        font-size: .82rem;
    }

.public-event-map-link {
    min-height: 42px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 11px;
    background: #f3f4f6;
    color: #475467;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

    .public-event-map-link:hover {
        background: #e9e5ff;
        color: #6d28d9;
    }

.public-event-organizer-card {
    text-align: center;
}

.public-event-organizer-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #f1edff;
    color: #7c3aed;
    font-size: 1.25rem;
}

.public-event-organizer-card small {
    color: var(--tpb-muted);
    font-size: .75rem;
}

.public-event-organizer-card h2 {
    margin: 6px 0 13px;
    font-size: 1.08rem;
    font-weight: 900;
}

.public-event-organizer-card a {
    color: #6d28d9;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

/* CTA FINAL */

.public-event-final-cta {
    width: min(1320px, 92%);
    margin: 0 auto 85px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 26px;
    background: radial-gradient( circle at top right, rgba(217, 70, 239, .32), transparent 35% ), linear-gradient(135deg, #111827, #312e81);
    color: #ffffff;
    box-shadow: 0 25px 60px rgba(15, 23, 42, .2);
}

    .public-event-final-cta span {
        color: #fbbf24;
        font-size: .78rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .public-event-final-cta h2 {
        margin: 7px 0;
        font-size: clamp(1.7rem, 3vw, 2.6rem);
        font-weight: 950;
    }

    .public-event-final-cta p {
        max-width: 660px;
        margin: 0;
        color: rgba(255, 255, 255, .72);
    }

/* RESPONSIVE */

@media (max-width: 1100px) {

    .public-event-facts-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .public-event-facts article {
        border-right: 0;
    }
}

@media (max-width: 850px) {

    .public-event-hero {
        min-height: 560px;
    }

    .public-event-facts-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .public-event-layout {
        grid-template-columns: 1fr;
    }

    .public-event-sidebar {
        position: static;
        grid-template-columns: 1fr;
    }

    .public-event-professors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-event-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .public-event-hero {
        min-height: 620px;
    }

    .public-event-hero-content {
        padding: 64px 0 55px;
    }

    .public-event-hero h1 {
        font-size: 3rem;
    }

    .public-event-hero-meta {
        align-items: stretch;
        flex-direction: column;
    }

        .public-event-hero-meta span {
            width: 100%;
            border-radius: 13px;
        }

    .public-event-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-event-buy-button,
    .public-event-more-button {
        width: 100%;
    }

    .public-event-facts {
        margin-top: -25px;
    }

    .public-event-facts-inner {
        grid-template-columns: 1fr;
    }

    .public-event-section-card {
        padding: 23px;
    }

    .public-event-professors-grid,
    .public-event-tickets-grid {
        grid-template-columns: 1fr;
    }

    .public-event-schedule-item {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
    }

    .public-event-schedule-time {
        display: none;
    }

    .public-event-final-cta {
        padding: 30px 23px;
    }
}
/* ---------- SELECTOR DE ENTRADAS ---------- */

.public-event-section-intro {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--tpb-muted);
    line-height: 1.6;
}

.public-event-ticket-top {
    min-height: 104px;
}

.public-event-ticket-label {
    gap: 6px;
}

.public-ticket-quantity {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #eef1f5;
}

.public-ticket-quantity-label {
    display: block;
    margin-bottom: 9px;
    color: #475467;
    font-size: .78rem;
    font-weight: 800;
}

.public-ticket-stepper {
    height: 44px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    overflow: hidden;
    border: 1px solid #dfe3ea;
    border-radius: 12px;
    background: #ffffff;
}

.public-ticket-stepper-button {
    border: 0;
    background: #f5f6f8;
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
}

    .public-ticket-stepper-button:hover {
        background: #ede9fe;
        color: #6d28d9;
    }

.public-ticket-quantity-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: #ffffff;
    color: #111827;
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    appearance: textfield;
}

    .public-ticket-quantity-input::-webkit-outer-spin-button,
    .public-ticket-quantity-input::-webkit-inner-spin-button {
        margin: 0;
        appearance: none;
    }

.public-ticket-quantity small {
    display: block;
    margin-top: 8px;
    color: #98a2b3;
    font-size: .7rem;
}

.public-ticket-cart-bar {
    margin-top: 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 22px;
    align-items: center;
    border: 1px solid rgba(124, 58, 237, .14);
    border-radius: 17px;
    background: linear-gradient( 135deg, rgba(124, 58, 237, .06), rgba(245, 158, 11, .06) ), #ffffff;
}

    .public-ticket-cart-bar span {
        display: block;
        color: var(--tpb-muted);
        font-size: .73rem;
        font-weight: 700;
    }

    .public-ticket-cart-bar strong {
        display: block;
        margin-top: 4px;
        color: var(--tpb-text);
        font-size: 1.22rem;
        font-weight: 950;
    }

    .public-ticket-cart-bar button:disabled {
        border-color: #d0d5dd;
        background: #d0d5dd;
        color: #667085;
        box-shadow: none;
        cursor: not-allowed;
        transform: none;
    }

@media (max-width: 700px) {

    .public-ticket-cart-bar {
        grid-template-columns: 1fr 1fr;
    }

        .public-ticket-cart-bar button {
            width: 100%;
            grid-column: 1 / -1;
        }
}
/* =========================================================
   MI CUENTA
   ========================================================= */

.account-page {
    min-height: 75vh;
    padding: 58px 0 90px;
    background: radial-gradient( circle at top right, rgba(124, 58, 237, .10), transparent 32% ), var(--tpb-bg);
}

.account-shell {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.account-hero {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.account-kicker,
.account-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7c3aed;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.account-hero h1 {
    margin: 9px 0 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.05em;
}

.account-hero p {
    margin: 14px 0 0;
    color: var(--tpb-muted);
}

.account-profile-chip {
    padding: 11px 15px 11px 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
}

    .account-profile-chip > span {
        width: 43px;
        height: 43px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        background: linear-gradient(135deg, #8b5cf6, #d946ef);
        color: #ffffff;
        font-weight: 950;
    }

    .account-profile-chip strong,
    .account-profile-chip small {
        display: block;
    }

    .account-profile-chip strong {
        font-size: .86rem;
    }

    .account-profile-chip small {
        margin-top: 2px;
        color: var(--tpb-muted);
        font-size: .7rem;
    }

.account-kpis {
    margin-bottom: 27px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

    .account-kpis article {
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-right: 1px solid #eef1f5;
    }

        .account-kpis article:last-child {
            border-right: 0;
        }

.account-kpi-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #f1edff;
    color: #7c3aed;
}

.account-kpis small,
.account-kpis strong {
    display: block;
}

.account-kpis small {
    color: var(--tpb-muted);
    font-size: .7rem;
}

.account-kpis strong {
    margin-top: 3px;
    font-size: 1.05rem;
    font-weight: 950;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 26px;
    align-items: start;
}

.account-main-column {
    display: grid;
    gap: 24px;
}

.account-card,
.account-menu,
.account-discover-card,
.account-login-required {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

.account-card {
    padding: 28px;
}

.account-card-heading {
    margin-bottom: 23px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

    .account-card-heading h2 {
        margin: 7px 0 0;
        font-size: 1.5rem;
        font-weight: 950;
    }

    .account-card-heading > a {
        color: #6d28d9;
        font-size: .82rem;
        font-weight: 800;
        text-decoration: none;
    }

.account-tickets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.account-ticket-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    border: 1px solid #e5e7eb;
    border-radius: 17px;
}

.account-ticket-image {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef1f6;
    color: #98a2b3;
}

    .account-ticket-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.account-ticket-content {
    padding: 17px;
}

    .account-ticket-content > span {
        color: #7c3aed;
        font-size: .68rem;
        font-weight: 900;
        text-transform: uppercase;
    }

    .account-ticket-content h3 {
        margin: 7px 0 6px;
        font-size: .97rem;
        font-weight: 950;
    }

    .account-ticket-content p {
        margin: 0 0 14px;
        color: var(--tpb-muted);
        font-size: .76rem;
    }

    .account-ticket-content a {
        color: #6d28d9;
        font-size: .76rem;
        font-weight: 800;
        text-decoration: none;
    }

.account-orders {
    display: grid;
}

    .account-orders article {
        padding: 15px 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 110px 28px;
        gap: 14px;
        align-items: center;
        border-bottom: 1px solid #eef1f5;
    }

        .account-orders article:last-child {
            border-bottom: 0;
        }

        .account-orders article > div span,
        .account-orders article > div small {
            display: block;
        }

        .account-orders article > div span {
            font-weight: 900;
        }

        .account-orders article > div small {
            margin-top: 4px;
            color: var(--tpb-muted);
            font-size: .7rem;
        }

.account-order-status {
    padding: 6px 9px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: .68rem;
    font-weight: 900;
}

.account-orders article > strong {
    text-align: right;
}

.account-orders article > a {
    color: #7c3aed;
}

.account-sidebar {
    position: sticky;
    top: 102px;
    display: grid;
    gap: 17px;
}

.account-menu {
    padding: 20px;
}

    .account-menu h2 {
        margin: 0 0 13px;
        font-size: 1rem;
        font-weight: 950;
    }

    .account-menu a,
    .account-menu-disabled {
        min-height: 45px;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 11px;
        color: #475467;
        font-size: .82rem;
        font-weight: 800;
        text-decoration: none;
    }

        .account-menu a:hover,
        .account-menu a.active {
            background: #f1edff;
            color: #6d28d9;
        }

.account-menu-disabled {
    opacity: .48;
}

    .account-menu-disabled small {
        margin-left: auto;
        font-size: .58rem;
    }

.account-discover-card {
    padding: 22px;
    background: radial-gradient( circle at top right, rgba(217, 70, 239, .26), transparent 40% ), linear-gradient(135deg, #111827, #312e81);
    color: #ffffff;
}

    .account-discover-card > i {
        color: #fbbf24;
        font-size: 1.3rem;
    }

    .account-discover-card h2 {
        margin: 14px 0 8px;
        font-size: 1.15rem;
        font-weight: 950;
    }

    .account-discover-card p {
        color: rgba(255, 255, 255, .68);
        font-size: .78rem;
        line-height: 1.55;
    }

    .account-discover-card a {
        color: #fbbf24;
        font-size: .76rem;
        font-weight: 900;
        text-decoration: none;
    }

.account-empty-state,
.account-login-required {
    padding: 48px 20px;
    text-align: center;
}

    .account-empty-state > i,
    .account-login-icon {
        width: 62px;
        height: 62px;
        margin: 0 auto 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 19px;
        background: #f1edff;
        color: #7c3aed;
        font-size: 1.6rem;
    }

    .account-empty-state h3,
    .account-login-required h1 {
        font-weight: 950;
    }

    .account-empty-state p,
    .account-login-required p {
        max-width: 520px;
        margin: 9px auto 20px;
        color: var(--tpb-muted);
    }

    .account-empty-state.compact {
        padding: 30px 15px;
    }

.account-primary-button {
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #171717;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .account-kpis {
        grid-template-columns: repeat(3, 1fr);
    }

        .account-kpis article {
            border-right: 0;
        }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .account-hero,
    .account-card-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-profile-chip {
        width: 100%;
    }

    .account-kpis,
    .account-tickets-grid,
    .account-sidebar {
        grid-template-columns: 1fr;
    }

    .account-ticket-card {
        grid-template-columns: 1fr;
    }

    .account-ticket-image {
        height: 190px;
    }

    .account-orders article {
        grid-template-columns: minmax(0, 1fr) auto;
    }

        .account-order-status,
        .account-orders article > strong {
            grid-column: 1;
            text-align: left;
        }

        .account-orders article > a {
            grid-column: 2;
            grid-row: 1;
        }
}

/* =========================================================
   HEADER PREMIUM V3
   ========================================================= */

.public-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    transition: box-shadow .25s ease;
}

.public-navbar {
    min-height: 80px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient( circle at top left, rgba(124, 58, 237, .18), transparent 28% ), rgba(15, 23, 42, .98);
    box-shadow: 0 10px 34px rgba(15, 23, 42, .18);
    backdrop-filter: blur(16px);
    transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}

.public-header.is-scrolled .public-navbar {
    min-height: 68px;
    background: rgba(15, 23, 42, .985);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .27);
}

.public-navbar-container {
    width: min(1560px, 96%);
    min-height: inherit;
    margin: 0 auto;
    padding: 0;
}

.public-brand {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #ffffff;
    font-size: 1.42rem;
    font-weight: 950;
    letter-spacing: -.045em;
    text-decoration: none;
    white-space: nowrap;
}

    .public-brand:hover {
        color: #ffffff;
    }

.public-brand-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 24px rgba(139, 92, 246, .22), inset 0 1px 0 rgba(255, 255, 255, .14);
    transition: width .25s ease, height .25s ease, transform .22s ease;
}

.public-brand:hover .public-brand-logo {
    transform: translateY(-1px) rotate(-2deg);
}

.public-header.is-scrolled .public-brand-logo {
    width: 39px;
    height: 39px;
}

.public-brand-logo svg {
    width: 34px;
    height: 34px;
    display: block;
}

.public-nav-links {
    margin-left: 34px;
    gap: 2px;
}

    .public-nav-links .nav-link {
        position: relative;
        margin: 0;
        padding: 29px 11px !important;
        color: rgba(255, 255, 255, .70) !important;
        font-size: .87rem;
        font-weight: 800;
        white-space: nowrap;
        transition: color .2s ease, transform .2s ease, padding .25s ease;
    }

.public-header.is-scrolled .public-nav-links .nav-link {
    padding-top: 23px !important;
    padding-bottom: 23px !important;
}

.public-nav-links .nav-link::after {
    position: absolute;
    right: 11px;
    bottom: 18px;
    left: 11px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, #f59e0b);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease, bottom .25s ease;
}

.public-header.is-scrolled .public-nav-links .nav-link::after {
    bottom: 13px;
}

.public-nav-links .nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

    .public-nav-links .nav-link:hover::after {
        opacity: 1;
        transform: scaleX(1);
    }

.public-header-search {
    width: min(270px, 100%);
    margin-left: auto;
}

    .public-header-search form {
        height: 43px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        gap: 9px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 999px;
        background: rgba(255, 255, 255, .075);
        transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    }

        .public-header-search form:focus-within {
            border-color: rgba(167, 139, 250, .55);
            background: rgba(255, 255, 255, .11);
            box-shadow: 0 0 0 4px rgba(139, 92, 246, .10);
        }

    .public-header-search i {
        color: rgba(255, 255, 255, .48);
    }

    .public-header-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #ffffff;
        font-size: .83rem;
    }

        .public-header-search input::placeholder {
            color: rgba(255, 255, 255, .43);
        }

.public-header-actions {
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.public-icon-button {
    width: 42px;
    height: 42px;
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .065);
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

    .public-icon-button:hover {
        border-color: rgba(167, 139, 250, .46);
        background: rgba(139, 92, 246, .20);
        color: #ffffff;
        transform: translateY(-1px);
    }

    .public-icon-button:disabled {
        opacity: .42;
        cursor: not-allowed;
    }

.public-account-dropdown {
    margin-left: 2px;
}

.public-account-trigger {
    min-height: 46px;
    padding: 5px 12px 5px 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: rgba(255, 255, 255, .075);
    color: #ffffff;
    text-align: left;
}

    .public-account-trigger:hover,
    .public-account-trigger[aria-expanded="true"] {
        border-color: rgba(167, 139, 250, .45);
        background: rgba(255, 255, 255, .12);
    }

    .public-account-trigger::after {
        margin-left: 3px;
        opacity: .65;
    }

.public-account-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(139, 92, 246, .28);
}

    .public-account-avatar.large {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

.public-account-copy {
    display: block;
    line-height: 1.1;
}

    .public-account-copy strong,
    .public-account-copy small {
        display: block;
    }

    .public-account-copy strong {
        color: #ffffff;
        font-size: .78rem;
        font-weight: 900;
    }

    .public-account-copy small {
        margin-top: 3px;
        color: rgba(255, 255, 255, .48);
        font-size: .64rem;
    }

.public-account-menu {
    width: 275px;
    margin-top: 12px !important;
    padding: 9px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .20);
}

.public-account-menu-header {
    margin-bottom: 7px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 13px;
    background: #f8f5ff;
}

    .public-account-menu-header strong,
    .public-account-menu-header small {
        display: block;
    }

    .public-account-menu-header strong {
        color: var(--tpb-text);
        font-size: .87rem;
        font-weight: 950;
    }

    .public-account-menu-header small {
        margin-top: 2px;
        color: var(--tpb-muted);
        font-size: .68rem;
    }

.public-account-menu .dropdown-item {
    min-height: 43px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 11px;
    color: #475467;
    font-size: .8rem;
    font-weight: 800;
}

    .public-account-menu .dropdown-item i {
        width: 18px;
        color: #7c3aed;
        text-align: center;
    }

    .public-account-menu .dropdown-item:hover {
        background: #f1edff;
        color: #6d28d9;
    }

    .public-account-menu .dropdown-item.disabled {
        opacity: .45;
    }

    .public-account-menu .dropdown-item small {
        margin-left: auto;
        font-size: .56rem;
    }

.public-menu-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    color: #ffffff;
    box-shadow: none !important;
}

    .public-menu-button i {
        font-size: 1.4rem;
    }

.public-brand-logo.footer-logo {
    color: #a78bfa;
}

@media (max-width: 1390px) {
    .public-header-search {
        width: 220px;
    }

    .public-nav-links {
        margin-left: 22px;
    }

        .public-nav-links .nav-link {
            padding-right: 8px !important;
            padding-left: 8px !important;
            font-size: .82rem;
        }
}

@media (max-width: 1199px) {
    .public-navbar-container {
        padding: 13px 0;
    }

    .public-navbar .navbar-collapse {
        padding: 16px 0 4px;
    }

    .public-nav-links {
        margin-left: 0;
    }

        .public-nav-links .nav-link,
        .public-header.is-scrolled .public-nav-links .nav-link {
            padding: 11px 0 !important;
        }

            .public-nav-links .nav-link::after {
                display: none;
            }

    .public-header-search {
        width: 100%;
        margin: 12px 0 0;
    }

    .public-header-actions {
        margin: 13px 0 0;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .public-account-dropdown {
        flex: 1 1 220px;
    }

    .public-account-trigger {
        width: 100%;
    }

    .public-account-menu {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .public-brand {
        font-size: 1.18rem;
    }

    .public-brand-logo {
        width: 38px;
        height: 38px;
    }

        .public-brand-logo svg {
            width: 29px;
            height: 29px;
        }

    .public-icon-button {
        flex: 1;
    }

    .public-account-dropdown {
        flex-basis: 100%;
    }

    .public-account-copy {
        flex: 1;
    }
}

/* =========================================================
   BRANDING V4 - DEFINITIVO
   ========================================================= */

.public-brand-text {
    font-size: 1.52rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.045em;
    white-space: nowrap;
    transition: color .25s ease, font-size .25s ease;
}

.brand-light {
    color: rgba(255, 255, 255, .76);
    font-weight: 550;
}

.brand-accent {
    color: #b47cff;
    font-weight: 950;
    transition: color .25s ease;
}

.public-brand:hover .public-brand-logo {
    transform: translateY(-3px) rotate(-8deg) scale(1.08);
    border-color: rgba(180, 124, 255, .55);
    background: linear-gradient( 135deg, rgba(139, 92, 246, .22), rgba(245, 158, 11, .18) );
    box-shadow: 0 18px 35px rgba(139, 92, 246, .35), 0 0 18px rgba(245, 158, 11, .25);
}

.public-brand:hover .brand-accent {
    color: #d18dff;
}

.public-header.is-scrolled .public-brand-text {
    font-size: 1.40rem;
}

.public-nav-links .nav-link::after {
    right: 10px;
    bottom: 16px;
    left: 10px;
    height: 3px;
    background: linear-gradient( 90deg, #8b5cf6, #b47cff, #f59e0b );
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: opacity .28s ease, transform .28s ease, bottom .25s ease;
}

.public-nav-links .nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.public-header-search form:focus-within {
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .public-brand-text {
        font-size: 1.18rem;
    }

    .public-header.is-scrolled .public-brand-text {
        font-size: 1.14rem;
    }
}
/* =========================================================
   AUTENTICACIÓN
   Login, registro y recuperación de cuenta
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 80px);
    padding: 42px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient( circle at 15% 20%, rgba(137, 71, 255, 0.13), transparent 30% ), radial-gradient( circle at 85% 80%, rgba(255, 176, 0, 0.10), transparent 28% ), #f5f7fc;
}

.auth-shell {
    width: min(1180px, 100%);
    min-height: 700px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(23, 29, 57, 0.14);
}

/* =========================================================
   PANEL VISUAL
   ========================================================= */

.auth-visual {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(15, 18, 45, 0.96), rgba(62, 20, 105, 0.84) ), url("/images/home/hero-baile.jpg") center center / cover no-repeat;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 80% 15%, rgba(186, 79, 255, 0.45), transparent 36% ), linear-gradient( to top, rgba(11, 13, 32, 0.72), transparent 60% );
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    min-height: 700px;
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    color: #ffffff;
    font-size: 23px;
    text-decoration: none;
}

    .auth-brand:hover {
        color: #ffffff;
    }

.auth-brand-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient( 135deg, #8d4bff, #d53cff );
    box-shadow: 0 12px 30px rgba(162, 63, 255, 0.35);
}

.auth-visual-message {
    max-width: 540px;
    margin: auto 0;
    color: #ffffff;
}

.auth-kicker {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-visual-message h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.auth-visual-message > p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.65;
}

.auth-benefits {
    margin-top: 38px;
    display: grid;
    gap: 17px;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

    .auth-benefit > span {
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(255, 183, 0, 0.16);
        color: #ffc342;
        font-size: 14px;
        font-weight: 900;
    }

    .auth-benefit div {
        display: grid;
        gap: 3px;
    }

    .auth-benefit strong {
        color: #ffffff;
        font-size: 15px;
    }

    .auth-benefit small {
        color: rgba(255, 255, 255, 0.62);
        font-size: 13px;
        line-height: 1.45;
    }

.auth-visual-footer {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.auth-form-panel {
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #ffffff;
}

.auth-form-wrapper {
    width: min(430px, 100%);
}

.auth-back-link {
    display: inline-flex;
    margin-bottom: 38px;
    color: #687086;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .auth-back-link:hover {
        color: #7739e8;
        transform: translateX(-3px);
    }

.auth-form-header {
    margin-bottom: 30px;
}

.auth-user-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient( 135deg, #8a42f4, #d93cf4 );
    box-shadow: 0 13px 28px rgba(139, 65, 242, 0.24);
}

    .auth-user-icon span {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #ffffff;
        font-size: 0;
    }

.auth-form-kicker {
    display: block;
    margin-bottom: 7px;
    color: #8740ed;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-form-header h2 {
    margin: 0 0 10px;
    color: #171c35;
    font-size: 36px;
    font-weight: 850;
    letter-spacing: -0.035em;
}

.auth-form-header p {
    margin: 0;
    color: #737b90;
    font-size: 15px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 21px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

    .auth-field label {
        color: #282f47;
        font-size: 13px;
        font-weight: 800;
    }

.auth-input-wrapper {
    position: relative;
}

    .auth-input-wrapper input {
        width: 100%;
        height: 55px;
        padding: 0 92px 0 46px;
        border: 1px solid #dce0eb;
        border-radius: 14px;
        outline: none;
        background: #fafbfe;
        color: #171c35;
        font-size: 15px;
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

        .auth-input-wrapper input::placeholder {
            color: #a4a9b8;
        }

        .auth-input-wrapper input:focus {
            border-color: #9143ef;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(145, 67, 239, 0.11);
        }

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #9b68ec;
    font-size: 17px;
    pointer-events: none;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7640c8;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

    .auth-password-toggle:hover {
        color: #4d1c9c;
    }

.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #596176;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

    .auth-checkbox input {
        width: 17px;
        height: 17px;
        accent-color: #8842ec;
    }

.auth-forgot-disabled {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9ca2b1;
    font-size: 12px;
    font-weight: 700;
}

    .auth-forgot-disabled small {
        padding: 3px 6px;
        border-radius: 999px;
        background: #f0edf6;
        color: #9c79c7;
        font-size: 9px;
        font-weight: 900;
        text-transform: uppercase;
    }

.auth-submit {
    width: 100%;
    min-height: 56px;
    padding: 0 21px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 14px;
    background: linear-gradient( 135deg, #7434e7, #ad3ce8 );
    color: #ffffff;
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 15px 30px rgba(127, 52, 225, 0.24);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .auth-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 19px 36px rgba(127, 52, 225, 0.3);
    }

.auth-submit-arrow {
    font-size: 22px;
}

.auth-validation-summary {
    display: none;
    padding: 13px 15px;
    border: 1px solid #f2b5c1;
    border-radius: 12px;
    background: #fff1f4;
    color: #b42343;
    font-size: 13px;
}

    .auth-validation-summary.validation-summary-errors {
        display: block;
    }

    .auth-validation-summary ul {
        margin: 0;
        padding-left: 18px;
    }

.auth-field-error {
    min-height: 17px;
    color: #bd2949;
    font-size: 12px;
    font-weight: 650;
}

.auth-register {
    margin-top: 30px;
    padding-top: 25px;
    display: flex;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid #eceef4;
    color: #737b90;
    font-size: 13px;
}

    .auth-register a {
        color: #7937dc;
        font-weight: 850;
        text-decoration: none;
    }

        .auth-register a:hover {
            text-decoration: underline;
        }

.auth-legal {
    margin-top: 23px;
    color: #a0a5b2;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .auth-page {
        padding: 24px;
    }

    .auth-shell {
        width: min(620px, 100%);
        grid-template-columns: 1fr;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-panel {
        min-height: auto;
        padding: 44px;
    }
}

@media (max-width: 560px) {

    .auth-page {
        min-height: calc(100vh - 60px);
        padding: 0;
        align-items: stretch;
        background: #ffffff;
    }

    .auth-shell {
        width: 100%;
        min-height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-form-panel {
        padding: 30px 22px;
        align-items: flex-start;
    }

    .auth-back-link {
        margin-bottom: 30px;
    }

    .auth-form-header h2 {
        font-size: 31px;
    }

    .auth-form-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-register {
        flex-direction: column;
        align-items: center;
    }
}