/* =====================================================================
   PÁGINA EVENTOS · IBC México / División Entretenimiento
   Estilada para verse NATIVA del sitio https://ibc-web.web.app/:
   tipografía D Din Pro con headings LIGEROS (200–400), grandes, en caja
   normal y sin letter-spacing; acentos con gradiente (soft-green→ibc-blue)
   tal cual .text-span-2; paleta teal #15a2a2 + soft-green #85e891. Híbrido
   claro/oscuro. Reusa navbar y footer reales del sitio. Prefijo .evp-.
   ===================================================================== */

.evp-body {
  --ev-ink: #0d141b;
  --ev-ink-soft: #5a5a5a;
  --ev-teal: #15a2a2;
  --ev-green: #85e891;
  --ev-blue: #15365e;
  --ev-dark: #0c151c;
  --ev-bg: #ffffff;
  --ev-bg-soft: #f2f2f2;
  --ev-line: rgba(13, 20, 27, 0.10);
  font-family: "D Din Pro", sans-serif;
  background-color: var(--ev-bg);
  color: var(--ev-ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.evp-container { width: 100%; max-width: 1316px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* acento de texto en gradiente (igual a .text-span-2 del sitio) */
.evp-grad {
  background-image: linear-gradient(90deg, var(--ev-green), var(--ev-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.evp-section--dark .evp-grad { background-image: linear-gradient(90deg, var(--ev-green), #2fb7bd); }
/* acento del título cuando el CMS lo genera como span._2 (**texto**) */
.evp-display ._2, .evp-display .evp-grad {
  background-image: linear-gradient(90deg, var(--ev-green), var(--ev-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 400;
}

/* kicker sutil (caja normal, sin tracking — a tono con el sitio) */
.evp-kicker { display: inline-block; color: var(--ev-teal); font-size: 1rem; font-weight: 400; margin-bottom: 14px; }
.evp-section--dark .evp-kicker { color: var(--ev-green); }

/* ---------- NAVBAR DEL SITIO ----------
   Mismo estilo que index (transparente, blur 5px, sin borde). PERO: la
   interacción de scroll de Webflow le pone color BLANCO a los links del
   navbar superior; en eventos el fondo es claro y se perderían, así que los
   forzamos en negro (sin tocar los .is-white del menú overlay móvil, que sí
   van blancos sobre el fondo oscuro del overlay). */
.evp-body .nav-link:not(.is-white) { color: #0c151c !important; transition: color .3s; }

/* Navbar de contraste adaptativo: cuando está sobre una sección OSCURA
   (clase .nav-on-dark que pone js/nav-contrast.js), letras/botón/logo en
   blanco para contrastar; sobre secciones claras quedan en negro. */
.evp-body .navbar-fixed.nav-on-dark .nav-link:not(.is-white) { color: #fff !important; }
.evp-body .navbar-fixed.nav-on-dark .button.is-nav-secondary {
  color: #fff !important; border-color: rgba(255, 255, 255, 0.6) !important;
}
.evp-body .navbar-fixed.nav-on-dark .menu-button_svg { color: #fff; }
/* el wordmark (logo-2.svg, oscuro) se vuelve blanco sobre fondo oscuro;
   el isotipo verde (.image-6) se mantiene */
.evp-body .navbar-fixed.nav-on-dark .nav_brand_logo .image-5 { filter: brightness(0) invert(1); }
/* Menú overlay móvil (fondo oscuro): logo completo con wordmark en blanco */
.nav_brand_logo.is-white .image-5 { filter: brightness(0) invert(1); }

/* ---------- BOTONES (estilo .btn-primary del sitio) ---------- */
.evp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 20px 30px; border-radius: 12px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.evp-btn--solid { background: #0b0b0b; color: #fff; }
.evp-btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(13, 20, 27, 0.25); }
.evp-btn--teal { background: var(--ev-teal); color: #fff; }
.evp-btn--teal:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(21, 162, 162, 0.3); }
.evp-btn--ghost { background: transparent; color: var(--ev-ink); border-color: rgba(13, 20, 27, 0.25); }
.evp-btn--ghost:hover { border-color: var(--ev-teal); color: var(--ev-teal); }
.evp-btn--light { background: #fff; color: #0b0b0b; }
.evp-btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3); }
.evp-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.evp-btn--ghost-light:hover { border-color: var(--ev-green); color: var(--ev-green); }

/* ---------- HEADINGS (D Din Pro, ligeros, caja normal) ---------- */
.evp-display {
  font-family: "D Din Pro", sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4em); font-weight: 200; line-height: 1.15;
  color: var(--ev-ink); margin: 0 0 1.5rem;
}
.evp-h2 {
  font-family: "D Din Pro", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 400; line-height: 1.2;
  color: var(--ev-ink); margin: 0 0 clamp(28px, 4vw, 44px);
}
.evp-section--dark .evp-h2, .evp-section--dark .evp-display { color: #fff; }

/* ---------- SECCIONES ---------- */
.evp-section { padding: clamp(64px, 9vw, 140px) 0; }
.evp-section--soft { background: var(--ev-bg-soft); }
.evp-section--dark { background: var(--ev-dark); color: #fff; position: relative; overflow: hidden; }

/* ---------- HERO (claro, a juego con el hero del sitio) ---------- */
.evp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--ev-bg-soft) 100%);
  padding: clamp(124px, 16vh, 180px) 0 clamp(64px, 9vw, 120px);
}
.evp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 50% at 85% 12%, rgba(21, 162, 162, 0.1), transparent 70%),
    radial-gradient(45% 45% at 5% 95%, rgba(133, 232, 145, 0.14), transparent 70%);
}
.evp-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.evp-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ev-teal); text-decoration: none; font-size: 0.95rem; font-weight: 400;
  margin-bottom: 24px; transition: gap .2s;
}
.evp-back:hover { gap: 12px; }
.evp-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ev-ink-soft);
  font-weight: 400; margin: 0 0 28px; max-width: 46ch;
  padding-left: 20px; border-left: 2px solid var(--ev-teal);
}
.evp-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- RENDER SLOT ---------- */
.evp-render {
  position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  background: #0e1922; border: 1px solid var(--ev-line); box-shadow: 0 30px 70px rgba(13, 20, 27, 0.18);
}
/* contain: el render del hero (IBC_tower) es vertical; así se ve completo
   centrado sobre el fondo oscuro del slot. Si luego se sube una foto
   horizontal desde el panel, considerar volver a cover. */
.evp-render img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Render LIBRE (sin marco): imagen suelta en la columna del hero, a tamaño
   natural y centrada, para que el render se vea bien y completo. */
.evp-render-free {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(380px, 64vh, 640px);
  margin: 0 auto;
}
.evp-render::before, .evp-render::after {
  content: ""; position: absolute; width: 32px; height: 32px; z-index: 2;
  border: 2px solid var(--ev-green); pointer-events: none;
}
.evp-render::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.evp-render::after  { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.evp-render-badge {
  position: absolute; z-index: 3; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: rgba(12, 21, 28, 0.82); border: 1px solid rgba(133, 232, 145, 0.45);
  color: var(--ev-green); font-size: 0.78rem; font-weight: 400;
}
.evp-render-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ev-green); box-shadow: 0 0 0 4px rgba(133, 232, 145, 0.2); }

/* ---------- STATS ---------- */
.evp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.evp-stat { padding: 26px 24px; border-radius: 14px; background: #fff; border: 1px solid var(--ev-line); box-shadow: 0 1px 2px rgba(13, 20, 27, 0.04); }
.evp-stat-num { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--ev-teal); line-height: 1; }
.evp-stat-label { margin-top: 12px; font-size: 0.95rem; color: var(--ev-ink-soft); line-height: 1.4; font-weight: 400; }

/* ---------- INTRO ---------- */
.evp-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.evp-intro p { margin: 0; font-size: 1.1rem; line-height: 1.7; color: var(--ev-ink-soft); font-weight: 400; }

/* ---------- CARDS ---------- */
.evp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.evp-card {
  display: flex; flex-direction: column; gap: 14px; padding: 36px 32px;
  background: #fff; border: 1px solid var(--ev-line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(13, 20, 27, 0.04); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.evp-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(13, 20, 27, 0.12); border-color: rgba(21, 162, 162, 0.45); }
.evp-card-num { font-size: 1rem; font-weight: 400; color: var(--ev-teal); }
.evp-card h4 { font-family: "D Din Pro", sans-serif; font-size: 1.45rem; font-weight: 400; color: var(--ev-ink); margin: 0; line-height: 1.2; }
.evp-card p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--ev-ink-soft); font-weight: 400; }
.evp-card p strong { color: var(--ev-ink); font-weight: 500; }

/* ---------- TIMELINE (banda oscura) ---------- */
.evp-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.evp-step {
  position: relative; counter-increment: step; padding: 32px 30px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(133, 232, 145, 0.06), rgba(255, 255, 255, 0.01));
}
.evp-step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1rem; font-weight: 400; color: var(--ev-green); margin-bottom: 14px; }
.evp-step h4 { font-family: "D Din Pro", sans-serif; margin: 0 0 10px; font-size: 1.35rem; font-weight: 400; color: var(--ev-green); line-height: 1.2; }
.evp-step p { margin: 0; font-size: 1rem; line-height: 1.65; color: #e7e7e7; font-weight: 400; }

/* ---------- SHOWCASE (render ancho, banda oscura) ---------- */
.evp-showcase {
  position: relative; margin: 0 0 clamp(56px, 8vw, 96px); border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(133, 232, 145, 0.28); background: #0e1922; aspect-ratio: 21 / 9;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.evp-showcase img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evp-showcase video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* variante video: 16/9 para mostrar el render completo y sin el overlay oscuro */
.evp-showcase--video { aspect-ratio: 16 / 9; background: #0c151c; }
.evp-showcase--video::after { display: none; }
.evp-showcase::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 21, 28, 0.8) 0%, rgba(12, 21, 28, 0.2) 45%, transparent 75%); }
.evp-showcase-overlay { position: absolute; z-index: 2; left: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 44px); max-width: 480px; }
.evp-showcase-overlay h3 { font-family: "D Din Pro", sans-serif; margin: 0 0 8px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 400; color: #fff; line-height: 1.2; }
.evp-showcase-overlay p { margin: 0; color: #e7e7e7; font-size: 1.05rem; line-height: 1.5; font-weight: 400; }

/* ---------- PAÍSES ---------- */
.evp-sub { margin: -16px 0 26px; color: var(--ev-ink-soft); font-size: 1.1rem; font-weight: 400; }
.evp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.evp-chips li {
  padding: 11px 22px; border: 1px solid rgba(21, 162, 162, 0.4); border-radius: 999px;
  font-size: 1rem; font-weight: 400; color: var(--ev-ink); background: rgba(21, 162, 162, 0.05);
}

/* ---------- PAÍSES: carrusel infinito (marquee) ----------
   La lista desfila en bucle continuo y se pausa al pasar el mouse.
   El track lleva los 10 chips duplicados; translateX(-50%) cierra el
   bucle sin costura (se usa margin-right en vez de gap para que el 50%
   sea exacto). Fundido en los bordes con mask. Respeta reduced-motion. */
.evp-chips-marquee {
  position: relative; overflow: hidden; margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.evp-chips-marquee .evp-chips--anim {
  flex-wrap: nowrap; width: max-content; gap: 0;
  animation: evp-marquee 34s linear infinite; will-change: transform;
}
.evp-chips-marquee:hover .evp-chips--anim { animation-play-state: paused; }
.evp-chips-marquee .evp-chips--anim li {
  flex: 0 0 auto; margin-right: 12px;
  transition: background .3s, color .3s, transform .3s, border-color .3s;
}
.evp-chips-marquee .evp-chips--anim li:hover {
  background: var(--ev-teal, #15a2a2); color: #fff;
  border-color: var(--ev-teal, #15a2a2); transform: translateY(-2px);
}
@keyframes evp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .evp-chips-marquee { -webkit-mask-image: none; mask-image: none; }
  .evp-chips-marquee .evp-chips--anim { animation: none; flex-wrap: wrap; width: auto; gap: 12px; }
  .evp-chips-marquee .evp-chips--anim li { margin-right: 0; }
  .evp-chips-marquee .evp-chips--anim li[aria-hidden="true"] { display: none; }
}

/* ---------- BENEFICIOS ---------- */
.evp-benefits {
  list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: clamp(32px, 4vw, 44px);
  border-radius: 18px; border: 1px solid rgba(21, 162, 162, 0.35); background: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 36px; box-shadow: 0 1px 2px rgba(13, 20, 27, 0.04);
}
.evp-benefits li { position: relative; padding-left: 40px; font-size: 1.08rem; line-height: 1.5; color: var(--ev-ink); font-weight: 400; }
.evp-benefits li::before {
  content: "\2713"; position: absolute; left: 0; top: 0; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ev-teal);
  color: #fff; font-size: 0.9rem; font-weight: 400; line-height: 1;
}

/* ---------- CTA FINAL (banda oscura) ---------- */
.evp-cta { padding: clamp(64px, 9vw, 120px) 0; background: var(--ev-bg-soft); }
.evp-cta-card {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(44px, 7vw, 84px);
  background:
    radial-gradient(80% 120% at 88% 8%, rgba(21, 162, 162, 0.28), transparent 60%),
    linear-gradient(160deg, #0c151c, #0e1c24);
  border: 1px solid rgba(133, 232, 145, 0.35); text-align: center; color: #fff;
}
.evp-cta-card h2 { font-family: "D Din Pro", sans-serif; margin: 0 0 18px; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 300; color: #fff; line-height: 1.15; }
.evp-cta-card p { margin: 0 auto 30px; max-width: 58ch; color: #e7e7e7; font-size: 1.15rem; line-height: 1.6; font-weight: 400; }
.evp-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 991px) {
  .evp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .evp-render { order: -1; }
  .evp-stats { grid-template-columns: repeat(2, 1fr); }
  .evp-intro { grid-template-columns: 1fr; }
  .evp-cards { grid-template-columns: 1fr; }
  .evp-timeline { grid-template-columns: 1fr; }
  .evp-showcase { aspect-ratio: 16 / 10; }
}
@media screen and (max-width: 600px) {
  .evp-stats { grid-template-columns: 1fr 1fr; }
  .evp-benefits { grid-template-columns: 1fr; }
}
