/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1A4F8A;
  --blue-dark:   #0F3566;
  --blue-light:  #E4EEF8;
  --green:       #1A6B4A;
  --green-light: #E0F2EC;
  --red:         #C62828;
  --cream:       #FAF6EF;
  --gold:        #E8B923;
  --gold-dark:   #C9960C;
  --gold-deeper: #A67C1A;
  --gold-deep:   #7B5B1A;
  --white:       #FFFFFF;
  --gray-100:    #EDE7DC;
  --gray-200:    #DDD6CC;
  --gray-400:    #C4BCB2;
  --gray-600:    #7A7267;
  --gray-800:    #3A3530;
  --text:        #1C1917;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(120,80,40,0.07);
  --shadow-lg:   0 8px 40px rgba(120,80,40,0.11);
  --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-speakers {
  background: #F2EEE9;
}

.section-speakers .section-title {
  color: #111111;
}

.section-speakers .section-subtitle {
  color: var(--gray-600);
}

.section-speakers .speakers-filter .filter-btn {
  border-color: #d0d0e0;
  color: #555;
}

.section-speakers .speakers-filter .filter-btn:hover {
  border-color: #1A4F8A;
  color: #1A4F8A;
}

.section-speakers .speakers-filter .filter-btn.active {
  background: #1A4F8A;
  border-color: #1A4F8A;
  color: #fff;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #111111;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

/* Palabra o frase clave resaltada con gradiente dorado */
.text-accent {
  background: linear-gradient(135deg, #C9960C 0%, #E8B923 45%, #A67C1A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  display: inline;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav-cta {
  padding: 9px 20px;
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  margin-left: 8px;
  box-shadow: 0 2px 10px rgba(26,79,138,0.25);
  position: relative;
  overflow: hidden;
}

.nav-cta::after {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,79,138,0.35);
}

.nav-cta:hover::after { left: 130%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Video de fondo */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050D1A;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Cubrir siempre todo el hero manteniendo 16:9 */
  width: 177.78vh;   /* 16/9 × 100vh */
  height: 100vh;
  min-width: 100%;
  min-height: 56.25vw; /* 9/16 × 100vw */
  pointer-events: none;
  border: none;
}

/* Bloquea hover sobre el iframe para que YouTube no muestre controles */
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: all;
}

/* Facade móvil: miniatura YouTube + botón play */
.hero-video-facade {
  display: none;
  position: absolute;
  inset: 0;
  background: url('https://img.youtube.com/vi/wpC9lLW_sDY/maxresdefault.jpg') center center / cover no-repeat;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3; /* por encima del ::after que bloquea hover en desktop */
}

.hero-play-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.hero-play-btn:hover { opacity: 1; transform: scale(1.08); }

/* Cuando el usuario toca play, el iframe reemplaza la facade */
.hero-video-bg.playing .hero-iframe { display: block !important; }
.hero-video-bg.playing .hero-video-facade { display: none !important; }

/* Overlay oscuro degradado para legibilidad */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5, 13, 26, 0.55) 0%,
    rgba(5, 13, 26, 0.65) 60%,
    rgba(5, 13, 26, 0.80) 100%
  );
}

.hero-container {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-height: 110px;
  width: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5)) brightness(1.05);
}

.hero-edition {
  font-size: 0.85rem;
  font-weight: 600;
  color: #A0C0F0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.date-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}

.date-pill::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  padding: 3px;
  opacity: 0;
  animation: pill-pulse 2s ease-in-out infinite;
}

.pill-blue {
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  animation: pulse-blue 2.2s ease-in-out infinite;
}

.pill-green {
  background: linear-gradient(135deg, #2E9E4F 0%, #155E40 100%);
  color: #fff;
  animation: pulse-green 2.2s ease-in-out 0.5s infinite;
}

.date-pill:hover {
  animation-play-state: paused;
}

@keyframes pulse-blue {
  0%, 100% { box-shadow: 0 4px 18px rgba(26,79,138,0.3), 0 0 0 0 rgba(32,96,160,0.45); }
  50%       { box-shadow: 0 4px 18px rgba(26,79,138,0.3), 0 0 0 9px rgba(32,96,160,0); }
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 18px rgba(27,94,32,0.3), 0 0 0 0 rgba(46,158,79,0.45); }
  50%       { box-shadow: 0 4px 18px rgba(27,94,32,0.3), 0 0 0 9px rgba(46,158,79,0); }
}

/* ===== COUNTDOWN ===== */
.countdown-wrapper {
  background: linear-gradient(135deg, rgba(5,13,26,0.72) 0%, rgba(13,37,71,0.68) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  padding: 24px 28px 20px;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  box-shadow: 0 12px 48px rgba(5,13,26,0.55), inset 0 1px 0 rgba(255,255,255,0.1);
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 8px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 14px 12px 12px;
  min-width: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.countdown-item::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.count-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.count-num.flip {
  transform: translateY(-6px) scale(0.92);
  opacity: 0.4;
}

.count-unit {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  padding-bottom: 18px;
  line-height: 1;
}

.countdown-urgency {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #FFD54F;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(255,210,63,0.4);
}

/* Compact countdown */
.countdown-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.compact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1A6B4A;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.compact-label { font-weight: 500; }

.compact-timer {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(26,79,138,0.3);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,79,138,0.45);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-hero {
  font-size: 1.2rem;
  padding: 20px 56px;
  box-shadow: 0 8px 32px rgba(26,79,138,0.45);
  letter-spacing: 0.01em;
}

/* ===== CARDS ===== */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue  { background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%); color: #fff; }
.icon-green { background: linear-gradient(135deg, #1A7A52 0%, #0F4A30 100%); color: #fff; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
}

.card p { color: var(--gray-600); font-size: 0.95rem; }

/* Audience cards */
.audience-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audience-list li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
}

.audience-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* How cards */
.card-how { position: relative; overflow: hidden; }

.how-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.how-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.recording-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 0.9rem;
  color: #111111;
}

.recording-note svg { flex-shrink: 0; margin-top: 2px; }

/* ===== SPEAKERS ===== */
.speakers-filter {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

.filter-btn.active {
  background: #fff;
  border-color: #fff;
  color: #0A1528;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* ── Card ── */
.speaker-card {
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s ease, border-color 0.22s ease;
  will-change: transform;
}

.speaker-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 48px rgba(26,79,138,0.18), 0 4px 16px rgba(0,0,0,0.08);
  border-color: #1A4F8A;
}

/* ── Header: zona de foto / iniciales ── */
.speaker-card-header {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.2;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

/* Fondo oscuro para ponentes sin foto */
.speaker-card-header-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #080E20 0%, #0D1A35 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Foto de portada */
.speaker-card-header img.speaker-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradiente sobre la foto para legibilidad del nombre */
.speaker-card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.82) 100%
  );
  pointer-events: none;
}

/* Nombre y rol encima del gradiente */
.speaker-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 14px 12px;
  z-index: 2;
}

.speaker-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 2px;
  font-family: 'Poppins', sans-serif;
}

.speaker-role {
  font-size: 10.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
  font-family: 'Poppins', sans-serif;
}

/* Avatar de iniciales (sin foto) */
.speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #1A4F8A;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D1A30;
  font-size: 1.35rem;
  font-weight: 600;
  color: #8AB0D8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ── Divider ── */
.speaker-divider { display: none; }

/* ── Body ── */
.speaker-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

/* ── Badge ── */
.speaker-badge {
  display: inline-block;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
  background: #E4EEF8;
  color: #0F3566;
  font-family: 'Poppins', sans-serif;
  border: none;
  width: fit-content;
}

.badge-virtual-green {
  background: #D4F5E3;
  color: #155E40;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
}

.badge-virtual {
  background: #D4F5E3;
  color: #155E40;
  border: none;
}

.badge-presencial, .badge-ambos {
  background: #E4EEF8;
  color: #0F3566;
  border: none;
}

/* ── Topic ── */
.speaker-topic-block { flex: 1; }
.speaker-topic-label { display: none; }
.speaker-type        { display: none; }
.speaker-badges      { display: contents; }

.speaker-topic {
  font-size: 0.82rem;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

/* ── Date row ── */
.speaker-date-row {
  font-size: 10.5px;
  color: #1A4F8A;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
}

.speaker-date-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1A4F8A;
  flex-shrink: 0;
}

.speaker-read-more {
  margin-top: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1A4F8A;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0.75;
  transition: opacity 0.2s, gap 0.2s;
}

.speaker-card:hover .speaker-read-more {
  opacity: 1;
  gap: 7px;
}

.speaker-date-text {
  font-size: 10.5px;
  color: #1A4F8A;
  font-weight: 500;
}

/* ===== PROGRAMACIÓN ===== */
.programa-btns {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-programa {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 56px 22px 28px;
  border-radius: 16px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
  min-width: 280px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-programa::after {
  content: '→';
  position: absolute;
  right: 24px;
  font-size: 1.1rem;
  opacity: 0.75;
  transition: transform var(--transition), opacity var(--transition);
}

.btn-programa:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

.btn-programa:hover {
  transform: translateY(-3px);
}

.btn-programa-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-programa small {
  display: block;
  font-weight: 500;
  font-size: 0.8rem;
  opacity: 0.82;
  margin-top: 3px;
}

.btn-programa-blue {
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  box-shadow: 0 6px 24px rgba(26,79,138,0.4);
}

.btn-programa-blue:hover {
  box-shadow: 0 12px 32px rgba(26,79,138,0.5);
}

.btn-programa-green {
  background: linear-gradient(135deg, #2E9E4F 0%, #155E40 100%);
  box-shadow: 0 6px 24px rgba(46,125,50,0.4);
}

.btn-programa-green:hover {
  box-shadow: 0 12px 32px rgba(46,125,50,0.5);
}

/* ===== DONDE ===== */
.card-where {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.where-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.where-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.card-where:hover .where-img {
  transform: scale(1.03);
}

.card-where > *:not(.where-badge):not(.where-img-wrap) {
  padding-left: 28px;
  padding-right: 28px;
}

.card-where h3 {
  padding-top: 24px;
  color: #111;
}

.card-where p {
  color: #2D2D2D;
  font-size: 0.9rem;
}

.card-where .timezone-note,
.card-where .where-list {
  padding-bottom: 0;
}

.card-where > *:last-child {
  padding-bottom: 28px;
}

.where-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-blue { background: var(--blue); color: #fff; }
.badge-green { background: var(--green); color: #fff; }

.where-dates {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.where-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.where-list li {
  font-size: 0.9rem;
  color: #2D2D2D;
  padding-left: 18px;
  position: relative;
}

.where-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.timezone-note {
  text-align: left;
  font-size: 0.78rem;
  color: var(--blue);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

/* ===== TARIFAS ===== */
.progress-bar-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 0 20px;
}

.progress-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
}

.progress-stage.active { color: var(--blue); }

.stage-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-300, #E0E0E0);
  border: 3px solid var(--gray-400);
  transition: all var(--transition);
}

.stage-dot.active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,79,138,0.2);
}

.progress-line {
  flex: 1;
  height: 3px;
  background: var(--gray-200);
  max-width: 120px;
  margin: 0 8px;
  margin-bottom: 24px;
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.06fr;
  gap: 20px;
  align-items: start;
}

.pricing-card {
  border-radius: 20px;
  padding: 32px 26px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  color: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Stretched link — cubre toda la card */
.pricing-card-link {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* El botón queda por encima del stretched link */
.btn-pricing {
  position: relative;
  z-index: 1;
}

/* Línea de acento superior */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.pricing-card:hover { transform: translateY(-8px); }
.pricing-card:hover::before { opacity: 1; }

/* ── Verde — Virtual ── */
.pricing-card-virtual {
  background: linear-gradient(160deg, #1B7A3E 0%, #0F5C2B 55%, #083D1C 100%);
  box-shadow: 0 8px 32px rgba(15,92,43,0.35);
}
.pricing-card-virtual::before {
  background: linear-gradient(90deg, #78DFA0, #2EA06A, #78DFA0);
}
.pricing-card-virtual:hover { box-shadow: 0 20px 52px rgba(15,92,43,0.55); }

/* ── Dorado — Combo (centro, más grande) ── */
.pricing-card-combo {
  background: linear-gradient(160deg, #8B6914 0%, #B8860B 45%, #C9960C 70%, #7B5B1A 100%);
  box-shadow: 0 12px 40px rgba(184,134,11,0.45);
  border-color: rgba(255,220,100,0.3);
}
.pricing-card-combo::before {
  background: linear-gradient(90deg, #E8B923, #FFF3B0, #E8B923);
  opacity: 1;
}
.pricing-card-combo:hover { box-shadow: 0 24px 60px rgba(184,134,11,0.65); }

/* ── Azul — Presencial ── */
.pricing-card-presencial {
  background: linear-gradient(160deg, #1A4F8A 0%, #0F3566 55%, #08234A 100%);
  box-shadow: 0 8px 32px rgba(13,53,102,0.35);
}
.pricing-card-presencial::before {
  background: linear-gradient(90deg, #A0C0F0, #2060A0, #A0C0F0);
}
.pricing-card-presencial:hover { box-shadow: 0 20px 52px rgba(13,53,102,0.55); }

/* Ribbon "Mejor valor" */
.pricing-ribbon {
  position: absolute;
  top: 18px;
  right: -28px;
  z-index: 1;
  background: #fff;
  color: #7B5B1A;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 36px;
  transform: rotate(35deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  white-space: nowrap;
}

/* Header */
.pricing-header { margin-bottom: 16px; }

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  letter-spacing: 0.03em;
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pricing-value-prop {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Bloque de precio */
.pricing-price-block {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 16px 0 20px;
  text-align: center;
}

.pricing-price-block--virtual  { background: rgba(0,0,0,0.2); border: 1px solid rgba(120,223,160,0.25); }
.pricing-price-block--presencial { background: rgba(0,0,0,0.2); border: 1px solid rgba(160,192,240,0.25); }
.pricing-price-block--combo    { background: rgba(0,0,0,0.18); border: 1px solid rgba(255,220,100,0.3); }

.price-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.price-amount {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-currency {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Tag regalo combo */
.combo-gift-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,220,100,0.3);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFF3B0;
  text-align: center;
  margin-bottom: 16px;
}

/* Features */
.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
}

.pricing-card-virtual   .pricing-includes svg { color: #78DFA0; flex-shrink: 0; margin-top: 1px; }
.pricing-card-presencial .pricing-includes svg { color: #A0C0F0; flex-shrink: 0; margin-top: 1px; }
.pricing-card-combo      .pricing-includes svg { color: #FFF3B0; flex-shrink: 0; margin-top: 1px; }

/* Botón full-width */
.btn-pricing {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.btn-pricing::after {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-pricing:hover::after { left: 130%; }

.btn-pricing-virtual {
  background: rgba(255,255,255,0.95);
  color: #0A4520;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn-pricing-virtual:hover  { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }

.btn-pricing-presencial {
  background: rgba(255,255,255,0.95);
  color: #082F6B;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn-pricing-presencial:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }

.btn-pricing-combo {
  background: #fff;
  color: #6B4C00;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  font-size: 1rem;
}
.btn-pricing-combo:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.4); }

.reservation-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.reservation-note--highlight {
  background: #FFF8E1;
  border: 1.5px solid #F59E0B;
  border-radius: 10px;
  padding: 14px 24px;
  color: #92400E;
  font-size: 0.95rem;
  font-weight: 500;
}

.reservation-note--highlight .note-link {
  color: #B45309;
}

.note-link { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ===== TABLA ETAPAS DE PRECIO ===== */
.price-stages-table {
  margin: 0 auto 48px;
  max-width: 680px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #D0C8BE;
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.pst-header {
  background: linear-gradient(135deg, #0D1B2E 0%, #1a2e4a 100%);
  padding: 14px 24px;
  border-radius: 14px 14px 0 0;
  text-align: center;
}

.pst-urgency {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.pst-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  font-size: 0.84rem;
}

/* Cabeceras de columna */
.pst-col {
  padding: 11px 14px;
  font-weight: 700;
  color: #4A4540;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid #C8BFB5;
  background: #F0EBE3;
  text-align: center;
}
.pst-col-label { text-align: left; padding-left: 16px; }

/* Filas */
.pst-row-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  border-bottom: 1.5px solid #D8D0C6;
  background: #fff;
}

.pst-row-label:last-of-type { border-bottom: none; }
.pst-cell:nth-last-child(-n+3) { border-bottom: none; }

/* Icono de etapa */
.pst-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.pst-icon-green { background: #D1FAE5; }
.pst-icon-orange { background: #FEF3C7; }
.pst-icon-red    { background: #FEE2E2; }

.pst-label-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Badges de estado */
.pst-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  width: fit-content;
}
.pst-badge-green  { background: #D1FAE5; color: #065F46; }
.pst-badge-orange { background: #FEF3C7; color: #92400E; }
.pst-badge-red    { background: #FEE2E2; color: #991B1B; }

.pst-stage-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1C1917;
}

.pst-stage-date {
  font-size: 0.69rem;
  font-weight: 500;
  color: #E07B00;
}

/* Fila activa */
.pst-row-active { background: #fff; }

/* Filas futuras — capa gris suave */
.pst-row-future { background: #F3F0ED; }
.pst-row-future .pst-stage-name { color: #6B6157; }
.pst-row-future .pst-stage-date { color: #9E9790; }

/* Celdas */
.pst-cell {
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  border-bottom: 1.5px solid #D8D0C6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pst-cell-active {
  color: #111;
  font-size: 0.95rem;
  font-weight: 800;
  background: #fff;
}

.pst-cell-future {
  color: #A09890;
  background: #F3F0ED;
  font-size: 0.88rem;
}

.pst-note {
  text-align: center;
  font-size: 0.8rem;
  color: #5A5450;
  padding: 10px 20px;
  border-top: 1.5px solid #D8D0C6;
  background: #EEF3FB;
}

/* Imagen tarifas */
.tarifa-img-wrap {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 760px;
  padding: 0 4px;
}

.tarifa-img {
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .tarifa-img { border-radius: 12px; }
  .tarifa-img-wrap { margin-bottom: 24px; }
}

@media (max-width: 480px) {
  .tarifa-img { border-radius: 8px; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
  .tarifa-img-wrap { padding: 0; margin-bottom: 20px; }
}

.pst-note-standalone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F3566;
  background: linear-gradient(135deg, #E4EEF8 0%, #D0E4F7 100%);
  border: 1.5px solid #1A4F8A;
  border-radius: 12px;
  padding: 14px 24px;
  max-width: 680px;
  margin: 0 auto 32px;
  box-shadow: 0 2px 12px rgba(26,79,138,0.1);
}

.pst-note-standalone svg {
  flex-shrink: 0;
  color: #1A4F8A;
}

/* combo promo tag */
.combo-promo-tag {
  text-align: center;
  background: #D4F5E3;
  color: #155E40;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.combo-promo-tag-dark {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ===== CÓMO INSCRIBIRSE ===== */
.section-steps {
  padding: 40px 0;
  background: var(--gray-100);
}

.section-steps .section-title {
  margin-bottom: 24px;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  flex: 1;
  min-width: 0;
  max-width: 300px;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item p {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.4;
  margin: 0;
}

.step-arrow {
  color: var(--gray-400);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-link {
  color: #25D366;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.step-link:hover { color: #1da854; }

@media (max-width: 768px) {
  .steps-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .step-arrow { text-align: center; transform: rotate(90deg); font-size: 1rem; }
  .step-item { max-width: 100%; border-radius: 12px; }
}

/* ===== MEDIOS DE PAGO ===== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.payment-card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #2060A0 0%, #1A7A52 100%) border-box;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26,79,138,0.09);
  transition: transform var(--transition), box-shadow var(--transition);
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(26,79,138,0.18);
  background:
    linear-gradient(#F8FBFF, #F8FBFF) padding-box,
    linear-gradient(135deg, #2060A0 0%, #1A7A52 100%) border-box;
}

.payment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2EC 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.payment-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
}

.payment-card p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; }

.payment-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 24px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: #111111;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--blue); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 1200px;
}

.faq-answer p, .faq-answer ul {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer p + p { padding-top: 0; }

.faq-answer ul { padding-left: 24px; list-style: disc; }

/* ===== CTA FINAL ===== */
.cta-final {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,79,138,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(26,107,74,0.25) 0%, transparent 60%),
    linear-gradient(160deg, #07101E 0%, #0A1B30 50%, #081A14 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Línea dorada superior */
.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C9960C, #E8B923, #C9960C, transparent);
}

#cta-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-logo {
  max-height: 130px;
  width: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 24px rgba(232,185,35,0.35)) brightness(1.05);
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.cta-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Pills de fecha */
.cta-dates {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid;
}

.cta-pill-blue  { background: rgba(26,79,138,0.25);  border-color: rgba(26,79,138,0.55);  color: #A0C0F0; }
.cta-pill-green { background: rgba(26,107,74,0.25);  border-color: rgba(26,107,74,0.55);  color: #78DFA0; }

/* Botones de modalidad */
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-btn-virtual,
.cta-btn-presencial {
  display: inline-flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.cta-btn-virtual::after,
.cta-btn-presencial::after {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.cta-btn-virtual:hover::after,
.cta-btn-presencial:hover::after { left: 130%; }

.cta-btn-virtual {
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(26,79,138,0.45);
}

.cta-btn-virtual:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26,79,138,0.6);
}

.cta-btn-presencial {
  background: linear-gradient(135deg, #1A7A52 0%, #0F4A30 100%);
  color: #fff;
  box-shadow: 0 6px 28px rgba(26,107,74,0.45);
}

.cta-btn-presencial:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(26,107,74,0.6);
}

/* Mini barra de confianza */
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.cta-trust-item svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }

.cta-trust-dot {
  color: rgba(255,255,255,0.2);
  font-size: 1rem;
}

.cta-secondary {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.cta-link {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.cta-link:hover { color: #fff; }

/* Responsive */
@media (max-width: 600px) {
  .cta-final { padding: 72px 20px; }
  .cta-btn-virtual, .cta-btn-presencial { width: 100%; justify-content: center; font-size: 0.95rem; padding: 16px 24px; }
  .cta-trust { border-radius: 16px; padding: 12px 16px; }
  .cta-trust-dot { display: none; }
  .cta-trust { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ===== BARRA DE PROGRESO ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #C9960C, #E8B923, #2060A0);
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-800);
  color: #fff;
  padding: 48px 20px 28px;
  text-align: center;
}

/* Sellos de confianza */
.footer-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  text-align: center;
}

.footer-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
}

.footer-trust-item svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.65);
}

.footer-trust-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.footer-trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* Política de reembolso */
.footer-refund {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 28px;
  text-align: left;
}

.footer-refund svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.55);
}

.footer-refund p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-refund strong {
  color: rgba(255,255,255,0.9);
}

@media (max-width: 900px) {
  .footer-trust { gap: 20px; }
}

@media (max-width: 480px) {
  .footer-trust { gap: 16px; }
  .footer-refund { flex-direction: column; gap: 8px; }
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact-link:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.footer-links a:hover { color: #fff; }

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-box-header {
  display: flex;
  justify-content: flex-end;
  padding: 12px 16px 0;
  flex-shrink: 0;
  background: #fff;
}

.modal-speaker-content {
  overflow-y: auto;
  padding: 0 40px 40px;
  flex: 1;
}

.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  background: var(--gray-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}

.modal-close:hover { background: var(--gray-200); }

/* Speaker modal */
.modal-speaker-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.modal-speaker-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #8AB0D8;
  flex-shrink: 0;
  background: #0D1A30;
  border: 2px solid #1A4F8A;
}

.modal-avatar-virtual {
  border-color: #1A7A52;
  color: #BBFAD3;
  background: #052A1A;
}

.modal-speaker-info h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}

.modal-speaker-info .modal-role {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.modal-topic-box {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.modal-topic-box-green {
  background: #F0FDF4;
  border-left-color: #1A7A52;
}

.modal-topic-box-green .modal-topic-label { color: #155E40; }
.modal-topic-box-green .modal-topic-title { color: #104830; }
.modal-topic-box-green .modal-topic-desc p { color: #155E40; }

/* Borde verde para cards virtuales */
.speaker-card-virtual {
  border-color: #78DFA0;
}
.speaker-card-virtual:hover {
  border-color: #1A7A52;
  box-shadow: 0 20px 48px rgba(22,163,74,0.2), 0 4px 16px rgba(0,0,0,0.07);
}
.speaker-card-virtual .speaker-read-more {
  color: #1A7A52;
}

.modal-topic-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}

.modal-topic-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
}

.modal-topic-desc {
  margin-top: 10px;
  border-top: 1px solid rgba(26,79,138,0.15);
  padding-top: 10px;
}

.modal-topic-desc p {
  font-size: 0.88rem;
  color: #2C3E6B;
  line-height: 1.6;
  margin-bottom: 8px;
}

.modal-topic-desc p:last-child { margin-bottom: 0; }

.modal-bio {
  font-size: 0.9rem;
  color: #1C1917;
  line-height: 1.75;
}

.modal-bio p + p { margin-top: 10px; }

/* Programa modal */
.modal-programa { max-width: 820px; }

.modal-prog-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 4px;
  padding-right: 40px;
}

.modal-prog-subtitle {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.prog-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .prog-days { grid-template-columns: 1fr; }
}

.prog-day-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
}

.prog-day-green { background: #E0F2EC; color: #155E40; }
.prog-day-blue  { background: #E4EEF8; color: #0F3566; }

.prog-blocks {
  border: 1px solid var(--gray-200);
  border-top: none;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.prog-block {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #C8C0B8;
  align-items: center;
}

.prog-block:last-child { border-bottom: none; }

.prog-time {
  font-size: 0.72rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  min-width: 76px;
  text-align: center;
  flex-shrink: 0;
  align-self: center;
}

.prog-label {
  font-size: 0.82rem;
  color: var(--gray-700, #4A4A4A);
  font-weight: 500;
  align-self: center;
}

.prog-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.prog-info strong {
  font-size: 0.78rem;
  color: var(--gray-600);
  font-weight: 400;
  order: 2;
}

.prog-info > span:not(.prog-type) {
  font-size: 0.82rem;
  color: #111;
  font-weight: 700;
  line-height: 1.4;
  order: 1;
}

.prog-type {
  order: -1;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 3px;
}

.prog-type-conf   { background: #DBEAFE; color: #1E40AF; }
.prog-type-taller { background: #FDE047; color: #713F12; }

/* Conferencia — franja azul suave */
.prog-conf { background: #F0F6FF; border-left: 3px solid #3B82F6; }

/* Taller — amarillo vibrante */
.prog-taller {
  background: #FEF08A;
  border-left: 3px solid #EAB308;
  align-items: center;
}

.prog-taller .prog-time {
  text-align: center;
  color: #713F12;
}

/* Descansos — amarillo quemado */
.prog-break {
  background: #FFFBEB;
  border-left: 3px solid #F59E0B;
}
.prog-break .prog-label {
  font-size: 0.8rem;
  color: #92400E;
  font-weight: 600;
}
.prog-break .prog-time { color: #92400E; }

/* Cierre — verde esmeralda suave */
.prog-cierre {
  background: #F0FDF4;
  border-left: 3px solid #22C55E;
}
.prog-cierre .prog-label { font-size: 0.82rem; font-weight: 700; color: #155E40; }
.prog-cierre .prog-time { color: #155E40; }

.prog-taller-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.prog-taller-list li {
  font-size: 0.78rem;
  color: var(--gray-700, #4A4A4A);
  padding: 6px 0 6px 12px;
  position: relative;
  line-height: 1.4;
  border-top: 1px solid rgba(180, 140, 0, 0.22);
}

.prog-taller-list li:first-child { border-top: none; }

.prog-taller-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #A07800;
  font-weight: 700;
}

.prog-taller-list li strong { font-size: 0.78rem; color: #111; }

.taller-titulo {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.taller-ponente {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: #713F12;
  line-height: 1.3;
  margin-top: 1px;
}

.prog-cta { text-align: center; padding-top: 8px; }

/* ===== GRID ALINEADO DE PROGRAMA PRESENCIAL ===== */
.pp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
  margin-bottom: 32px;
}

.pp-header {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 10px 14px;
  border: 1.5px solid #C8C0B8;
  border-radius: 10px 10px 0 0;
}

.pp-header-green { background: #E0F2EC; color: #155E40; }
.pp-header-blue  { background: #E4EEF8; color: #0F3566; }

.pp-cell {
  border-left: 1.5px solid #C8C0B8;
  border-right: 1.5px solid #C8C0B8;
}

.pp-cell.prog-block { border-bottom: 1px solid #C8C0B8; }

.pp-last {
  border-bottom: 1.5px solid #C8C0B8 !important;
  border-radius: 0 0 10px 10px;
}

.pp-compound {
  display: flex;
  flex-direction: column;
  border-left: 1.5px solid #C8C0B8;
  border-right: 1.5px solid #C8C0B8;
  border-bottom: 1px solid #C8C0B8;
}

.pp-compound.pp-last {
  border-bottom: 1.5px solid #C8C0B8;
  border-radius: 0 0 10px 10px;
}

.pp-compound .prog-block { border-bottom: 1px solid #C8C0B8; flex: 1; }
.pp-compound .prog-block:last-child { border-bottom: none; }

.pricing-legal-note {
  text-align: center;
  font-size: 0.78rem;
  color: #888;
  margin-top: 20px;
  line-height: 1.6;
}
.pricing-legal-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-legal-note a:hover { color: var(--blue-dark); }

/* ===== PROGRAMA IMÁGENES ===== */
.programa-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.programa-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}
.programa-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.programa-img-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}
.programa-img-link:hover img { transform: scale(1.03); }
.programa-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15,53,102,0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.programa-img-link:hover .programa-zoom-hint { opacity: 1; }
.programa-img-wrap figcaption {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  padding: 0 8px 12px;
  letter-spacing: 0.01em;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,15,35,0.94);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img-wrap {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev, .lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2001;
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 680px) {
  .programa-img-grid { grid-template-columns: 1fr; gap: 16px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

@media (max-width: 680px) {
  .pp-grid {
    grid-template-columns: 1fr;
  }
  .pp-header:nth-child(2),
  .pp-cell:nth-child(even),
  .pp-compound:nth-child(even) {
    margin-top: 20px;
  }
}

.modal-prog-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
  color: var(--gray-600);
}

.modal-prog-placeholder p { font-size: 0.95rem; line-height: 1.6; }

/* ===== AVATAR COLORS ===== */
.av-0  { background: #1A4F8A; }
.av-1  { background: #1A6B4A; }
.av-2  { background: #6A1B9A; }
.av-3  { background: #C62828; }
.av-4  { background: #E65100; }
.av-5  { background: #00695C; }
.av-6  { background: #4527A0; }
.av-7  { background: #1A4F8A; }
.av-8  { background: #558B2F; }
.av-9  { background: #0277BD; }
.av-10 { background: #AD1457; }
.av-11 { background: #283593; }
.av-12 { background: #1A6B4A; }
.av-13 { background: #880E4F; }
.av-14 { background: #155E40; }
.av-15 { background: #311B92; }
.av-16 { background: #BF360C; }
.av-17 { background: #004D40; }
.av-18 { background: #0F3566; }
.av-19 { background: #1A237E; }
.av-20 { background: #33691E; }
.av-21 { background: #827717; }
.av-22 { background: #4E342E; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }
  .pp-grid { font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .cards-2 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 22px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-link, .nav-cta {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin: 0;
    color: var(--blue-dark);
  }

  .nav-link:hover {
    color: var(--blue);
    background: var(--blue-light);
  }

  .nav-cta {
    background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
    color: #fff;
    border-radius: 8px;
  }

  .hamburger { display: flex; }

  .hamburger span { background: var(--blue-dark); }

  .hero { padding: 100px 20px 60px; min-height: 100svh; }
  .hero-iframe { display: none; }
  .hero-video-facade { display: flex; }

  .countdown-wrapper { padding: 16px 14px; max-width: 100%; }
  .countdown-item { min-width: 0; padding: 12px 10px; }
  .count-num { font-size: 2rem; }

  .speakers-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .programa-btns { flex-direction: column; align-items: center; }
  .btn-programa { min-width: 100%; max-width: 340px; }

  .modal-box { padding: 28px 20px; }
  .modal-speaker-header { flex-direction: column; align-items: center; text-align: center; }

  .section { padding: 60px 0; }

  /* Programación alineada */
  .pp-grid { grid-template-columns: 1fr; gap: 0; }
  .pp-header:nth-child(2) { margin-top: 20px; border-radius: 10px 10px 0 0; }
  .pp-cell, .pp-compound { border-left: 1.5px solid #C8C0B8; border-right: 1.5px solid #C8C0B8; }
  .pp-last { border-radius: 0 0 10px 10px; }

  /* Org */
  .org-layout { gap: 24px; }
}

@media (max-width: 600px) {
  /* Programación — colapsa a 1 col en móvil intermedio también */
  .prog-days { grid-template-columns: 1fr; }

  /* Steps inscripción */
  .steps-row { flex-direction: column; gap: 8px; }
  .step-item { max-width: 100%; width: 100%; }

  /* Tarifas */
  .pricing-card { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .speakers-grid { grid-template-columns: 1fr; gap: 14px; }

  .countdown-grid { gap: 4px; }
  .countdown-item { min-width: 0; padding: 10px 8px; }
  .count-num { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .count-label { font-size: 0.65rem; }
  .countdown-sep { font-size: 1.5rem; }

  .date-pill { font-size: clamp(0.75rem, 3.5vw, 0.85rem); padding: 8px 12px; }

  .payment-grid { grid-template-columns: 1fr; }

  /* Botones programa */
  .btn-programa { min-width: 100%; max-width: 100%; }

  /* Precios */
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 20px 16px; }
  .price-amount { font-size: 1.6rem; }

  /* Org */
  .org-layout { grid-template-columns: 1fr; gap: 16px; }
  .org-photo-col { max-width: 200px; margin: 0 auto; width: 100%; }
  .takeaways-grid { grid-template-columns: 1fr; gap: 12px; }
  .takeaway-item { padding: 18px 14px; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .section-subtitle { font-size: clamp(0.82rem, 3.5vw, 1rem); }

  /* Hero */
  .hero { padding: 70px 16px 36px; }

  /* Modal */
  .modal-box { padding: 20px 14px; max-height: 92vh; }

  /* Aviso nota */
  .pst-note-standalone { font-size: 0.76rem; padding: 9px 14px; }

  /* Programa alineado móvil */
  .pp-grid { font-size: 0.76rem; }
  .prog-time { min-width: 62px; font-size: 0.67rem; }
  .taller-titulo { font-size: 0.74rem; }
  .taller-ponente { font-size: 0.66rem; }

  /* Footer */
  .footer-contact { gap: 12px; }
  .footer-social { gap: 8px; }
}

@media (max-width: 360px) {
  .sp-item { padding: 8px 12px; }
  .section-title { font-size: 1.25rem; }
  .price-amount { font-size: 1.4rem; }
  .countdown-item { min-width: 0; padding: 8px 6px; }
  .count-num { font-size: clamp(1.1rem, 5vw, 1.3rem); }
  .date-pill { font-size: 0.72rem; padding: 7px 10px; }
  .hero { padding: 64px 12px 32px; }
  .container { padding: 0 14px; }
  .prog-time { min-width: 54px; font-size: 0.63rem; }
  .btn-programa { font-size: 0.82rem; padding: 14px 16px; }
  .pricing-card { padding: 18px 12px; }
}

/* ===== 1. PRUEBA SOCIAL ===== */
.social-proof-bar {
  background: linear-gradient(135deg, #7B5B1A 0%, #C9960C 40%, #E8B923 60%, #A67C1A 100%);
  padding: 28px 0 64px;
  position: relative;
}

.social-proof-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0%2C24 C200%2C0 400%2C48 600%2C24 C800%2C0 1000%2C48 1200%2C24 L1200%2C48 L0%2C48 Z' fill='%23FDFBF8'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}

.sp-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.sp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 40px;
  text-align: center;
}

.sp-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

.sp-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  max-width: 120px;
  line-height: 1.3;
}

.sp-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ===== 3. QUÉ TE LLEVAS ===== */
.takeaways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.takeaway-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.takeaway-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.takeaway-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2060A0 0%, #0F3566 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.takeaway-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.3;
}

.takeaway-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== 4. URGENCIA / SCARCITY ===== */
.scarcity-bar {
  margin-bottom: 14px;
}

.scarcity-track {
  height: 6px;
  background: #E0F2EC;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.scarcity-fill {
  height: 100%;
  background: linear-gradient(90deg, #1A6B4A, #2EA06A);
  border-radius: 3px;
}

.scarcity-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1A6B4A;
}

/* ===== 5. GALERÍA ===== */

.gallery-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-top: 16px;
}

.gallery-note code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* ===== 6. ORGANIZADORES ===== */
.org-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.org-photo-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  background: #fff;
}

.org-photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.org-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.org-school-logo {
  width: 100%;
  max-height: 130px;
  object-fit: contain;
  padding: 20px 16px;
  background: #fff;
  border-top: 1px solid var(--gray-200);
}

.org-quote-inline {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 16px 0 20px;
  position: relative;
}

.org-quote-inline svg {
  position: absolute;
  top: 12px;
  left: 14px;
}

.org-quote-inline p {
  font-style: italic;
  font-size: 0.93rem !important;
  color: #111111 !important;
  padding-left: 8px;
  margin-bottom: 8px !important;
}

.org-quote-inline span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  padding-left: 8px;
}

.org-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.org-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.org-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.org-stat strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111111;
  line-height: 1;
}

.org-stat span {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

.org-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.org-quote {
  padding: 32px 28px 24px;
  position: relative;
}

.org-quote svg {
  position: absolute;
  top: 20px;
  left: 20px;
}

.org-quote p {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-800);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.org-quote-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
}

.org-badges {
  background: var(--blue-light);
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.org-badges span {
  font-size: 0.82rem;
  color: #111111;
  font-weight: 500;
}

/* ===== 7. GARANTÍA ===== */
.guarantee-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F1F8F1;
  border: 1px solid #C8E6C9;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
  font-size: 0.9rem;
  color: #155E40;
  line-height: 1.65;
}

.guarantee-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== 2. TESTIMONIOS ===== */
.section-testimonios {
  background-color: #F7F3EE;
  background-image:
    radial-gradient(circle, rgba(26,79,138,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
}

/* Desktop: grid estático 3 columnas */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Control de visibilidad desktop vs móvil */
.testi-desktop { display: grid; }
.testi-mobile  { display: none; }

@media (max-width: 768px) {
  .testi-desktop { display: none !important; }
  .testi-mobile  { display: block; margin-top: 32px; }
}

/* ── Carrusel móvil ── */
.testi-carousel { width: 100%; }

.testi-carousel-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.testi-carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.testi-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2px;
}

.testi-carousel-slide .testimonial-card {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.testi-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.testi-btn {
  background: #fff;
  border: 1.5px solid #C8C0B8;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #3A3530;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.testi-btn:hover {
  background: #1A4F8A;
  border-color: #1A4F8A;
  color: #fff;
}

.testi-dots { display: flex; gap: 8px; }

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C8C0B8;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.testi-dot.active {
  background: #1A4F8A;
  transform: scale(1.3);
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid #EBEBEB;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.testimonial-quote {
  font-size: 2rem;
  line-height: 1;
  color: #BBBBBB;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #1a3a5c;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1A6B4A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.76rem;
  color: var(--gray-600);
}

/* ===== FAQ CTA ===== */
.faq-cta {
  margin-top: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.faq-cta p {
  font-size: 1rem;
  color: var(--gray-600);
}

.faq-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


/* ===== CTAs INTERMEDIOS ===== */
.cta-mid {
  background: linear-gradient(135deg, #0A1628 0%, #0D2547 100%);
  padding: 24px 0 64px;
  position: relative;
}

.cta-mid-green {
  background: linear-gradient(135deg, #052A1A 0%, #104830 100%);
}

.cta-mid-gold {
  background: linear-gradient(135deg, #0A1E3A 0%, #0F3566 100%);
}

/* Ola inferior — color = fondo de la sección que sigue */
.cta-mid::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0%2C24 C200%2C0 400%2C48 600%2C24 C800%2C0 1000%2C48 1200%2C24 L1200%2C48 L0%2C48 Z' fill='%23EDE7DC'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}

.cta-mid-green::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0%2C24 C200%2C0 400%2C48 600%2C24 C800%2C0 1000%2C48 1200%2C24 L1200%2C48 L0%2C48 Z' fill='%23FDFBF8'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}

.cta-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-mid-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-mid-text strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.cta-mid-text span {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
}

.cta-mid-btn {
  background: #fff;
  color: #0A1628;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.cta-mid-btn::after {
  content: '';
  position: absolute;
  top: -60%; left: -80%;
  width: 55%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.cta-mid-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.cta-mid-btn:hover::after { left: 130%; }

.cta-mid-btn-green { color: #052A1A; }
.cta-mid-btn-gold  { color: #0F3566; }

@media (max-width: 600px) {
  .cta-mid { padding-bottom: 56px; }
  .cta-mid-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cta-mid-btn { width: 100%; text-align: center; }
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: all;
}

.sticky-cta.hidden {
  display: none;
}

.sticky-cta-inner {
  background: linear-gradient(100deg, #111111 0%, #1E1E1E 50%, #161616 100%);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #C9960C 30%, #E8B923 55%, #C9960C 80%, transparent 100%) 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 28px;
  max-width: 100%;
  box-shadow: 0 -6px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
}

/* Partícula de luz izquierda */
.sticky-cta-inner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 180px;
  background: radial-gradient(ellipse at left center, rgba(232,185,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.sticky-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sticky-cta-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.sticky-cta-sub {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.sticky-cta-sub strong {
  color: #E8B923;
  font-weight: 600;
}

.sticky-cta-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #A67C1A 0%, #C9960C 40%, #E8B923 70%, #C9960C 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #1A1200;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 4px 20px rgba(200,150,12,0.35);
  transition: background-position 0.4s ease, box-shadow 0.25s, transform 0.2s;
}

/* Shimmer dorado */
.sticky-cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: skewX(-15deg);
  transition: left 0.5s ease;
}

.sticky-cta-btn:hover {
  background-position: 0% 0;
  transform: translateY(-2px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.3), 0 8px 28px rgba(200,150,12,0.55);
}
.sticky-cta-btn:hover::after { left: 130%; }

.sticky-cta-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.sticky-cta-close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 480px) {
  .sticky-cta-inner { padding: 10px 16px; gap: 10px; }
  .sticky-cta-title { font-size: 0.82rem; }
  .sticky-cta-sub { display: none; }
  .sticky-cta-btn { font-size: 0.82rem; padding: 9px 16px; }
}

/* ===== BOTÓN WHATSAPP PREMIUM ===== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.btn-whatsapp svg { flex-shrink: 0; }

.wa-section-cta {
  text-align: center;
  margin-top: 36px;
}

.wa-section-cta p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

/* ===== 8. WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1090;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  font-family: 'Poppins', sans-serif;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #111;
  border-right: 0;
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== RESPONSIVE NUEVAS SECCIONES ===== */
@media (max-width: 768px) {
  .sp-item { padding: 10px 20px; }
  .sp-divider { display: none; }
  .sp-grid { gap: 4px; }
  .takeaways-grid { grid-template-columns: 1fr; }
  .org-layout { grid-template-columns: 1fr; }
  .carousel-btn { width: 36px; height: 36px; }
  .org-stats { gap: 20px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .sp-num { font-size: 1.5rem; }
}

/* ===== CARRUSELES ===== */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Galería ── */
.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  padding: 0 80px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .gallery-slide { padding: 0 24px; }
}

@media (max-width: 480px) {
  .gallery-slide { padding: 0 12px; }
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(201,150,12,0.6),
    0 16px 48px rgba(0,0,0,0.25);
}

.gallery-slide .gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  background: linear-gradient(135deg, #0D1B2E 0%, #1A1A3E 100%);
  border-radius: var(--radius);
}

/* ── Testimonios ── */
.testimonials-outer {
  position: relative;
  padding: 0 56px;
}

.testi-track-clip {
  overflow: hidden;
  border-radius: var(--radius);
}

.testimonials-outer .testi-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-800);
  z-index: 2;
  transition: background var(--transition), box-shadow var(--transition);
}

.testimonials-outer .testi-btn:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,79,138,0.3);
}

.testimonials-outer .testi-prev { left: 0; }
.testimonials-outer .testi-next { right: 0; }

.testimonial-slide {
  min-width: 33.333%;
  flex-shrink: 0;
  padding: 4px 10px 16px;
  box-sizing: border-box;
}

.testimonial-slide .testimonial-card {
  height: 100%;
}

@media (max-width: 900px) {
  .testimonial-slide { min-width: 50%; }
}

@media (max-width: 560px) {
  .testimonials-outer { padding: 0 40px; }
  .testi-btn { width: 36px; height: 36px; }
  .testimonial-slide { min-width: 100%; padding: 4px 6px 16px; }
}

/* ── Botones prev/next ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: #fff;
  box-shadow: 0 4px 16px rgba(26,79,138,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  z-index: 10;
  margin-top: -12px;
}

.carousel-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(26,79,138,0.4);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

/* ── Dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300, #E0E0E0);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--blue);
  transform: scale(1.3);
}

/* Galería: botones sobre fondo oscuro */
#gallery-carousel .carousel-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border: none;
  margin-top: 0;
  top: calc(50% - 20px);
  width: 52px;
  height: 52px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#gallery-carousel .carousel-btn:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
  box-shadow: 0 6px 28px rgba(0,0,0,0.4);
  transform: translateY(-50%) scale(1.08);
}

#gallery-carousel .carousel-dots { padding-top: 14px; }

#gallery-carousel .carousel-dot { background: rgba(255,255,255,0.25); }
#gallery-carousel .carousel-dot.active { background: #fff; }

/* ── Swipe touch ── */
.carousel-wrapper { touch-action: pan-y; }

/* ===== AVATAR MODAL CON FOTO ===== */
.modal-speaker-avatar-img {
  overflow: hidden;
  padding: 0;
  color: transparent;
}

.modal-speaker-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 3px; }

/* ===== RESPONSIVE EXTRAS ===== */
@media (max-width: 600px) {
  /* Sticky bar en móvil */
  .sticky-cta-inner { flex-direction: column; gap: 8px; text-align: center; padding: 12px 16px; }
  .sticky-cta-text { gap: 2px; }
  .sticky-cta-btn { width: 100%; max-width: 320px; justify-content: center; padding: 12px 20px; }

  /* Footer links */
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 6px 12px; font-size: 0.78rem; }
  .footer-contact { flex-direction: column; align-items: center; gap: 10px; }
  .footer-contact-link { font-size: 0.82rem; }

  /* CTA final buttons */
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }
  .cta-btn-virtual, .cta-btn-presencial { width: 100%; max-width: 340px; justify-content: center; text-align: center; }

  /* Pricing legal note */
  .pricing-legal-note { font-size: 0.74rem; padding: 0 8px; }

  /* Programa imágenes */
  .programa-img-grid { gap: 12px; }
}

@media (max-width: 480px) {
  /* Social proof bar */
  .sp-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .sp-divider:nth-child(4) { display: none; }

  /* Hero countdown label */
  .countdown-label { font-size: 0.78rem; }

  /* FAQ */
  .faq-question { font-size: 0.88rem; padding: 14px 16px; }
  .faq-answer p, .faq-answer ul { padding: 0 16px 16px; font-size: 0.86rem; }
  .faq-answer ul { padding-left: 32px; }

  /* Steps */
  .step-arrow { display: none; }
}
