/* ═══════════════════════════════════════════════════
   Bia Ruta Mundialista 2026 — Sección Ruta
═══════════════════════════════════════════════════ */

#ruta-section {
  padding: 0;
  max-width: 100%;
  margin: 0;
  background: #0C0E12;
}

/* ── Encabezado de sección — imagen integrada en página ── */
.section-header {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #0C0E12;
  overflow: hidden;
}

.section-cover-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}

/* Imagen con corrección de color para más realismo */
.section-cover-img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    contrast(1.14)
    saturate(1.22)
    brightness(1.04);
  transform: scale(1.018);
  transform-origin: center center;
}

/* Override reveal para imagen full-width: solo scale + opacity, sin translateY */
.section-cover-wrap.reveal {
  transform: scale(1.04);
}
.section-cover-wrap.reveal.in-view {
  transform: scale(1);
}

/* Fade superior — se funde con la sección anterior */
.cover-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(
    to bottom,
    #0C0E12 0%,
    rgba(12, 14, 18, 0.6) 45%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Fade inferior — se funde con la siguiente sección */
.cover-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32%;
  background: linear-gradient(
    to top,
    #0C0E12 0%,
    rgba(12, 14, 18, 0.55) 50%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Vignettes laterales */
.cover-fade-sides {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(12, 14, 18, 0.72) 0%,
      rgba(12, 14, 18, 0.18) 18%,
      transparent 38%,
      transparent 62%,
      rgba(12, 14, 18, 0.18) 82%,
      rgba(12, 14, 18, 0.72) 100%
    );
  z-index: 2;
  pointer-events: none;
}

/* Atmósfera: leve capa warm sobre el estadio para profundidad */
.cover-atmosphere {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 60% at 50% 30%,
    transparent 30%,
    rgba(12, 14, 18, 0.28) 100%
  );
  z-index: 3;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* ── Decoración de ruta: línea de viaje ── */
.route-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 48px;
  overflow: hidden;
}

.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6172F3;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(97, 114, 243, 0.5);
}

.route-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #6172F3 0%, rgba(97, 114, 243, 0.1) 50%, #6172F3 100%);
  max-width: 100px;
}

.route-flag {
  font-size: 20px;
  padding: 0 8px;
}

/* ── Banner Colombia ── */
.sele-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 72px 80px;
  background: #0C0E12;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

/* Tricolor como acento vertical izquierdo */
.sele-tricolor {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.sele-tricolor span {
  width: 5px;
  height: 48px;
  border-radius: 3px;
}

.sele-tricolor span:nth-child(1) { background: #FFD100; }
.sele-tricolor span:nth-child(2) { background: #0052CC; }
.sele-tricolor span:nth-child(3) { background: #FF0000; }

/* Ocultar el segundo tricolor */
.sele-tricolor:last-child { display: none; }

.sele-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  text-align: center;
}

.sele-ball {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.sele-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  letter-spacing: -0.038em;
}

.sele-line1 {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.28;
  letter-spacing: -0.022em;
}

.sele-line2 {
  font-size: clamp(44px, 6.5vw, 100px);
  font-weight: 900;
  color: #ffffff;
  line-height: 0.92;
  letter-spacing: -0.044em;
}

.sele-accent-energy {
  color: #6172F3;
}

/* ── Botones sele-banner ── */
.sele-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.sele-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 12px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  background: #0B0D12;
  border: 1px solid #20222E;
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
  color: #ffffff;
  transition:
    background  0.22s ease,
    color       0.22s ease,
    border-color 0.22s ease,
    transform   0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow  0.22s ease;
  white-space: nowrap;
}

.sele-btn--primary {
  border-color: var(--bp-brand-700);
  color: #ffffff;
}
.sele-btn--primary:hover {
  background: var(--bp-brand-950);
  border-color: var(--bp-brand-500);
  transform: translateY(-2px);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset, 0 0 20px rgba(97, 114, 243, 0.25);
}

.sele-btn--ghost {
  color: rgba(255, 255, 255, 0.70);
}
.sele-btn--ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-2px);
  box-shadow: 2px 2px 6px 0 #07080C, 0 0 1px 2px #000 inset;
}

@media (max-width: 768px) {
  .sele-actions { flex-direction: column; align-items: stretch; }
  .sele-btn { font-size: 14px; padding: 12px 22px; justify-content: center; }
}

@media (max-width: 480px) {
  .sele-actions { gap: 10px; }
  .sele-btn { font-size: 13px; padding: 11px 18px; }
}

.sele-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 700;
}

/* ── Contenedor de negocios — scroll cinematográfico ── */
#businesses-grid {
  display: flex;
  flex-direction: column;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  #ruta-section { padding: 72px 0; }
  .sele-banner { padding: 24px 32px; gap: 20px; }
}

@media (max-width: 768px) {
  #ruta-section { padding: 0; }
  .section-header { margin-bottom: 0; padding: 0; }
  .sele-banner { padding: 32px 20px; gap: 12px; }
  .sele-line1 { font-size: clamp(16px, 4vw, 22px); }
  .sele-line2 { font-size: clamp(30px, 10vw, 52px); }
  .sele-text { gap: 16px; }
  .sele-sub { display: none; }
  .sele-tricolor { display: none; }
}

@media (max-width: 480px) {
  .sele-banner { padding: 24px 16px; }
  .sele-line1 { font-size: clamp(14px, 4vw, 18px); }
  .sele-line2 { font-size: clamp(26px, 9vw, 42px); }
}
