/* ==========================================================
   Astropuerta · Hoja de estilos principal
   Paleta espacial: azul profundo, violeta nebulosa, cian y dorado
   ========================================================== */

:root {
  --espacio: #04060d;
  --espacio-2: #0a0f1f;
  --panel: #0f1630;
  --panel-2: #141d3d;
  --borde: rgba(148, 170, 255, .16);
  --texto: #e8ecf8;
  --texto-2: #aab3cf;
  --texto-3: #7d87a8;
  --dorado: #f6c945;
  --dorado-2: #ffdf7e;
  --cian: #5ce1ff;
  --violeta: #8b5cf6;
  --magenta: #e15cff;
  --verde-wa: #25d366;
  --radio: 18px;
  --radio-s: 10px;
  --sombra: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --ancho: 1200px;
  --fuente-titulo: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --fuente-texto: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--espacio);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(92, 225, 255, .08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cian); text-decoration: none; }
a:hover { color: var(--dorado-2); }
:focus-visible { outline: 2px solid var(--dorado); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--fuente-titulo); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.seccion--alt { background: linear-gradient(180deg, rgba(15, 22, 48, .55), rgba(10, 15, 31, .2)); border-block: 1px solid var(--borde); }

.salto { position: absolute; left: -9999px; top: 0; background: var(--dorado); color: #000; padding: 10px 16px; z-index: 999; }
.salto:focus { left: 10px; top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Etiquetas y textos ---------- */
.antetitulo {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--fuente-titulo); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cian);
  margin-bottom: 14px;
}
.antetitulo::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--texto-2); max-width: 62ch; }
.cabecera-seccion { max-width: 760px; margin-bottom: 48px; }
.cabecera-seccion.centro { margin-inline: auto; text-align: center; }
.cabecera-seccion.centro .antetitulo::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.degradado {
  background: linear-gradient(90deg, var(--dorado-2), var(--dorado) 40%, #ff9f45);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--fuente-titulo); font-weight: 600; font-size: 1rem; line-height: 1;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--oro { background: var(--dorado); color: #14110a; box-shadow: 0 10px 30px -10px rgba(246, 201, 69, .6); }
.btn--oro:hover { color: #14110a; background: var(--dorado-2); transform: translateY(-2px); }
.btn--wa { background: var(--verde-wa); color: #04210f; }
.btn--wa:hover { color: #04210f; transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn--linea { border-color: rgba(232, 236, 248, .35); color: var(--texto); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn--linea:hover { border-color: var(--cian); color: var(--cian); }
.btn--peq { padding: 10px 18px; font-size: .92rem; }
.botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Encabezado ---------- */
.encabezado {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.encabezado.solido, .encabezado.abierto { background: rgba(4, 6, 13, .86); backdrop-filter: blur(14px); border-color: var(--borde); }
.encabezado .contenedor { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.marca { display: flex; align-items: center; gap: 12px; color: var(--texto); font-family: var(--fuente-titulo); font-weight: 700; letter-spacing: .14em; font-size: 1.15rem; }
.marca:hover { color: var(--texto); }
.marca svg { width: 40px; height: 40px; flex: none; }
.marca small { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--texto-3); font-weight: 500; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--texto-2); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texto); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--dorado-2); }
.nav .btn { margin-left: 8px; color: #14110a; }
.menu-btn { display: none; background: none; border: 1px solid var(--borde); color: var(--texto); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
.abierto .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.abierto .menu-btn span:nth-child(2) { opacity: 0; }
.abierto .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: rgba(4, 6, 13, .97); border-bottom: 1px solid var(--borde); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .abierto .nav { max-height: 80vh; overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 24px; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
  isolation: isolate;
}
.hero__fondo {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 6, 13, .25) 0%, rgba(4, 6, 13, .55) 60%, var(--espacio) 100%),
    radial-gradient(800px 500px at 75% 35%, rgba(139, 92, 246, .35), transparent 65%),
    radial-gradient(600px 400px at 20% 80%, rgba(92, 225, 255, .14), transparent 70%),
    url("../img/banners/hero-inicio.jpg") center 70% / cover no-repeat,
    var(--espacio);
}
@media (max-width: 700px) {
  .hero__fondo {
    background:
      linear-gradient(180deg, rgba(4, 6, 13, .35) 0%, rgba(4, 6, 13, .7) 65%, var(--espacio) 100%),
      radial-gradient(500px 400px at 70% 25%, rgba(139, 92, 246, .35), transparent 65%),
      url("../img/banners/hero-inicio-movil.jpg") center top / cover no-repeat,
      var(--espacio);
  }
}
#estrellas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__contenido { max-width: 760px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; color: #c9d0e6; }
.hero__datos { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--borde); }
.hero__datos div { min-width: 120px; }
.hero__datos strong { display: block; font-family: var(--fuente-titulo); font-size: 2rem; color: var(--dorado-2); line-height: 1.1; }
.hero__datos span { color: var(--texto-3); font-size: .9rem; }
.hero__planeta {
  position: absolute; right: -180px; bottom: -220px; width: 640px; height: 640px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, .55), rgba(30, 20, 80, .6) 45%, rgba(4, 6, 13, 0) 70%);
  filter: blur(2px); opacity: .7; pointer-events: none;
}
.desplazar { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--texto-3); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.desplazar::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--cian), transparent); animation: caer 2s infinite; }
@keyframes caer { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Banner interior de página */
.banner {
  position: relative; padding: 170px 0 90px; overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--borde);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 13, .92) 0%, rgba(4, 6, 13, .65) 55%, rgba(4, 6, 13, .3) 100%),
    linear-gradient(0deg, var(--espacio) 0%, transparent 40%),
    var(--banner-img, none) 75% center / cover no-repeat,
    radial-gradient(700px 400px at 80% 20%, rgba(139, 92, 246, .35), transparent 70%),
    var(--espacio-2);
}
.banner h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 16ch; }
.banner .lead { margin-top: 10px; }
.miga { font-size: .88rem; color: var(--texto-3); margin-bottom: 18px; }
.miga ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.miga li + li::before { content: "/"; margin-right: 6px; color: var(--texto-3); }
.miga a { color: var(--texto-2); }

/* ---------- Tarjetas genéricas ---------- */
.rejilla { display: grid; gap: 24px; }
.rejilla-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rejilla-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rejilla-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.tarjeta {
  background: linear-gradient(180deg, rgba(20, 29, 61, .75), rgba(15, 22, 48, .6));
  border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.tarjeta:hover { transform: translateY(-4px); border-color: rgba(92, 225, 255, .4); box-shadow: var(--sombra); }
.tarjeta p { color: var(--texto-2); }
.icono-tarjeta { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, rgba(139, 92, 246, .35), rgba(92, 225, 255, .2)); color: var(--cian); }
.icono-tarjeta svg { width: 26px; height: 26px; }

/* ---------- Conferencias ---------- */
.conf {
  position: relative; border-radius: var(--radio); overflow: hidden; background: var(--panel);
  border: 1px solid var(--borde); display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.conf:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -25px rgba(139, 92, 246, .55); border-color: rgba(246, 201, 69, .45); }
.conf__img { aspect-ratio: 223 / 361; overflow: hidden; background: #000; }
.conf__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.conf:hover .conf__img img { transform: scale(1.05); }
.conf__cuerpo { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.conf__cuerpo h3 { margin: 0; font-size: 1.12rem; }
.conf__cuerpo p { color: var(--texto-2); font-size: .94rem; margin: 0; }
.conf__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 500; background: rgba(92, 225, 255, .09); color: var(--cian); border: 1px solid rgba(92, 225, 255, .22); }
.chip--oro { background: rgba(246, 201, 69, .1); color: var(--dorado-2); border-color: rgba(246, 201, 69, .3); }
.chip--violeta { background: rgba(139, 92, 246, .14); color: #c4b1ff; border-color: rgba(139, 92, 246, .35); }

.conf-lista { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.conf-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.conf-item__num { font-family: var(--fuente-titulo); font-size: 1.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--dorado); line-height: 1; min-width: 44px; }
.conf-item ul { margin: 6px 0 12px; padding-left: 18px; color: var(--texto-2); font-size: .94rem; }
.conf-item li { margin-bottom: 3px; }

.formatos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

/* ---------- Libros ---------- */
.libro {
  display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(20, 29, 61, .7), rgba(10, 15, 31, .6));
  border: 1px solid var(--borde); border-radius: var(--radio); overflow: hidden; transition: transform .35s, border-color .35s, box-shadow .35s;
}
.libro:hover { transform: translateY(-6px); border-color: rgba(246, 201, 69, .45); box-shadow: 0 30px 60px -25px rgba(246, 201, 69, .35); }
.libro__portada {
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 26px;
  background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, .28), transparent 70%), #070b18;
  perspective: 900px;
}
.libro__portada img { max-height: 100%; width: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .5s; }
.libro:hover .libro__portada img { transform: rotateY(-8deg) scale(1.03); }
.libro__portada--sin { color: var(--texto-3); text-align: center; font-family: var(--fuente-titulo); }
.portada-css {
  width: 72%; aspect-ratio: 2 / 3; border-radius: 4px; padding: 18px 14px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 50% 75%, #d2552c 0 22%, #7a2a14 34%, transparent 35%), linear-gradient(180deg, #120706, #2a0d07);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .9); color: #fbe3c8; text-align: center;
}
.portada-css strong { font-size: 1.9rem; letter-spacing: .12em; }
.portada-css span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.libro__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.libro__cuerpo h3 { margin: 0; font-size: 1.15rem; }
.libro__cuerpo .editorial { font-size: .82rem; color: var(--texto-3); text-transform: uppercase; letter-spacing: .08em; }
.libro__cuerpo p { color: var(--texto-2); font-size: .94rem; margin: 0; }
.libro__cuerpo .btn { margin-top: auto; align-self: flex-start; }
.libro__cuerpo .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }

.destacado {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 70px); align-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, .16), rgba(92, 225, 255, .06));
  border: 1px solid var(--borde); border-radius: 28px; padding: clamp(26px, 5vw, 60px); overflow: hidden; position: relative;
}
.destacado__img { display: flex; justify-content: center; gap: 18px; align-items: flex-end; }
.destacado__img img { border-radius: 6px; box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .9); }
@media (max-width: 860px) { .destacado { grid-template-columns: 1fr; } }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filtro { background: rgba(255, 255, 255, .04); border: 1px solid var(--borde); color: var(--texto-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; font: 500 .92rem var(--fuente-texto); transition: all .2s; }
.filtro:hover { color: var(--texto); border-color: var(--cian); }
.filtro[aria-pressed="true"] { background: var(--dorado); color: #14110a; border-color: var(--dorado); }
[data-oculto] { display: none !important; }

/* ---------- Cielo del mes ---------- */
.cielo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 900px) { .cielo-grid { grid-template-columns: 1fr; } }
.linea-tiempo { list-style: none; margin: 0; padding: 0; position: relative; }
.linea-tiempo::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cian), var(--violeta), transparent); }
.linea-tiempo li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 10px 0; position: relative; align-items: center; }
.fecha {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-content: center; text-align: center; position: relative; z-index: 1;
  background: var(--panel-2); border: 1px solid var(--borde); font-family: var(--fuente-titulo); line-height: 1;
}
.fecha b { font-size: 1.5rem; color: var(--texto); }
.fecha small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cian); margin-top: 4px; }
.evento-txt strong { display: block; font-weight: 600; color: var(--texto); }
.evento-txt span { font-size: .88rem; color: var(--texto-3); }
.evento-luna .fecha { border-color: rgba(246, 201, 69, .4); }
.evento-luna .fecha small { color: var(--dorado-2); }
.efem { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.efem li { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--borde); }
.efem .anio { font-family: var(--fuente-titulo); font-weight: 700; color: var(--dorado-2); font-size: 1.15rem; line-height: 1.2; }
.efem .anio small { display: block; font-weight: 500; font-size: .74rem; color: var(--texto-3); text-transform: uppercase; letter-spacing: .06em; }
.efem p { margin: 0; color: var(--texto-2); font-size: .95rem; }
.nota-libre { margin-top: 26px; font-size: .9rem; color: var(--texto-3); border-left: 3px solid var(--dorado); padding: 8px 14px; background: rgba(246, 201, 69, .05); border-radius: 0 8px 8px 0; }

.mes-proximo { display: grid; gap: 14px; }
.mes-proximo li { list-style: none; }

.calendario { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.mes { background: rgba(20, 29, 61, .5); border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px 22px 14px; }
.mes h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; border-bottom: 1px solid var(--borde); padding-bottom: 10px; margin-bottom: 8px; }
.mes h3 span { font-size: .8rem; color: var(--texto-3); font-weight: 500; }
.mes ul { list-style: none; margin: 0; padding: 0; }
.mes li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(148, 170, 255, .1); font-size: .93rem; color: var(--texto-2); align-items: baseline; }
.mes li:last-child { border-bottom: 0; }
.mes li b { font-family: var(--fuente-titulo); color: var(--texto); }
.estrellas-cal { color: var(--dorado); letter-spacing: 1px; font-size: .85rem; white-space: nowrap; }
.mes li.top { color: var(--texto); }
.mes li.top b { color: var(--dorado-2); }
.leyenda { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 30px; color: var(--texto-2); font-size: .92rem; }

/* ---------- Bloques de texto ---------- */
.dos-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.dos-col--inv > :first-child { order: 2; }
@media (max-width: 900px) { .dos-col { grid-template-columns: 1fr; } .dos-col--inv > :first-child { order: 0; } }
.foto-marco { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--borde); box-shadow: var(--sombra); }
.foto-marco::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4, 6, 13, .65)); pointer-events: none; }
.foto-marco figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-size: .85rem; color: var(--texto-2); }
.lista-check { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.lista-check li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--texto-2); }
.lista-check li::before { content: "✦"; color: var(--dorado); font-size: 1rem; line-height: 1.6; }
.lista-check strong { color: var(--texto); }

.hitos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.hito { padding: 24px; border-radius: var(--radio); border: 1px solid var(--borde); background: rgba(255, 255, 255, .025); }
.hito strong { display: block; font-family: var(--fuente-titulo); font-size: 2.3rem; color: var(--dorado-2); line-height: 1; margin-bottom: 8px; }
.hito span { color: var(--texto-2); font-size: .95rem; }

.prosa { max-width: 760px; }
.prosa h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.prosa h3 { margin-top: 1.4em; color: var(--dorado-2); }
.prosa p, .prosa li { color: var(--texto-2); }
.prosa ol, .prosa ul { padding-left: 22px; }
.prosa li { margin-bottom: 8px; }
.prosa strong { color: var(--texto); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: clamp(36px, 6vw, 80px);
  background:
    linear-gradient(120deg, rgba(4, 6, 13, .88), rgba(20, 12, 50, .45)),
    url("../img/banners/fondo-cta-auditorio.jpg") center / cover no-repeat,
    linear-gradient(120deg, #1a1040, #071a2e);
  border: 1px solid rgba(246, 201, 69, .25);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 30px; align-items: center;
}
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--texto-2); margin: 0; max-width: 56ch; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Suscripción ---------- */
.suscripcion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .suscripcion { grid-template-columns: 1fr; } }
.correo-muestra { background: #f4f5f7; color: #333; border-radius: 14px; padding: 22px 24px; font-family: Arial, sans-serif; font-size: .9rem; box-shadow: var(--sombra); transform: rotate(-1.5deg); }
.correo-muestra h4 { color: #0b2545; font-family: Arial, sans-serif; border-bottom: 2px solid #0b2545; padding-bottom: 6px; font-size: 1rem; }
.correo-muestra ul { padding-left: 18px; margin: 0; }
.correo-muestra .asunto { font-size: .78rem; color: #666; margin-bottom: 10px; }

/* ---------- Contacto ---------- */
.contacto-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contacto-lista a, .contacto-lista div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--borde); background: rgba(255, 255, 255, .03); color: var(--texto); transition: border-color .2s, transform .2s; }
.contacto-lista a:hover { border-color: var(--cian); transform: translateX(4px); color: var(--texto); }
.contacto-lista svg { width: 26px; height: 26px; flex: none; color: var(--cian); }
.contacto-lista small { display: block; color: var(--texto-3); font-size: .8rem; }
.formulario { display: grid; gap: 16px; }
.formulario label { display: grid; gap: 6px; font-size: .9rem; color: var(--texto-2); }
.formulario input, .formulario select, .formulario textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--borde); background: rgba(4, 6, 13, .6); color: var(--texto); font: 400 1rem var(--fuente-texto);
}
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--cian); box-shadow: 0 0 0 3px rgba(92, 225, 255, .15); }
.formulario .fila { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .formulario .fila { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--borde); border-radius: 14px; background: rgba(255, 255, 255, .025); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--fuente-titulo); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dorado); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--texto-2); padding-bottom: 12px; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde); padding: 70px 0 30px; background: linear-gradient(180deg, transparent, rgba(10, 15, 31, .8)); margin-top: 40px; }
.pie__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .pie__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie__grid { grid-template-columns: 1fr; } }
.pie h3 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-3); margin-bottom: 16px; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pie a { color: var(--texto-2); }
.pie a:hover { color: var(--dorado-2); }
.pie p { color: var(--texto-3); font-size: .93rem; }
.redes { display: flex; gap: 10px; margin-top: 16px; }
.redes a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--borde); color: var(--texto-2); transition: all .2s; }
.redes a:hover { color: #fff; border-color: var(--cian); background: rgba(92, 225, 255, .08); }
.redes svg { width: 20px; height: 20px; }
.pie__base { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--borde); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--texto-3); }

/* ---------- WhatsApp flotante ---------- */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--verde-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .25s;
}
.wa-flotante:hover { color: #fff; transform: scale(1.08); }
.wa-flotante svg { width: 32px; height: 32px; }
.wa-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--verde-wa); animation: pulso 2.2s infinite; }
@keyframes pulso { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-flotante span { position: absolute; right: 72px; background: #fff; color: #0c1a12; padding: 8px 14px; border-radius: 10px; font-size: .85rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .25s; pointer-events: none; }
.wa-flotante:hover span { opacity: 1; transform: none; }

/* ---------- Animación de aparición ---------- */
.revelar { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.revelar.visible { opacity: 1; transform: none; }
.no-js .revelar { opacity: 1; transform: none; }

/* ---------- Utilidades ---------- */
.centro { text-align: center; }
.mt-l { margin-top: 48px; }
.mt-m { margin-top: 28px; }
.texto-2 { color: var(--texto-2); }
.separador-orbita { height: 1px; background: linear-gradient(90deg, transparent, var(--borde), transparent); margin: 0 auto; max-width: var(--ancho); }

/* ---------- Ajustes responsive ---------- */
.hero__datos { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
@media (max-width: 760px) {
  .hero__datos { grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 40px; }
  .hero__datos strong { font-size: 1.6rem; }
  .desplazar { display: none; }
  .hero { padding-bottom: 50px; }
}
@media (max-width: 600px) {
  .conf { flex-direction: row; }
  .conf__img { width: 38%; flex: none; aspect-ratio: auto; }
  .conf__cuerpo { padding: 14px 14px 16px; gap: 8px; }
  .conf__cuerpo h3 { font-size: 1rem; }
  .conf__cuerpo p { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .conf__cuerpo .btn { padding: 9px 12px; font-size: .85rem; }
  .libro { flex-direction: row; }
  .libro__portada { width: 40%; flex: none; aspect-ratio: auto; padding: 14px; }
  .libro__cuerpo { padding: 16px 14px; }
  .libro__cuerpo p { font-size: .88rem; }
  .libro__cuerpo .btn { padding: 9px 12px; font-size: .84rem; white-space: normal; }
  .portada-css { width: 100%; padding: 10px 6px; }
  .portada-css strong { font-size: 1.2rem; }
  .portada-css span { font-size: .55rem; }
  .efem li { grid-template-columns: 70px 1fr; padding: 12px; }
  .wa-flotante { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .wa-flotante span { display: none; }
}

/* Con las fotos de Gemini ya no se necesita el planeta decorativo del hero */
.hero__planeta { display: none; }

/* Imágenes de los banners interiores (generadas con Gemini) */
.banner--conferencias { --banner-img: url("../img/banners/hero-conferencias.jpg"); }
.banner--libros { --banner-img: url("../img/banners/hero-libros.jpg"); }
.banner--cielo-del-mes { --banner-img: url("../img/banners/hero-cielo-del-mes.jpg"); }
.banner--calendario-2026 { --banner-img: url("../img/banners/hero-calendario-2026.jpg"); }
.banner--german-puerta { --banner-img: url("../img/banners/hero-german-puerta.jpg"); }
.banner--guia { --banner-img: url("../img/banners/hero-guia.jpg"); }

/* ---------- Cinta del Calendario 2027 (en todas las páginas) ---------- */
.cinta {
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  min-height: 38px; padding: 6px 16px; font-size: .88rem; color: #14110a; text-align: center;
  background: linear-gradient(90deg, #ffb347, var(--dorado) 40%, var(--dorado-2));
}
.cinta:hover { color: #14110a; filter: brightness(1.05); }
.cinta b { font-weight: 700; }
.cinta__cta { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1020px) { .nav { position: absolute; inset: 100% 0 auto 0; } }
@media (max-width: 560px) { .cinta { font-size: .8rem; gap: 6px; } .cinta__cta { display: none; } }
.hero { padding-top: 160px; }
.banner { padding-top: 210px; }

/* ---------- Promoción del calendario ---------- */
.sello { display: inline-block; padding: 6px 14px; border-radius: 999px; font: 600 .78rem var(--fuente-titulo); letter-spacing: .12em; text-transform: uppercase; color: #14110a; background: var(--dorado); margin-bottom: 18px; }
.promo-cal { padding-top: clamp(40px, 6vw, 80px); }
.promo-cal__caja {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; border: 1px solid rgba(246, 201, 69, .4);
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(255, 140, 50, .28), transparent 70%),
    radial-gradient(700px 500px at 90% 90%, rgba(139, 92, 246, .3), transparent 70%),
    linear-gradient(135deg, #120c22, #070a16);
  box-shadow: 0 40px 100px -40px rgba(246, 160, 60, .45);
}
.promo-cal__afiche { display: flex; justify-content: center; }
.promo-cal__afiche img { width: auto; max-height: 620px; border-radius: 8px; box-shadow: 0 30px 70px -10px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px -10px rgba(255, 150, 60, .45); transform: rotate(-3deg); transition: transform .5s; }
.promo-cal__afiche:hover img { transform: rotate(0) scale(1.02); }
.promo-cal__titulo { font-size: clamp(2.4rem, 5vw, 4rem); }
.cuenta { display: inline-block; padding: 10px 16px; border-radius: 12px; background: rgba(246, 201, 69, .1); border: 1px dashed rgba(246, 201, 69, .5); color: var(--dorado-2); margin-bottom: 22px; }
.cuenta b { font: 700 1.5rem var(--fuente-titulo); }
@media (max-width: 860px) {
  .promo-cal__caja { grid-template-columns: 1fr; }
  .promo-cal__afiche img { max-height: 460px; }
}

/* ---------- Página del calendario ---------- */
.cal-hero { position: relative; padding: 150px 0 80px; overflow: hidden; isolation: isolate; }
.cal-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 500px at 75% 35%, rgba(255, 140, 50, .25), transparent 70%),
    linear-gradient(90deg, rgba(4, 6, 13, .95) 0%, rgba(4, 6, 13, .7) 60%, rgba(4, 6, 13, .5) 100%),
    url("../img/banners/hero-calendario-2026.jpg") 80% center / cover no-repeat, var(--espacio);
}
.cal-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 50px; align-items: center; }
.cal-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.cal-hero__afiche { display: flex; justify-content: center; }
.cal-hero__afiche img { max-height: 76vh; width: auto; border-radius: 8px; box-shadow: 0 40px 90px -10px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1), 0 0 120px -10px rgba(255, 150, 60, .5); }
.sellos-lista { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--texto-2); font-size: .92rem; }
.sellos-lista li { display: flex; align-items: center; gap: 8px; }
.sellos-lista svg { width: 20px; height: 20px; color: var(--dorado); }
.tarjeta--pedido { border-color: rgba(37, 211, 102, .35); }
.tarjeta--pedido:hover { transform: none; }
.nota-form { font-size: .85rem; color: var(--texto-3); margin: 0; }
@media (max-width: 860px) {
  .cal-hero__grid { grid-template-columns: 1fr; }
  .cal-hero__afiche img { max-height: 520px; }
}

/* ===== Nuevo logo Astropuerta (v4) ===== */
.marca img { display: block; height: 46px; width: auto; }
.encabezado.solido .marca img { height: 40px; }
.marca--pie img { height: 64px; }
.hero__logo { display: block; width: min(560px, 100%); height: auto; margin: 0 0 22px -6px; filter: drop-shadow(0 0 28px rgba(64, 140, 255, .35)); }
.hero__lema { max-width: 640px; margin: 0 0 22px; font-family: var(--fuente-titulo); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--texto-2); }
.hero__lema span { display: inline-block; margin-left: 6px; padding: 2px 10px; border: 1px solid var(--borde); border-radius: 99px; font-size: .75em; letter-spacing: .12em; text-transform: uppercase; color: var(--dorado-2); }
.hero__datos { grid-template-columns: repeat(3, auto); }
@media (max-width: 1020px) { .marca img { height: 38px; } }
@media (max-width: 600px) {
  .marca img, .encabezado.solido .marca img { height: 30px; }
  .hero__logo { width: 100%; margin-left: 0; }
  .hero__datos { grid-template-columns: 1fr 1fr 1fr; gap: 18px 14px; }
  .hero__datos strong { font-size: 1.35rem; }
}

/* ===== Germán en los medios (v5) ===== */
.medios { display: grid; gap: 24px; max-width: 900px; }
.medio { background: var(--superficie, rgba(255,255,255,.03)); border: 1px solid var(--borde); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.medio__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--texto-3); font-size: .9rem; }
.medio__cab .chip svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
.medio h3 { margin-bottom: 8px; }
.medio__reproductor { margin: 18px 0 12px; border-radius: 12px; overflow: hidden; background: #0b1020; min-height: 180px; }
.medio__reproductor iframe { display: block; border: 0; width: 100%; height: 180px; }
.medio__nota { font-size: .92rem; color: var(--texto-3); }

/* ===== Novedad editorial (v6) ===== */
.rejilla-5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.novedad .destacado__img img { width: min(300px, 70%); border-radius: 6px; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 60px rgba(120,150,255,.18); transform: rotate(-2deg); }
.novedad__titulo { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.rejilla-5 .libro .btn { width: 100%; justify-content: center; padding-left: 10px; padding-right: 10px; font-size: .82rem; white-space: normal; }
