/* ==========================================================================
   Canal Cartagena — complementos del sitio sobre canal.css (diseño base)
   ========================================================================== */

/* ---------- Páginas de estado: gracias / 404 ---------- */
.status-page {
  background: url('../imagenes/canal/fondo_canal_cartagena.jpg') center/cover no-repeat, var(--navy-950);
  position: relative;
  overflow: hidden;
  min-height: min(calc(100vh - 170px), 760px);
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
  color: var(--white);
}
.status-page::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 82% 0%, rgba(96,165,250,0.3), transparent 60%),
    linear-gradient(100deg, rgba(8,17,32,0.95) 0%, rgba(8,17,32,0.88) 50%, rgba(8,17,32,0.76) 100%);
  pointer-events: none;
}
.status-page .seam--bottom { background: var(--navy-950); }
.status-page-inner {
  position: relative;
  z-index: 1;
  animation: hero-in 0.7s cubic-bezier(.2,.8,.2,1) both;
}
.status-page-code {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--blue-500), var(--blue-100));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}
.status-page-icon {
  width: 96px;
  height: 96px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--round-md);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 22px 50px -18px rgba(29, 78, 216, 0.7);
  color: var(--white);
}
.status-page-icon svg { width: 48px; height: 48px; }
.status-page-inner > * { max-width: 760px; }
.status-page h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-wrap: balance;
}
.status-page p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-bottom: 36px;
}
.status-page-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.status-page-actions .btn-outline { color: var(--white); }
.status-page-actions .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live-500);
  margin-right: 8px;
  animation: pulse-dot 1.6s infinite;
}

@media (max-width: 640px) {
  .status-page { padding: 64px 0 96px; min-height: auto; }
  .status-page-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Banner de cookies (Ley 1581) ---------- */
.geh-cookies {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  display: flex;
  justify-content: center;
}
.geh-cookies[hidden] { display: none; }
.geh-cookies__card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--round-md);
  box-shadow: var(--shadow-lift);
}
.geh-cookies__icon { font-size: 1.8rem; }
.geh-cookies__titulo { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.geh-cookies__cuerpo { font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.geh-cookies__legal { font-size: 0.76rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.geh-cookies__opts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.geh-cookies__opts[hidden] { display: none; }
.geh-cookies__opt { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.geh-cookies__opt--disabled { opacity: 0.6; cursor: default; }
.geh-cookies__chk { position: absolute; opacity: 0; pointer-events: none; }
.geh-cookies__check {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--blue-500);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
}
.geh-cookies__check--on,
.geh-cookies__chk:checked + .geh-cookies__check { background: var(--blue-600); border-color: var(--blue-600); }
.geh-cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.geh-cookies__btn {
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-dark);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.geh-cookies__btn[hidden] { display: none; }
.geh-cookies__btn:hover { border-color: var(--blue-500); background: rgba(255,255,255,0.06); }
.geh-cookies__btn--aceptar,
.geh-cookies__btn--guardar { background: var(--blue-600); border-color: var(--blue-600); }
.geh-cookies__btn--aceptar:hover,
.geh-cookies__btn--guardar:hover { background: var(--blue-600); box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.6); }

@media (max-width: 860px) {
  .geh-cookies__card { grid-template-columns: 1fr; }
  .geh-cookies__icon { display: none; }
  .geh-cookies__actions { justify-content: stretch; }
  .geh-cookies__btn { flex: 1 1 45%; }
}

/* ---------- Crédito del desarrollador ---------- */
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 22px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  background: var(--navy-950);
}
.footer-credit__link { display: inline-flex; opacity: 0.7; transition: opacity 0.2s; }
.footer-credit__link:hover { opacity: 1; }

/* ---------- Cabecera de páginas internas ---------- */
.pagina-oscura {
  background: var(--navy-950);
  border-radius: var(--round-lg);
  padding: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.page-texto { width: 100%; }
.page-texto p { margin-bottom: 18px; line-height: 1.7; }
.page-texto h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 32px 0 10px; }
.page-texto a { color: var(--blue-500); font-weight: 600; }
.programa-destacado { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-bottom: 44px; }
.programa-destacado .video-slot { border-radius: var(--round-lg); }
.programa-destacado-texto h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; margin: 14px 0 10px; }
.programa-destacado-texto p { margin-top: 14px; line-height: 1.65; }
.programa-subtitulo { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 22px; }
@media (max-width: 900px) {
  .programa-destacado { grid-template-columns: 1fr; }
    }
.fundador-portada { padding: 32px 0 0; }
.fundador-portada img { display: block; width: 100%; height: auto; border-radius: var(--round-lg); box-shadow: 0 12px 32px rgba(8,17,32,0.18); }
.fundador-historia { padding-top: 64px; }
.proposito-lema.proposito-lema--texto { background: radial-gradient(circle at 20% 0%, rgba(29,78,216,0.55), transparent 55%), var(--navy-950); text-align: left; padding: 64px 56px; }
.proposito-lema.proposito-lema--texto p { max-width: 860px; margin: 0 auto 18px; font-family: var(--font-body, inherit); font-size: 1.2rem; font-weight: 500; line-height: 1.85; color: rgba(255,255,255,0.88); }
.proposito-lema.proposito-lema--texto p:first-child { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.5; color: var(--white); }
.proposito-lema.proposito-lema--texto strong { color: var(--blue-500); font-weight: 800; }
.fundador-pares { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; margin-bottom: 88px; }
.fundador-par h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.15; color: var(--navy-950); margin-bottom: 22px; }
.fundador-par h2::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); }
.fundador-par p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
.fundador-par strong { font-weight: 800; color: var(--navy-950); }
.fundador-cierre h3 { font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 18px; }
.fundador-cierre p { margin: 0 auto 12px; }
.fundador-cierre .fundador-firma { margin-top: 22px; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; color: var(--navy-950); }
@media (max-width: 900px) {
        }
.page-more { margin-top: 28px; text-align: center; }

.page-hero {
  background: url('../imagenes/canal/fondo_canal_cartagena.jpg') center/cover no-repeat, var(--navy-950);
  position: relative;
  overflow: hidden;
  padding: 72px 0 112px;
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 82% 0%, rgba(96,165,250,0.3), transparent 60%),
    linear-gradient(100deg, rgba(8,17,32,0.95) 0%, rgba(8,17,32,0.88) 50%, rgba(8,17,32,0.76) 100%);
  pointer-events: none;
}
.page-hero .seam--bottom { background: var(--paper); }
.page-hero-inner { position: relative; z-index: 1; animation: hero-in 0.7s cubic-bezier(.2,.8,.2,1) both; }
.page-hero-inner > * { max-width: 780px; }
.page-breadcrumb {
  display: flex; gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.page-breadcrumb a { color: var(--blue-100); }
.page-breadcrumb a:hover { color: var(--white); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.page-hero p { font-size: 1.08rem; color: rgba(255,255,255,0.78); max-width: 640px; }

/* ---------- Contáctanos ---------- */
.contact-section { padding-top: 72px; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 2.7vw, 2.75rem);
  line-height: 1.12;
  color: var(--navy-950);
  margin-bottom: 14px;
}
.contact-lead { color: var(--ink-500); margin-bottom: 32px; max-width: 460px; }
.contact-list { display: grid; gap: 14px; margin-bottom: 32px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--round-sm);
  box-shadow: var(--shadow-card);
}
.contact-item-icon {
  flex: none;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--blue-600);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-label {
  display: block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 4px;
}
.contact-item-value { display: block; color: var(--navy-950); font-weight: 500; line-height: 1.5; }
.contact-item-value a:hover { color: var(--blue-600); }
.contact-social .contact-item-label { margin-bottom: 12px; }
.contact-social .footer-social a { background: var(--navy-950); color: var(--white); }
.contact-social .footer-social a:hover { background: var(--blue-600); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--round-lg);
  padding: 40px;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute; top: 0; left: 40px;
  width: 64px; height: 6px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 4px;
}
.contact-card-sub { font-size: 0.86rem; color: var(--ink-400); margin-bottom: 26px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  font: inherit; font-size: 0.95rem;
  color: var(--navy-950);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}
.form-field .iti { width: 100%; }
.form-field .iti input { padding-left: 92px !important; }
.form-field.is-invalid input,
.form-field.is-invalid textarea { border-color: var(--live-500); box-shadow: 0 0 0 3px rgba(226, 72, 58, 0.12); }
.form-check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.86rem; color: var(--ink-700);
  cursor: pointer;
}
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-600); flex: none; }
.form-check a { color: var(--blue-600); font-weight: 600; }
.form-check.is-invalid span { color: var(--live-600); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form-msg { font-size: 0.88rem; font-weight: 600; }
.form-msg--error { color: var(--live-600); }
.form-msg--ok { color: var(--blue-600); }
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-sedes { display: grid; gap: 14px; margin-bottom: 32px; }
.contact-sede {
  padding: 22px 24px;
  background: var(--navy-950);
  color: rgba(255,255,255,0.78);
  border-radius: var(--round-md);
  position: relative;
  overflow: hidden;
}
.contact-sede::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 38%; height: 100%;
  background: linear-gradient(135deg, rgba(29,78,216,0.35), transparent 70%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.contact-sede h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.contact-sede ul { display: grid; gap: 10px; position: relative; z-index: 1; }
.contact-sede li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; }
.contact-sede svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue-500); }
.contact-sede a { color: var(--white); font-weight: 600; }
.contact-sede a:hover { color: var(--blue-100); }

.contact-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0; line-height: 0; }
.contact-map-item { position: relative; margin: 0; }
.contact-map-item iframe { width: 100%; height: 380px; border: 0; filter: grayscale(0.35) contrast(1.05); }
.contact-map-item figcaption {
  position: absolute; left: 20px; bottom: 20px;
  line-height: 1.2;
  padding: 10px 18px 10px 14px;
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.85rem; font-weight: 600;
  clip-path: var(--chip-cut);
}

@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 48px 0 88px; }
  .contact-card { padding: 28px 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-map-item iframe { height: 300px; }
}

/* ---------- Miniaturas reales de YouTube ---------- */
.video-slot.has-thumb:not(:has(.video-slot-caption)) {
  background: var(--thumb) center / cover no-repeat, var(--navy-950);
}
.video-slot.has-thumb:not(:has(.video-slot-caption))::after { display: none; }
.video-slot.has-thumb,
.ph.has-thumb {
  background:
    linear-gradient(180deg, rgba(8,17,32,0.05) 35%, rgba(8,17,32,0.78) 100%),
    var(--thumb) center / cover no-repeat,
    var(--navy-950);
}
.program-tile.has-thumb {
  background:
    linear-gradient(180deg, rgba(8,17,32,0.35) 0%, rgba(8,17,32,0.2) 40%, rgba(8,17,32,0.88) 100%),
    var(--thumb) center / cover no-repeat,
    var(--navy-950);
}
.tag--replay { background: rgba(255,255,255,0.1); color: var(--blue-100); }
.video-lightbox-media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 2;
}

/* ---------- Publicidad: el skyscraper se mantiene visible en pantallas pequeñas ---------- */
@media (max-width: 1100px) {
  .news-sidebar { display: flex; justify-content: center; position: static; }
  .news-sidebar .pauta-slot--skyscraper { width: 100%; max-width: 300px; }
}

/* ---------- Tu Opinión: navegación, progreso de rotación y estado vacío ---------- */
.poll-card { position: relative; overflow: hidden; }
.poll-progress {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(96, 165, 250, 0.14);
}
.poll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
}
.poll-progress-bar.is-running { animation: poll-progreso var(--poll-duracion, 10s) linear forwards; }
.poll-card.is-paused .poll-progress-bar { animation-play-state: paused; opacity: 0.45; }
@keyframes poll-progreso { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.poll-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.poll-nav-btn {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.poll-nav-btn:hover { background: var(--blue-600); border-color: var(--blue-600); }
.poll-nav-btn:active { transform: scale(0.94); }
.poll-nav-btn svg { width: 18px; height: 18px; }
.poll-nav-centro { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.poll-counter {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}
.poll-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.poll-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.25s ease, background 0.25s ease;
}
.poll-dot:hover { background: rgba(255, 255, 255, 0.5); }
.poll-dot.is-active { width: 22px; background: var(--blue-500); }
.poll-card--vacia { display: flex; flex-direction: column; justify-content: center; min-height: 260px; }
.poll-vacia-texto { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Redes sociales en vivo (embeds oficiales y API de Instagram) ---------- */
.embed-fb { border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.embed-fb iframe { display: block; width: 100%; height: 360px; border: 0; }
.embed-tt { display: flex; justify-content: center; min-height: 360px; }
.embed-tt .tiktok-embed { margin: 0; width: 100%; }
.embed-x .twitter-tweet { margin: 0 auto !important; }
.embed-texto { font-size: 0.9rem; color: var(--ink-700); line-height: 1.55; }
.embed-ig-thumb.has-img { background: var(--img) center / cover no-repeat, var(--paper); position: relative; }
.embed-ig-thumb.is-video::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--white);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
.embed-ig-grid--perfil { position: relative; }
.embed-ig-cta {
  position: absolute; inset: auto 10px 10px 10px;
  padding: 8px 12px;
  background: rgba(10, 37, 64, 0.82);
  color: var(--white);
  font-size: 0.78rem; font-weight: 600; text-align: center;
  clip-path: var(--chip-cut);
}
.embed-ig { border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.embed-ig iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Homenaje al fundador: franja de borde a borde que empuja la página hacia abajo ---------- */
.tribute-modal {
  position: relative;
  z-index: 210;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height 0.8s cubic-bezier(.16, 1, .3, 1);
}
.tribute-modal.is-open { visibility: visible; }
.tribute-modal-panel { position: relative; }
.tribute-modal-panel .tribute-section {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 36px 0 34px;
  border-bottom: 3px solid var(--blue-600);
}
.tribute-modal-panel .tribute-ornaments { inset: 16px; }
.tribute-modal-panel .tribute-section > .container { width: 100%; }
.tribute-modal-panel .tribute-corner { width: 28px; height: 28px; }
.tribute-modal-panel .tribute-grid {
  grid-template-columns: 220px 1fr;
  gap: 52px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding-right: 48px;
}
.tribute-modal-panel .tribute-photo-frame { max-width: 220px; border-radius: var(--round-lg); }
.tribute-modal-panel .tribute-eyebrow { font-size: 0.78rem; margin-bottom: 8px; }
.tribute-modal-panel .tribute-name { font-size: clamp(2.1rem, 3.3vw, 3rem); margin-bottom: 10px; }
.tribute-modal-panel .tribute-role,
.tribute-modal-panel .tribute-dates { display: inline; margin: 0; font-size: 0.9rem; }
.tribute-modal-panel .tribute-dates::before { content: "·"; margin: 0 8px; color: var(--ink-400); }
.tribute-modal-panel .tribute-divider { margin: 18px 0 0; }
.tribute-modal-panel .tribute-quote { font-size: 1.1rem; margin-top: 18px; padding-top: 16px; max-width: 70ch; }
.tribute-modal-panel .tribute-text {
  margin: 18px 0 0;
  max-width: 78ch;
  font-size: 1rem;
  line-height: 1.6;
}
.tribute-modal-close {
  position: absolute; top: 14px; right: 20px; z-index: 3;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--white);
  box-shadow: var(--shadow-card);
  transition: background 0.2s ease, transform 0.15s ease;
}
.tribute-modal-close:hover { background: var(--blue-600); }
.tribute-modal-close:active { transform: scale(0.94); }
.tribute-modal-close svg { width: 20px; height: 20px; }

@media (max-width: 1200px) {
  .tribute-modal-panel .tribute-grid { grid-template-columns: 180px 1fr; gap: 40px; }
  .tribute-modal-panel .tribute-photo-frame { max-width: 180px; }
  .tribute-modal-panel .tribute-text { font-size: 0.95rem; }
  .tribute-modal-panel .tribute-quote { font-size: 1rem; }
}
@media (max-width: 900px) {
  .tribute-modal-panel .tribute-grid { grid-template-columns: 150px 1fr; gap: 28px; padding-right: 36px; }
  .tribute-modal-panel .tribute-photo-frame { max-width: 150px; border-radius: var(--round-md); }
}
@media (max-width: 640px) {
  .tribute-modal-panel .tribute-section { padding: 22px 0 20px; }
  .tribute-modal-panel .tribute-grid { display: block; padding-right: 0; }
  .tribute-modal-panel .tribute-photos { float: left; width: 96px; margin: 2px 16px 6px 0; }
  .tribute-modal-panel .tribute-content { padding-right: 30px; }
  .tribute-modal-panel .tribute-photo-frame { max-width: 96px; }
  .tribute-modal-panel .tribute-eyebrow { font-size: 0.66rem; }
  .tribute-modal-panel .tribute-name { font-size: 1.3rem; }
  .tribute-modal-panel .tribute-role,
  .tribute-modal-panel .tribute-dates { display: block; font-size: 0.8rem; }
  .tribute-modal-panel .tribute-dates::before { content: none; }
  .tribute-modal-panel .tribute-dates { font-size: 0.74rem; white-space: nowrap; }
  .tribute-modal-panel .tribute-text { clear: left; padding-top: 4px; }
  .tribute-modal-panel .tribute-quote { font-size: 0.88rem; margin-top: 10px; padding-top: 10px; }
  .tribute-modal-panel .tribute-text { margin-top: 10px; font-size: 0.84rem; line-height: 1.5; }
  .tribute-modal-panel .tribute-ornaments { display: none; }
  .tribute-modal-close { top: 8px; right: 8px; width: 34px; height: 34px; }
  .tribute-modal-close svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tribute-modal { transition: none; }
}

.video-lightbox-media video,
.video-lightbox-media > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; background: #000;
  z-index: 2;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0,0,0,0.55); color: #fff; font-size: 1.8rem; line-height: 1;
}
.lightbox-nav--prev { left: 12px; }
.lightbox-nav--next { right: 12px; }
.video-lightbox-info p { max-height: 6em; overflow-y: auto; }
.video-lightbox-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 16px; padding: 12px 22px; border-radius: 999px; align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-size: 0.92rem; font-weight: 700; text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.video-lightbox-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.video-lightbox-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.video-lightbox-link[hidden] { display: none; }

.video-lightbox-panel.is-vertical { flex-direction: row; }
.video-lightbox-panel.is-vertical .video-lightbox-media { flex: 1 1 auto; min-width: 0; }
.video-lightbox-panel.is-vertical .video-lightbox-info {
  flex: 0 0 360px; max-width: 360px; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center; padding: 28px 24px;
}
.video-lightbox-panel.is-vertical .video-lightbox-info p { max-height: none; overflow: visible; }
@media (max-width: 700px) {
  .video-lightbox-panel.is-vertical { flex-direction: column; }
  .video-lightbox-panel.is-vertical .video-lightbox-info { flex: 0 0 auto; max-width: none; max-height: 30%; padding: 14px 18px 16px; justify-content: flex-start; }
}

.video-lightbox-perfil { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: #fff; }
.video-lightbox-perfil[hidden] { display: none; }
.video-lightbox-perfil-icono { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.video-lightbox-perfil-icono svg { width: 24px; height: 24px; }
.video-lightbox-perfil-nombre { font-weight: 700; font-size: 1.05rem; }
.video-lightbox-panel.is-vertical .video-lightbox-info h3 { display: none; }
.video-lightbox-panel.is-vertical .video-lightbox-info p { color: #fff; font-size: 0.95rem; }

.page-pronto { text-align: center; padding: 48px 0; }
.page-pronto p { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 0; }
.hist-titulo { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 24px; }
.hist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hist-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 22px; }
.hist-categoria { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue-500); }
.hist-card h3 { font-size: 1.05rem; line-height: 1.35; margin: 8px 0 16px; }
.hist-opcion { margin-bottom: 12px; font-size: .9rem; }
.hist-opcion-fila { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.hist-barra { height: 8px; background: rgba(0,0,0,.08); border-radius: 4px; overflow: hidden; }
.hist-barra span { display: block; height: 100%; background: rgba(0,0,0,.3); }
.hist-opcion.is-ganadora .hist-barra span { background: var(--blue-500); }
.hist-opcion.is-ganadora strong { color: var(--blue-500); }
.hist-total { font-size: .8rem; opacity: .7; margin: 14px 0 0; }
@media (max-width: 960px) { .hist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hist-grid { grid-template-columns: 1fr; } }

.proposito-bloque { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; margin-bottom: 88px; }
.proposito-bloque--invertido .proposito-bloque-texto { order: 2; }
.proposito-bloque h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.1; color: var(--navy-950); margin-bottom: 22px; }
.proposito-bloque h2::after { content: ""; display: block; width: 56px; height: 5px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); }
.proposito-lead { font-size: 1.3rem; line-height: 1.6; font-weight: 500; margin-bottom: 20px; }
.proposito-bloque-texto p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
.proposito-bloque strong { font-weight: 800; color: var(--navy-950); }
.proposito-ideas { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(10,37,64,0.14); }
.proposito-ideas li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--navy-950); }
.proposito-idea-icono { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: var(--white); flex-shrink: 0; }
.proposito-idea-icono svg { width: 22px; height: 22px; }
.proposito-foto { position: relative; }
.proposito-foto::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--round-lg); background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); opacity: 0.9; }
.proposito-bloque--invertido .proposito-foto::before { inset: 22px 22px -22px -22px; }
.proposito-foto img { position: relative; display: block; width: 100%; height: auto; border-radius: var(--round-lg); box-shadow: 0 16px 40px rgba(8,17,32,0.2); }
.proposito-lema { position: relative; overflow: hidden; margin: 0 0 88px; padding: 72px 40px; text-align: center; background: linear-gradient(rgba(10,37,64,0.86), rgba(10,37,64,0.9)), radial-gradient(circle at 20% 0%, rgba(29,78,216,0.55), transparent 55%), url('../imagenes/canal/proposito-banner.webp') center/cover, var(--navy-950); border-radius: var(--round-lg); color: var(--white); }
.proposito-lema h2 { position: relative; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-500); margin: 6px 0 18px; }
.proposito-lema p { position: relative; max-width: 860px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.25; }
.proposito-lema strong { color: var(--blue-500); }
.proposito-cierre { margin: 0 0 24px; padding: 44px 40px; text-align: center; border-top: 4px solid var(--blue-600); background: var(--white); border-radius: 0 0 var(--round-md) var(--round-md); box-shadow: 0 10px 28px rgba(8,17,32,0.08); }
.proposito-cierre p { max-width: 860px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.55; }
.proposito-cierre strong { color: var(--blue-600); font-weight: 800; }
@media (max-width: 900px) {
}
@media (max-width: 900px) {
  .proposito-lema.proposito-lema--texto { padding: 40px 22px; }
  .proposito-lema.proposito-lema--texto p { font-size: 1.05rem; }
  .fundador-pares { grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
}
@media (max-width: 900px) {
  .proposito-bloque { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
  .proposito-bloque--invertido .proposito-bloque-texto { order: 0; }
  .proposito-foto::before, .proposito-bloque--invertido .proposito-foto::before { inset: 14px -10px -14px 10px; }
    .proposito-ideas { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .proposito-lema { padding: 52px 22px; margin-bottom: 64px; }
  .proposito-cierre { padding: 32px 22px; }
}

.metricas-grid { --cian: #19b6e6; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 88px; }
.metrica-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 22px 30px; background: var(--white); border: 3px solid var(--cian); border-radius: 18px; box-shadow: 0 12px 30px rgba(10,37,64,0.08); }
.metrica-icono { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(10,37,64,0.08); color: var(--navy-950); margin-bottom: 14px; }
.metrica-icono svg { width: 30px; height: 30px; }
.metrica-numero { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.1; color: var(--cian); }
.metrica-rotulo { margin-top: 6px; font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--navy-950); }
@media (max-width: 900px) {
  .metricas-grid { grid-template-columns: 1fr; margin-bottom: 56px; }
}
