/* ===========================================================
   Breakout — landing page
   =========================================================== */

:root {
  --color-bg: #121110;
  --color-bg-alt: #1b1917;
  --color-primary: #c9a24b;
  --color-accent: #e8cf8a;
  --color-text: #f5f1ea;
  --color-text-muted: #b3aa9c;
  --color-border: #322f29;

  --font-heading: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 6px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 76px; /* espacio para el CTA flotante */
}

/* ===== Fondo inmersivo (fijo, detrás de todo el sitio) ===== */
.immersive-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--color-bg);
  background-image: url("../img/Breakout_bg.webp");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}
.immersive-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 17, 16, 0.55) 0%,
    rgba(18, 17, 16, 0.75) 30%,
    rgba(18, 17, 16, 0.9) 65%,
    rgba(18, 17, 16, 0.97) 100%
  );
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.text-accent {
  color: var(--color-accent);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
  background: var(--color-accent);
  color: #000;
  padding: 0.5rem 1rem;
}

/* ===== Buttons ===== */
.btn-cta {
  background-color: var(--color-primary);
  color: #16140f;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.5rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-cta:hover,
.btn-cta:focus {
  background-color: var(--color-accent);
  color: #16140f;
  transform: translateY(-2px);
}

.btn-cta-solid {
  background-color: var(--color-accent);
  color: #16140f;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.5rem;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-cta-solid:hover,
.btn-cta-solid:focus {
  background-color: #f3e3b9;
  color: #16140f;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-radius: var(--radius);
  font-weight: 600;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-light:hover {
  background-color: var(--color-primary);
  color: #16140f;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: rgba(18, 17, 16, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-brand {
  padding: 0;
}

.brand-logo {
  height: 60px;
  width: auto;
}

.nav-link {
  color: var(--color-text-muted) !important;
  font-weight: 500;
}
.nav-link:hover {
  color: var(--color-text) !important;
}

/* ===== Hero ===== */
.hero {
  min-height: calc(100vh - var(--header-height));
  background: transparent;
  padding: 6rem 0 4rem;
}

.hero-header-graphic {
  width: 100%;
  max-width: 340px;
}
.hero-header-graphic img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

/* ===== Hero carrusel (home) ===== */
.hero-carousel-section {
  position: relative;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  aspect-ratio: 12 / 5;
  height: auto;
  overflow: hidden;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 17, 16, 0.05) 0%,
    rgba(18, 17, 16, 0.4) 55%,
    rgba(18, 17, 16, 0.96) 100%
  );
}
.hero-carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 3.5rem;
  text-align: left;
  color: var(--color-text);
}
.hero-carousel-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero-carousel-badge-external {
  background-color: var(--color-accent);
  color: #0d0d0d;
}
.hero-carousel-badge-internal {
  background-color: var(--color-text);
  color: #16140f;
}
.hero-carousel-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  max-width: 700px;
}
.hero-carousel-meta {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background-color: rgba(18, 17, 16, 0.55);
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.15s ease;
}
.hero-carousel .carousel-control-prev {
  left: 1.25rem;
}
.hero-carousel .carousel-control-next {
  right: 5.5rem;
}
.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background-color: var(--color-accent);
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 1.25rem;
  height: 1.25rem;
}
.hero-carousel .carousel-indicators {
  bottom: 1rem;
  margin-bottom: 0;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-text);
  opacity: 0.4;
  border: none;
  margin: 0 5px;
}
.hero-carousel .carousel-indicators .active {
  opacity: 1;
  background-color: var(--color-accent);
}
@media (max-width: 767.98px) {
  /* En mobile la imagen se ve completa (sin recorte) y el texto pasa
     a un bloque sólido debajo, en vez de sobreponerse a la foto. */
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;
  }
  .hero-carousel .carousel-item img {
    aspect-ratio: 12 / 5;
    height: auto;
  }
  .hero-carousel-overlay {
    display: none;
  }
  .hero-carousel-caption {
    position: static;
    background-color: var(--color-bg-alt);
    padding: 1.5rem 0 2.5rem;
  }
  .hero-carousel-title {
    font-size: 1.6rem;
  }
  .hero-carousel-meta {
    font-size: 0.85rem;
  }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 78px;
  }
  .hero-carousel .carousel-control-prev {
    left: 0.5rem;
  }
  .hero-carousel .carousel-control-next {
    right: 4.25rem;
  }
}

.eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.hero-lead {
  color: var(--color-text-muted);
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}
@media (min-width: 992px) {
  .hero-meta {
    justify-content: flex-start;
  }
}

.badge-meta {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 992px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
  background-color: rgba(18, 17, 16, 0.5);
}
.section-alt {
  background-color: rgba(27, 25, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

/* ===== Sinopsis ===== */
.sinopsis-text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.sinopsis-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.4rem;
  text-align: center;
  margin: 2rem 0 0;
}

/* ===== Info cards (fechas y lugar) ===== */
.info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  background-color: rgba(18, 17, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.info-card-title {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.info-card-text {
  color: var(--color-text-muted);
  margin: 0;
}
.info-card-venue {
  color: var(--color-text);
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.info-card-logo-chip {
  display: inline-block;
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.75rem;
}
.info-card-logo-chip img {
  height: 32px;
  width: auto;
  display: block;
}
.info-card-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.info-card-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: color 0.15s ease;
}
.info-card-social a:hover {
  color: var(--color-text);
}

/* ===== Pricing table (muchos boletos sin saturar de cards) ===== */
.pricing-cta {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ===== Badge de boletera ===== */
.tickets-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.tickets-badge-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 0;
}
.tickets-badge-logo {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
}
.tickets-badge-logo img {
  height: auto;
  width: 210px;
  display: block;
}
.pricing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(27, 25, 23, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pricing-table thead th {
  text-align: left;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.pricing-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  color: var(--color-text);
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.025);
}
.pricing-table td:first-child {
  font-weight: 700;
}
.pricing-table td:nth-child(2) {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.pricing-table td.text-end {
  text-align: right;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .pricing-table thead {
    display: none;
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table tr {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }
  .pricing-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.025);
  }
  .pricing-table td {
    padding: 0.2rem 0;
    border-bottom: none;
    text-align: left !important;
  }
  .pricing-table td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    margin-top: 0.4rem;
  }
}

/* ===== Event cards (cartelera) ===== */
.event-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: var(--color-text);
  background-color: rgba(27, 25, 23, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.event-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  color: var(--color-text);
}
.event-card-media {
  aspect-ratio: 12 / 5;
  background-color: #1c1c1c;
  background-image: repeating-linear-gradient(45deg, #1f1f1f 0, #1f1f1f 2px, #161616 2px, #161616 30px);
  position: relative;
  overflow: hidden;
}
.event-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}
.event-card-badge-external {
  background-color: var(--color-accent);
  color: #0d0d0d;
}
.event-card-badge-internal {
  background-color: var(--color-text);
  color: #16140f;
}
.event-card-body {
  padding: 1.5rem;
}
.event-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.event-card-location {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.event-card-dates {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.event-card-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.event-card-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* ===== Banner de evento (poster en páginas de evento interno) ===== */
.event-banner {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  margin-bottom: 0;
}
.hero.hero-event {
  min-height: auto;
  padding-top: 72px;
  padding-bottom: 3rem;
}
.event-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Breadcrumb / back link (páginas de evento interno) ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1.25rem 0;
}
.back-link:hover {
  color: var(--color-accent);
}

/* ===== Gallery ===== */
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(27, 25, 23, 0.55);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ===== Mapa ===== */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 6;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 767.98px) {
  .map-frame {
    aspect-ratio: 4 / 3;
  }
}

/* ===== Sponsors ===== */
.sponsor-placeholder {
  aspect-ratio: 3 / 2;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.sponsor-tile {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.sponsor-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== Network section ===== */
.section-network {
  background-color: rgba(27, 25, 23, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.network-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  text-decoration: none;
  color: var(--color-text);
  background-color: rgba(18, 17, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.network-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  color: var(--color-text);
}
.network-card h3 {
  color: var(--color-accent);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.network-card p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.network-card-link {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.site-footer {
  background-color: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}
.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 0.75rem;
}
.footer-heading {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}
.footer-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}
.footer-social a:hover {
  color: var(--color-accent);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-divider {
  border-color: var(--color-border);
  margin: 2rem 0 1.5rem;
}
.footer-copy {
  color: #6a6a6a;
  font-size: 0.8rem;
  margin: 0;
}

/* ===== Pleca lateral de redes sociales ===== */
.social-rail {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1035;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background-color: rgba(18, 17, 16, 0.85);
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 0.85rem 0.6rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.social-rail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-text);
  background-color: rgba(255, 255, 255, 0.06);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social-rail a svg {
  width: 26px;
  height: 26px;
}
.social-rail a:hover {
  background-color: var(--color-accent);
  color: #16140f;
  transform: scale(1.08);
}
@media (max-width: 575.98px) {
  .social-rail {
    padding: 0.6rem 0.45rem;
    gap: 0.4rem;
  }
  .social-rail a {
    width: 42px;
    height: 42px;
  }
  .social-rail a svg {
    width: 22px;
    height: 22px;
  }
}

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: rgba(13, 13, 13, 0.97);
  border-top: 1px solid var(--color-border);
  padding: 0.85rem 0;
  backdrop-filter: blur(6px);
}
.sticky-cta-text {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.sticky-cta-btn {
  margin-left: auto;
}
