/* COEDEM 2026 — sistema visual propio (sin plantilla bolotheme) */
:root {
  --cd-teal: #34a6c2;
  --cd-teal-light: #4db8d0;
  --cd-teal-dark: #16848e;
  --cd-yellow: #f5a623;
  --cd-lime: #8cc63f;
  --cd-pink: #e73e76;
  --cd-pink-dark: #c9285f;
  --cd-ink: #131722;
  --cd-dark: #212739;
  --cd-paper: #f6f8fb;
  --cd-white: #ffffff;
  --cd-muted: #5b6578;
  --cd-line: #e4eaf0;
  --cd-nav-h: 72px;
  --cd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cd-radius: 22px;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cd-dark);
  background: var(--cd-white);
  line-height: 1.5;
  overflow-x: hidden;
}

body.cd-nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
strong { color: inherit; }
a { color: inherit; }
button { font-family: inherit; }
::selection { background: var(--cd-teal); color: #fff; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

section[id],
div[id] { scroll-margin-top: calc(var(--cd-nav-h) + 16px); }

.cd-section { padding: 88px 0; }

.coedem-2026-page > section {
  padding: 72px 0;
}
.coedem-2026-page > .hero-coedem {
  padding: 0 !important;
}

h1, h2, h3, h4, .section-title, .hero-stat-number, .price-tag {
  font-family: var(--font-display);
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--cd-ink);
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--cd-muted);
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 40px;
  line-height: 1.55;
}

/* ========== NAV ========== */
.cd-nav {
  position: sticky;
  top: 0;
  z-index: 400;
  height: var(--cd-nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--cd-line);
  overflow: hidden;
}

.cd-nav-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cd-nav-logo img {
  height: 42px;
  width: auto;
}

.cd-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd-nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--cd-dark);
}

.cd-nav-links a:hover { background: #eef7fa; color: var(--cd-teal-dark); }

.cd-nav-cta {
  background: var(--cd-pink) !important;
  color: #fff !important;
  padding: 10px 16px !important;
}

.cd-nav-cta:hover { background: var(--cd-pink-dark) !important; }

.cd-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--cd-ink);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.cd-nav-toggle span,
.cd-nav-toggle span::before,
.cd-nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}
.cd-nav-toggle span::before,
.cd-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.cd-nav-toggle span::before { top: -6px; }
.cd-nav-toggle span::after { top: 6px; }

.cd-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  height: 100dvh;
  box-sizing: border-box;
  background: #131722;
  color: #ffffff;
  padding: max(18px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
body.cd-nav-open .cd-nav-overlay {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
.cd-nav-overlay-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.cd-nav-overlay-top img {
  height: 36px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
}
.cd-nav-close {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #131722;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}
.cd-nav-overlay .cd-nav-links {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cd-nav-overlay .cd-nav-links a {
  display: block;
  color: #ffffff !important;
  font-size: 1.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 10px 0;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: transparent !important;
}
.cd-nav-overlay .cd-nav-cta { display: none !important; }

@media (min-width: 992px) {
  .cd-nav-toggle,
  .cd-nav-overlay { display: none !important; }
}
@media (max-width: 991px) {
  .cd-nav-toggle { display: inline-flex; }
  .cd-nav > .cd-nav-inner > .cd-nav-links { display: none; }
  .cd-nav-overlay { display: block !important; }
}

/* ========== HERO ========== */
.hero-coedem {
  position: relative;
  min-height: calc(100svh - var(--cd-nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 !important;
  background: #0b1520;
}

.hero-coedem::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(10px) saturate(0.85);
  transform: scale(1.06);
}

.hero-coedem::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(8,16,28,0.28) 0%, rgba(8,16,28,0.72) 70%),
    linear-gradient(180deg, rgba(8,16,28,0.55) 0%, rgba(15,40,52,0.5) 45%, rgba(8,16,28,0.86) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 64px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-pill-badge::before { content: "★"; color: var(--cd-yellow); }

.hero-logo-img {
  max-width: 320px;
  width: 82%;
  background: #fff;
  padding: 16px 26px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 2.2vw, 1.4rem);
  font-weight: 650;
  color: #fff !important;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.45;
}

.hero-subtitle strong { color: #fff !important; font-weight: 800; }

.hero-cta-row { margin-bottom: 34px; width: min(640px, 100%); }
.hero-allies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 26px;
  min-height: 72px;
  margin-top: 24px;
}
.hero-allies img {
  width: auto;
  height: 62px;
  max-width: 150px;
  object-fit: contain;
}
.hero-allies img:nth-child(1) { height: 56px; max-width: 170px; }
.hero-allies img:nth-child(2) { height: 52px; }
.hero-allies img:nth-child(3) { height: 50px; }
.hero-allies img:nth-child(4) { height: 58px; }
.hero-allies img:nth-child(5) { height: 56px; }

.hero-btn-primary,
.btn-cd-pink,
.btn-cd-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--cd-ease), box-shadow 0.2s var(--cd-ease);
}

.hero-btn-primary,
.btn-cd-pink {
  background: var(--cd-pink) !important;
  color: #fff !important;
  padding: 15px 28px !important;
  box-shadow: 0 10px 28px rgba(231,62,118,0.38) !important;
  width: 100%;
}

.btn-cd-primary {
  background: var(--cd-teal) !important;
  color: #fff !important;
  padding: 14px 28px !important;
  box-shadow: 0 10px 24px rgba(22,132,142,0.28) !important;
}

.hero-btn-primary:hover,
.btn-cd-pink:hover,
.btn-cd-primary:hover { transform: translateY(-2px); color: #fff !important; }

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(760px, 100%);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
  gap: 8px;
}

.hero-stat { text-align: center; padding: 0 12px; }
.hero-stat-number {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(244,247,251,0.78);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-virtual-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cd-teal) 0%, #2b8aa3 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 10px 24px rgba(19,23,34,0.22);
}

/* color ribbon under hero */
.cd-ribbon {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  height: 10px;
}
.cd-ribbon span:nth-child(1) { background: var(--cd-teal); }
.cd-ribbon span:nth-child(2) { background: var(--cd-pink); }
.cd-ribbon span:nth-child(3) { background: var(--cd-yellow); }
.cd-ribbon span:nth-child(4) { background: var(--cd-lime); }

/* ========== CARDS / GRIDS ========== */
.cd-chip-grid,
.cd-learn-grid,
.cd-frente-grid,
.cd-curso-grid,
.cd-stat-grid,
.cd-ponente-grid,
.cd-price-grid,
.cd-cert-grid,
.cd-video-grid {
  display: grid;
  gap: 16px;
}

.cd-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cd-chip-grid .cd-chip {
  flex: 0 0 calc(25% - 12px);
  max-width: calc(25% - 12px);
  width: 100%;
}
.cd-learn-grid { grid-template-columns: repeat(3, 1fr); }
  .cd-frente-grid { grid-template-columns: repeat(4, 1fr); }
.cd-curso-grid { grid-template-columns: 1fr 1fr; }
.cd-stat-grid { grid-template-columns: 1fr 1fr; }
.cd-ponente-grid { grid-template-columns: repeat(5, 1fr); }
.cd-price-grid { grid-template-columns: 1fr 1fr; max-width: 920px; margin: 0 auto; align-items: stretch; }
.cd-cert-grid { grid-template-columns: repeat(4, 1fr); }
.cd-video-grid { grid-template-columns: repeat(4, 1fr); }

.cd-chip,
.frente-card,
.cd-learn-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(19,23,34,0.05);
  border: 1px solid var(--cd-line);
}

.cd-resolution-lead {
  max-width: 44rem;
  margin: 0 auto 28px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--cd-teal);
  line-height: 1.35;
  text-transform: uppercase;
}
.cd-resolution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  max-width: 980px;
  margin: 30px auto 0;
}
.cd-resolution-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cd-resolution-media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cd-lime);
  box-shadow: 0 12px 28px rgba(19,23,34,0.1);
  background: #fff;
}
.cd-resolution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cd-resolution-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  background: var(--cd-teal-dark);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  border-radius: 999px;
}
.cd-delegacion-imgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 12px auto 0;
}
.cd-delegacion-imgs img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(19,23,34,0.08);
}

.cd-chip h3,
.frente-card h3,
.cd-learn-card h4 {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cd-ink);
  line-height: 1.3;
}

.cd-ico-round {
  width: 52px;
  height: 52px;
  margin: 0 auto 4px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
}
.cd-ico-round svg { width: 24px; height: 24px; }

.cd-learn-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.frente-card {
  border-top: 5px solid var(--cd-teal);
  height: 100%;
}
.frente-card p {
  margin: 10px 0 0;
  color: var(--cd-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.curso-pill-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--cd-line);
  min-height: 180px;
  height: 100%;
}
.curso-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cd-yellow);
  min-width: 42px;
}
.curso-pill-card h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 800;
}
.curso-tag {
  display: block;
  color: var(--cd-teal-dark);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.curso-pill-card p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.cd-stat-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  border: 1px solid var(--cd-line);
  box-shadow: 0 10px 28px rgba(19,23,34,0.05);
}
.cd-stat-card h3 {
  text-align: center;
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 800;
}
.cd-stat-card ul { list-style: none; margin: 0; padding: 0; }
.cd-stat-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-weight: 650;
}
.cd-stat-card li strong {
  min-width: 58px;
  text-align: right;
  color: var(--cd-teal-dark);
  font-size: 1.15rem;
}

/* ========== PONENTES ========== */
#ponentes { background: var(--cd-ink); color: #fff; }
#ponentes .section-title,
#ponentes h2 { color: #fff !important; }
#ponentes .section-subtitle { color: #b7c0ce; }
#ponentes .profile_pic {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 12px;
  height: 100%;
}
#ponentes .profile_pic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
#ponentes .profile_pic h3 {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  margin: 10px 0 0 !important;
  line-height: 1.35 !important;
  color: #fff !important;
  text-transform: none !important;
}
#ponentes figure { margin: 0; }

/* ========== COMPARE / MYTHS / PRICE ========== */
.compare-box {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 10px 28px rgba(19,23,34,0.05);
}
.compare-box.coedem-pro { border: 2px solid var(--cd-pink); }
.compare-box.convencional { border: 1px solid var(--cd-line); background: var(--cd-paper); }
.compare-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 700;
  color: #334155;
}
.cd-ico { width: 26px; height: 26px; flex-shrink: 0; }
.cd-ico svg { width: 22px; height: 22px; display: block; }

.cd-preventa-lead {
  max-width: 42rem;
  font-size: 1.12rem;
}
.cd-preventa-lead b { color: var(--cd-pink); }
.cd-preventa-cupos {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff4d6;
  color: #9a6b00;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px 20px;
  border-radius: 16px;
  margin: 0 0 36px;
}

.pricing-stage-card {
  background: #fff;
  border-radius: 28px;
  padding: 32px 24px 28px;
  text-align: center;
  border: 1px solid var(--cd-line);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pricing-stage-card.featured {
  border: 2px solid var(--cd-teal);
  box-shadow: 0 18px 40px rgba(22,132,142,0.16);
}
.pricing-stage-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--cd-teal), var(--cd-pink), var(--cd-yellow));
}
.price-tag {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--cd-teal);
  line-height: 1;
  margin: 12px 0;
}
.price-regular-strike {
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 700;
}
.badge-discount-save {
  display: inline-block;
  background: var(--cd-pink);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.price-table { width: 100%; border-collapse: collapse; text-align: left; margin: 16px 0 20px; }
.price-table th, .price-table td { padding: 10px 8px; border-bottom: 1px solid var(--cd-line); }
.price-table th { font-size: 0.72rem; text-transform: uppercase; color: var(--cd-muted); }
.price-table td { font-weight: 700; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table .is-now td { background: #f0fbfc; color: var(--cd-teal-dark); }
.w-100 { width: 100%; }

.step-roadmap-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 18px 20px;
  border-radius: 18px;
  margin-bottom: 12px;
  border: 1px solid var(--cd-line);
}
.step-circle-num {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: var(--cd-yellow);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
}
.step-roadmap-item h4 { margin: 0 0 4px; font-size: 1.05rem; }
.step-roadmap-item p { margin: 0; color: var(--cd-muted); font-weight: 600; }
.cd-step-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.45;
}
.cd-pago-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #f4fbfc;
  border: 1px solid #c5e8ef;
}
.cd-wa-chip {
  display: inline-flex;
  align-items: center;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none !important;
  margin-bottom: 6px;
}
.cd-pago-note {
  margin: 0 0 10px !important;
  font-size: 0.88rem !important;
  color: #475569 !important;
}
.cd-banco-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #d7e8ec;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
  font-weight: 700;
}
.cd-banco-line span { color: #64748b; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.cd-banco-line strong { color: var(--cd-ink); font-size: 0.98rem; letter-spacing: 0.02em; }

.cd-metodos-pago {
  max-width: 420px;
  margin: 0 auto 18px;
  padding: 18px 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f5c518 0%, #8cc63f 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(140,198,63,0.25);
}
.cd-metodos-title {
  margin: 0 0 6px !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cd-metodos-banco {
  margin: 0 0 10px !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  color: #fff !important;
}
.cd-metodos-nombre {
  margin: 0 0 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.35;
}
.cd-metodos-nombre span { opacity: 0.9; font-weight: 600; }
.cd-banco-pill {
  background: #fff;
  border: 2px solid #6db53a;
  border-radius: 999px;
  padding: 10px 14px;
  margin: 0 0 10px;
  color: #1f2937;
}
.cd-banco-pill span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}
.cd-banco-pill strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #111827;
}

.myth-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 22px;
}
.myth-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}
.myth-legend-mito { background: #fde7ef; color: var(--cd-pink); }
.myth-legend-verdad { background: #d9f3f8; color: var(--cd-teal-dark); }
.myth-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.myth-item {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--cd-line);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(19,23,34,0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.myth-item[open] {
  border-color: #b7e4ee;
  box-shadow: 0 16px 36px rgba(52,166,194,0.16);
}
.myth-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(90deg, #fde7ef 0, #fff 42%);
}
.myth-item summary::-webkit-details-marker { display: none; }
.myth-badge,
.truth-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.myth-badge { background: var(--cd-pink); color: #fff; }
.truth-badge { background: var(--cd-teal); color: #fff; }
.myth-q {
  font-weight: 800;
  color: var(--cd-ink);
  font-size: 1.05rem;
  line-height: 1.35;
}
.myth-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cd-teal-dark);
  white-space: nowrap;
}
.myth-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cd-teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.myth-item[open] .myth-hint span:first-child { display: none; }
.myth-item[open] .myth-chevron { transform: rotate(45deg); background: var(--cd-pink); }
.myth-truth {
  position: relative;
  padding: 18px 18px 16px;
  margin: 0 12px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #e7f7fb, #f4fcfd);
  border: 1px solid #b7e4ee;
}
.myth-truth::before {
  content: "VS";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: -34px auto 12px;
  border-radius: 50%;
  background: var(--cd-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 16px rgba(19,23,34,0.18);
}
.myth-truth p {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--cd-ink);
  line-height: 1.5;
}

.creditos-banner-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cd-teal), var(--cd-teal-dark));
  padding: 12px 12px 12px 8px;
  color: #fff;
}
.creditos-text-box,
.creditos-text-box p,
.creditos-text-box b,
.creditos-text-box strong { color: #fff !important; margin: 0; }
.creditos-badge-box img { max-height: 140px; width: auto; }

#certificados figure { margin: 0; }
#certificados img { border-radius: 14px; width: 100%; }
#certificados h4 { margin: 0 0 10px; color: var(--cd-pink); font-size: 0.92rem; font-weight: 800; }

/* ========== GALLERY ========== */
#galeria { background: var(--cd-paper); }
#galeria input.radio { position: absolute; opacity: 0; pointer-events: none; }
#galeria .tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.tab-coedem {
  padding: 10px 20px;
  background: #fff;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--cd-line);
}
#one:checked ~ .tabs #one-tab,
#two:checked ~ .tabs #two-tab,
#three:checked ~ .tabs #three-tab,
#four:checked ~ .tabs #four-tab {
  background: var(--cd-teal);
  color: #fff;
  border-color: var(--cd-teal);
}
#galeria .panels .panel { display: none; }
#galeria #one:checked ~ .panels #one-panel,
#galeria #two:checked ~ .panels #two-panel,
#galeria #three:checked ~ .panels #three-panel,
#galeria #four:checked ~ .panels #four-panel { display: block; }

#galeria .block-gallery .carousel-cell { width: 74%; margin-right: 16px; }
#galeria .block-gallery img {
  width: 100%;
  height: min(560px, 58vh);
  object-fit: cover;
  border-radius: 22px;
}
.flickity-page-dots { display: none; }
.flickity-prev-next-button { background: #fff !important; }

/* ========== VIDEOS / LÍDERES ========== */
#section-testimonios-videos { background: var(--cd-ink); color: #fff; padding: 88px 0; }
#section-testimonios-videos h2 {
  color: #fff !important;
  text-align: center;
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
#section-testimonios-videos .section-subtitle {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cd-quote-card {
  background: #1c2433;
  border-radius: 24px;
  padding: 10px 10px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 36px rgba(0,0,0,0.28);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cd-quote-card:nth-child(even) { border-top: 5px solid var(--cd-pink); }
.cd-quote-card:nth-child(odd) { border-top: 5px solid var(--cd-teal); }
.cd-quote-video {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  margin: 0 0 12px;
}
.cd-quote-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.cd-quote-card h3 {
  color: var(--cd-teal) !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  margin: 0 8px 6px !important;
  text-transform: none !important;
}
.cd-quote-card .subtitle {
  display: block;
  color: #e8eef4 !important;
  font-size: 0.9rem !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  margin: 0 4px !important;
  text-transform: none !important;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
}

#comision { background: #171e2a !important; color: #fff; padding: 88px 0; }
#comision h2 { color: #fff !important; text-align: center; }
#comision > .container > .row h3,
#comision .container > .row h3 {
  color: #cbd5e1 !important;
  text-align: center;
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  max-width: 640px;
  margin: 0 auto 24px !important;
  text-transform: none !important;
}
#comision .picframe {
  width: 190px;
  margin: 0 auto;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#comision .profile,
#comision .picframe img {
  width: 132px !important;
  height: 132px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 0 auto 10px !important;
  border: 3px solid rgba(255,255,255,0.2) !important;
}
#comision .picframe h3 {
  color: #fff !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  min-height: 2.4em;
  margin: 6px 0 4px !important;
  line-height: 1.25 !important;
}
#comision .subtitle {
  display: inline-block;
  background: rgba(52,166,194,0.18);
  color: #9fe3f2 !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  padding: 4px 10px;
  border-radius: 999px;
}
.carousel-comision .carousel-cell { width: 210px; }

/* ========== MODALS / FORMS ========== */
.modal { z-index: 200000 !important; }
.modal-backdrop { z-index: 199000 !important; }
#form.modal.show {
  display: block !important;
  opacity: 1;
}
.modal-content {
  border-radius: 24px !important;
  border: 2px solid var(--cd-teal) !important;
  padding: 28px 22px !important;
  background: #fff !important;
}
.modal-content h2,
.modal-content h3 { font-family: var(--font-display); font-weight: 800; color: var(--cd-ink); }
.btn_cerrar_modal {
  position: absolute;
  top: 12px; right: 14px;
  border: 0;
  background: var(--cd-ink);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
  z-index: 2;
}
.btn-custom,
.btn-custom-1,
.btn-custom-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
}
.btn-custom.color-1,
.btn-custom-2 { background: var(--cd-pink); color: #fff !important; }
.btn-custom.color-2,
.btn-custom-1 { background: var(--cd-teal); color: #fff !important; }
.form-control {
  width: 100%;
  border: 1px solid #d5dde4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  min-height: 46px;
}
.form-control:focus { outline: 2px solid var(--cd-teal); border-color: var(--cd-teal); }

/* ========== FOOTER / FLOAT ========== */
.cd-footer-dark {
  background: var(--cd-ink);
  color: #fff;
  padding: 56px 16px 40px;
  text-align: center;
}
.cd-footer-dark img { max-width: 150px; margin: 0 auto 14px; }
.cd-footer-social, .cd-footer-legal {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
}
.cd-footer-social { margin: 12px 0 8px; }
.cd-footer-social a { color: #fff; font-weight: 800; text-decoration: none; }
.cd-footer-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  cursor: pointer;
}
.pulse-3.five-credits {
  position: fixed;
  bottom: 88px;
  right: 16px;
  z-index: 70;
  animation: pulse-scale 2.5s infinite ease-in-out;
}
.pulse-3.five-credits img { width: 108px; max-width: 26vw; height: auto; }
@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

#back-to-top { display: none !important; }

/* ========== MOBILE ========== */
@media (max-width: 991px) {
  .cd-section, section { padding: 64px 0; }
  .cd-chip-grid .cd-chip {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
  .cd-resolution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cd-learn-grid,
  .cd-frente-grid,
  .cd-ponente-grid,
  .cd-cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-curso-grid,
  .cd-stat-grid,
  .cd-price-grid,
  .cd-video-grid { grid-template-columns: 1fr; }
  .hero-stats-bar { grid-template-columns: 1fr; }
  .hero-stat + .hero-stat { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 12px; }
  .pricing-stage-card.featured { transform: none; }
  #galeria .block-gallery .carousel-cell { width: 88%; }
  #galeria .block-gallery img { height: 340px; }
  .hero-allies { gap: 12px 14px; }
  .hero-allies img { height: 48px; max-width: 28%; }
  .hero-allies img:nth-child(1) { height: 42px; max-width: 34%; }
  .hero-allies img:nth-child(2) { height: 40px; }
  .hero-allies img:nth-child(3) { height: 38px; }
  .hero-allies img:nth-child(4) { height: 44px; }
  .hero-allies img:nth-child(5) { height: 42px; }
}

@media (max-width: 767px) {
  .creditos-banner-wrap {
    flex-direction: column;
    border-radius: 28px;
    text-align: center;
    padding: 18px 14px;
  }
  .curso-pill-card { flex-direction: column; min-height: 0; }
  .hero-btn-primary { font-size: 0.95rem !important; }
  .cd-nav-logo img { height: 34px; }
  .pulse-3.five-credits { bottom: 18px; right: 10px; }
  .pulse-3.five-credits img { width: 86px; }
  #comision .profile, #comision .picframe img {
    width: 112px !important;
    height: 112px !important;
  }
}

@media (max-width: 420px) {
  .cd-learn-grid,
  .cd-frente-grid,
  .cd-ponente-grid,
  .cd-cert-grid { grid-template-columns: 1fr; }
  .hero-allies { gap: 10px 12px; }
  .hero-allies img { height: 40px; max-width: 30%; }
  .hero-allies img:nth-child(1) { height: 34px; max-width: 36%; }
  .hero-allies img:nth-child(2) { height: 34px; }
  .hero-allies img:nth-child(3) { height: 32px; }
  .hero-allies img:nth-child(4) { height: 36px; }
  .hero-allies img:nth-child(5) { height: 34px; }
}

@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.cd-learn-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--cd-line);
  box-shadow: 0 8px 24px rgba(19,23,34,0.05);
  height: 100%;
}

#section-testimonios-videos .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
#section-testimonios-videos .col-md-12 {
  grid-column: 1 / -1;
}
#section-testimonios-videos .col-lg-3,
#section-testimonios-videos .col-md-6,
#section-testimonios-videos .col-sm-6 {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}

@media (max-width: 991px) {
  #section-testimonios-videos .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  #ponentes .container > .row:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #ponentes .container > .row:last-child > [class*="col-lg-2-4"] {
    width: 100%;
    max-width: none;
    flex: none;
    padding: 0;
    margin: 0 0 4px;
  }
  #ponentes .container > .row:last-child > .col-md-12 {
    grid-column: 1 / -1;
  }
  #ponentes .profile_pic h3 { font-size: 0.78rem !important; min-height: 3.2em; }
}

@media (max-width: 640px) {
  .myth-item summary {
    grid-template-columns: auto 1fr auto;
    padding: 16px;
  }
  .myth-hint span:first-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}
