/* interior.css â€” Comunicador IA V1.1 â€” Fichas de capÃ­tulos */
.chapter-nav {
  padding: 20px 7% 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid #cde4f5;
  border-radius: 25px;
  background: #fff;
  color: #1b64e6;
  font-size:0.9375rem;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
  transition: background .18s, border-color .18s, transform .18s;
}

.back-link:hover {
  background: #eafaff;
  border-color: #05c4e8;
  transform: translateX(-2px);
}

.breadcrumb {
  font-size:0.75rem;
  font-weight: 800;
  color: #7284a6;
  letter-spacing: .04em;
  margin: 4px 0 0;
}

.breadcrumb a {
  color: #1b64e6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.chapter-hero {
  padding: 42px 7% 48px;
  background: radial-gradient(circle at 82% 35%, #f4dcfc 0, transparent 32%), linear-gradient(115deg, #dffaff, #fff 48%, #fff0fd);
}

.chapter-header {
  max-width: 820px;
  margin: 0 auto;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.episode-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 14px;
  background: #112b60;
  color: #fff;
  font-size:0.75rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.category-tag {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 14px;
  background: #eef8ff;
  border: 1px solid #cde2f4;
  color: #1b64e6;
  font-size:0.75rem;
  font-weight: 800;
}

.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 14px;
  background: #fdf0fa;
  border: 1px solid #f3cbe8;
  color: #a82e82;
  font-size:0.75rem;
  font-weight: 800;
}

.chapter-header h1 {
  font: 800 2.125rem / 1.02 Outfit;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  color: #102654;
}

.chapter-header h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #05c4e8, #8049e8, #e63da5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chapter-header .lead {
  font-size: 16px;
  line-height: 1.58;
  color: #344872;
  margin: 0 0 28px;
}

/* VIDEO PLAYER PLACEHOLDER */
.video-stage {
  max-width: 820px;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, #172c5c 0%, #0c1836 100%);
  border: 2px solid #33508f;
  box-shadow: 0 18px 42px rgba(16, 38, 84, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(5, 196, 232, 0.18) 0, transparent 40%),
              radial-gradient(circle at 75% 80%, rgba(230, 61, 165, 0.15) 0, transparent 45%);
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #05c4e8, #8049e8, #e63da5);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 10px 26px rgba(128, 73, 232, 0.45);
  margin-bottom: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: transform .2s ease;
}

.video-play-btn:hover {
  transform: scale(1.06);
}

.video-title-tag {
  position: relative;
  z-index: 2;
  font: 800 18px Outfit;
  margin: 0 0 6px;
}

.video-status-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size:0.875rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #e5f4ff;
}

.video-status-tag .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #05c4e8;
  box-shadow: 0 0 8px #05c4e8;
}

.video-caption {
  margin-top: 10px;
  font-size:0.9375rem;
  color: #7284a6;
  text-align: center;
}

/* SECTIONS */
.chapter-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 7%;
}

.chapter-section {
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size:0.875rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #1b64e6;
  margin: 0 0 10px;
  display: block;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 3px;
  margin: 0 7px 3px 0;
  background: linear-gradient(90deg, #05c4e8, #e63da5);
}

.chapter-section h2 {
  font: 800 1.5rem / 1.1 Outfit;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: #102654;
}

.chapter-section h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #05c4e8, #8049e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.chapter-section p {
  font-size: 15px;
  line-height: 1.68;
  color: #273b64;
  margin: 0 0 16px;
}

/* EXAMPLE CALLOUT */
.example-card {
  padding: 24px 26px;
  border: 1px solid #cde3f6;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0faff, #fff 55%, #fcf3fd);
  box-shadow: 0 8px 22px rgba(33, 51, 104, 0.05);
  margin: 24px 0;
}

.example-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.example-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #05c4e8, #1b64e6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.example-header h3 {
  font: 800 16px Outfit;
  margin: 0;
  color: #102654;
}

.example-card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: #344872;
}

.example-card p:last-child {
  margin-bottom: 0;
}

/* KEY IDEA BOX */
.key-idea-box {
  padding: 22px 24px;
  border-left: 4px solid #8049e8;
  background: #fdf8ff;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
}

.key-idea-box strong {
  display: block;
  font: 800 13px Outfit;
  letter-spacing: .06em;
  color: #8049e8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.key-idea-box p {
  font-size: 15px;
  line-height: 1.55;
  color: #1a2a50;
  margin: 0;
  font-weight: 600;
}

/* PILLARS 3-GRID */
.concept-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.pillar-item {
  padding: 18px;
  border: 1px solid #d5e8f8;
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

.pillar-item i {
  display: inline-block;
  font-style: normal;
  font-size: 20px;
  margin-bottom: 8px;
}

.pillar-item h4 {
  font: 800 14px Outfit;
  margin: 0 0 6px;
  color: #102654;
}

.pillar-item p {
  font-size:0.9375rem;
  line-height: 1.5;
  margin: 0;
  color: #536992;
}

/* BRIDGE TO BIBLIOTECA */
.bridge-card {
  padding: 26px 28px;
  border: 1.5px solid #a8bfe8;
  border-radius: 20px;
  background: linear-gradient(130deg, #eef7ff, #ffffff 45%, #fbf0fd);
  box-shadow: 0 10px 24px rgba(27, 100, 230, 0.08);
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 36px 0;
}

.bridge-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1b64e6, #8049e8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-style: normal;
  flex-shrink: 0;
}

.bridge-info {
  flex: 1;
}

.bridge-info p.bridge-label {
  font-size:0.75rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #1b64e6;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.bridge-info h3 {
  font: 800 18px Outfit;
  margin: 0 0 6px;
  color: #102654;
}

.bridge-info p.bridge-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #40547c;
  margin: 0 0 14px;
}

.bridge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 20px;
  background: #102654;
  color: #fff;
  font: 800 12px Manrope;
  text-decoration: none;
  transition: background .18s, transform .18s;
}

.bridge-btn:hover {
  background: #1b64e6;
  transform: translateX(2px);
}

/* RELATED EPISODES */
.next-episodes {
  margin-top: 40px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.next-card {
  padding: 16px 18px;
  border: 1px solid #dce8f6;
  border-radius: 16px;
  background: #fff;
  display: flex;
  gap: 14px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.next-card:hover {
  border-color: #05c4e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 196, 232, 0.10);
}

.next-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00c9ed, #6145db);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.next-thumb.t-tools {
  background: linear-gradient(135deg, #1b64e6, #e63da5);
}

.next-card div small {
  display: block;
  font-size:0.75rem;
  font-weight: 800;
  color: #8049e8;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.next-card div strong {
  display: block;
  font: 800 13px Outfit;
  color: #102654;
}

.next-card b {
  margin-left: auto;
  color: #e63da5;
}

/* OXI INLINE */
.oxi-inline {
  padding: 36px 7%;
  background: #fcfdfe;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;
  max-width: 820px;
  margin: 0 auto;
}

.oxi-inline img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  object-position: center 9%;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(37, 64, 126, 0.2);
  flex-shrink: 0;
}

.oxi-inline p {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: #273b64;
}

.oxi-inline strong {
  color: #1b64e6;
}

/* BOTTOM CTA */
.chapter-cta {
  padding: 48px 7%;
  text-align: center;
  background: radial-gradient(circle at 50% 60%, #e4f9ff 0, transparent 52%), linear-gradient(115deg, #f0f9ff, #fff 44%, #faf0ff);
}

.chapter-cta h2 {
  font: 800 1.5rem / 1.1 Outfit;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.chapter-cta p {
  font-size: 14px;
  color: #4a5e88;
  margin: 0 0 24px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 13px 26px;
  border-radius: 28px;
  background: linear-gradient(100deg, #05c4e8, #1b64e6);
  color: #fff;
  font: 800 13px Manrope;
  text-decoration: none;
  transition: opacity .18s;
}

.btn-primary:hover {
  opacity: .88;
}

.btn-secondary {
  padding: 13px 26px;
  border-radius: 28px;
  border: 1px solid #cde4f5;
  background: #fff;
  color: #102654;
  font: 800 13px Manrope;
  text-decoration: none;
  transition: border-color .18s;
}

.btn-secondary:hover {
  border-color: #05c4e8;
}

/* RESPONSIVE */
@media(max-width: 980px) {
  .concept-pillars {
    grid-template-columns: 1fr;
  }
  .bridge-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width: 650px) {
  .chapter-nav {
    padding: 16px 20px 0;
  }
  .chapter-hero {
    padding: 34px 20px 38px;
  }
  .chapter-content {
    padding: 38px 20px;
  }
  .next-grid {
    grid-template-columns: 1fr;
  }
  .oxi-inline {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .chapter-cta {
    padding: 40px 20px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Correccion logo footer maestro */
footer .foot-brand img { width: 250px; height: 95px; object-fit: contain; object-position: left center; max-width: 100%; }
@media(max-width: 650px) { footer .foot-brand img { width: 230px; } }

/* Master Footer CSS minimal fallback */
footer { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 26px; padding: 58px 5.5% 25px; background: linear-gradient(105deg, #e1f8ff, #fff 52%, #f9e6fb); border-top: 1px solid #dce8f3; }
footer h4 { font-family: sans-serif; font-size: 14px; margin: 7px 0 16px; text-transform: uppercase; }
footer div:not(.foot-brand) { display: grid; align-content: start; gap: 9px; }
footer a, footer p, footer small { font-size:0.9375rem; color: #526985; text-decoration: none; line-height: 1.6; }
footer a:hover { text-decoration: underline; }
.social { display: flex; gap: 9px; margin: 0; }
.social i { font-style: normal; width: 34px; height: 34px; border: 1px solid #c9b6ec; border-radius: 9px; display: grid; place-items: center; font-size: 18px; color: #4d4e9b; background: #ffffff80; }
footer > em { grid-column: 1 / -1; text-align: center; margin-top: 14px; font-size:0.875rem; font-style: normal; color: #607692; }
@media (max-width: 1100px) { footer { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: span 3; } }
@media (max-width: 650px) { footer { grid-template-columns: 1fr 1fr; padding: 46px 22px 24px; gap: 26px; } .foot-brand { grid-column: 1 / -1; } }

@media (min-width: 768px) {
  .hero h1, .section-head h2 { font-size: 4.25rem !important; }
  .contact-header h1 { font-size: 3.75rem !important; }
  .conceptpage h1, .panel h1 { font-size: 4rem !important; }
  .conceptpage h2, .panel h2 { font-size: 2rem !important; }
  .family-card h3 { font-size: 1.75rem; }
}