/* ========================================
   PASE LISTO.PE — Diseño referencia 100%
   Cobalt #0056D2 · Navy #001D3D · White
   ======================================== */

:root {
    --pl-blue: #0056d2;
    --pl-blue-hover: #0047b3;
    --pl-navy: #001d3d;
    --pl-navy-deep: #001529;
    --pl-ink: #0f172a;
    --pl-ink-soft: #334155;
    --pl-muted: #64748b;
    --pl-line: #e2e8f0;
    --pl-bg: #f5f7fb;
    --pl-white: #ffffff;
    --pl-radius: 14px;
    --pl-radius-lg: 20px;
    --pl-radius-pill: 999px;
    --pl-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --pl-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
    --pl-header: 72px;
    --font-sans: "Plus Jakarta Sans", Inter, system-ui, sans-serif;

    --primary-color: var(--pl-blue);
    --secondary-color: var(--pl-blue);
    --accent-color: var(--pl-blue);
    --gradient-primary: linear-gradient(135deg, #0056d2, #003f9e);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-sans) !important;
    color: var(--pl-ink) !important;
    background: var(--pl-white) !important;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--pl-blue); outline-offset: 2px; }

.pl-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* ========== PRELOADER ========== */
.preloader {
    background: var(--pl-navy-deep) !important;
}
.preloader-brand {
    width: min(220px, 68vw);
    height: auto;
}
.preloader-logo .logo-icon,
.preloader-logo .logo-text,
.preloader-text .loading-dots { display: none !important; }
.spinner-ring { background: var(--pl-blue) !important; }
.preloader-progress .progress-bar { background: var(--pl-blue) !important; }
.loading-text { color: rgba(255,255,255,.75) !important; font-size: .95rem !important; }

/* ========== HEADER ========== */
.header-section,
header.header-section {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: var(--pl-white) !important;
    border-bottom: 1px solid var(--pl-line) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
}

.header-wrapper {
    width: min(1180px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    min-height: var(--pl-header) !important;
    padding: 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    max-width: none !important;
}

.header-section .logo,
.header-section .logo a {
    width: auto !important;
    flex-shrink: 0;
}

.logo-image,
.header-section .logo a img,
.header-section .logo-image {
    height: 40px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain !important;
    filter: none !important;
    background: transparent !important;
}

.footer-logo-image {
    height: 36px !important;
    max-width: 170px !important;
    background: transparent !important;
}

/* Nav */
.pl-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.pl-nav a {
    color: var(--pl-ink-soft) !important;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pl-nav a:hover { color: var(--pl-blue) !important; }
.pl-nav a i { font-size: 11px; opacity: .7; }

.header-section .search-section,
.header-section .filters-section,
.header-section .filters-panel { display: none !important; }

.user-area,
.auth-buttons {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: 8px;
}

.btn-create-event,
.btn-signup {
    background: var(--pl-white) !important;
    color: var(--pl-ink) !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.btn-create-event:hover,
.btn-signup:hover {
    border-color: var(--pl-navy) !important;
    color: var(--pl-navy) !important;
    transform: none !important;
    box-shadow: none !important;
    background: var(--pl-white) !important;
}

.btn-login {
    background: var(--pl-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.btn-login::before,
.btn-signup::before { display: none !important; }

.btn-login:hover {
    background: #00264f !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Avatar / menú usuario — vence texto blanco de style.css */
.header-section .user-avatar,
.user-avatar {
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 999px !important;
    padding: 6px 12px 6px 6px !important;
    gap: 8px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
}

.header-section .user-avatar::before,
.user-avatar::before { display: none !important; }

.header-section .user-avatar:hover,
.user-avatar:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.header-section .avatar-circle,
.avatar-circle {
    background: #0056d2 !important;
    background-image: none !important;
    color: #fff !important;
    width: 36px !important;
    height: 36px !important;
    margin-right: 4px !important;
    box-shadow: none !important;
    font-size: 13px !important;
}

.header-section .avatar-circle::before,
.avatar-circle::before { display: none !important; }

.header-section .user-avatar .user-name,
.header-section .user-name,
.user-avatar .user-name,
.user-name {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-shadow: none !important;
    margin-right: 4px !important;
}

.header-section .dropdown-arrow,
.user-avatar .dropdown-arrow,
.dropdown-arrow {
    color: #64748b !important;
    font-size: 12px !important;
}

.header-section .user-avatar.active .dropdown-arrow,
.user-avatar.active .dropdown-arrow {
    color: #0056d2 !important;
}

.header-section .user-dropdown-menu,
.user-dropdown-menu {
    background: #fff !important;
    background-image: none !important;
    border: 1px solid #e8eef6 !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    backdrop-filter: none !important;
    min-width: 240px !important;
    padding: 8px !important;
    overflow: hidden !important;
}

.header-section .dropdown-item,
.user-dropdown-menu .dropdown-item {
    color: #334155 !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.header-section .dropdown-item:hover,
.user-dropdown-menu .dropdown-item:hover {
    background: #f1f5f9 !important;
    color: #0056d2 !important;
}

.header-section .dropdown-item i,
.user-dropdown-menu .dropdown-item i {
    color: #0056d2 !important;
}

.header-section .dropdown-item.logout,
.user-dropdown-menu .dropdown-item.logout {
    color: #dc2626 !important;
}

.header-section .dropdown-item.logout:hover,
.user-dropdown-menu .dropdown-item.logout:hover {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.header-section .dropdown-item.logout i,
.user-dropdown-menu .dropdown-item.logout i {
    color: #dc2626 !important;
}

.header-section .dropdown-divider,
.user-dropdown-menu .dropdown-divider {
    background: #e2e8f0 !important;
    margin: 6px 4px !important;
}

/* Toasts / mensajes flash (logout, success, error) */
.messages-container {
    position: fixed !important;
    top: calc(var(--pl-header) + 16px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 12000 !important;
    width: min(440px, calc(100% - 32px)) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: none !important;
}

.message-alert {
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    animation: plToastIn .35s ease both !important;
}

@keyframes plToastIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message-alert.message-success,
.message-alert.message-Success {
    border-color: #a7f3d0 !important;
    background: #ecfdf5 !important;
    color: #047857 !important;
}

.message-alert.message-error,
.message-alert.message-Error,
.message-alert.message-danger {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

.message-alert.message-warning,
.message-alert.message-Warning {
    border-color: #fde68a !important;
    background: #fffbeb !important;
    color: #b45309 !important;
}

.message-alert.message-info,
.message-alert.message-Info {
    border-color: #bfdbfe !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.message-text {
    flex: 1 !important;
    line-height: 1.4 !important;
}

.message-close {
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    color: inherit !important;
    opacity: .7 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.message-close:hover {
    opacity: 1 !important;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.header-bar { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.header-bar span {
    width: 22px; height: 2px; background: var(--pl-ink) !important; border-radius: 2px;
}

.mobile-menu {
    display: none;
    background: #fff !important;
    border-top: 1px solid var(--pl-line);
    padding: 16px 20px 24px;
}
.mobile-menu.active,
.mobile-menu.open { display: block !important; }
.mobile-menu .mobile-filters { display: none !important; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-link {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--pl-ink-soft) !important;
}
.mobile-nav-link:hover { background: var(--pl-bg); color: var(--pl-blue) !important; }
.mobile-search .search-input-container {
    background: var(--pl-bg) !important;
    border: 1px solid var(--pl-line) !important;
    border-radius: 12px !important;
}
.mobile-search .search-input { color: var(--pl-ink) !important; background: transparent !important; }

/* ========== HERO ========== */
.pl-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 0;
    background:
        linear-gradient(180deg, rgba(0,29,61,.25) 0%, rgba(0,21,41,.55) 45%, rgba(0,21,41,.82) 100%),
        url("../images/banner/hero-pase-listo.jpg") center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.pl-hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 0;
}

.pl-hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--pl-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--pl-radius-pill);
    margin-bottom: 18px;
}

.pl-hero-title {
    margin: 0 0 12px;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    max-width: 720px;
    color: #fff !important;
    text-shadow: 0 8px 30px rgba(0,0,0,.35);
}

.pl-hero-sub {
    margin: 0 0 28px;
    font-size: 1.1rem;
    color: rgba(255,255,255,.88);
    max-width: 520px;
}

/* Search card */
.pl-search-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--pl-shadow-lg);
    padding: 10px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 3;
    margin-bottom: -1px;
}

.pl-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-height: 58px;
    border-right: 1px solid var(--pl-line);
}

.pl-search-field:last-of-type { border-right: none; }

.pl-search-field i {
    color: var(--pl-blue);
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.pl-search-field input,
.pl-search-field select {
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--pl-ink) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    appearance: none;
    -webkit-appearance: none;
}

.pl-search-field select { cursor: pointer; }
.pl-search-field input::placeholder { color: #94a3b8; font-weight: 500; }

.pl-search-submit {
    align-self: center;
    margin-right: 4px;
    background: var(--pl-blue) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 22px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none !important;
}

.pl-search-submit:hover { background: var(--pl-blue-hover) !important; }

.pl-hero-cats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0, 29, 61, 0.72);
    backdrop-filter: blur(10px);
    margin-top: 18px;
    border-radius: 14px 14px 0 0;
    padding: 14px 10px;
}

.pl-hero-cat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.92);
    font-size: 13px;
    font-weight: 600;
    padding: 8px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.pl-hero-cat:last-child { border-right: none; }
.pl-hero-cat i { font-size: 18px; opacity: .95; }
.pl-hero-cat:hover { color: #fff; }

/* Hide old hero slider remnants on home */
.home-page .hero-slider-section,
.home-page .quick-search-section { display: none !important; }

/* ========== SECTIONS ========== */
.pl-section {
    padding: 72px 0;
    background: var(--pl-white);
}

.pl-events-section {
    background: #f4f7fb !important;
    padding: 64px 0 72px !important;
}

.pl-events-header {
    text-align: center;
    margin-bottom: 22px;
}

.pl-section-title {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #0a1a32;
}

.pl-section-sub {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.pl-events-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pl-section-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Chips de filtro: vencen el button global morado de style.css */
button.pl-chip,
.pl-chip {
    border: 1px solid #d7dee9 !important;
    background: #fff !important;
    background-image: none !important;
    color: #0f172a !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-transform: none !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease !important;
}

button.pl-chip i,
.pl-chip i {
    font-size: 12px !important;
    color: #64748b !important;
    line-height: 1 !important;
}

button.pl-chip:hover,
.pl-chip:hover {
    background: #fff !important;
    background-image: none !important;
    border-color: #b8c4d8 !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transform: none !important;
}

button.pl-chip:hover i,
.pl-chip:hover i {
    color: #475569 !important;
}

button.pl-chip.is-active,
.pl-chip.is-active,
button.pl-chip.is-active:hover,
.pl-chip.is-active:hover {
    background: #0056d2 !important;
    background-image: none !important;
    border-color: #0056d2 !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(0, 86, 210, 0.22) !important;
    transform: none !important;
}

button.pl-chip.is-active i,
.pl-chip.is-active i,
button.pl-chip.is-active:hover i,
.pl-chip.is-active:hover i {
    color: #fff !important;
}

.pl-link-all {
    color: #0056d2;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.pl-link-all:hover { text-decoration: underline; }

/* ========== EVENT CARDS ========== */
.pl-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pl-card {
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.pl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.pl-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #dbe3f0;
}

.pl-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.pl-card:hover .pl-card-media img {
    transform: scale(1.04);
}

.pl-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0056d2;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px rgba(0, 86, 210, 0.35);
}

.pl-card-tag i {
    font-size: 11px;
}

.pl-card-date {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    color: #0a1a32;
    min-width: 58px;
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
    text-align: center;
    line-height: 1.05;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pl-date-day {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.pl-date-month {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    margin-top: 1px;
}

.pl-date-year {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    margin-top: 1px;
}

.pl-card-body {
    padding: 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pl-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: #0a1a32;
    line-height: 1.25;
}

.pl-card-title a {
    color: inherit;
}

.pl-card-title a:hover {
    color: #0056d2;
}

.pl-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 2px;
}

.pl-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    min-width: 0;
    flex: 1;
}
.pl-card-loc i { color: #0056d2; font-size: 13px; }
.pl-card-loc span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pl-card-divider {
    width: 1px;
    height: 34px;
    background: #e2e8f0;
    flex-shrink: 0;
}

.pl-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.15;
    white-space: nowrap;
}

.pl-price-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.pl-price-value {
    font-size: 16px;
    font-weight: 800;
    color: #0a1a32;
}

.pl-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    background: #0056d2 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 13px 14px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(0, 86, 210, 0.22);
}

.pl-card-btn:hover {
    background: #0047b3 !important;
    transform: translateY(-1px);
}

/* ========== CATEGORY TILES ========== */
.pl-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.pl-cat-tile {
    position: relative;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    box-shadow: 0 10px 24px rgba(15,23,42,.1);
}

.pl-cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.pl-cat-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,29,61,.15), rgba(0,21,41,.78));
}

.pl-cat-tile:hover img { transform: scale(1.05); }

.pl-cat-label {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 1;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pl-cat-label i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.pl-cat-label strong {
    font-size: 1.05rem;
    font-weight: 800;
}

/* ========== ORGANIZER CTA ========== */
.pl-cta {
    padding: 24px 0 80px;
    background: var(--pl-white);
}

.pl-cta-box {
    background: var(--pl-navy);
    color: #fff;
    border-radius: 24px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr .9fr;
    gap: 28px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.pl-cta-title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    max-width: 320px;
    line-height: 1.2;
}

.pl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pl-blue);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 14px;
}
.pl-cta-btn:hover { background: var(--pl-blue-hover); color: #fff; }

.pl-cta-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pl-cta-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pl-cta-feature i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7eb6ff;
    flex-shrink: 0;
}

.pl-cta-feature strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}
.pl-cta-feature span {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

.pl-ticket-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    max-width: 320px;
    width: 100%;
}

.pl-ticket-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
    transform: rotate(-2deg);
    transition: transform .3s ease;
}

.pl-ticket-visual:hover .pl-ticket-img {
    transform: rotate(0deg) scale(1.03);
}

/* ========== FOOTER ========== */
.footer-section {
    background: var(--pl-navy-deep) !important;
    border-top: none !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.75) !important;
}

.footer-main { padding: 56px 0 28px !important; }
.footer-effects { display: none !important; }

.footer-content {
    width: min(1180px, calc(100% - 40px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto !important;
    gap: 28px !important;
    max-width: none !important;
}

.footer-logo-image {
    height: 36px !important;
    max-width: 160px !important;
    margin-bottom: 12px;
}

.footer-description {
    color: rgba(255,255,255,.65) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 320px;
    margin: 0 0 10px !important;
}

.footer-description + .footer-description {
    margin-bottom: 0 !important;
}

.footer-stats { display: none !important; }

.footer-links h4,
.footer-newsletter h4 {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    margin: 0 0 14px !important;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 10px; }
.footer-links a {
    color: rgba(255,255,255,.65) !important;
    font-size: 14px !important;
    padding-left: 0 !important;
}
.footer-links a::before { display: none !important; }
.footer-links a:hover { color: #fff !important; }

.footer-newsletter p { display: none; }
.newsletter-form { display: none !important; }

.social-links {
    display: flex !important;
    gap: 10px !important;
    margin-top: 0 !important;
}

.social-link {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    background: transparent !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.social-link .pl-social-svg {
    width: 15px;
    height: 15px;
    display: block;
}

.social-link:hover {
    background: var(--pl-blue) !important;
    border-color: var(--pl-blue) !important;
    color: #fff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0 28px;
}

.footer-bottom-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.copyright p {
    margin: 0;
    color: rgba(255,255,255,.5);
    font-size: 13px;
}

.footer-bottom-right {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

a.pl-designed-by,
.pl-designed-by {
    margin: 0 !important;
    font-size: 12px !important;
    color: rgba(255,255,255,.48) !important;
    letter-spacing: .02em;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: color .2s ease;
}

.pl-designed-by span {
    color: rgba(255,255,255,.82);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
}

a.pl-designed-by:hover,
a.pl-designed-by:hover span {
    color: #fff !important;
}

.copyright .made-with { display: none; }
.footer-badges { display: none !important; }

.pl-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 12px;
}

/* ========== EVENTOS LIST PAGE ========== */
.pl-page {
    background: var(--pl-bg);
    padding: 40px 0 72px;
    min-height: 60vh;
}

.pl-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.pl-page-eyebrow {
    margin: 0 0 6px;
    color: #0056d2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.pl-page-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #0a1a32;
}

.pl-page-sub {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    max-width: 42ch;
}

.pl-result-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.pl-filter-bar {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 12px;
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 20px;
}

.pl-filter-field {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    min-height: 48px;
    padding: 0 14px 0 42px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.pl-filter-field:focus-within {
    border-color: #0056d2;
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.12);
    background: #fff;
}

.pl-filter-field i {
    position: absolute;
    left: 14px;
    color: #0056d2;
    font-size: 14px;
    pointer-events: none;
}

.pl-filter-field input,
.pl-filter-field select {
    width: 100%;
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    appearance: none;
    -webkit-appearance: none;
}

.pl-filter-field select {
    cursor: pointer;
    padding-right: 18px !important;
}

button.pl-filter-submit,
.pl-filter-submit {
    border: none !important;
    border-radius: 12px !important;
    background: #0056d2 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 0 22px !important;
    min-width: 110px !important;
    height: 48px !important;
    margin: 0 !important;
    box-shadow: 0 8px 18px rgba(0, 86, 210, 0.22) !important;
    transform: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .2s ease, box-shadow .2s ease !important;
}

button.pl-filter-submit:hover,
.pl-filter-submit:hover {
    background: #0047b3 !important;
    background-image: none !important;
    transform: none !important;
    box-shadow: 0 10px 22px rgba(0, 86, 210, 0.28) !important;
}

.pl-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -4px 0 22px;
}

.pl-active-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 86, 210, 0.08);
    color: #0056d2;
    font-size: 12px;
    font-weight: 700;
}

.pl-clear-filters {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-left: 4px;
}
.pl-clear-filters:hover { color: #0056d2; text-decoration: underline; }

.pl-empty {
    grid-column: 1 / -1;
    text-align: center;
    background: #fff;
    border: 1px solid #e8eef6;
    border-radius: 20px;
    padding: 56px 28px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pl-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: #eff6ff;
    color: #0056d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.pl-empty h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0a1a32;
}

.pl-empty p {
    margin: 0 auto 24px;
    max-width: 42ch;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.55;
}

.pl-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

a.pl-btn-primary,
.pl-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    background: #0056d2 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(0, 86, 210, 0.22) !important;
    text-decoration: none !important;
}

a.pl-btn-primary:hover,
.pl-btn-primary:hover {
    background: #0047b3 !important;
    color: #fff !important;
}

a.pl-btn-ghost,
.pl-btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    background: #fff !important;
    background-image: none !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: 1.5px solid #dbe3f0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

a.pl-btn-ghost:hover,
.pl-btn-ghost:hover {
    border-color: #0056d2 !important;
    color: #0056d2 !important;
    background: #fff !important;
}

.pl-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pl-page-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .2s ease;
}

a.pl-page-btn:hover {
    border-color: #0056d2;
    color: #0056d2;
}

.pl-page-btn.is-active {
    background: #0056d2;
    border-color: #0056d2;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 86, 210, 0.22);
}

@media (max-width: 900px) {
    .pl-filter-bar {
        grid-template-columns: 1fr 1fr;
    }
    .pl-filter-submit {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .pl-filter-bar {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .pl-page {
        padding: 28px 0 56px;
    }
}

/* ========== AUTH / INTERNAL PAGES ========== */
.login-main-section,
.signup-main-section {
    background: var(--pl-bg) !important;
}
.login-form-column,
.signup-form-column {
    border-radius: 18px !important;
    border: 1px solid var(--pl-line) !important;
    box-shadow: var(--pl-shadow) !important;
}
.btn-submit,
button[type="submit"].btn {
    background: var(--pl-blue) !important;
    border-radius: 12px !important;
}

.scrollToTop {
    background: var(--pl-blue) !important;
    border-radius: 12px !important;
    width: 44px !important;
    height: 44px !important;
    box-shadow: 0 8px 20px rgba(0,86,210,.35) !important;
}


/* Hide old home leftover sections if still in DOM */
.home-page .categories-section,
.home-page .organizer-section,
.home-page .featured-events-section { display: none !important; }

/* Login / signup: mantienen header y footer del sitio */
body.login-page,
body.signup-page {
    background: #f5f7fb !important;
}

body.signup-page .header-section,
body.signup-page .footer-section {
    display: none !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .pl-nav { display: none; }
    .header-bar { display: flex !important; }
    .pl-events-grid { grid-template-columns: repeat(2, 1fr); }
    .pl-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .pl-cta-box { grid-template-columns: 1fr; }
    .pl-ticket-visual {
        margin: 8px auto 0;
        max-width: 280px;
    }
    .pl-ticket-img {
        transform: none;
    }
    .footer-content { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 900px) {
    .pl-events-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .pl-search-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px;
    }
    .pl-search-field {
        border-right: none;
        border: 1px solid var(--pl-line);
        border-radius: 12px;
        background: #f8fafc;
    }
    .pl-search-submit { width: 100%; margin: 0; }
    .pl-hero { min-height: 560px; padding-top: 100px; }
    .pl-hero-cats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 14px;
        margin-bottom: 18px;
    }
    .pl-hero-cat { border-right: none; }
}

@media (max-width: 640px) {
    .pl-events-grid,
    .pl-cat-grid,
    .footer-content { grid-template-columns: 1fr !important; }
    .pl-section-head { flex-direction: column; align-items: flex-start; }
    .btn-create-event { display: none !important; }
    .pl-hero-cats { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-content { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
