/* ============================================================
   CPOP Albuquerque – 30 Aniversario
   styles.css
   ============================================================ */

/* ── Variables globales ────────────────────────────────────── */
:root {
  --navy:        #0b1a3b;   /* azul marino oscuro */
  --navy-mid:    #122250;
  --blue:        #1a3a8f;   /* azul eléctrico medio */
  --blue-bright: #1e55d4;   /* azul eléctrico vivo */
  --yellow:      #f5c518;   /* amarillo CPOP */
  --yellow-dark: #d4a900;
  --white:       #ffffff;
  --light-bg:    #eef2fb;   /* fondo secciones claras */
  --text-dark:   #0b1a3b;
  --text-mid:    #3a4a70;

  --ff:          'Nunito', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.28s ease;
  --shadow:      0 6px 24px rgba(11,26,59,.15);
  --container:   1160px;
}

/* ── Reset básico ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Contenedor ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--ff);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn:active { transform: translateY(0); }

/* Amarillo */
.btn--yellow {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn--yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

/* Contorno blanco (para fondo oscuro) */
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline svg { width: 16px; height: 16px; }
.btn--outline:hover { background: rgba(255,255,255,.12); }

/* Contorno oscuro (para fondo claro) */
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

/* Tamaño pequeño (header) */
.btn--sm { padding: 9px 20px; font-size: 0.85rem; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 6px 0;            /* menos padding = logo más arriba */
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.35); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
}
.logo-cpop {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  display: block;
}
/* Colores individuales de cada letra */
.lc        { display: inline-block; }
.lc--c     { color: #e03030; }   /* rojo */
.lc--p1    { color: #1dc0c0; }   /* cian */
.lc--o     { color: #f5c518; }   /* amarillo */
.lc--p2    { color: #3ab54a; }   /* verde */
.logo-sub {
  font-size: 0.75rem;        /* más legible */
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-top: 1px;
}
.logo-tagline {
  font-size: 0.55rem;        /* más legible */
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255,255,255,.85);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
}
.nav__link.active {
  border-bottom: 2.5px solid var(--yellow);
  padding-bottom: 4px;
}

.header__cta { margin-left: 16px; flex-shrink: 0; }

/* Hamburguesa móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--blue) 100%);
  overflow: hidden;
  padding-top: 64px; /* clearance para header fijo */
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

/* Silueta castillo */
.hero__castillo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(300px, 55%, 700px);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 768px) {
  .hero__castillo {
    top: 0;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 90%;
  }
}

/* Contenedor interior */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 0;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* Columna de texto */
.hero__content {
  padding-bottom: 0;
}

/* Título */
.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero__title--white { color: var(--white); }
.hero__title--yellow { color: var(--yellow); }

/* Subtítulo */
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: 28px;
}

/* Meta (fecha + lugar) */
.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.hero__meta li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--yellow);
}

/* Botones del hero */
.hero__btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero__btns-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Imagen banda – centrada verticalmente con el texto */
.hero__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}
.hero__img {
  width: 150%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.5));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

/* Estrellas decorativas */
.star {
  position: absolute;
  pointer-events: none;
  user-select: none;
  border-radius: 50%;
  animation: twinkle var(--tw-dur, 3s) ease-in-out infinite var(--tw-delay, 0s);
}

/* Contenedor de estrellas siempre detrás del contenido */
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero__stars { opacity: 0.2; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.7); }
}

/* ============================================================
   COUNTDOWN
============================================================ */
.countdown {
  background: var(--blue-bright);
  padding: 36px 0;
  text-align: center;
  color: var(--white);
}
.countdown__label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  opacity: 0.75;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.countdown__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}
.countdown__num {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}
.countdown__text {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin-top: 4px;
}
.countdown__sep {
  font-size: 2.5rem;
  font-weight: 300;
  opacity: 0.4;
  align-self: center;
}

/* ============================================================
   ARTISTAS
============================================================ */
.artists {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

/* Título de sección compartido */
.section-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.star-icon {
  width: 18px;
  height: 18px;
  color: var(--blue-bright);
  flex-shrink: 0;
}

/* Lista artistas */
.artists__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 40px;
}
.artists__list span {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.artists__list .sep {
  font-size: 1.5rem;
  color: var(--text-mid);
  font-weight: 400;
}
.artists__surprise {
  color: var(--yellow-dark) !important;
}

/* Lista secundaria de artistas (tamaño reducido) */
.artists__list--secondary {
  margin-top: 4px;
  margin-bottom: 36 px;
}
.artists__list--secondary span {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem) !important;
  font-weight: 900 !important;
  color: var(--text-mid) !important;
  letter-spacing: 0.06em;
}
.artists__list--secondary .sep {
  font-size: 0.9rem !important;
  color: var(--text-mid) !important;
}

.section-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ============================================================
   CARACTERÍSTICAS
============================================================ */
.features {
  background: var(--light-bg);
  padding: 72px 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(11,26,59,.18);
}
.feature-card__icon {
  width: 180px;
  height: 100px;
  margin: 0 auto 24px;
  color: var(--blue-bright);
}
.feature-card__icon svg {
  width: 100%;
  height: 100%;
}
.feature-card__title {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card__desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================================
   BANNER ENTRADAS
============================================================ */
.tickets {
  position: relative;
  background: var(--navy-mid);
  overflow: hidden;
  padding: 60px 0;
}
.tickets__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.tickets__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.tickets__sub {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.tickets__img-wrap {
  flex-shrink: 0;
  max-width: 600px;          /* ticket más grande */
  transform: rotate(3deg);   /* ligera inclinación como la entrada física */
  transition: transform var(--transition);
}
.tickets__img-wrap:hover { transform: rotate(0deg) scale(1.04); }
.tickets__img {
  width: 100%;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.55));
  transition: transform var(--transition);
}

/* Estrellas decorativas del banner */
.tickets__star {
  position: absolute;
  font-size: 2rem;
  pointer-events: none;
  user-select: none;
  animation: twinkle 3s ease-in-out infinite;
}
.tickets__star--1 { top: 20%; right: 12%; color: var(--yellow); animation-delay: 0s; }
.tickets__star--2 { bottom: 20%; left: 8%;  color: #4ecdc4;       animation-delay: 1s; }
.tickets__star--3 { top: 60%; right: 28%;   color: #ff6b6b;       animation-delay: 2s; }

/* ============================================================
   NOTICIAS
============================================================ */
.news {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
  text-align: left;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(11,26,59,.18);
}

.news-card__img-link {
  position: relative;
  display: block;
  aspect-ratio: 4/3;   /* ratio más cuadrado como en la referencia */
  overflow: hidden;
}
.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Placeholder color si la imagen no carga */
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__img { transform: scale(1.05); }

/* Overlay con título siempre visible (como en la referencia) */
.news-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,26,59,.82) 0%, rgba(11,26,59,.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
  opacity: 1;              /* siempre visible, no solo en hover */
  transition: opacity var(--transition);
}
.news-card__overlay p {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
}

/* Cuerpo solo contiene el enlace "Leer más" */
.news-card__body {
  padding: 14px 18px 18px;
}
.news-card__title {
  display: none;           /* el título va dentro de la imagen, no aquí */
}
.news-card__link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card__link:hover { color: var(--blue-bright); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 64px;
  padding-bottom: 0;
  position: relative;
}

/* Silueta ciudad en el footer */
.footer__skyline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80V50l20-20h10l5-15h5l5 15h5V35l10-15h5l10 15V25l15-25h5l15 25V20L120 5h5l15 15V10l20-10h8l20 10V5l10-5h6l10 5v10l15-15h5l15 15V20l10-10h5l10 10v15l20-20h5l20 20v10l20-15h5l20 15V45l20-25h5l20 25V60l20-30h5l20 30v20H0z' fill='%230b1a3b' fill-opacity='0.5'/%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 2;
}

/* Logo blanco en footer */
.logo-block--white .logo-cpop   { color: var(--yellow); }
.logo-block--white .logo-sub    { color: var(--white); }
.logo-block--white .logo-tagline{ color: rgba(255,255,255,.5); }

/* Redes sociales */
.social-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.75);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.social-link:hover {
  background: var(--yellow);
  color: var(--navy);
  transform: translateY(-3px);
}

/* Columnas del footer */
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col ul li a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--yellow); }

/* Organizadores – cuadrícula de logos */
.sponsors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: center;
}
.sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px 12px;
  transition: background var(--transition), transform var(--transition);
}
.sponsor:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.sponsor img {
  max-height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* blanquear logos para que combinen con el fondo oscuro */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.sponsor:hover img { opacity: 1; }

/* Barra inferior */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer__bottom p {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   ESCRITORIO (≥ 1025px) – logo más grande
============================================================ */
@media (min-width: 1025px) {
  .logo-cpop    { font-size: 3.2rem; color: inherit; }
  .logo-sub     { font-size: 0.9rem; }
  .logo-tagline { font-size: 0.65rem; }
}

/* ============================================================
   RESPONSIVE – TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVE – TABLET PEQUEÑA (≤ 768px)
============================================================ */
@media (max-width: 768px) {

  /* Header */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px 28px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { padding: 10px 16px; font-size: 1rem; }
  .header__cta { display: none; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 16px;
    padding-bottom: 0;
    text-align: center;
    align-items: center;
  }
  .hero__content { padding-bottom: 16px; }
  .hero__title   { margin-bottom: 12px; }
  .hero__subtitle { margin-bottom: 14px; font-size: .95rem; }
  .hero__meta    { align-items: center; gap: 6px; margin-bottom: 20px; }
  .hero__meta li { gap: 5px; }
  .hero__btns    { align-items: center; }
  .hero__btns-row { justify-content: center; }
  .hero__img-wrap { order: -1; }
  .hero__img     { max-width: 260px; margin-inline: auto; }

  /* Countdown */
  .countdown__grid { gap: 10px; }
  .countdown__sep  { display: none; }

  /* Artistas */
  .artists__list span { font-size: 1.1rem; }

  /* Características */
  .features__grid { grid-template-columns: 1fr; }

  /* Banner entradas */
  .tickets__inner { flex-direction: column; text-align: center; }
  .tickets__img-wrap { max-width: 220px; margin-inline: auto; }

  /* Noticias */
  .news__grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   RESPONSIVE – MÓVIL (≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .btn { padding: 11px 20px; font-size: 0.85rem; }
  .hero__title { font-size: 2.4rem; }
  .countdown { padding: 24px 0; }
  .countdown__grid { gap: 6px; flex-wrap: nowrap; }
  .countdown__unit { min-width: 0; width: 22vw; max-width: 72px; }
  .countdown__num  { font-size: clamp(1.4rem, 5.5vw, 2rem); }
  .countdown__text { font-size: 0.6rem; letter-spacing: 0.08em; }
  .artists__list span { font-size: 0.95rem; }
}

/* ============================================================
   UTILIDADES / ACCESIBILIDAD
============================================================ */
/* Focus visible mejorado */
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Ocultar scrollbar custom si hay overflow en artistas */
.artists__list::-webkit-scrollbar { height: 4px; }
.artists__list::-webkit-scrollbar-thumb { background: var(--blue-bright); border-radius: 2px; }

/* ============================================================
   NOTICIAS – tarjetas enriquecidas
============================================================ */
.news {
  padding: 80px 0;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Decoración de fondo */
.news__deco { pointer-events: none; user-select: none; }
.news__dot {
  position: absolute;
  font-size: 1.4rem;
  animation: twinkle 3s ease-in-out infinite;
}
.news__dot--1 { top: 8%;  left: 4%;  color: var(--yellow);      animation-delay: 0s; }
.news__dot--2 { top: 15%; right: 6%; color: var(--blue-bright); animation-delay: 1s; }
.news__dot--3 { bottom: 12%; left: 8%;  color: #4ecdc4;         animation-delay: 2s; }
.news__dot--4 { bottom: 8%;  right: 5%; color: #ff6b6b;         animation-delay: 0.5s; }

.news__header { margin-bottom: 48px; }
.news__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: -24px;
}

/* Grid 2 columnas */
.news__grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: left;
}

/* Tarjeta */
.ncard {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11,26,59,.12);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ncard:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(11,26,59,.18);
}

/* Imagen */
.ncard__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ncard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  transition: transform 0.5s ease;
}
.ncard:hover .ncard__img { transform: scale(1.04); }

/* Badge de categoría */
.ncard__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border-left: 4px solid var(--yellow);
}
.ncard__badge--transport { border-left-color: #4ecdc4; }

/* Cuerpo */
.ncard__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ncard__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}
.ncard__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

/* Caja de precio (Angel Drive) */
.ncard__price-box {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffd84d 100%);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 22px;
  text-align: center;
}
.ncard__price-line {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.ncard__price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.ncard__price-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.ncard__price-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ncard__price-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(11,26,59,.6);
  margin-top: 4px;
}

/* Botón de tarjeta */
.ncard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--ff);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2.5px solid var(--yellow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  align-self: flex-start;
}
.ncard__btn:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245,197,24,.4);
}

/* Badge historia (lila) */
.ncard__badge--historia { border-left-color: #a78bfa; }

/* Responsive */
@media (max-width: 768px) {
  .news__grid--2col { grid-template-columns: 1fr; }
  .ncard__btn { align-self: stretch; text-align: center; }
}

/* ============================================================
   NOTICIAS – tarjetas compactas (index.html, 3 columnas)
============================================================ */
.news__grid--3col {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  text-align: left;
  /* ocultar scrollbar pero mantener funcionalidad */
  scrollbar-width: thin;
  scrollbar-color: rgba(245,197,24,.5) transparent;
}
.news__grid--3col::-webkit-scrollbar { height: 4px; }
.news__grid--3col::-webkit-scrollbar-track { background: transparent; }
.news__grid--3col::-webkit-scrollbar-thumb { background: rgba(245,197,24,.5); border-radius: 4px; }

/* ── Carrusel wrapper + flechas ── */
.carousel__wrap {
  position: relative;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--yellow);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background var(--transition), transform var(--transition);
}
.carousel__arrow:hover { background: var(--yellow-dark); transform: translateY(-50%) scale(1.1); }
.carousel__arrow--prev { left: -22px; }
.carousel__arrow--next { right: -22px; }
.carousel__arrow:disabled { opacity: .3; pointer-events: none; }
@media (max-width: 600px) {
  .carousel__arrow--prev { left: 4px; }
  .carousel__arrow--next { right: 4px; }
}

.ncard-sm {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(11,26,59,.1);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ncard-sm:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(11,26,59,.16);
}

.ncard-sm__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ncard-sm__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  transition: transform .5s ease;
  display: block;
}
.ncard-sm:hover .ncard-sm__img { transform: scale(1.05); }

.ncard-sm__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  border-left: 3px solid var(--yellow);
}
.ncard-sm__badge--transport { border-left-color: #4ecdc4; }
.ncard-sm__badge--historia  { border-left-color: #a78bfa; }

.ncard-sm__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ncard-sm__cat {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 8px;
}
.ncard-sm__title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.ncard-sm__text {
  font-size: .83rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.ncard-sm__btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--yellow);
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ncard-sm__btn:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(245,197,24,.4);
}

@media (max-width: 1024px) {
  .ncard-sm { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 480px) {
  .ncard-sm { flex: 0 0 85%; }
  .ncard-sm__btn { align-self: stretch; text-align: center; justify-content: center; }
}

/* ============================================================
   SPONSORS BAR – franja de patrocinadores
============================================================ */
.sponsors-bar {
  /* Franja al fondo del hero */
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 0;
  margin-top: 20px;
  width: 100%;
  flex-shrink: 0;
}

.sponsors-bar__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sponsors-bar__label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.sponsors-bar__scroll-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
}
.sponsors-bar__arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 400;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity var(--transition);
  z-index: 5;
  padding: 0;
  line-height: 1;
}
.sponsors-bar__arrow:disabled { opacity: .25; cursor: default; }
.sponsors-bar__arrow:not(:disabled):hover { opacity: .75; }

.sponsors-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.sponsors-bar__logos::-webkit-scrollbar { display: none; }

.sponsors-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  opacity: .9;
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.sponsors-bar__item:hover {
  opacity: 1;
  transform: scale(1.06);
}

.sponsors-bar__item img {
  height: 44px;
  width: auto;
  min-width: 0;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.sponsors-bar__item--main img {
  height: 64px;
  width: auto;
  min-width: 0;
  max-width: 200px;
}
.sponsors-bar__item--xxl img {
  height: 90px;
  width: auto;
  min-width: 0;
  max-width: 220px;
}
.sponsors-bar__item--sm img {
  height: 22px;
  width: auto;
  min-width: 0;
  max-width: 100px;
  filter: brightness(0) invert(1);
}
.sponsors-bar__item--xl img {
  height: 84px;
  width: auto;
  min-width: 0;
  max-width: 240px;
  filter: none;
}

@media (max-width: 900px) {
  .sponsors-bar__inner   { flex-direction: column; gap: 8px; }
  .sponsors-bar__label   { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 6px; width: 100%; text-align: center; }
  .sponsors-bar__scroll-wrap { width: 100%; }
  .sponsors-bar__logos   { justify-content: flex-start; width: 100%; gap: 4px; }
  .sponsors-bar__item    { padding: 4px 8px; flex-shrink: 0; }
  .sponsors-bar__item img { height: 40px; }
  .sponsors-bar__item--main img { height: 52px; }
  .sponsors-bar__item--xl img   { height: 66px; }
  .sponsors-bar__item--xxl img  { height: 76px; }
  .sponsors-bar__item--sm img   { height: 18px; }
  .sponsors-bar__arrow   { display: flex; }
}
@media (max-width: 480px) {
  .sponsors-bar__logos   { gap: 2px; }
  .sponsors-bar__item    { padding: 4px 8px; flex-shrink: 0; }
  .sponsors-bar__item img { height: 34px; }
  .sponsors-bar__item--main img { height: 44px; }
  .sponsors-bar__item--xl img   { height: 56px; }
  .sponsors-bar__item--xxl img  { height: 64px; }
  .sponsors-bar__item--sm img   { height: 16px; }
}
