/*====================================================
        WEBINAR — Reforma Laboral México 2027
=====================================================*/

:root {
  --webinar-topbar-height: 44px;
  --jt-fixed-chrome: calc(var(--header-height, 70px) + var(--webinar-topbar-height));
}

/* Misma familia glass del header: rgba(30,44,70) + blur */
.header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.webinar-topbar {
  position: fixed;
  top: var(--header-height, 70px);
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--webinar-topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 clamp(12px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(251, 130, 42, 0.14) 0%, transparent 100%),
    rgba(30, 44, 70, 0.78);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(251, 130, 42, 0.28);
  box-shadow:
    0 10px 28px rgba(10, 20, 40, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.webinar-topbar-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 60%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: webinarTopbarSheen 7.5s ease-in-out infinite;
}

@keyframes webinarTopbarSheen {
  0%, 55% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

.webinar-topbar-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.webinar-topbar-link:hover {
  opacity: 0.94;
}

.webinar-topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251, 130, 42, 0.16);
  border: 1px solid rgba(251, 130, 42, 0.38);
  color: #ffc08a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.webinar-topbar-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FB822A;
  box-shadow: 0 0 0 0 rgba(251, 130, 42, 0.55);
  animation: webinarDotPulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

.webinar-topbar-text {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.webinar-topbar-meta {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.webinar-topbar-cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(251, 130, 42, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 130, 42, 0.95) 0%, rgba(229, 109, 26, 0.95) 100%);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 6px 16px rgba(251, 130, 42, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.webinar-topbar-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(251, 130, 42, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.webinar-topbar-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.webinar-topbar-cta svg {
  flex-shrink: 0;
}

/* El hero debe bajar bajo navbar + barra del webinar (antes solo contemplaba el header). */
.hero-section {
  padding-top: calc(var(--jt-fixed-chrome) + var(--space-md, 2rem)) !important;
  padding-bottom: var(--space-md, 2rem);
}

#inicio,
#nosotros,
#ecosistema,
#equipo,
#ce,
#webinar,
#cumplimiento {
  scroll-margin-top: calc(var(--jt-fixed-chrome) + 12px);
}

@media (max-width: 850px) {
  .hero-section {
    padding-top: calc(var(--jt-fixed-chrome) + var(--space-lg, 4rem)) !important;
    padding-bottom: var(--space-lg, 4rem);
  }
}

@media (max-width: 992px) {
  .nav-menu {
    top: var(--jt-fixed-chrome);
    height: calc(100dvh - var(--jt-fixed-chrome));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}

.webinar-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(251, 130, 42, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(57, 96, 235, 0.22), transparent 50%),
    linear-gradient(165deg, #0b1c3d 0%, #133066 42%, #0e2348 100%);
  color: #fff;
}

.webinar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
  opacity: 0.55;
}

.webinar-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: webinarOrbFloat 9s ease-in-out infinite;
}

.webinar-orb.is-a {
  width: 220px;
  height: 220px;
  top: -40px;
  right: 8%;
  background: rgba(251, 130, 42, 0.28);
}

.webinar-orb.is-b {
  width: 280px;
  height: 280px;
  bottom: -80px;
  left: 4%;
  background: rgba(57, 96, 235, 0.3);
  animation-delay: -3.5s;
}

@keyframes webinarOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.06); }
}

.webinar-inner {
  position: relative;
  z-index: 1;
  width: var(--container-width, min(92%, 1400px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

/* ---- Flyer interactivo ---- */
.webinar-flyer-wrap {
  position: relative;
  perspective: 1100px;
}

.webinar-flyer-glow {
  position: absolute;
  inset: 8% 6%;
  z-index: 0;
  background: radial-gradient(circle, rgba(251, 130, 42, 0.45), transparent 68%);
  filter: blur(28px);
  opacity: 0.75;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.webinar-flyer-btn {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 18px;
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  will-change: transform;
}

.webinar-flyer-btn:hover,
.webinar-flyer-btn:focus-visible {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(251, 130, 42, 0.45),
    0 0 40px rgba(251, 130, 42, 0.22);
  outline: none;
}

.webinar-flyer-wrap:has(.webinar-flyer-btn:hover) .webinar-flyer-glow,
.webinar-flyer-wrap:has(.webinar-flyer-btn:focus-visible) .webinar-flyer-glow {
  opacity: 1;
}

.webinar-flyer-btn img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transform: translateZ(0);
}

.webinar-flyer-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 62%
  );
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
  animation: webinarShine 5.5s ease-in-out infinite;
}

@keyframes webinarShine {
  0%, 55% { transform: translateX(-120%) skewX(-12deg); }
  75%, 100% { transform: translateX(140%) skewX(-12deg); }
}

.webinar-flyer-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(11, 28, 61, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: webinarHintPulse 2.4s ease-in-out infinite;
}

.webinar-flyer-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #FB822A;
}

@keyframes webinarHintPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

/* ---- Copy / meta ---- */
.webinar-copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.webinar-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.webinar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.webinar-badge.is-live {
  background: rgba(251, 130, 42, 0.18);
  border: 1px solid rgba(251, 130, 42, 0.5);
  color: #ffc08a;
}

.webinar-badge.is-live .webinar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FB822A;
  box-shadow: 0 0 0 0 rgba(251, 130, 42, 0.55);
  animation: webinarDotPulse 1.6s ease-out infinite;
}

@keyframes webinarDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 130, 42, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(251, 130, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 130, 42, 0); }
}

.webinar-badge.is-free {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.webinar-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.webinar-title {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.webinar-title span {
  color: #FB822A;
}

.webinar-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.webinar-meta {
  display: grid;
  gap: 10px;
  margin: 0.25rem 0 0;
}

.webinar-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.webinar-meta-item svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  color: #FB822A;
}

.webinar-meta-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.webinar-meta-item span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.webinar-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.webinar-topics li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.webinar-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 360px;
}

.webinar-count-cell {
  text-align: center;
  padding: 12px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.webinar-count-cell strong {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1;
}

.webinar-count-cell span {
  display: block;
  margin-top: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.webinar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0.35rem;
}

.webinar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #FB822A 0%, #e56d1a 100%);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(251, 130, 42, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.webinar-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(251, 130, 42, 0.42);
}

.webinar-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.webinar-cta svg {
  width: 18px;
  height: 18px;
}

.webinar-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---- Modal ---- */
.jt-webinar-root {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.jt-webinar-root.is-open {
  pointer-events: auto;
  opacity: 1;
}

.jt-webinar-veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 40, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.jt-webinar-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90dvh, 820px);
  overflow: auto;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(251, 130, 42, 0.16), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f5f8fc 48%, #eef3fa 100%);
  border: 1px solid rgba(19, 48, 102, 0.12);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(15, 37, 77, 0.32);
  padding: 28px 24px 22px;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.jt-webinar-root.is-open .jt-webinar-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.jt-webinar-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 48, 102, 0.06);
  color: #133066;
  font-size: 22px;
  cursor: pointer;
}

.jt-webinar-close:hover {
  background: rgba(19, 48, 102, 0.12);
}

.jt-webinar-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(251, 130, 42, 0.12);
  border: 1px solid rgba(251, 130, 42, 0.35);
  color: #133066;
  font-size: 12px;
  font-weight: 700;
}

.jt-webinar-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FB822A;
  animation: webinarDotPulse 1.6s ease-out infinite;
}

.jt-webinar-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #FB822A;
}

.jt-webinar-panel h2 {
  margin: 6px 0 8px;
  font-size: 1.45rem;
  color: #133066;
  line-height: 1.2;
}

.jt-webinar-lead {
  margin: 0 0 16px;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.45;
}

.jt-webinar-event {
  display: grid;
  gap: 6px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(19, 48, 102, 0.05);
  border: 1px solid rgba(19, 48, 102, 0.08);
  font-size: 0.84rem;
  color: #133066;
}

.jt-webinar-event strong {
  font-weight: 700;
}

.jt-webinar-form {
  display: grid;
  gap: 0;
}

.jt-webinar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.jt-webinar-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #133066;
}

.jt-webinar-field.is-full {
  margin-bottom: 14px;
}

.jt-webinar-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #133066;
  background: #fff;
}

.jt-webinar-field input:focus {
  outline: 2px solid rgba(251, 130, 42, 0.35);
  border-color: #FB822A;
}

.jt-webinar-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #FB822A 0%, #e56d1a 100%);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(251, 130, 42, 0.28);
}

.jt-webinar-submit:hover {
  filter: brightness(1.04);
}

.jt-webinar-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.jt-webinar-status {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #667085;
}

.jt-webinar-status.is-ok {
  color: #0f7a3a;
}

.jt-webinar-status.is-error {
  color: #b42318;
}

.jt-webinar-success {
  display: none;
  margin-top: 4px;
  text-align: center;
}

.jt-webinar-root.is-success .jt-webinar-form,
.jt-webinar-root.is-success .jt-webinar-event,
.jt-webinar-root.is-success .jt-webinar-chip,
.jt-webinar-root.is-success .jt-webinar-kicker,
.jt-webinar-root.is-success .jt-webinar-lead,
.jt-webinar-root.is-success #jtWebinarTitle {
  display: none;
}

.jt-webinar-root.is-success .jt-webinar-success {
  display: block;
  animation: jtWebinarSuccessIn 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes jtWebinarSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.jt-webinar-success-icon {
  width: 56px;
  height: 56px;
  margin: 4px auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0f7a3a;
  background: rgba(15, 122, 58, 0.12);
  border: 1px solid rgba(15, 122, 58, 0.22);
  box-shadow: 0 0 0 6px rgba(15, 122, 58, 0.06);
}

.jt-webinar-success h3 {
  margin: 0 0 8px;
  color: #133066;
  font-size: 1.3rem;
}

.jt-webinar-success > p {
  margin: 0 0 16px;
  color: #667085;
  font-size: 0.95rem;
  line-height: 1.5;
}

.jt-webinar-linkbox {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(19, 48, 102, 0.05);
  border: 1px solid rgba(19, 48, 102, 0.1);
  text-align: left;
}

.jt-webinar-linkbox-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #667085;
}

.jt-webinar-linkbox a {
  word-break: break-all;
  color: #133066;
  font-size: 0.84rem;
  font-weight: 600;
}

.jt-webinar-mail-note {
  margin: 14px 0 0 !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(251, 130, 42, 0.1);
  border: 1px solid rgba(251, 130, 42, 0.28);
  color: #133066 !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  text-align: left;
}

.jt-webinar-mail-note strong {
  color: #FB822A;
  font-weight: 700;
}

.jt-webinar-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(19, 48, 102, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #133066;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.jt-webinar-copy:hover {
  border-color: #FB822A;
  color: #FB822A;
}

.jt-webinar-done {
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #133066;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

body.jt-webinar-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .webinar-topbar {
    justify-content: space-between;
    gap: 8px;
    height: auto;
    min-height: var(--webinar-topbar-height);
    padding-block: 6px;
  }

  .webinar-topbar-link {
    flex: 1;
    min-width: 0;
    gap: 8px;
  }

  .webinar-topbar-meta {
    display: none;
  }

  .webinar-topbar-chip {
    padding: 4px 8px;
    font-size: 0.62rem;
  }

  .webinar-topbar-text {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .webinar-topbar-cta span {
    display: none;
  }

  .webinar-topbar-cta {
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .webinar-topbar-chip {
    display: none;
  }

  .webinar-topbar-text {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webinar-topbar-sheen {
    animation: none;
  }
}

@media (max-width: 980px) {
  .webinar-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    justify-items: center;
  }

  .webinar-flyer-wrap {
    max-width: min(520px, 100%);
    width: 100%;
    margin: 0 auto;
  }

  .webinar-copy {
    width: 100%;
    max-width: 560px;
    text-align: center;
    align-items: center;
  }

  .webinar-lead {
    margin-inline: auto;
  }

  .webinar-badge-row,
  .webinar-topics,
  .webinar-actions {
    justify-content: center;
  }

  .webinar-meta {
    width: 100%;
  }

  .webinar-meta-item {
    text-align: left;
  }

  .webinar-cta {
    width: 100%;
    max-width: 320px;
  }

  .webinar-countdown {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .jt-webinar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .webinar-section {
    padding: 2.5rem 0;
  }

  .webinar-inner {
    width: min(94%, 1400px);
  }

  .jt-webinar-panel {
    padding: 22px 16px 18px;
    border-radius: 18px;
    width: min(560px, 100%);
  }

  .jt-webinar-root {
    padding: 12px;
  }

  .webinar-flyer-hint {
    font-size: 0.65rem;
    padding: 8px 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    white-space: normal;
    text-align: center;
  }

  .webinar-countdown {
    max-width: none;
    width: 100%;
  }

  .webinar-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .webinar-orb,
  .webinar-flyer-shine,
  .webinar-flyer-hint,
  .webinar-badge.is-live .webinar-dot,
  .jt-webinar-chip-dot {
    animation: none;
  }
}

/*====================================================
        POPUP PROMO (entrada al sitio)
=====================================================*/

.jt-webinar-pop {
  position: fixed;
  inset: 0;
  z-index: 2700;
  display: grid;
  place-items: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.jt-webinar-pop.is-open {
  pointer-events: auto;
  opacity: 1;
}

.jt-webinar-pop-veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 40, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.jt-webinar-pop-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(92dvh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(251, 130, 42, 0.18), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f5f8fc 50%, #eef3fa 100%);
  box-shadow: 0 30px 80px rgba(8, 18, 40, 0.38);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.jt-webinar-pop.is-open .jt-webinar-pop-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.jt-webinar-pop-media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  background: #0b1c3d;
  overflow: hidden;
}

.jt-webinar-pop-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(46vh, 380px);
  object-fit: contain;
  object-position: top center;
  background: #0b1c3d;
}

.jt-webinar-pop-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
}

.jt-webinar-pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(19, 48, 102, 0.08);
  color: #133066;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.jt-webinar-pop-close:hover {
  background: rgba(19, 48, 102, 0.14);
}

.jt-webinar-pop-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(251, 130, 42, 0.12);
  border: 1px solid rgba(251, 130, 42, 0.35);
  color: #133066;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.jt-webinar-pop-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FB822A;
  animation: webinarDotPulse 1.6s ease-out infinite;
}

.jt-webinar-pop-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #FB822A;
}

.jt-webinar-pop-body h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  color: #133066;
}

.jt-webinar-pop-body h2 span {
  color: #FB822A;
}

.jt-webinar-pop-lead {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.5;
}

.jt-webinar-pop-meta {
  margin: 2px 0 0;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(19, 48, 102, 0.05);
  border: 1px solid rgba(19, 48, 102, 0.08);
  color: #133066;
  font-size: 0.84rem;
  line-height: 1.45;
}

.jt-webinar-pop-meta strong {
  display: block;
  font-weight: 700;
}

.jt-webinar-pop-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.jt-webinar-pop-primary,
.jt-webinar-pop-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.jt-webinar-pop-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #FB822A 0%, #e56d1a 100%);
  box-shadow: 0 10px 22px rgba(251, 130, 42, 0.28);
}

.jt-webinar-pop-primary:hover {
  filter: brightness(1.04);
}

.jt-webinar-pop-secondary {
  border: 1px solid rgba(19, 48, 102, 0.18);
  background: #fff;
  color: #133066;
}

.jt-webinar-pop-secondary:hover {
  border-color: rgba(251, 130, 42, 0.45);
  color: #FB822A;
}

.jt-webinar-pop-note {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #98a2b3;
}

body.jt-webinar-pop-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .jt-webinar-pop {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
    align-items: center;
  }

  .jt-webinar-pop-card {
    width: min(420px, 100%);
    max-height: min(90dvh, 820px);
  }

  .jt-webinar-pop-media img {
    max-height: min(32vh, 240px);
  }

  .jt-webinar-pop-body {
    padding: 16px 16px 14px;
    min-height: 0;
  }

  .jt-webinar-pop-actions {
    flex-direction: column;
  }

  .jt-webinar-pop-primary,
  .jt-webinar-pop-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .jt-webinar-pop-media img {
    max-height: min(28vh, 190px);
  }

  .jt-webinar-pop-body h2 {
    font-size: 1.25rem;
  }

  .jt-webinar-pop-lead {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jt-webinar-pop,
  .jt-webinar-pop-card {
    transition: none;
  }

  .jt-webinar-pop-chip-dot {
    animation: none;
  }
}
