/* =============================================
   PYXOOM 4.2.3 — MÓDULO PERSONALIZADO PARA HUBSPOT CMS
   Archivo: styles.css
   ============================================= */

/* =============================================
   FUENTES LOCALES
   ============================================= */
/* =============================================
   VARIABLES Y RESET
   ============================================= */
:root {
  --navy:       #001c71;
  --navy-deep:  #002060;
  --electric:   #213acd;
  --electric-lt:#00ccff;
  --white:      #FFFFFF;
  --off-white:  #F0F4FF;
  --success:    #00C896;
  --danger:     #FF4D6D;
  --muted:      rgba(255,255,255,0.55);
  --border:     rgba(255,255,255,0.10);
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Poppins', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 40px rgba(11,30,75,0.35);
  --glow:       0 0 30px rgba(37,99,235,0.4);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }

.pyx-page {
  font-family: var(--font-body);
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
}
.pyx-page strong, .pyx-page b {
  font-weight: 700;
}

/* =============================================
   ① HERO
   ============================================= */
.pyx-hero {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--electric) 130%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Noise texture overlay */
.pyx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

/* Diagonal accent line */
.pyx-hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: 28%;
  width: 2px;
  height: 130%;
  background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,0.4) 50%, transparent 100%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.pyx-hero__nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
}

html { scroll-behavior: smooth; }

#inicio, #quienes-somos, #nuevos-usuarios, #recomendaciones, #sesiones, #aprendizaje, #contacto {
  scroll-margin-top: 76px;
}

.pyx-subnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: rgba(10, 14, 30, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.pyx-subnav.is-visible { transform: translateY(0); }

.pyx-subnav__menu {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pyx-subnav__link {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.pyx-subnav__link:hover { color: var(--white); background: rgba(255,255,255,0.06); }

.pyx-subnav__link.is-active { color: var(--white); background: rgba(37,99,235,0.25); }

.pyx-subnav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
}

.pyx-subnav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pyx-subnav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pyx-subnav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pyx-subnav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .pyx-subnav {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .pyx-subnav__toggle { display: flex; }

  .pyx-subnav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px;
    background: rgba(10, 14, 30, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .pyx-subnav__menu.is-open {
    max-height: 400px;
    opacity: 1;
    padding: 8px 20px 16px;
  }

  .pyx-subnav__link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

.pyx-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.pyx-hero__logo {
    width: 50%;
}
.pyx-logo__mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--electric), #60A5FA);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -1px;
  box-shadow: var(--glow);
}

.pyx-logo__text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.pyx-logo__text span { color: rgba(255,255,255,0.5); font-weight: 400; }

.pyx-hero__body {
  position: relative;
  z-index: 5;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  gap: 40px;
  padding: 40px 60px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.pyx-hero__content { max-width: 640px; }

.pyx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(37,99,235,0.5);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.pyx-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: #60A5FA;
  border-radius: 50%;
  box-shadow: 0 0 8px #60A5FA;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.8); }
}

.pyx-hero__headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}

.pyx-hero__headline em {
  font-style: normal;
  color: var(--electric-lt);
  display: block;
}

.pyx-hero__sub {
  font-size: 17px;
  font-weight: 200;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}

.pyx-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.pyx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.pyx-btn--primary {
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(37,99,235,0.5);
}
.pyx-btn--primary:hover {
  background: var(--electric-lt);
  transform: translateY(-2px);
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(37,99,235,0.65);
}

.pyx-btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.pyx-btn--outline:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
}
.pyx-btn--disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

.pyx-hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 520px;
}

.pyx-hero__image--featured {
  height: 560px;
}

.pyx-hero__image-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.5) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.pyx-hero__photo {
  position: relative;
  z-index: 2;
  width: 380px;
  max-height: 500px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 60px rgba(11,30,75,0.6));
}

.pyx-hero__photo--large {
  width: min(500px, 100%);
  max-height: 700px;
}

.pyxia__animation {
  animation: bounceSoft 3.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes bounceSoft {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.01);
  }
}

/* Placeholder cuando no hay foto */
.pyx-hero__photo-placeholder {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 420px;
  background: linear-gradient(160deg, rgba(37,99,235,0.15) 0%, rgba(11,30,75,0.3) 100%);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  backdrop-filter: blur(12px);
}

.pyx-hero__photo-placeholder svg { opacity: 0.4; }
.pyx-hero__photo-placeholder p  { font-size:13px; color:var(--white); font-weight:200; text-align:center; }

/* Floating stats */
.pyx-stat-card {
  position: absolute;
  background: rgba(15,35,71,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  backdrop-filter: blur(16px);
  z-index: 10;
}
.pyx-stat-card--left { left: -30px; top: 40%; }
.pyx-stat-card--left-V2 { left: -30px; top: 27%; }
.pyx-stat-card--right { right: -20px; top: 20%; }
.pyx-stat-card--right-V2 { right: -30px; top: 35%; }
.pyx-stat-card__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--electric-lt);
  line-height: 1;
}
.pyx-stat-card__label { font-size: 11px; color: var(--muted); margin-top:3px; }

.pyx-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
  animation: scrollBounce 2s ease-in-out infinite;
}
.pyx-hero__scroll svg { width:20px; height:20px; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@keyframes scrollBounceMobile {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* =============================================
   SECCIÓN WRAPPER
   ============================================= */
.pyx-section {
  padding: 90px 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.pyx-section--dark {
  background: var(--navy-deep);
  max-width: 100%;
  padding: 90px 0;
}
.pyx-section--dark .pyx-section { padding-top: 0; padding-bottom: 0; }

.pyx-section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--electric-lt);
  margin-bottom: 12px;
}
.pyx-section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pyx-section__subtitle {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 24px;
}
.pyx-section__desc {
  color: var(--white);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
}

/* =============================================
   ② CALENDARIOS
   ============================================= */
.pyx-calendars-wrap {
  background: linear-gradient(180deg, var(--navy-deep) 0%, #0A1E42 100%);
  padding: 90px 0;
}

.pyx-calendars-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.pyx-calendars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.pyx-calendar {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.3s;
}
.pyx-calendar:hover { border-color: rgba(37,99,235,0.3); }

.pyx-calendar__month {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pyx-calendar__month-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(37,99,235,0.2);
  color: #93C5FD;
  border-radius: 100px;
  padding: 3px 10px;
}

.pyx-calendar__days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 8px;
}
.pyx-calendar__day-name {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 4px 0;
}

.pyx-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.pyx-cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: default;
  transition: all 0.2s ease;
}

.pyx-cal-day--empty { pointer-events: none; }

.pyx-cal-day--session {
  background: var(--electric);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(37,99,235,0.5);
}
.pyx-cal-day--session:hover {
  background: var(--electric-lt);
  color: var(--navy);
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(37,99,235,0.7);
  z-index: 20;
}

.pyx-cal-day--past {
  background: rgba(16, 200, 150, 0.12);
  border: 1px solid rgba(16, 200, 150, 0.35);
  color: var(--success);
}

.pyx-cal-day--today {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}

/* Tooltip */
.pyx-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0F2347;
  border: 1px solid rgba(37,99,235,0.5);
  border-radius: 10px;
  padding: 12px 14px;
  width: 200px;
  font-size: 12px;
  line-height: 1.5;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: normal;
  text-align: left;
}
.pyx-tooltip::after {
  content:'';
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  border:6px solid transparent;
  border-top-color:#0F2347;
}

/* Container for multiple tooltips stacked vertically */
.pyx-tooltips {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}
.pyx-tooltips .pyx-tooltip {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  width: 220px;
}
.pyx-tooltips .pyx-tooltip::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #0F2347;
}
/* Varios cursos el mismo día: en escritorio van lado a lado para no crecer hacia arriba
   y quedar tapados por la navegación fija; en móvil se mantienen apilados */
@media (min-width: 900px) {
  .pyx-tooltips { flex-direction: row; align-items: flex-end; }
}

/* show on hover */
.pyx-cal-day--session:hover .pyx-tooltip,
.pyx-cal-day--session .pyx-tooltip:hover,
.pyx-cal-day--session:hover .pyx-tooltips,
.pyx-cal-day--session .pyx-tooltips:hover { opacity:1; visibility:visible; }

/* show on tap/click (fallback para dispositivos táctiles sin :hover confiable) */
.pyx-cal-day--session.is-open .pyx-tooltip,
.pyx-cal-day--session.is-open .pyx-tooltips { opacity:1; visibility:visible; }

.pyx-tooltip__title { font-weight:700; color:var(--white); margin-bottom:4px; font-family:var(--font-head); font-size:13px; letter-spacing:0.02em; }
.pyx-tooltip__date  { color:#93C5FD; margin-bottom:6px; }
.pyx-tooltip__desc  { color:var(--white); font-size:12px; line-height:1.4; margin-bottom:6px; font-weight: 200; }
.pyx-tooltip__link  { color:var(--electric-lt); text-decoration:underline; cursor:pointer; }
.pyx-tooltip__link.pyx-btn { text-decoration: none; }
.pyx-tooltip--past { background: rgba(10,18,44,0.95); border-color: rgba(255,255,255,0.15); }

/* Evita que el tooltip se recorte en las columnas de los extremos del calendario */
.pyx-cal-day:nth-child(7n+1) .pyx-tooltip,
.pyx-cal-day:nth-child(7n+1) .pyx-tooltips,
.pyx-cal-day:nth-child(7n+2) .pyx-tooltip,
.pyx-cal-day:nth-child(7n+2) .pyx-tooltips {
  left: 0;
  right: auto;
  transform: none;
}
.pyx-cal-day:nth-child(7n+1) .pyx-tooltip::after,
.pyx-cal-day:nth-child(7n+2) .pyx-tooltip::after {
  left: 20px;
  transform: none;
}

.pyx-cal-day:nth-child(7n) .pyx-tooltip,
.pyx-cal-day:nth-child(7n) .pyx-tooltips,
.pyx-cal-day:nth-child(7n-1) .pyx-tooltip,
.pyx-cal-day:nth-child(7n-1) .pyx-tooltips {
  left: auto;
  right: 0;
  transform: none;
}
.pyx-cal-day:nth-child(7n) .pyx-tooltip::after,
.pyx-cal-day:nth-child(7n-1) .pyx-tooltip::after {
  left: auto;
  right: 20px;
  transform: none;
}

/* Webinar destacado */
.pyx-webinar-card {
  background: linear-gradient(145deg, rgba(37,99,235,0.2) 0%, rgba(11,30,75,0.6) 100%);
  border: 1px solid rgba(37,99,235,0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.pyx-webinar-card::before {
  content: 'PRÓXIMO';
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--electric);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 40px;
  transform: rotate(45deg);
}

.pyx-webinar-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 10px;
}
.pyx-webinar-card__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--white);
}
.pyx-webinar-card__meta { display:flex; flex-direction:column; gap:10px; margin-bottom:28px; }
.pyx-webinar-card__meta-item {
  display:flex;
  align-items:top;
  gap:10px;
  font-size:13px;
  color:var(--white);
  font-weight:200;
}
.pyx-webinar-card__meta-item svg { width:16px; height:16px; color:var(--electric-lt); flex-shrink:0; }
.pyx-webinar-card__meta-item strong { color:var(--white); }

/* =============================================
   ③ FORMULARIO
   ============================================= */
.pyx-step-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 40px;
  align-items: center;
  width: 100%;
  margin-top: 3rem;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}
.pyx-step-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.pyx-step-copy__title-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.pyx-step-copy__title {
  margin-bottom: 16px;
  text-align: left;
  font-size: clamp(28px, 2.4vw, 36px);
}
.pyx-step-copy__text {
  width: 100%;
  max-width: 420px;
  margin: 0;
  text-align: left;
  color: var(--white);
  font-weight: 200;
  font-size: 16px;
  line-height: 1.7;
}
.pyx-step-media {
  display: flex;
  justify-content: center;
}
.pyx-step-media img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.pyx-step-grid--reverse {
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 0.95fr);
}
.pyx-step-grid--reverse .pyx-step-copy { order: 2; }
.pyx-step-grid--reverse .pyx-step-media { order: 1; }

/* Carrusel de pasos (Aprendizaje) */
.pyx-carousel {
  position: relative;
  margin-top: calc(3rem - 16px);
}

.pyx-carousel__track {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pyx-carousel__track::-webkit-scrollbar { display: none; }

.pyx-carousel::before,
.pyx-carousel::after {
  content: '';
  position: absolute;
  top: 16px;
  bottom: 16px;
  width: 80px;
  z-index: 4;
  pointer-events: none;
}
.pyx-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--navy-deep), transparent);
}
.pyx-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--navy-deep), transparent);
}

.pyx-carousel__slide {
  flex: 0 0 84%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
}

.pyx-carousel__slide .pyx-step-grid {
  width: 100%;
  grid-template-columns: 340px 1fr;
  margin-top: 0;
  padding: 28px;
}

.pyx-carousel__slide .pyx-step-media img { max-width: 100%; }

.pyx-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--navy-deep, rgba(10,14,30,0.9));
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 1;
}
.pyx-carousel__arrow:hover { background: rgba(37,99,235,0.35); }
.pyx-carousel__arrow--prev { left: 8px; }
.pyx-carousel__arrow--next { right: 8px; }
.pyx-carousel__arrow.is-hidden { opacity: 0; pointer-events: none; }

.pyx-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.pyx-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pyx-carousel__dot.is-active { background: var(--electric-lt); transform: scale(1.3); }

@media (max-width: 1100px) {
  .pyx-carousel__slide .pyx-step-grid {
    grid-template-columns: 220px 1fr;
  }
  .pyx-carousel::before,
  .pyx-carousel::after {
    width: 48px;
  }
  .pyx-carousel::before { background: linear-gradient(to right, var(--navy-deep), transparent); }
  .pyx-carousel::after  { background: linear-gradient(to left, var(--navy-deep), transparent); }
}

@media (max-width: 640px) {
  .pyx-carousel__slide .pyx-step-copy { order: -1; }
  .pyx-carousel__slide .pyx-step-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .pyx-carousel__slide .pyx-step-media img { max-width: 100%; }
  .pyx-carousel__arrow { display: none; }
  .pyx-carousel::before,
  .pyx-carousel::after {
    width: 28px;
  }
  .pyx-carousel::before { background: linear-gradient(to right, var(--navy-deep), transparent); }
  .pyx-carousel::after  { background: linear-gradient(to left, var(--navy-deep), transparent); }
}

.pyx-form-section {
  background: var(--navy);
  padding: 90px 0;
}
.pyx-form-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.pyx-form-left__features { margin-top:40px; display:flex; flex-direction:column; gap:20px; }

.pyx-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.pyx-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pyx-feature-icon svg { width:18px; height:18px; color:var(--electric-lt); }
.pyx-feature-text h4 { font-size:14px; font-weight:600; margin-bottom:4px; }
.pyx-feature-text p  { font-size:13px; color:var(--white); font-weight:200; line-height:1.5; }

.pyx-form-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.pyx-form-box__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pyx-form-box__subtitle { font-size:13px; color:var(--white); font-weight:200; margin-bottom:32px; }

/* HubSpot form override — los estilos reales del módulo de HubSpot Forms */
.hs-form fieldset { max-width: 100% !important; }
.hs-form .hs-form-field { margin-bottom:20px; }
.hs-form label {
  display:block;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-bottom:8px;
}
.hs-form input,
.hs-form select,
.hs-form textarea {
  width:100%;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}
.hs-form input:focus,
.hs-form select:focus {
  border-color: var(--electric) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15) !important;
}
.hs-form select { cursor:pointer; appearance:auto; }
.hs-form .hs-button {
  width: 100% !important;
  background: var(--electric) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 18px 32px !important;
  font-family: var(--font-head) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 24px rgba(37,99,235,0.5) !important;
  margin-top: 8px !important;
}
.hs-form .hs-button:hover {
  background: var(--electric-lt) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(37,99,235,0.65) !important;
}
.hs-form .hs-error-msgs { margin-top:4px; }
.hs-form .hs-error-msg { font-size:12px; color:#F87171; }
.hs-form .submitted-message { color:var(--white); }

/* Mensaje de confirmación custom */
.pyx-success {
  display: none;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(5,150,105,0.1));
  border: 1px solid rgba(16,185,129,0.4);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}
.pyx-success.show { display:block; animation: fadeInUp 0.4s ease; }
.pyx-success svg { width:48px; height:48px; color:#34D399; margin-bottom:14px; }
.pyx-success h3 { font-family:var(--font-head); font-weight:800; font-size:22px; text-transform:uppercase; margin-bottom:8px; }
.pyx-success p   { font-size:14px; color:var(--white); font-weight:200; }

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

/* =============================================
   ⑤ PROGRAMA DE CURSOS (ACORDEÓN)
   ============================================= */
.pyx-courses-wrap {
  padding: 90px 0;
  background: var(--navy);
}
.pyx-courses-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
.pyx-courses-grid {
  margin-top: 40px;
}
@media (min-width: 1025px) {
  .pyx-courses-grid {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .pyx-courses-outro {
    max-width: none;
    text-align: center;
  }
}
.pyx-courses-group {
  display: block;
  margin-bottom: 16px;
  box-shadow: 0 0 0 0.5px var(--electric-lt);
  padding: 4px 20px 20px;
}
.pyx-courses-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font-body);
}
.pyx-courses-group__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pyx-courses-group__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--electric-lt);
}
.pyx-courses-group__summary {
  font-size: 16px;
  font-weight: 200;
  color: var(--white);
  line-height: 1.7;
}
.pyx-courses-group__chevron {
  flex-shrink: 0;
  color: var(--electric-lt);
  transition: transform 0.3s ease;
}
.pyx-courses-group__header[aria-expanded="true"] .pyx-courses-group__chevron {
  transform: rotate(90deg);
}
.pyx-courses-group__body {
  display: block;
  padding-top: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.pyx-courses-group__body .pyx-course-item {
  margin-bottom: 20px;
}
.pyx-courses-group__body .pyx-course-item:last-child {
  margin-bottom: 0;
}
.pyx-course-item {
  --course-fade: #0A2966;
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.pyx-course-item.is-open {
  --course-fade: #04276E;
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.4);
}
.pyx-course-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  font-family: var(--font-body);
}
.pyx-course-item__number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--electric-lt);
  flex-shrink: 0;
  width: 28px;
}
.pyx-course-item__heading {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pyx-course-item__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.pyx-course-item__duration {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}
.pyx-course-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.pyx-course-item__header[aria-expanded="true"] .pyx-course-item__chevron {
  transform: rotate(180deg);
}
.pyx-course-item__body {
  position: relative;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pyx-course-item__body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, var(--course-fade));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.pyx-course-item.is-animating .pyx-course-item__body::after {
  opacity: 1;
}
.pyx-course-item__list {
  list-style: none;
  padding: 0 24px 20px 68px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pyx-course-item__list li {
  position: relative;
  font-size: 13px;
  font-weight: 200;
  color: var(--white);
  line-height: 1.5;
}
.pyx-course-item__list li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric-lt);
}

/* =============================================
   ④ TIMELINE
   ============================================= */
.pyx-timeline-wrap {
  background: var(--navy-deep);
  padding: 90px 0;
  overflow: hidden;
}
.pyx-timeline-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.pyx-timeline { margin-top: 56px; position:relative; }

/* Línea horizontal */
.pyx-timeline__line {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  opacity: 0.4;
}

.pyx-timeline__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.pyx-tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pyx-tl-card {
  perspective: 1400px;
}

.pyx-tl-card__inner {
  width: 100%;
  min-height: 270px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--navy-deep), var(--navy));
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(.2,.9,.2,1), box-shadow 0.25s ease;
  padding: 24px 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pyx-tl-card__inner:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}

.pyx-tl-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px;
  border-radius: inherit;
  backface-visibility: hidden;
}

.pyx-tl-card__face--front {
  gap: 12px;
}

.pyx-tl-card__face--back {
  transform: rotateY(180deg);
  gap: 12px;
}

.pyx-tl-card.is-flipped .pyx-tl-card__inner {
  transform: rotateY(180deg);
}

.pyx-tl-card__inner:focus-visible {
  outline: 2px solid var(--electric-lt);
  outline-offset: 3px;
}

.pyx-tl-item__dot {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--electric), #1D4ED8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 0 0 8px rgba(37,99,235,0.1), var(--glow);
  flex-shrink: 0;
}
.pyx-tl-item__dot svg { width:36px; height:36px; color:var(--white); }

.pyx-tl-card__hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  animation: pyxCardHintPulse 2.4s ease-in-out infinite;
}
.pyx-tl-card__hint svg { width: 16px; height: 16px; }

@keyframes pyxCardHintPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

.pyx-tl-item__date {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric-lt);
  margin-bottom: 8px;
}

.pyx-ordered-list {
  margin: 20px 0 0;
  padding-left: 1rem;
  color: var(--white);
}
.pyx-ordered-list__item {
  color: var(--off-white);
  font-weight: 600;
}
.pyx-ordered-list li {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--white);
  font-weight: 200;
  padding-left: 1rem;
}

.pyx-text-balance {
  text-wrap: balance;
}
.pyx-ordered-list a,
.pyx-inline-link {
  color: var(--electric-lt);
  text-decoration: none;
}

.pyx-ordered-list a:hover,
.pyx-inline-link:hover {
  color: var(--white);
}

.pyx-ordered-list li::marker {
  color: var(--electric-lt);
  font-weight: 700;
}
.pyx-tl-item__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pyx-tl-item__name--no_uppercase{
  text-transform: none;
}
.pyx-tl-item__desc { font-size:13px; color:var(--white); font-weight:200; line-height:1.6; }

.pyx-title-break {
  color: var(--electric-lt);
  display: block;
}

.pyx-tl-card__face--back .pyx-tl-item__desc {
  font-family: var(--font-body);
  font-weight: 300;
}

@media (min-width: 1024px) {
  .pyx-tl-card__face--back {
    align-items: flex-start;
    text-align: left;
  }
  .pyx-timeline--single-line .pyx-tl-card__face--back .pyx-tl-item__desc {
    margin: 0;
    max-width: none;
  }
}

.pyx-timeline--single-line .pyx-timeline__items {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.pyx-timeline--single-line .pyx-timeline__line {
  display: block;
}
.pyx-timeline--single-line .pyx-tl-item {
  align-items: center;
}
.pyx-timeline--single-line .pyx-tl-item__desc {
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .pyx-timeline--single-line .pyx-timeline__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pyx-timeline--single-line .pyx-timeline__items {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .pyx-timeline--single-line .pyx-timeline__line {
    display: none;
  }
  .pyx-timeline--single-line .pyx-tl-card__inner {
    min-height: 240px;
  }
  .pyx-timeline--single-line .pyx-tl-item__dot {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .pyx-timeline--single-line .pyx-tl-item__desc {
    margin: 0;
    max-width: none;
  }
}
@media (max-width: 425px) {
  .pyx-timeline--single-line .pyx-timeline__items {
    grid-template-columns: repeat(1, minmax(0,1fr));
  }
  .pyx-tl-card__face {justify-content: center; padding: 24px; }
}

/* =============================================
   ⑤ BENEFICIOS
   ============================================= */
.pyx-benefits-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 90px 0;
}
.pyx-benefits-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pyx-contact-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 90px 0;
}
.pyx-contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: stretch;
}

.pyx-contact-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.pyx-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  min-width: 0;
}
.pyx-contact-card {
  position: relative;
  padding: 24px;
  border: 2px solid var(--electric-lt);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pyx-contact-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.pyx-contact-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
  font-weight: 200;
}
.pyx-contact-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pyx-contact-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white);
  font-weight: 200;
}
.pyx-contact-card__icon {
  width: 16px;
  height: 16px;
  color: var(--electric-lt);
  flex-shrink: 0;
}
.pyx-contact-card__list-item--pyxia {
  position: relative;
}
.pyx-contact-card__icon-slot {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.pyx-contact-card__icon-large {
  position: absolute;
  top: -20px;
  right: 0;
  width: 70px;
  height: auto;
  z-index: 5;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.25));
  pointer-events: none;
}
@media (max-width: 640px) {
  .pyx-contact-card__icon-large { width: 60px; top: -15px; }
}
.pyx-contact-card__list a {
  color: var(--electric-lt);
  text-decoration: none;
  font-weight: 600;
}
.pyx-contact-card__list a:hover {
  color: var(--white);
  text-decoration: underline;
}

.pyx-benefits-pills {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pyx-pill {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 16px 28px;
  transition: all 0.3s ease;
  cursor: default;
}
.pyx-pill:hover {
  background: rgba(37,99,235,0.12);
  border-color: rgba(37,99,235,0.4);
  transform: translateX(8px);
}
.pyx-pill__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--electric), #1D4ED8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pyx-pill__icon svg { width:20px; height:20px; color:var(--white); }
.pyx-pill__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.pyx-pill__desc { font-size:13px; color:var(--white); font-weight:200; margin-top:2px; }

.pyx-benefits-copy { max-width: 440px; }
.pyx-benefits-copy .pyx-section__title { margin-bottom: 20px; }
.pyx-benefits-copy p {
  font-size: 16px;
  color: var(--white);
  font-weight: 200;
  line-height: 1.75;
  margin-bottom: 36px;
}

/* =============================================
   FOOTER
   ============================================= */
.pyx-footer {
  background: #080F1E;
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.psw__logo {
  width: 8%;
}
.pyx-footer__copy { font-size:13px; color:rgba(255,255,255,0.3); }
.pyx-footer__links { display:flex; gap:24px; }
.pyx-footer__links a { font-size:13px; color:rgba(255,255,255,0.3); text-decoration:none; transition:color 0.2s; }
.pyx-footer__links a:hover { color:var(--white); }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 1100px) {
  .pyx-calendars-grid { grid-template-columns: 1fr 1fr; }
  .pyx-webinar-card { grid-column: span 2; }
}

@media (max-width: 900px) {
  .pyx-hero__nav    { padding: 20px 24px; }
  .pyx-hero         { min-height: auto; }
  .pyx-hero__body   { grid-template-columns: 1fr; padding: 24px 24px 40px; }
  .pyx-hero__image  { height: 280px; order: -1; }
  .pyx-hero__image--featured { height: 320px; }
  .pyx-hero__photo  { width: 220px; }
  .pyx-hero__photo--large { width: min(420px, 100%); max-height: 320px; }
  .pyx-stat-card--left  { display:none; }
  .pyx-stat-card--left-V2 { display:none; }
  .pyx-stat-card--right { display:none; }
  .pyx-stat-card--right-V2 { display:none; }
  .pyx-hero__scroll {
    position: static;
    transform: none;
    margin: 8px auto 32px;
    animation: scrollBounceMobile 2s ease-in-out infinite;
  }
  .pyx-section      { padding: 60px 24px; }
  .pyx-form-inner   { grid-template-columns: 1fr; gap:40px; padding:0 24px; }
  .pyx-benefits-inner { grid-template-columns: 1fr; gap:40px; padding:0 24px; }
  .pyx-contact-inner { padding:0 24px; }
  .pyx-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pyx-timeline-inner { padding:0 24px; }
  .pyx-timeline__items { grid-template-columns:repeat(2,1fr); }
  .pyx-timeline__line { display:none; }
  .pyx-footer { flex-direction:column; gap:16px; text-align:center; padding:32px 24px; }
  .pyx-hero__logo { width: 50%; }
  .psw__logo { width: 8%; }
  .pyx-courses-inner { padding: 0 24px; }
}

@media (max-width: 640px) {
  .pyx-step-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .pyx-step-copy__title-wrap {
    justify-content: flex-start;
  }
  .pyx-step-copy__title {
    text-align: left;
  }
  .pyx-step-copy__text {
    max-width: none;
  }
  .pyx-calendars-inner { padding:0 16px; }
  .pyx-contact-cards { grid-template-columns: 1fr; }
  .pyx-calendars-grid  { grid-template-columns:1fr; overflow-x:auto; display:flex; gap:16px; padding-bottom:16px; scroll-snap-type:x mandatory; }
  .pyx-calendar        { min-width:280px; scroll-snap-align:start; }
  .pyx-webinar-card    { min-width:280px; scroll-snap-align:start; }

  /* La celda de la primera fila no tiene espacio arriba: el tooltip abre hacia abajo en su lugar */
  .pyx-calendar__grid > .pyx-cal-day:nth-child(-n+7) .pyx-tooltip,
  .pyx-calendar__grid > .pyx-cal-day:nth-child(-n+7) .pyx-tooltips {
    bottom: auto;
    top: calc(100% + 10px);
  }
  .pyx-calendar__grid > .pyx-cal-day:nth-child(-n+7) .pyx-tooltip::after,
  .pyx-calendar__grid > .pyx-cal-day:nth-child(-n+7) .pyx-tooltips .pyx-tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #0F2347;
  }
  .pyx-timeline__items { grid-template-columns:1fr; }
  .pyx-tl-item         { flex-direction:row; text-align:left; gap:20px; }
  .pyx-tl-item__dot    { width:56px; height:56px; margin-bottom:0; flex-shrink:0; }
  .pyx-hero__headline  { font-size:36px; }
  .pyx-hero__logo { width: 50%; }
  .psw__logo { width: 8%; }
}
@media (max-width: 425px) {
  .pyx-hero__logo { width: 70%; }
  .psw__logo { width: 5%; }
  .pyx-timeline__items { grid-template-columns: repeat(0, 1fr); }
}
@media (max-width: 375px) {
  .pyx-hero__logo { width: 70%; }
  .psw__logo { width: 5%; }
}
@media (max-width: 320px) {
  .pyx-hero__logo { width: 70%; }
  .psw__logo { width: 5%; }
}