/* Detrás de la marca — estilos del sitio (estilo premium: mucho espacio, letras grandes, rojo de carreras) */
:root {
  --fondo: #0a0e14;
  --fondo-2: #10151d;
  --fondo-3: #171e29;
  --borde: rgba(255, 255, 255, .08);
  --borde-fuerte: rgba(255, 255, 255, .16);
  --texto: #f5f5f7;
  --texto-suave: #a1a1a6;
  --texto-tenue: #6e6e73;
  --dorado: #f2c14e;
  --rojo: #ff4d3d;
  --rojo-hondo: #d81f12;
  --celeste: #75c8ff;
  --ancho: 1200px;
  --ancho-lectura: 700px;
  --radio: 28px;
  --suave: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: -.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--celeste); text-decoration: none; }
a:hover { color: var(--dorado); }
::selection { background: var(--rojo); color: #fff; }

h1, h2, h3, .marca-nombre, .cifra {
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.02;
  margin: 0 0 .5em;
  overflow-wrap: break-word;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 8vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-top: 1.8em; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1.15em; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.lectura { max-width: var(--ancho-lectura); }
.lectura a { overflow-wrap: anywhere; }

.saltar { position: absolute; left: -9999px; }
.saltar:focus { left: 16px; top: 8px; background: var(--dorado); color: #000; padding: 6px 12px; z-index: 30; }

/* Texto con degradado (efecto metálico) */
.brillo {
  background: linear-gradient(180deg, #ffffff 0%, #c7c9d1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rojo { color: var(--rojo); }
.dorado { color: var(--dorado); }

/* Barra de lectura */
.progreso {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 25;
  background: linear-gradient(90deg, var(--rojo-hondo), var(--rojo), var(--dorado));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* Cabecera de cristal */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 14, 20, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--borde);
}
.cabecera .contenedor {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 24px; flex-wrap: wrap; min-height: 56px; padding-top: 8px; padding-bottom: 8px;
}
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); }
.marca:hover { color: var(--texto); }
.marca-nombre { font-size: 1.3rem; margin: 0; line-height: 1; letter-spacing: .02em; }
.marca-nombre span { color: var(--dorado); }
.marca-punto {
  width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); flex: none;
  box-shadow: 0 0 0 4px rgba(255, 77, 61, .18), 0 0 18px rgba(255, 77, 61, .7);
}
.menu { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: .82rem; }
.menu a { color: var(--texto-suave); font-weight: 500; letter-spacing: .01em; transition: color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--texto); }
.menu a[aria-current="page"] { box-shadow: 0 2px 0 var(--rojo); }

/* Etiquetas y botones */
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; color: var(--rojo); margin-bottom: 18px;
}
.etiqueta::before { content: ""; width: 28px; height: 2px; background: var(--rojo); }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rojo); color: #fff; font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; line-height: 1.2;
  box-shadow: 0 10px 30px -10px rgba(255, 77, 61, .7);
  transition: transform .25s var(--suave), box-shadow .25s, background .25s;
}
.boton:hover { color: #fff; background: #ff6152; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 77, 61, .85); }
.boton-claro { background: var(--texto); color: #0a0e14; box-shadow: none; }
.boton-claro:hover { background: #fff; color: #0a0e14; box-shadow: none; }
.enlace-flecha { color: var(--celeste); font-weight: 600; font-size: 1.05rem; }
.enlace-flecha::after { content: " ›"; display: inline-block; transition: transform .25s var(--suave); }
.enlace-flecha:hover::after { transform: translateX(4px); }

/* Portada (héroe) */
.heroe {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 900px); display: flex; align-items: center;
  padding: 90px 0 80px; text-align: center;
}
.heroe::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(216, 31, 18, .45), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(117, 200, 255, .12), transparent 70%);
}
.lineas { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lineas span {
  position: absolute; left: -40%; height: 2px; width: 40%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--rojo), transparent);
  opacity: .55; animation: velocidad 3.6s linear infinite;
}
.lineas span:nth-child(1) { top: 62%; animation-delay: 0s; }
.lineas span:nth-child(2) { top: 70%; animation-delay: 1.1s; width: 55%; opacity: .35; }
.lineas span:nth-child(3) { top: 78%; animation-delay: 2.2s; }
.lineas span:nth-child(4) { top: 86%; animation-delay: .6s; width: 30%; background: linear-gradient(90deg, transparent, var(--dorado), transparent); opacity: .4; }
.lineas span:nth-child(5) { top: 92%; animation-delay: 1.8s; width: 60%; opacity: .25; }
@keyframes velocidad { to { transform: translateX(350%); } }
.heroe .contenedor { display: flex; flex-direction: column; align-items: center; }
.heroe-titulo { font-size: clamp(3rem, 11vw, 8.5rem); line-height: .95; max-width: 13ch; margin-bottom: .35em; }
.heroe-titulo em { font-style: normal; color: var(--rojo); }
.heroe-texto { font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--texto-suave); max-width: 38ch; line-height: 1.5; }
.heroe-botones { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 28px; margin-top: 18px; }

/* Historia destacada */
.destacado { padding: 40px 0 100px; }
.destacado-tarjeta {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  background: linear-gradient(145deg, var(--fondo-3), var(--fondo-2));
  border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; color: var(--texto);
  transition: border-color .3s, transform .4s var(--suave);
}
.destacado-tarjeta:hover { color: var(--texto); border-color: rgba(255, 77, 61, .5); transform: translateY(-4px); }
.destacado-img { background: #121822; overflow: hidden; min-height: 320px; }
.destacado-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.destacado-tarjeta:hover .destacado-img img { transform: scale(1.04); }
.destacado-cuerpo { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.destacado-cuerpo h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.2rem); }
.destacado-cuerpo p { color: var(--texto-suave); font-size: 1.1rem; }

/* Banda de cifras */
.cifras-banda { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); padding: 70px 0; }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; text-align: center; }
.cifra { display: block; font-size: clamp(3rem, 8vw, 5.5rem); margin: 0; line-height: 1; }
.cifras li:nth-child(1) .cifra { color: var(--rojo); }
.cifras li:nth-child(2) .cifra { color: var(--dorado); }
.cifras li:nth-child(3) .cifra { color: var(--celeste); }
.cifras small { display: block; margin-top: 10px; color: var(--texto-suave); font-size: .95rem; }

/* Secciones y tarjetas */
.seccion { padding: 100px 0; }
.cabeza-seccion { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 40px; }
.cabeza-seccion h2 { margin: 0; }
.rejilla { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.tarjeta {
  position: relative; background: var(--fondo-2); border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; display: flex; flex-direction: column; color: var(--texto);
  transition: transform .45s var(--suave), border-color .3s, box-shadow .45s var(--suave);
}
.tarjeta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--rojo-hondo), var(--rojo), var(--dorado));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--suave);
}
.tarjeta:hover { color: var(--texto); transform: translateY(-6px); border-color: var(--borde-fuerte); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tarjeta:hover::after { transform: scaleX(1); }
.tarjeta-img { aspect-ratio: 16 / 10; background: #121822; overflow: hidden; }
.tarjeta-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--suave); }
.tarjeta:hover .tarjeta-img img { transform: scale(1.05); }
.tarjeta-cuerpo { padding: 22px 26px 30px; }
.tarjeta h3 { margin: 10px 0 10px; font-size: 1.55rem; line-height: 1.08; }
.tarjeta p { margin: 0; color: var(--texto-suave); font-size: .98rem; line-height: 1.55; }
.meta { font-size: .72rem; color: var(--texto-tenue); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.meta b { color: var(--rojo); font-weight: 700; }

/* Banda de redes */
.redes-banda { padding: 110px 0; text-align: center; background: radial-gradient(50% 80% at 50% 100%, rgba(216, 31, 18, .22), transparent 70%); }
.redes-banda h2 { margin-top: 0; font-size: clamp(2.4rem, 7vw, 5rem); }
.redes-banda p { color: var(--texto-suave); font-size: 1.15rem; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.redes a {
  display: inline-block; padding: 12px 24px; border: 1px solid var(--borde-fuerte); border-radius: 999px;
  color: var(--texto); font-weight: 600; font-size: .95rem; background: rgba(255, 255, 255, .03);
  transition: border-color .25s, background .25s, transform .25s var(--suave);
}
.redes a:hover { border-color: var(--rojo); background: rgba(255, 77, 61, .12); color: var(--texto); transform: translateY(-2px); }
.pagina .redes { justify-content: flex-start; padding-left: 0; margin-bottom: 24px; }

/* Artículo */
.articulo-cabeza { padding: 80px 0 40px; text-align: center; }
.articulo-cabeza .contenedor { display: flex; flex-direction: column; align-items: center; }
.articulo-cabeza h1 { font-size: clamp(2.5rem, 7.5vw, 5.6rem); max-width: 15ch; line-height: 1.05; margin: 14px 0 22px; }
.entradilla { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--texto-suave); max-width: 40ch; line-height: 1.5; }
.miga { font-size: .85rem; color: var(--texto-tenue); margin-bottom: 18px; }
.miga a { color: var(--texto-tenue); }
.miga a:hover { color: var(--texto); }
.portada-grande { margin: 10px auto 70px; max-width: 1100px; padding: 0 20px; }
.portada-grande img { width: 100%; border-radius: var(--radio); background: #121822; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.portada-grande figcaption { text-align: center; font-size: .88rem; color: var(--texto-suave); margin-top: 14px; }
.portada-grande .credito { display: block; font-size: .78rem; color: var(--texto-tenue); margin-top: 2px; }
.cuerpo > p:first-of-type::first-letter {
  float: left; font-family: "Anton", Impact, sans-serif; font-size: 4.6em; line-height: .85;
  padding: 6px 12px 0 0; color: var(--rojo);
}
.cuerpo h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cuerpo strong { color: #fff; }
.figura { margin: 44px 0; }
.figura img { width: 100%; border-radius: 20px; background: #121822; }
.figura.vertical img { max-width: 380px; margin: 0 auto; }
.figura.vertical figcaption { text-align: center; }
.figura figcaption { font-size: .88rem; color: var(--texto-suave); margin-top: 12px; line-height: 1.5; }
.figura .credito { display: block; font-size: .78rem; color: var(--texto-tenue); margin-top: 2px; }
.dato {
  margin: 56px 0; padding: 0 0 0 26px; border-left: 3px solid var(--rojo);
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.1; letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, #b9bcc6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dato strong { color: inherit; }
.caja-video {
  position: relative; overflow: hidden; margin: 70px 0 40px; padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radio); text-align: center;
  background: radial-gradient(80% 120% at 50% 120%, rgba(216, 31, 18, .55), transparent 70%), var(--fondo-3);
  border: 1px solid var(--borde);
}
.caja-video h2 { margin-top: 0; font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.caja-video p { color: var(--texto-suave); max-width: 36ch; margin-left: auto; margin-right: auto; }
.pregunta {
  font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: 0;
  font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.12; color: var(--dorado); margin-top: 40px;
}
.fuentes { font-size: .9rem; color: var(--texto-suave); border-top: 1px solid var(--borde); margin-top: 50px; padding-top: 16px; }
.fuentes h2 { font-size: 1.5rem; margin-top: 1em; }
.fuentes ul { padding-left: 20px; }
.fuentes li { margin-bottom: 8px; }

/* Espacio para anuncios (se activa cuando AdSense esté aprobado) */
.anuncio { margin: 40px 0; }

/* Páginas de texto */
.pagina { padding: 90px 0 100px; }
.pagina h1 { margin-bottom: .4em; }
.pagina ul { padding-left: 22px; }
.pagina li { margin-bottom: 8px; }
.pagina .grande { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--texto-suave); line-height: 1.5; }
.correo {
  display: inline-block; font-family: "Anton", Impact, sans-serif; font-size: clamp(1.5rem, 5vw, 2.4rem);
  color: var(--dorado); overflow-wrap: anywhere; line-height: 1.1;
}
.paquetes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 30px 0; }
.paquete {
  background: linear-gradient(160deg, var(--fondo-3), var(--fondo-2)); border: 1px solid var(--borde);
  border-radius: 22px; padding: 26px;
}
.paquete h3 { color: var(--texto); margin-bottom: 8px; font-size: 1.4rem; }
.paquete h3::before { content: ""; display: block; width: 26px; height: 3px; background: var(--rojo); margin-bottom: 14px; }
.paquete p { margin: 0; font-size: .95rem; color: var(--texto-suave); }

/* Pie */
.pie { border-top: 1px solid var(--borde); padding: 44px 0 50px; color: var(--texto-tenue); font-size: .82rem; }
.pie .contenedor { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.pie p { margin: 0; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pie a { color: var(--texto-suave); }
.pie a:hover { color: var(--texto); }

/* Aparición suave al bajar (solo si hay JavaScript) */
.js .revelar { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--suave), transform .9s var(--suave); }
.js .revelar.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .destacado-tarjeta { grid-template-columns: 1fr; }
  .destacado-img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  body { font-size: 17.5px; }
  .contenedor { padding: 0 16px; }
  .cabecera .contenedor { justify-content: center; }
  .menu { justify-content: center; gap: 2px 16px; font-size: .8rem; }
  .heroe { min-height: 0; padding: 64px 0 70px; }
  .seccion, .redes-banda { padding: 70px 0; }
  .destacado { padding: 10px 0 70px; }
  .cifras-banda { padding: 50px 0; }
  .cifras { grid-template-columns: 1fr; gap: 28px; }
  .articulo-cabeza { padding: 50px 0 30px; }
  .portada-grande { padding: 0 16px; margin-bottom: 50px; }
  .dato { margin: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lineas span { animation: none; display: none; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .tarjeta, .tarjeta-img img, .destacado-img img, .boton { transition: none; }
}

/* Aviso de fecha en las noticias */
.aviso-fecha {
  margin: 0 0 36px; padding: 14px 18px; border-radius: 14px; font-size: .9rem; color: var(--texto-suave);
  background: rgba(117, 200, 255, .07); border: 1px solid rgba(117, 200, 255, .22);
}

/* Botones para compartir */
.compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 10px; }
.compartir-titulo { width: 100%; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-tenue); }
.compartir a, .compartir button {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--borde-fuerte);
  background: rgba(255, 255, 255, .03); color: var(--texto);
  transition: border-color .25s, background .25s;
}
.compartir a:hover, .compartir button:hover { border-color: var(--rojo); background: rgba(255, 77, 61, .12); color: var(--texto); }
.lecturas { color: var(--dorado); }

/* Tarjetas siempre lado a lado, sin una tarjeta suelta en la última fila */
.paquetes { grid-template-columns: repeat(3, 1fr); }
.rejilla { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) {
  .rejilla { grid-template-columns: repeat(2, 1fr); }
  /* Si sobra una tarjeta, ocupa todo el ancho y pone la imagen al lado del texto */
  .rejilla > .tarjeta:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; }
  .rejilla > .tarjeta:last-child:nth-child(odd) .tarjeta-img { flex: 0 0 48%; aspect-ratio: auto; min-height: 220px; }
  .rejilla > .tarjeta:last-child:nth-child(odd) .tarjeta-cuerpo { align-self: center; }
}
@media (max-width: 640px) {
  .paquetes { grid-template-columns: 1fr; }
  .rejilla { grid-template-columns: 1fr; }
  .rejilla > .tarjeta:last-child:nth-child(odd) { flex-direction: column; }
  .rejilla > .tarjeta:last-child:nth-child(odd) .tarjeta-img { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}

/* Título de portada: «Lo que nadie te cuenta» / «detrás de cada historia», sin palabras sueltas */
.heroe-titulo { max-width: none; font-size: clamp(2.6rem, 8.4vw, 7.2rem); line-height: 1.08; }
.heroe-titulo em { display: block; margin-top: .1em; }
.junto { white-space: nowrap; }

/* Botones de redes en teléfono: de 2 en 2, sin uno suelto */
@media (max-width: 640px) {
  .redes { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .redes-banda .redes { margin-left: auto; margin-right: auto; }
  .redes a { display: block; text-align: center; }
  .redes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Cifras de la portada: caben 3 o 4 en una fila */
.cifras { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (max-width: 640px) { .cifras { grid-template-columns: 1fr; } }
