.hero-events {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 160px; 
  overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    z-index: -2;
    pointer-events: none;
}
.orb1 {
    width: 420px;
    height: 420px;
    background: var(--pink);
    top: 8%;
    left: -8%;
}
.orb2 {
    width: 380px;
    height: 380px;
    background: var(--violet);
    bottom: 5%;
    right: -6%;
}
.orb3 {
    width: 260px;
    height: 260px;
    background: var(--cyan);
    top: 45%;
    right: 18%;
    opacity: .3;
}
.hero-bg-events {
    position: absolute;
    inset: 0;
    z-index: -3;
}
.hero-bg-events img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
}
.hero-bg-events::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 50% 30%, rgba(7,6,10,.35), rgba(7,6,10,.85) 70%),
        linear-gradient(180deg, rgba(7,6,10,.55) 0%, rgba(7,6,10,.55) 30%, #07060a 92%);
}
.hero-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Unbounded',sans-serif;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold); 
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--gold);
    display: inline-block;
}
.hero-title-e {
  font-size: 8vw; 
  font-weight: 800; 
  color: var(--text);
  display: flex; 
  flex-wrap: wrap; 
  gap: 0 24px; 
  width: 100%;
}
.hero-title-e .line {
    display: flex;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
}
.hero-title-e .word {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}
.hero-title-e .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub-events {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-bottom: 44px;
}
.hero-tagline {
    max-width: 460px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

/* SEARCH + FILTERS */
#filtros {
    padding: 0 0;
    border-top: 1px solid var(--line);
}
.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 44px;
}
.search-box {
  position: relative; 
  flex: 1 1 320px; 
  max-width: 420px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.search-box .ico {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 14px;
    pointer-events: none;
}
.search-box input {
  width: 100%; 
  background: rgba(255,255,255,.03); 
  border: 1px solid var(--line); 
  border-radius: 100px;
  padding: 15px 20px 15px 46px; 
  color: var(--text); 
  font-family: 'Inter'; 
  font-size: 14px;
  transition: border-color .3s ease, background .3s ease;
}
.search-box input:focus {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
    border-color: var(--pink);
    background: rgba(255,255,255,.05);
}
.search-box input::-webkit-search-cancel-button {
    appearance: none;
}
.search-clear {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
.search-clear:hover,
.search-clear:focus-visible {
    color: var(--text);
    background: rgba(255,255,255,.08);
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 25px;
}
.filter-pill {
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-family: 'Unbounded',sans-serif;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted); 
  cursor: pointer; 
  background: transparent; 
  transition: all .3s ease;
}
.filter-pill:hover {
    color: var(--text);
    border-color: rgba(255,255,255,.28);
}
.filter-pill.active {
    background: var(--grad);
    color: #08060c;
    border-color: transparent;
    font-weight: 600;
}

/* FEATURED EVENT */
#destacado {
    padding-top: 0;
    padding-bottom: 100px;
}
.featured-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.featured-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7,6,10,.94) 10%, rgba(7,6,10,.55) 55%, rgba(7,6,10,.25) 100%),
             linear-gradient(0deg, rgba(7,6,10,.9), transparent 55%);
}
.featured-inner {
    padding: 48px;
    max-width: 640px;
}
.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-family: 'Unbounded';
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.featured-inner h2 {
    font-size: clamp(28px,3.6vw,46px);
    margin-bottom: 16px;
}
.featured-inner p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 520px;
}
.featured-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.featured-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text);
}
.featured-meta span {
    color: var(--muted);
}
.featured-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* EVENTS GRID */
#cartelera {
    padding-top: 50px;
}
.section-head-e {
    max-width: 720px;
    margin-bottom: 27px;
}
.section-head-e h3 {
    font-size: clamp(30px,4.4vw,50px);
    font-weight: 700;
}
.section-head-e p {
    color: var(--muted);
    font-size: 16px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 600px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.event-card {
  background: rgba(255,255,255,.02); 
  border: 1px solid var(--line); 
  border-radius: 20px; 
  overflow: hidden;
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
    border-color: rgba(255,255,255,.22); 
    transform: translateY(-6px); 
    box-shadow: 0 24px 50px rgba(0,0,0,.4);
}
.event-media {
    position: relative;
    aspect-ratio: 4/4;
    overflow: hidden;
}
.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.event-media.is-generic-image {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(220, 184, 103, .22), transparent 48%),
    linear-gradient(145deg, #17131d, #08070b);
}
.event-media.is-generic-image img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.38));
}
.event-card:hover .event-media img {
    transform: scale(1.08);
}
.event-card:hover .event-media.is-generic-image img {
  transform: none;
}
.date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7,6,10,.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  text-align: center;
  min-width: 56px;
}
.coming-soon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(7,6,10,.78);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-family: 'Unbounded';
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.date-badge .d {
    font-family: 'Unbounded';
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}
.date-badge .m {
    font-family: 'Unbounded';
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--gold);
    margin-top: 3px;
    display: block;
    text-transform: uppercase;
}
.cat-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
  font-family: 'Unbounded';
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:var(--text);
}
.event-body {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.event-body h4 {
    font-size: 19px;
    font-weight: 600;
    text-transform: none;
    font-family: 'Unbounded';
    line-height: 1.25;
}
.event-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13.5px;
}
.is-coming-soon .event-body {
  min-height: 142px;
}
.coming-soon-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.event-details-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Unbounded';
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--line);
    transition: color .3s ease, text-decoration-color .3s ease;
}
.event-details-link:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
}
.event-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.event-price {
    font-family: 'Unbounded';
    font-size: 13px;
    color: var(--text);
}
.event-price span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.event-cta {
  font-family: 'Unbounded';
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pink); 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  transition: gap .3s ease, color .3s ease;
}
.event-cta:hover {
    gap: 10px;
    color: var(--gold);
}
.empty-state {
    display: none;
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
}
.empty-state.is-visible {
    display: block;
}
.empty-state .btn {
    margin-top: 24px;
}
.empty-state h5 {
    font-family: 'Unbounded';
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: none;
}
.empty-state p {
    color: var(--muted);
    font-size: 17px;
    margin-top: 10px;
    line-height: 1.7;
}

/* CTA STRIP */
#cta-strip {
  background: linear-gradient(120deg, rgba(41,175,216,.12), rgba(139,92,246,.1));
  border-top: 1px solid var(--line); 
  border-bottom: 1px solid var(--line);
  text-align: center;
}
#cta-strip h6 {
    font-size: clamp(26px,4vw,44px);
    margin-bottom: 18px;
}
#cta-strip p {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 34px;
    line-height: 1.6;
}

/* EVENT DETAILS MODAL */
.event-modal-overlay {
  position: fixed; 
  inset: 0; 
  z-index: 300;
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 24px;
  background: var(--line);
  backdrop-filter: blur(6px);
  opacity: 0; 
  pointer-events: none;
  transition: opacity .3s ease;
}
.event-modal-overlay.open {
  opacity: 1; 
  pointer-events: auto;
}
.event-modal {
  position: relative;
  width: 100%; 
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.event-modal-overlay.open .event-modal {
  transform: translateY(0) scale(1);
}
.event-modal-close {
  position: absolute; 
  top: 14px; 
  right: 14px; 
  z-index: 2;
  width: 34px; 
  height: 34px; 
  border-radius: 50%;
  background: rgba(7,6,10,.7); 
  backdrop-filter: blur(8px);
  border: 1px solid var(--line); 
  color: var(--text);
  font-size: 20px; 
  line-height: 1; 
  cursor: pointer;
}
.event-modal-body {
  padding: 26px 26px 30px;
}
.event-modal-body h3 {
  font-size: 19px; 
  font-weight: 600; 
  text-transform: none;
  font-family: 'Unbounded'; 
  margin-bottom: 10px;
  line-height: 1.25;
}
.event-modal-body .event-text {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.event-modal-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.event-modal-list:empty {
  display: none;
}
.event-modal-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.event-modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 12px;
}
.event-modal-price {
  display: flex; 
  align-items: baseline; 
  gap: 8px;
  padding-top: 18px; 
  margin-bottom: 22px;
  border-top: 1px solid var(--line);
  font-family: 'Unbounded'; 
}
.event-modal-price span {
  color: var(--muted); 
  font-size: 13.5px; 
}
.event-modal-price strong {
  font-size: 13.5px; 
  color: var(--text); 
  font-weight: 600;
}

/* RESPONSIVE */
@media(max-width:980px) {
    .hero-title-e {
        font-size: 7vw;
    }
    .filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .featured-inner {
        padding: 34px;
    }
    .section-head-e {
        margin-bottom: 20px;
    }
    .events-grid {
        grid-template-columns: 1fr 1fr;
    }
    .search-box {
        flex: auto; 
        width: 100%;
    }
}
@media(max-width:560px) {
    .hero-events {
        padding-top: 130px;
        min-height: 64vh;
    }
    .hero-title-e {
        font-size: 7vw;
    }
    .featured-card {
        min-height: auto;
    }
    .events-grid {
        grid-template-columns: 1fr;
    }
    .section-head-e {
        margin-bottom: 20px;
    }
    section {
        padding: 80px 0;
    }  
}
