/* ==========================================================================
   Canal Cartagena — Sistema de diseño
   Navy #0A2540 + azules #1D4ED8 / #60A5FA / #E0F2FE. Montserrat.
   Lenguaje visual: capas angulares superpuestas, esquinas cortadas ("cortes
   tecnológicos" tipo grafismo de transmisión), cortes diagonales entre secciones.
   ========================================================================== */

:root {
  /* Paleta de marca — Canal Cartagena (única fuente de color del sitio) */
  --navy-950: #0a2540;
  --blue-600: #1d4ed8;
  --blue-500: #60a5fa;
  --blue-100: #e0f2fe;
  --paper: #f1f5f9;
  --white: #ffffff;

  --live-600: #cf3a2b;
  --live-500: #e2483a;

  --ink-900: #0a2540;
  --ink-700: rgba(10, 37, 64, 0.78);
  --ink-500: rgba(10, 37, 64, 0.68);
  --ink-400: rgba(10, 37, 64, 0.63);
  --line: rgba(10, 37, 64, 0.12);
  --line-dark: rgba(96, 165, 250, 0.18);
  --panel-on-dark: rgba(255, 255, 255, 0.05);

  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-ui: "Montserrat", "Segoe UI", sans-serif;

  --container: 1280px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-card: 0 18px 40px -22px rgba(8, 17, 32, 0.35);
  --shadow-lift: 0 26px 60px -24px rgba(8, 17, 32, 0.45);

  /* Esquina redondeada tipo "scoop" — firma visual del sitio, como el logo */
  --round-sm: var(--radius-md) 22px var(--radius-md) var(--radius-md);
  --round-md: var(--radius-md) 34px var(--radius-md) var(--radius-md);
  --round-lg: var(--radius-md) 48px var(--radius-md) var(--radius-md);
  --chip-cut: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--paper);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px; left: 12px;
  z-index: 999;
  background: var(--blue-600);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 48px 0; position: relative; }
.section--tight { padding: 32px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head--center .section-kicker { margin-left: auto; margin-right: auto; }
.section-head--center p { margin-left: auto; margin-right: auto; }

.section-kicker {
  display: block;
  width: 40px;
  height: 10px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0% 100%);
}
.section-head--dark .section-kicker,
.section-kicker--dark { background: linear-gradient(90deg, var(--blue-500), var(--blue-100)); }

.section-head 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);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-head--dark h2 { color: var(--white); }

.section-head p {
  color: var(--ink-500);
  font-size: 1.02rem;
  max-width: 44ch;
  margin-top: 10px;
}
.section-head--dark p { color: rgba(255,255,255,0.6); }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-600);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.section-link:hover { color: var(--navy-950); border-color: var(--blue-600); }
.section-link svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.section-link:hover svg { transform: translateX(3px); }
.section-link--light { color: var(--blue-100); border-color: rgba(255,255,255,0.28); }
.section-link--light:hover { color: var(--white); border-color: var(--blue-100); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px 15px 26px;
  clip-path: var(--chip-cut);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-950));
  color: var(--white);
}
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(29, 78, 216, 0.5); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(0.98); box-shadow: 0 6px 16px -8px rgba(29, 78, 216, 0.5); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--blue-500); background: rgba(255,255,255,0.06); }
.btn-outline:active { transform: scale(0.98); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px 6px 11px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.tag--ciudad { background: rgba(29,78,216,0.1); color: var(--blue-600); }
.tag--politica { background: var(--blue-100); color: var(--navy-950); }
.tag--actualidad { background: rgba(16,20,30,0.07); color: var(--ink-700); }
.tag--live {
  background: var(--live-600);
  color: var(--white);
}
.tag--live .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--white);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

/* ---------- Capas angulares decorativas (fondos superpuestos) ---------- */
.tech-layers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.tech-layers .tl { position: absolute; }
.tech-layers .tl1 {
  width: 54%; height: 165%; top: -32%; right: -10%;
  background: linear-gradient(135deg, rgba(29,78,216,0.45), rgba(96,165,250,0.04) 72%);
  clip-path: polygon(38% 0, 100% 0, 60% 100%, 0% 100%);
}
.tech-layers .tl2 {
  width: 32% ; height: 140%; top: -18%; right: 10%;
  background: linear-gradient(160deg, rgba(96,165,250,0.3), transparent 75%);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
  mix-blend-mode: screen;
}
.tech-layers .tl3 {
  width: 1px; height: 130%; top: -14%; right: 32%;
  background: rgba(96,165,250,0.35);
  transform: skewX(-14deg);
}
.tech-layers .tl4 {
  width: 1px; height: 110%; top: -4%; right: 17%;
  background: rgba(255,255,255,0.14);
  transform: skewX(-14deg);
}
.tech-layers--left .tl1, .tech-layers--left .tl2 { right: auto; left: -10%; transform: scaleX(-1); }
.tech-layers--left .tl3 { right: auto; left: 32%; }
.tech-layers--left .tl4 { right: auto; left: 17%; }

.tech-layers--light .tl1 { background: linear-gradient(135deg, rgba(29,78,216,0.1), transparent 72%); }
.tech-layers--light .tl2 { background: linear-gradient(160deg, rgba(29,78,216,0.08), transparent 75%); mix-blend-mode: normal; }

/* Movimiento en el Hero — un único momento animado, no en todas las secciones */
@keyframes tl-drift-a { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; } 50% { transform: translate(-60px, 36px) scale(1.15); opacity: 1; } }
@keyframes tl-drift-b { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; } 50% { transform: translate(50px, -34px) scale(1.12); opacity: 1; } }
@keyframes tl-shimmer { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.hero .tech-layers .tl1 { animation: tl-drift-a 9s ease-in-out infinite; }
.hero .tech-layers .tl2 { animation: tl-drift-b 11s ease-in-out infinite; }
.hero .tech-layers .tl3 { animation: tl-shimmer 4s ease-in-out infinite; }
.hero .tech-layers .tl4 { animation: tl-shimmer 4.5s ease-in-out infinite 0.5s; }
.tech-layers--light .tl3 { background: rgba(29,78,216,0.14); }
.tech-layers--light .tl4 { background: rgba(29,78,216,0.08); }

/* Cortes diagonales entre secciones */
.seam {
  position: absolute; left: 0; right: 0; height: 64px; z-index: 1; pointer-events: none;
}
.seam--bottom { bottom: -1px; clip-path: polygon(0 100%, 100% 30%, 100% 100%, 0% 100%); }

/* ---------- Placeholder media blocks ---------- */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--round-md);
  background:
    radial-gradient(120% 140% at 15% 10%, rgba(96,165,250,0.25), transparent 55%),
    linear-gradient(155deg, var(--blue-600), var(--navy-950));
  display: flex;
  align-items: flex-end;
  color: rgba(255,255,255,0.55);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.ph-label {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 12px 14px;
  font-weight: 500;
}

.video-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--round-md);
  background:
    radial-gradient(130% 150% at 85% 100%, rgba(29,78,216,0.4), transparent 60%),
    linear-gradient(150deg, var(--blue-600), var(--navy-950) 70%);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-slot::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.video-slot .play {
  position: relative;
  z-index: 2;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-slot .play svg { width: 20px; height: 20px; fill: var(--white); margin-left: 3px; }
.video-slot:hover .play { transform: scale(1.08); background: rgba(29,78,216,0.85); }
.video-slot:active .play { transform: scale(0.96); }
.video-slot-caption {
  position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
}
.video-slot-caption .vt {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}
.video-slot-caption .vd {
  color: rgba(255,255,255,0.55);
  font-size: 0.76rem;
}
.video-slot-duration {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(8,17,32,0.55);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Header / navegación
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0,0,0,0.55); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 84px;
  gap: 28px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.main-nav a.nav-link svg { width: 13px; height: 13px; opacity: 0.7; }

.nav-link-live { display: flex; align-items: center; gap: 8px; }
.nav-link-live .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--live-500);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.wetelling-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: #000;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 18px 10px 16px;
  clip-path: var(--chip-cut);
  margin-left: auto;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.wetelling-link svg { width: 12px; height: 12px; opacity: 0.65; }
.wetelling-link:hover { background: #1c1c1c; }

/* ---- Menú inferior (tipo CNN) ---- */
.menu-secondary {
  border-top: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  display: flex; align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 32px;
}
.menu-secondary-track {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-secondary-track::-webkit-scrollbar { display: none; }
.menu-secondary-track a {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.66);
  white-space: nowrap;
  padding: 0 16px;
  transition: color 0.2s ease;
}
.menu-secondary-track a:first-child { padding-left: 0; }
.menu-secondary-track a:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.14); }
.menu-secondary-track a:hover { color: var(--blue-500); }

.menu-secondary-arrow {
  display: none;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.menu-secondary-arrow svg { width: 15px; height: 15px; }
.menu-secondary-arrow--next { background: var(--blue-600); color: var(--white); }
.menu-secondary-arrow--next:hover { background: var(--navy-950); }
.menu-secondary-arrow:disabled { opacity: 0.32; pointer-events: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.85);
  transition: background 0.2s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }
.icon-btn svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--white);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1340px) {
  .main-nav { display: none; }
  .wetelling-link { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .menu-secondary { padding: 0 14px; }
  .menu-secondary-track { justify-content: flex-start; }
  .menu-secondary-arrow { display: flex; }
}
/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 300;
  background: var(--navy-950);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav-close { width: 40px; height: 40px; color: var(--white); display: flex; align-items: center; justify-content: center; }
.mobile-nav-close svg { width: 22px; height: 22px; }
.mobile-nav ul { padding: 12px 24px 40px; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a.nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.mobile-sub { padding: 0 4px 18px; display: flex; flex-direction: column; gap: 10px; }
.mobile-sub a { color: rgba(255,255,255,0.62); font-size: 0.95rem; }
.nav-link-live-group { display: inline-flex; align-items: center; }
.mobile-nav a.nav-link .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live-500);
  animation: pulse-dot 1.6s ease-in-out infinite; margin-right: 10px; flex-shrink: 0;
}
.mobile-nav-secondary {
  padding: 6px 24px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav-secondary-label {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); font-weight: 600; margin-bottom: 6px;
}
.mobile-nav-secondary a { color: rgba(255,255,255,0.7); font-size: 0.98rem; padding: 8px 0; }
.mobile-nav-foot { padding: 20px 24px 32px; display: flex; gap: 12px; }
.mobile-nav-foot .btn { flex: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: url('../imagenes/canal/fondo_canal_cartagena.jpg') center/cover no-repeat, var(--navy-950);
  padding: 50px 0 88px;
  position: relative;
  overflow: hidden;
}
.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.94) 0%, rgba(8,17,32,0.86) 45%, rgba(8,17,32,0.72) 100%);
  pointer-events: none;
}
.hero .seam--bottom { background: var(--blue-600); }
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.hero-lead { animation: hero-in 0.7s cubic-bezier(.2,.8,.2,1) both; min-width: 0; }
.hero-lead .video-slot { aspect-ratio: 16/9; margin-bottom: 26px; }
.hero-eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero-lead h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 3.6vw, 2.7rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.015em;
  margin: 20px 0 22px;
  text-wrap: balance;
}
.hero-meta {
  display: flex; align-items: center; gap: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.hero-meta .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 0.72rem;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-live {
  animation: hero-in 0.7s 0.12s cubic-bezier(.2,.8,.2,1) both;
}
.hero-live { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-live-panel {
  background: var(--panel-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--round-lg);
  padding: 18px;
}
.hero-live-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.hero-live-head .viewers {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
}
.hero-senal { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; }
.hero-senal iframe { width: 100%; height: 100%; border: 0; }
.hero-senal-vacia {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  color: var(--white);
}
.hero-senal-vacia strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.hero-senal-vacia span { color: rgba(255,255,255,0.5); }
.poll-hero { color: var(--white); }
.poll-hero-title {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.42); font-weight: 600; margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Videos destacados
   ========================================================================== */
.videos-section { background: var(--paper); overflow: hidden; }
.videos-section::before {
  content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 100%;
  background: linear-gradient(200deg, rgba(29,78,216,0.07), transparent 65%);
  clip-path: polygon(0 0, 70% 0, 0% 100%);
  pointer-events: none;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative; z-index: 1;
}
.videos-grid .video-slot { margin-bottom: 14px; box-shadow: var(--shadow-card); }
.video-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 4px;
}
.video-card p { color: var(--ink-500); font-size: 0.86rem; }

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   News grid
   ========================================================================== */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.news-card { display: flex; gap: 14px; align-items: flex-start; }
.news-card .video-slot { flex: 0 0 140px; width: 140px; aspect-ratio: 16/9; margin-bottom: 0; }
.news-card .video-slot .play { transform: scale(0.6); }
.news-card-body { min-width: 0; }
.news-card .tag { margin-bottom: 6px; }
.news-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.28;
  color: var(--navy-950);
  margin-bottom: 4px;
  transition: color 0.2s ease;
  text-wrap: balance;
}
.news-card:hover h3 { color: var(--blue-600); }
.news-card .card-meta { font-size: 0.74rem; color: var(--ink-400); }

.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.news-sidebar { position: sticky; top: 110px; }

@media (max-width: 1100px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { display: none; }
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Tu Opinión — encuestas
   ========================================================================== */
.poll-card {
  background: var(--panel-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--round-lg);
  padding: 22px;
  transition: opacity 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1);
}
.poll-card.is-switching { opacity: 0; transform: translateY(6px); }
.poll-question {
  font-family: var(--font-display);
  font-size: 1.34rem;
  line-height: 1.32;
  text-wrap: balance;
  margin-bottom: 22px;
}
.poll-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.poll-option {
  position: relative;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--round-sm);
  padding: 13px 16px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.poll-option:hover { border-color: var(--blue-500); }
.poll-option.is-voted { cursor: default; }
.poll-option.is-voted:hover { border-color: rgba(255,255,255,0.14); }
.poll-option.is-selected { border-color: var(--blue-500); }
.voted-check {
  display: inline-block;
  margin-left: 8px; color: var(--blue-500); font-weight: 700;
  animation: voted-check-in 220ms cubic-bezier(.34,1.56,.64,1);
}
@keyframes voted-check-in {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
.poll-option-fill {
  position: absolute; inset: 0;
  width: 100%;
  transform: scaleX(var(--pct-fraction, 0));
  transform-origin: left;
  background: linear-gradient(90deg, rgba(96,165,250,0.32), rgba(96,165,250,0.1));
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
  z-index: 0;
}
.poll-option-row {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.poll-option-row .letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.72rem; font-weight: 700;
  margin-right: 10px; flex-shrink: 0;
}
.poll-option-row .label { font-size: 0.94rem; font-weight: 500; display: flex; align-items: center; }
.poll-option-row .pct { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--blue-500); font-size: 0.92rem; }

.poll-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.poll-votes { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.poll-close { font-size: 0.8rem; color: var(--blue-500); font-weight: 600; }

.poll-card-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }


/* ==========================================================================
   Programas — bento asimétrico con tiles full-bleed
   ========================================================================== */
.programs-section { background: var(--white); overflow: hidden; }

.programs-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 216px;
  gap: 14px;
  position: relative; z-index: 1;
}
.tile-feature { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 4; grid-row: span 2; }
.tile-half-wide { grid-column: span 2; grid-row: span 1; }

.program-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--round-md);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-card);
}
.program-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.program-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; pointer-events: none;
}
.program-tile::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; right: 26%;
  background: rgba(255,255,255,0.14); transform: skewX(-14deg); pointer-events: none;
}
.program-tile.t1 { background: linear-gradient(140deg, var(--blue-600), var(--navy-950) 75%); }
.program-tile.t2 { background: linear-gradient(140deg, var(--navy-950), var(--blue-600) 120%); }
.program-tile.t3 { background: linear-gradient(150deg, var(--blue-500), var(--blue-600) 90%); }
.program-tile.t4 { background: linear-gradient(210deg, var(--blue-600), var(--blue-500) 90%); }
.program-tile.t5 { background: linear-gradient(140deg, var(--navy-950), var(--blue-500) 130%); }
.program-tile.t6 { background: linear-gradient(120deg, var(--navy-950) 10%, var(--blue-600) 60%, var(--blue-500) 130%); }

.tile-top-row { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; }
.tile-index {
  font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
  color: rgba(255,255,255,0.55); letter-spacing: 0.04em;
}
.tile-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--live-600); color: var(--white);
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 10px 5px 8px; clip-path: var(--chip-cut);
}
.tile-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.92);
  width: 52px; height: 52px; border-radius: 50%; z-index: 2;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.tile-play svg { width: 18px; height: 18px; fill: var(--white); margin-left: 2px; }
.tile-text .tile-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.tile-text .tile-play svg { fill: none; stroke: var(--white); margin-left: 0; }
.program-tile:hover .tile-play { opacity: 1; transform: translate(-50%,-50%) scale(1); background: rgba(29,78,216,0.85); }
.tile-feature .tile-play, .tile-wide .tile-play { opacity: 1; transform: translate(-50%,-50%) scale(1); width: 60px; height: 60px; }

.tile-caption { position: relative; z-index: 2; }
.tile-caption strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  color: var(--white); font-size: 1rem; margin-bottom: 6px;
}
.tile-feature .tile-caption strong { font-size: 1.5rem; }
.tile-wide .tile-caption strong { font-size: 1.7rem; }
.tile-caption span { font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.4; display: block; }
.tile-feature .tile-caption span { max-width: 46ch; }
.tile-wide .tile-caption { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tile-wide .tile-caption span { max-width: 46ch; font-size: 0.92rem; }

@media (max-width: 1024px) {
  .programs-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 192px; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .programs-bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile-feature { grid-column: span 1; grid-row: span 1; }
  .tile-wide { grid-column: span 1; grid-row: span 2; }
  .tile-half-wide { grid-column: span 1; }
  .tile-feature .tile-caption strong { font-size: 1.24rem; }
  .tile-wide .tile-caption strong { font-size: 1.4rem; }
}

/* ==========================================================================
   Homenaje — Fundador
   ========================================================================== */
.tribute-section { background: var(--paper); color: var(--ink-900); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.tribute-ornaments { position: absolute; inset: 28px; pointer-events: none; z-index: 1; }
.tribute-corner { position: absolute; width: 42px; height: 42px; color: var(--ink-400); }
.tribute-corner--tl { top: 0; left: 0; }
.tribute-corner--tr { top: 0; right: 0; transform: scaleX(-1); }
.tribute-corner--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.tribute-corner--br { bottom: 0; right: 0; transform: scale(-1, -1); }
.tribute-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 0%, rgba(10,37,64,0.05), transparent 65%);
  pointer-events: none;
}
.tribute-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}

.tribute-photos { position: relative; display: flex; justify-content: center; }
.tribute-photo-frame {
  position: relative;
  width: 100%; max-width: 320px;
  aspect-ratio: 0.9;
  border-radius: var(--round-lg);
  background:
    radial-gradient(120% 120% at 78% 10%, rgba(96,165,250,0.16), transparent 60%),
    linear-gradient(150deg, var(--blue-600), var(--navy-950) 70%);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.tribute-photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 -50px 60px -30px rgba(8,17,32,0.55);
  pointer-events: none;
}
.tribute-photo-main {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 12%;
  display: block;
  filter: none;
}

.tribute-eyebrow {
  display: block; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600; margin-bottom: 16px;
}
.tribute-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 3.6vw, 3.4rem); line-height: 1.05;
  color: var(--ink-900); margin-bottom: 8px; letter-spacing: -0.01em; text-wrap: balance;
}
.tribute-role { font-weight: 600; font-size: 1.1rem; color: var(--ink-700); margin-bottom: 8px; }
.tribute-dates {
  font-size: 0.86rem; color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}
.tribute-divider {
  display: block; width: 44px; height: 2px;
  background: var(--ink-400);
  margin: 32px 0;
}
.tribute-text { color: var(--ink-500); font-size: 1.02rem; line-height: 1.75; max-width: 52ch; margin-bottom: 32px; }
.tribute-quote {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.3rem; line-height: 1.5;
  color: var(--ink-900); max-width: 44ch;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .tribute-grid { grid-template-columns: 1fr; gap: 40px; }
  .tribute-photos { width: 100%; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .tribute-name { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .tribute-quote { font-size: 1.12rem; }
  .tribute-ornaments { inset: 14px; }
  .tribute-corner { width: 28px; height: 28px; }
}

/* ==========================================================================
   Redes sociales — paneles simulando el embed real de cada plataforma
   ========================================================================== */
.social-section { background: var(--blue-100); position: relative; }
.embed-grid-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative; z-index: 1;
}
.embed-panel {
  background: var(--white);
  border-radius: var(--round-sm);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-card);
}
.embed-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.embed-head { display: flex; align-items: center; gap: 12px; }
.embed-avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.embed-avatar svg { width: 18px; height: 18px; }
.embed-avatar.ig { background: linear-gradient(135deg, #d6449b, #7d3ac1); }
.embed-avatar.fb { background: var(--blue-600); }
.embed-avatar.x { background: #000; }
.embed-avatar.tt { background: var(--navy-950); }
.embed-avatar.wa { background: #2fb85c; }
.embed-head-text { min-width: 0; }
.embed-head-text strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--navy-950); }
.embed-head-text span { font-size: 0.76rem; color: var(--ink-500); }

/* Instagram: grid de posts */
.embed-ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.embed-ig-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  display: block;
}
.embed-ig-thumb.g1 { background: linear-gradient(135deg, var(--blue-600), var(--navy-950)); }
.embed-ig-thumb.g2 { background: linear-gradient(150deg, var(--blue-500), var(--blue-600)); }
.embed-ig-thumb.g3 { background: linear-gradient(160deg, var(--navy-950), var(--blue-500)); }
.embed-ig-thumb.g4 { background: linear-gradient(200deg, var(--blue-100), var(--blue-600)); }
.embed-ig-thumb.g5 { background: linear-gradient(210deg, var(--blue-600), var(--navy-950)); }
.embed-ig-thumb.g6 { background: linear-gradient(220deg, var(--navy-950), var(--blue-100)); }

/* Facebook / X: post con texto */
.embed-post p {
  font-size: 0.86rem; line-height: 1.5; color: var(--ink-700);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.embed-post-media {
  margin-top: 10px; aspect-ratio: 16/9; border-radius: 8px;
  background: linear-gradient(150deg, var(--blue-600), var(--navy-950));
}
.embed-stats { display: flex; gap: 16px; }
.embed-stats span { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--ink-500); }
.embed-stats svg { width: 15px; height: 15px; }

/* TikTok: grid de videos verticales */
.embed-tt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.embed-tt-thumb {
  position: relative;
  aspect-ratio: 9/14;
  border-radius: 6px;
  display: flex; align-items: flex-end;
}
.embed-tt-thumb.v1 { background: linear-gradient(160deg, var(--blue-500), var(--navy-950)); }
.embed-tt-thumb.v2 { background: linear-gradient(180deg, var(--navy-950), var(--blue-600)); }
.embed-tt-thumb.v3 { background: linear-gradient(200deg, var(--blue-600), var(--blue-500)); }
.embed-tt-views {
  margin: 6px; font-size: 0.62rem; font-weight: 600; color: var(--white);
  background: rgba(8,17,32,0.55); padding: 2px 6px; border-radius: 4px;
}

/* Canal de WhatsApp: lista de actualizaciones */
.embed-channel { display: flex; flex-direction: column; gap: 12px; }
.embed-channel-item { border-top: 1px solid var(--line); padding-top: 10px; }
.embed-channel-item:first-child { border-top: 0; padding-top: 0; }
.embed-channel-item span { font-size: 0.72rem; color: var(--ink-400); }
.embed-channel-item p { font-size: 0.86rem; color: var(--ink-700); margin-top: 3px; line-height: 1.4; }

.embed-follow {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 18px 9px 14px; font-size: 0.82rem; font-weight: 600;
  clip-path: var(--chip-cut);
  border: 1px solid var(--line); color: var(--navy-950);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.embed-follow:hover { border-color: var(--blue-600); color: var(--blue-600); }
.embed-follow:active { transform: scale(0.98); }

@media (max-width: 1000px) {
  .embed-grid-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .embed-grid-wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Espacios publicitarios simulados (Google Ads) — solo maqueta, sin script real
   ========================================================================== */
.pauta-block { display: flex; justify-content: center; }
.pauta-block--span { grid-column: 1 / -1; }
.pauta-slot {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  background: repeating-linear-gradient(45deg, var(--paper) 0 10px, #e7ecf3 10px 20px);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-400);
  overflow: hidden;
}
.pauta-slot .pauta-eyebrow {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-400);
}
.pauta-slot .pauta-size { font-size: 0.78rem; font-weight: 600; color: var(--ink-500); }
.pauta-slot .pauta-google {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.68rem; color: var(--ink-400);
}
.pauta-slot .pauta-google svg { width: 12px; height: 12px; }

.pauta-slot--leaderboard { max-width: 728px; aspect-ratio: 728/90; margin: 0 auto; }
.pauta-slot--billboard { max-width: 970px; aspect-ratio: 970/250; margin: 0 auto; }
.pauta-slot--rectangle { aspect-ratio: 300/250; }
.pauta-slot--skyscraper { aspect-ratio: 300/600; }

/* Ícono "i" — indica que el espacio lo sirve Google (transparencia de anuncios) */
.pauta-slot { position: relative; }
.pauta-info {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(10,37,64,0.14);
  color: var(--ink-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; font-weight: 700; font-family: var(--font-ui);
  cursor: default;
}

.pauta-propia, .pauta-google-slot { display: block; width: 100%; margin: 0 auto; text-align: center; }
.pauta-propia { display: grid; }
.pauta-pieza { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.pauta-pieza.is-active { opacity: 1; visibility: visible; }
.pauta-propia img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); }
.pauta-propia--leaderboard, .pauta-google-slot--leaderboard { max-width: 728px; }
.pauta-propia--billboard, .pauta-google-slot--billboard { max-width: 970px; }
.pauta-propia--skyscraper, .pauta-google-slot--skyscraper { max-width: 300px; }
.news-layout--sin-lateral { grid-template-columns: 1fr; }

.pauta-section { padding: 28px 0; background: var(--paper); }
.pauta-section--tight { padding: 20px 0; }

@media (max-width: 768px) {
  .pauta-slot--leaderboard, .pauta-slot--billboard { aspect-ratio: 320/100; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: url('../imagenes/canal/fondo_canal_cartagena.jpg') center/cover no-repeat, var(--navy-950);
  color: rgba(255,255,255,0.6);
}
.footer-top {
  padding: 72px 0 48px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
}
.footer-brand p { margin: 18px 0 20px; font-size: 0.9rem; line-height: 1.65; max-width: 34ch; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s ease;
}
.footer-social a:hover { background: var(--blue-600); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--blue-500); }
.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.7; }
.footer-col .foot-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-col .foot-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--blue-500); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover { color: var(--blue-500); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; padding: 56px 0 32px; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ==========================================================================
   Responsive — general
   ========================================================================== */
@media (max-width: 1024px) {
  .videos-grid { gap: 22px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 36px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-header .container { height: 72px; }
  .brand-logo { height: 34px; }
  .hero { padding: 32px 0 56px; }
}

@media (max-width: 480px) {
  .btn { padding: 13px 22px 13px 18px; font-size: 0.88rem; }
}

/* ==========================================================================
   Lightbox de video — el thumbnail se amplía en su lugar al hacer clic
   ========================================================================== */
body.lightbox-open { overflow: hidden; }

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.video-lightbox.is-open { visibility: visible; opacity: 1; }

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 17, 32, 0.82);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.video-lightbox-panel {
  position: fixed;
  z-index: 1;
  background: var(--navy-950);
  border-radius: var(--round-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  transition: top 0.4s cubic-bezier(.2,.8,.2,1), left 0.4s cubic-bezier(.2,.8,.2,1),
              width 0.4s cubic-bezier(.2,.8,.2,1), height 0.4s cubic-bezier(.2,.8,.2,1);
}
.video-lightbox-panel.no-transition { transition: none; }

.video-lightbox-media {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(130% 150% at 85% 100%, rgba(29,78,216,0.4), transparent 60%),
    linear-gradient(150deg, var(--blue-600), var(--navy-950) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-lightbox-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.video-lightbox-media .play {
  position: relative; z-index: 1;
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease 0.15s;
}
.video-lightbox-panel.is-settled .video-lightbox-media .play { opacity: 1; }
.video-lightbox-media .play svg { width: 26px; height: 26px; fill: var(--white); margin-left: 3px; }

.video-lightbox-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(8,17,32,0.55);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease 0.2s, background 0.2s ease;
}
.video-lightbox-panel.is-settled .video-lightbox-close { opacity: 1; }
.video-lightbox-close:hover { background: var(--blue-600); }
.video-lightbox-close svg { width: 18px; height: 18px; }

.video-lightbox-info {
  padding: 18px 24px 22px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease 0.18s, transform 0.25s ease 0.18s;
}
.video-lightbox-panel.is-settled .video-lightbox-info { opacity: 1; transform: translateY(0); }
.video-lightbox-info h3 {
  font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: 1.15rem; margin-bottom: 6px;
}
.video-lightbox-info p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 640px) {
  .video-lightbox-info h3 { font-size: 1.02rem; }
  .video-lightbox-info p { font-size: 0.85rem; }
}

.embed-ig-grid--diez { grid-template-columns: repeat(5, 1fr); gap: 10px; position: relative; z-index: 1; }
.embed-ig-grid--diez .embed-ig-thumb { border-radius: var(--round-sm); box-shadow: var(--shadow-card); transition: transform 0.25s ease; }
.embed-ig-grid--diez .embed-ig-thumb:hover { transform: translateY(-3px); }
@media (max-width: 900px) { .embed-ig-grid--diez { grid-template-columns: repeat(2, 1fr); } }

.shorts-section { background: var(--white); }
.shorts-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 12px;
  position: relative; z-index: 1;
}
.short-card { scroll-snap-align: start; }
.short-card .video-slot { aspect-ratio: 9/16; box-shadow: var(--shadow-card); }
.short-card .video-slot .play { transform: scale(0.8); }
.short-card .video-slot-caption .vt {
  font-size: 0.85rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.seguir-section { background: var(--blue-100); }
.seguir-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.seguir-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--white); color: var(--navy-950);
  font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, color 0.2s ease;
}
.seguir-btn:hover { transform: translateY(-3px); color: var(--blue-600); }
.seguir-icono { width: 22px; height: 22px; display: inline-flex; }
.seguir-icono svg { width: 100%; height: 100%; }
.foot-telefonos { display: flex; flex-direction: column; gap: 4px; }
.hero-senal > div { width: 100%; height: 100%; }
.hero-senal > div > * { max-width: 100%; }
.embed-ig-cabecera { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--navy-950); text-decoration: none; }
.embed-ig-icono { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.embed-ig-icono svg { width: 22px; height: 22px; fill: #fff; }
.embed-ig-usuario { font-weight: 700; font-size: 1.1rem; }
.embed-ig-seguir { margin-left: auto; font-size: 0.9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--navy-950); color: #fff; }
.embed-ig-cabecera:hover .embed-ig-seguir { background: var(--blue-600); }
.embed-ig-grid--nueve { grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.embed-ig-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--round-sm); box-shadow: var(--shadow-card); overflow: hidden; color: var(--navy-950); text-decoration: none; transition: transform 0.25s ease; }
.embed-ig-card:hover { transform: translateY(-3px); }
.embed-ig-card .embed-ig-thumb { display: block; aspect-ratio: 16 / 10; }
.embed-ig-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 12px; }
.embed-ig-titulo { font-weight: 700; font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.embed-ig-texto { font-size: 0.9rem; line-height: 1.5; color: var(--navy-950); opacity: 0.75; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.embed-ig-pie { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.embed-ig-metrica { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.embed-ig-metrica svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.embed-ig-fecha { margin-left: auto; opacity: 0.6; }
@media (max-width: 900px) { .embed-ig-grid--nueve { grid-template-columns: 1fr; } }
