/* ==========================================================================
   Terreta Emprende · estilos complementarios para Elementor
   Solo lo que los controles de Elementor no permiten: degradados múltiples,
   separadores entre columnas, componentes propios y puntos de corte intermedios.
   Diseño de referencia: 1440 px (clamp(min, vw, max) con el máximo a 1440 px).
   ========================================================================== */

:root {
  --te-primary: #244c9c;
  --te-primary-hover: #1b3c7f;
  --te-navy: #14264f;
  --te-sky: #c2e6fb;
  --te-sky-50: #eef7fd;
  --te-sky-100: #ddf0fc;
  --te-red: #d7171f;
  --te-red-hover: #b5121a;
  --te-red-50: #fce8e9;
  --te-ink: #161a2b;
  --te-ink-2: #2e3341;
  --te-text: #565b66;
  --te-paper: #f9f9f7;
  --te-beige: #f6f2eb;
  --te-sand: #f2f2f0;
  --te-line: #e6e1da;

  --te-container: 1228px;
  --te-gutter: clamp(20px, 9vw - 24px, 106px);
  --te-bleed: clamp(0px, 5.83vw - 42px, 42px);
  --te-cw: min(var(--te-container), 100% - 2 * var(--te-gutter));
  --te-side: calc((100% - var(--te-cw)) / 2);
  --te-header-h: clamp(68px, 8.54vw, 123px);
  --te-header-h-scrolled: clamp(64px, 5.97vw, 86px);
  --te-sec-y: clamp(56px, 5.56vw, 80px);
  --te-sec-y-sm: clamp(44px, 3.34vw, 48px);
  --te-btn-h: clamp(48px, 4.65vw, 67px);
  --te-btn-px: clamp(24px, 3.06vw, 44px);
  --te-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html:has(body.te-landing) { scroll-padding-top: var(--te-header-h-scrolled); }
@media (prefers-reduced-motion: reduce) {
  .te-mobile-bar,
  .te-nav nav.elementor-nav-menu--dropdown.elementor-nav-menu__container,
  .te-nav .elementor-nav-menu--dropdown .elementor-nav-menu > li { transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.te-landing) { scroll-behavior: smooth; }
}

body.te-landing {
  margin: 0;
  background: var(--te-paper);
  color: var(--te-text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Sin el reset de Hello: los títulos no traen márgenes del navegador */
:where(.te-landing) :is(h1, h2, h3, h4, h5, h6) { margin-block: 0; }
.te-landing .elementor-icon-box-title { margin-block-start: 0; }

.te-landing .elementor-heading-title {
  font-variation-settings: "opsz" 36;
  text-wrap: balance;
}
.te-landing .te-hero-title .elementor-heading-title { text-wrap: pretty; }
.te-landing .te-speaker-talk .elementor-heading-title { font-variation-settings: "opsz" 24; text-wrap: pretty; }

.te-landing .elementor-widget-text-editor p { margin: 0; }
.te-landing .elementor-widget-text-editor p + p { margin-top: 1em; }
.te-landing p,
.te-landing li,
.te-landing .elementor-icon-box-wrapper { text-wrap: pretty; }

.te-text-primary { color: var(--te-primary); }
.te-text-sky { color: var(--te-sky); }
.te-nowrap { white-space: nowrap; }

.te-br-md,
.te-br-lg { display: none; }
@media (min-width: 768px) { .te-br-md { display: inline; } }
@media (min-width: 1280px) { .te-br-lg { display: inline; } }

.te-landing :focus-visible {
  outline: 3px solid var(--te-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.te-hero :focus-visible,
.te-steps :focus-visible,
.te-cta :focus-visible,
.te-footer :focus-visible { outline-color: var(--te-sky); }

/* Iconos SVG de trazo: heredan el color del icono */
.te-hero-meta .elementor-icon-list-icon svg,
.te-hero-note .elementor-icon-list-icon svg { color: var(--te-sky); }
/* Separación icono-texto: solo la sangría del widget (sin márgenes extra de Elementor) */
.te-landing .elementor-widget-icon-list { --e-icon-list-icon-margin: 0; }
.te-landing .elementor-widget-icon-list .elementor-icon-list-text { padding-inline-start: 0; }
/* Datos del hero en línea: hueco con gap (Elementor descuadra el primer elemento con márgenes negativos) */
.te-hero-meta .elementor-icon-list-items.elementor-inline-items {
  margin-inline: 0 !important;
  gap: 16px clamp(24px, 3.5vw, 50px);
}
.te-hero-meta .elementor-icon-list-item.elementor-inline-item { margin-inline: 0 !important; }
.te-landing .elementor-button-icon svg { width: 1em; height: 1em; }

/* ---------- Botones ---------- */
.te-landing .elementor-button {
  transition: background-color .2s var(--te-ease), color .2s var(--te-ease), box-shadow .25s var(--te-ease), translate .25s var(--te-ease);
}
.te-landing .elementor-button:hover { translate: 0 -1px; }
.te-landing .elementor-button .elementor-button-icon { transition: translate .25s var(--te-ease); }
.te-landing .elementor-button:hover .elementor-button-icon { translate: 3px 0; }
.te-landing .te-btn--ghost .elementor-button:hover .elementor-button-icon { translate: 0 2px; }
.te-landing .te-speaker-link .elementor-button:hover .elementor-button-icon { translate: 0 0; }

/* ---------- Cabecera ---------- */
.te-header { transition: box-shadow .3s var(--te-ease); }
.te-header > .e-con-inner { transition: min-height .3s var(--te-ease); }
.te-header.elementor-sticky--effects {
  --min-height: var(--te-header-h-scrolled);
  box-shadow: 0 8px 28px -12px rgba(20, 38, 79, .2);
}
.te-brand-logo img { transition: width .3s var(--te-ease); }
.te-header.elementor-sticky--effects .te-brand-logo img { width: clamp(116px, 10.4vw, 150px); }
.te-header-cta .elementor-button { transition: padding .3s var(--te-ease), background-color .2s var(--te-ease), box-shadow .25s var(--te-ease), translate .25s var(--te-ease); }
.te-header.elementor-sticky--effects .te-header-cta .elementor-button { padding-block: calc((clamp(46px, 3.9vw, 56px) - 1em) / 2); }

.te-brand-tagline p { display: flex; flex-direction: column; }
.te-brand-tagline span:nth-child(2) { padding-left: .5em; }
.te-brand-tagline span:nth-child(3) { padding-left: 1em; }

/* Menú desplegable justo bajo la cabecera (el widget, de 40 px, va centrado en ella) */
.te-nav { --te-dd-top: calc((var(--te-header-h) - 44px) / 2); }
.te-header.elementor-sticky--effects .te-nav { --te-dd-top: calc((var(--te-header-h-scrolled) - 44px) / 2); }

/* Botón "Reserva tu plaza" dentro del menú móvil */
.te-nav .elementor-nav-menu--main .te-menu-cta,
.te-nav .elementor-nav-menu--main .te-menu-contact { display: none; }
.te-nav .elementor-nav-menu--dropdown .te-menu-cta > a {
  justify-content: center;
  margin: 12px var(--te-gutter) 20px;
  min-height: 52px;
  border-radius: 999px;
  background: var(--te-red) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.te-nav .elementor-nav-menu--dropdown .te-menu-cta > a:hover { background: var(--te-red-hover) !important; }
.te-nav .elementor-menu-toggle svg { width: 1em; height: 1em; }
.te-nav .elementor-menu-toggle { width: 44px; height: 44px; padding: 0 !important; justify-content: center; margin-right: -10px; }

/* ---------- Hero ---------- */
.te-hero::before {
  background-color: transparent !important;
  background-image:
    linear-gradient(90deg, rgba(9, 16, 36, .95) 0%, rgba(9, 16, 36, .88) 36%, rgba(9, 16, 36, .64) 58%, rgba(9, 16, 36, .3) 80%, rgba(9, 16, 36, .38) 100%),
    linear-gradient(0deg, rgba(9, 16, 36, .55) 0%, rgba(9, 16, 36, 0) 40%) !important;
  opacity: 1 !important;
}

.te-hero-badge {
  position: absolute !important;
  right: calc(var(--te-side) - clamp(0px, 1.4vw, 20px));
  bottom: clamp(24px, 2.8vw, 40px);
  z-index: 2;
  margin: 0 !important;
  pointer-events: none;
}

/* ---------- Brochazo (widget te-brush) ---------- */
.te-brush {
  --te-brush-rotate: -7deg;
  position: relative;
  container-type: inline-size;
  color: var(--te-brush-ink, #14264f);
  transform: rotate(var(--te-brush-rotate));
}
.te-brush--badge { aspect-ratio: 327 / 243; }
.te-brush--question { aspect-ratio: 340 / 170; }

.te-brush__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.te-brush__shape path { fill: var(--te-brush-paint, #d7171f); }

.te-brush__text { position: absolute; margin: 0; color: inherit; }
.te-brush--badge .te-brush__text {
  inset: 13% 4% auto 8%;
  font-family: "Caveat Brush", "Caveat", cursive;
  font-size: 18.6cqi;
  line-height: .98;
  text-align: center;
}
.te-brush--question .te-brush__text {
  inset: 18% 9% auto 12%;
  font-family: "Caveat", cursive;
  font-size: 11.4cqi;
  font-weight: 600;
  line-height: 1.04;
  transform: rotate(-3deg);
}

.te-brush__underline {
  position: absolute;
  left: 38%;
  top: 80%;
  width: 37%;
  height: auto;
  color: var(--te-brush-underline, #fff);
}

.te-brush__rays {
  position: absolute;
  left: clamp(-46px, -3.1vw, -32px);
  top: 24%;
  width: clamp(24px, 2.5vw, 36px);
  height: auto;
  color: var(--te-brush-rays, #244c9c);
}

/* ---------- El reto ---------- */
.te-challenge-intro {
  position: sticky !important;
  top: calc(var(--te-header-h-scrolled) + 32px);
}
.te-hand { transform-origin: left center !important; }

.te-card {
  transition: translate .35s var(--te-ease), box-shadow .35s var(--te-ease), border-color .35s var(--te-ease);
}
@media (hover: hover) {
  .te-card:hover {
    translate: 0 -3px;
    border-color: transparent !important;
    box-shadow: 0 22px 40px -26px rgba(20, 38, 79, .35);
  }
}

/* ---------- Por qué ---------- */
.te-about-media { min-width: 0; }
.te-about-photo { flex: 1 1 auto; }
.te-about-photo img {
  width: 100%;
  height: 100% !important;
  min-height: clamp(280px, 29.65vw, 427px);
  object-fit: cover;
  object-position: 40% 55%;
}
/* Escritorio: la foto ocupa la altura del texto sin que su tamaño natural la estire */
@media (min-width: 1024px) {
  .te-about-media { flex: 1 1 0% !important; }
  .te-about-photo { position: relative; min-height: clamp(280px, 29.65vw, 427px); }
  .te-about-photo img { position: absolute; inset: 0; min-height: 0; }
}

.te-about-note {
  position: absolute !important;
  left: 0;
  top: 50%;
  z-index: 2;
  width: clamp(190px, 18vw, 260px) !important;
  margin: 0 !important;
  transform: translateY(-40%) rotate(-1.5deg);
}

/* ---------- Nota adhesiva (widget te-note) ---------- */
.te-note {
  position: relative;
  padding: clamp(30px, 2.8vw, 40px) clamp(16px, 1.4vw, 20px) clamp(22px, 2vw, 28px) clamp(18px, 1.6vw, 23px);
  border-radius: 12px;
  background: var(--te-note-bg, #f5e1ae);
  color: var(--te-note-ink, #222);
  box-shadow: 0 18px 34px -16px rgba(70, 50, 15, .35), 0 2px 6px rgba(0, 0, 0, .06);
}
.te-note__text {
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: clamp(22px, 1.94vw, 28px);
  font-weight: 600;
  line-height: 1.06;
}
.te-note__bulb {
  position: absolute;
  left: clamp(22px, 2.2vw, 32px);
  top: clamp(-36px, -2.5vw, -26px);
  width: clamp(40px, 3.6vw, 52px);
  height: clamp(40px, 3.6vw, 52px);
  color: #1f1f1f;
}
.te-note__rays {
  position: absolute;
  left: clamp(-34px, -2.36vw, -22px);
  top: clamp(-92px, -6.4vw, -64px);
  width: clamp(52px, 5vw, 72px);
  height: auto;
  color: var(--te-note-rays, #244c9c);
}

/* ---------- Grano sutil en fondos de color ---------- */
.te-pillars,
.te-steps,
.te-program { isolation: isolate; }
.te-pillars::after,
.te-steps::after,
.te-program::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Separadores entre columnas ---------- */
.te-divided > .elementor-element { position: relative; }
.te-divided > .elementor-element + .elementor-element::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(24px, 2.57vw, 37px);
  bottom: 8px;
  width: 1px;
  background: rgba(60, 45, 30, .12);
}
.te-divided--light > .elementor-element + .elementor-element::before {
  top: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, .16);
}

/* Pilares: círculos con degradado radial suave */
.te-pillar--blue .elementor-icon { background: radial-gradient(circle at 50% 45%, #eaf6fe, var(--te-sky-100) 70%) !important; }
.te-pillar--red .elementor-icon { background: radial-gradient(circle at 50% 45%, #fff4f4, var(--te-red-50) 70%) !important; }

/* Pasos */
.te-step .elementor-icon-box-description { max-width: 22em; margin-inline: auto; }

/* ---------- Ponentes ---------- */
.te-speaker { transition: translate .35s var(--te-ease), box-shadow .35s var(--te-ease); }
@media (hover: hover) {
  .te-speaker:hover {
    translate: 0 -4px;
    box-shadow: 0 22px 40px -24px rgba(20, 38, 79, .35);
  }
}

.te-speaker-photo img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

/* Sin foto: el bloque de iniciales mide lo mismo que las fotos (6:5) y el texto ocupa el resto */
.te-speaker--soon .te-speaker-initials { flex: none !important; aspect-ratio: 6 / 5; --min-height: 0px !important; min-height: 0 !important; }
.te-speaker--soon .te-speaker-body { flex: 1 1 auto !important; }
.te-initials-symbol {
  position: absolute !important;
  right: -8%;
  bottom: -10%;
  width: 62% !important;
  margin: 0 !important;
  opacity: .16;
  pointer-events: none;
}
.te-initials-symbol img { width: 100%; height: auto; }

.te-speaker-links { margin-top: auto !important; }

/* "Leer más" (widget Toggle) */
.te-readmore .elementor-toggle-item { border: 0; }
.te-readmore .elementor-tab-title {
  display: inline-flex !important;
  flex-direction: row-reverse;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 0 !important;
  border: 0 !important;
  cursor: pointer;
}
/* Área táctil de 44 px sin cambiar el diseño */
.te-readmore .elementor-tab-title::after { content: ""; position: absolute; inset: -10px -8px; }
.te-readmore .elementor-toggle-icon {
  float: none !important;
  display: inline-flex !important;
  width: auto !important;
}
.te-readmore .elementor-toggle-icon svg { width: 12px; height: 12px; }
.te-readmore .elementor-toggle-title { color: inherit; text-decoration: none; }
.te-readmore .elementor-tab-content { border: 0 !important; }
.te-readmore .elementor-tab-content p { margin: 0; }
.te-readmore .elementor-tab-content p + p { margin-top: 10px; }

.te-host-cta { margin-left: auto !important; }

/* Ventana de "Leer más" (ponentes) */
html.te-dialog-open { overflow: hidden; }
.te-speaker-dialog {
  width: min(640px, calc(100% - 32px));
  max-width: none;
  max-height: min(86vh, 780px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--te-text);
  box-shadow: 0 40px 80px -30px rgba(9, 16, 36, .55);
  overflow: hidden;
}
.te-speaker-dialog[open] { display: flex; flex-direction: column; }
.te-speaker-dialog::backdrop { background: rgba(9, 16, 36, .62); backdrop-filter: blur(3px); }
.te-speaker-dialog[open] { animation: te-sd-in .32s var(--te-ease); }
@keyframes te-sd-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.te-sd__scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(26px, 3vw, 40px) clamp(26px, 3vw, 40px) 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.te-sd__foot {
  flex: none;
  padding: 14px clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 28px);
  border-top: 1px solid rgba(20, 38, 79, .08);
  background: #fff;
}
.te-sd__close {
  z-index: 2;
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--te-sky-50);
  color: var(--te-navy);
  cursor: pointer;
  transition: background-color .2s var(--te-ease);
}
.te-sd__close:hover { background: var(--te-sky-100); }
.te-sd__close svg { width: 20px; height: 20px; }
.te-sd__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-right: 48px;
}
.te-sd__photo {
  width: clamp(72px, 9vw, 92px);
  height: clamp(72px, 9vw, 92px);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  box-shadow: 0 0 0 4px var(--te-sky-50);
}
.te-sd__photo[hidden] { display: none; }
.te-sd__name {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--te-ink);
}
.te-sd__role {
  margin: 6px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.45;
  color: #6c707a;
}
.te-sd__talk {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(20, 38, 79, .1);
  font-family: "Literata", Georgia, serif;
  font-size: clamp(1.25rem, 1.8vw, 1.4375rem);
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  line-height: 1.25;
  color: var(--te-primary);
  text-wrap: balance;
}
.te-sd__body {
  margin-top: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
.te-sd__body p { margin: 0; }
.te-sd__body p + p { margin-top: 12px; }
.te-sd__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.te-sd__links[hidden] { display: none; }
.te-sd__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--te-sky-50);
  font-family: "Montserrat", sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: var(--te-primary);
  text-decoration: none;
}
.te-sd__links a:hover { background: var(--te-sky-100); }
.te-sd__links svg { width: 16px; height: 16px; fill: currentColor; }
.te-sd__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  background: var(--te-red);
  font-family: "Montserrat", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 12px 26px -14px rgba(215, 23, 31, .7);
  transition: background-color .2s var(--te-ease);
}
.te-sd__cta:hover { background: var(--te-red-hover); }
.te-sd__cta svg { width: 18px; height: 18px; }
@media (max-width: 767.98px) {
  /* Móvil: hoja que sube desde abajo */
  .te-speaker-dialog {
    width: 100%;
    max-height: 88dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }
  .te-speaker-dialog[open] { animation-name: te-sd-up; }
  @keyframes te-sd-up { from { transform: translateY(100%); } to { transform: none; } }
  .te-sd__scroll { padding: 26px 20px 8px; }
  .te-sd__foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .te-speaker-dialog[open] { animation: none; } }

/* ---------- Formato ---------- */
.te-format-content { min-width: 0; }
@media (min-width: 1024px) {
  .te-format-content { flex: 1 1 0% !important; }
}
.te-format-photo img { width: 100%; object-position: 50% 78%; }

.te-steps-list { --te-dot: clamp(28px, 2.15vw, 31px); }
.te-step-row { position: relative; }
.te-step-num {
  display: grid !important;
  place-items: center;
  width: var(--te-dot) !important;
  height: var(--te-dot);
  border-radius: 50%;
  background: var(--te-primary);
}
.te-step-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--te-dot) / 2 - 1px);
  top: calc(50% + var(--te-dot) / 2 + 2px);
  width: 2px;
  height: calc(100% - var(--te-dot) + 2px);
  background: var(--te-sky);
}

/* ---------- Programa (widget te-timeline) ---------- */
.te-timeline {
  --te-tl-accent: #244c9c;
  --te-tl-ring: #c2e6fb;
  --te-tl-surface: #f6f2eb;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.te-timeline::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 52px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--te-tl-accent) 0 8px, transparent 8px 14px);
  opacity: .35;
}
.te-timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.te-timeline__time {
  display: block;
  height: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.125rem, 1.39vw, 1.25rem);
  font-weight: 700;
  line-height: 30px;
  color: var(--te-tl-accent);
}
.te-timeline__dot {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  margin: 12px auto 18px;
  border: 5px solid var(--te-tl-ring);
  border-radius: 50%;
  background: var(--te-tl-accent);
  box-shadow: 0 0 0 5px var(--te-tl-surface);
}
.te-timeline__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.125rem, 1.46vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--te-ink);
}
.te-timeline__text {
  max-width: 19em;
  margin: 8px auto 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1rem, 1.18vw, 1.0625rem);
  line-height: 1.5;
  color: var(--te-text);
}
.te-timeline__text strong { font-weight: 600; color: var(--te-tl-accent); }

/* Programa con horario completo: línea vertical también en escritorio */
@media (min-width: 768px) {
  .te-program-timeline { width: min(100%, 800px) !important; margin-inline: auto !important; }
  .te-program-timeline .te-timeline { grid-template-columns: 1fr; gap: 0; }
  .te-program-timeline .te-timeline::before { display: none; }
  .te-program-timeline .te-timeline__item {
    display: grid;
    grid-template-columns: 150px 20px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
    padding-bottom: clamp(22px, 2vw, 30px);
    text-align: left;
  }
  .te-program-timeline .te-timeline__item:last-child { padding-bottom: 0; }
  .te-program-timeline .te-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(150px + 24px + 9px);
    top: 14px;
    bottom: -14px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--te-tl-accent) 0 8px, transparent 8px 14px);
    opacity: .35;
  }
  .te-program-timeline .te-timeline__time {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: auto;
    font-size: clamp(1rem, 1.18vw, 1.0625rem);
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
  }
  .te-program-timeline .te-timeline__dot { grid-column: 2; grid-row: 1 / span 2; z-index: 1; margin: 4px 0 0; }
  .te-program-timeline .te-timeline__title { grid-column: 3; }
  .te-program-timeline .te-timeline__text { grid-column: 3; max-width: none; margin: 4px 0 0; }
}

/* ---------- Networking ---------- */
.te-cta::before {
  background-color: transparent !important;
  background-image: linear-gradient(90deg, rgba(12, 24, 52, .95) 0%, rgba(12, 24, 52, .86) 50%, rgba(12, 24, 52, .66) 100%) !important;
  opacity: 1 !important;
}
.te-cta-action { position: relative; }
.te-cta-rays {
  position: absolute !important;
  left: calc(100% + clamp(10px, 1.1vw, 16px));
  top: 50%;
  margin: 0 !important;
  transform: translateY(-50%);
}

/* ---------- Rayos (widget te-rays) ---------- */
.te-rays { display: block; height: auto; }

/* ---------- Inscripción (Elementor Forms) ---------- */
.te-fact .elementor-icon { box-shadow: 0 8px 20px -14px rgba(20, 38, 79, .45); }

/* Contacto bajo los datos del evento */
.te-signup-contact-list .elementor-icon-list-items.elementor-inline-items {
  margin-inline: 0 !important;
  gap: 6px 26px;
}
.te-signup-contact-list .elementor-icon-list-item.elementor-inline-item { margin-inline: 0 !important; }
.te-signup-contact-list .elementor-icon-list-icon svg { color: var(--te-primary); }
.te-signup-contact-list a { padding-block: 10px; margin-block: -10px; }
.te-signup-contact-list a:hover .elementor-icon-list-text,
.te-signup-contact-list a:focus-visible .elementor-icon-list-text { text-decoration: underline; text-underline-offset: 3px; }

.te-signup-form .elementor-field-textual {
  height: 56px;
  min-height: 56px;
  padding: 0 18px !important;
  transition: border-color .2s var(--te-ease), box-shadow .2s var(--te-ease);
}
.te-signup-form .elementor-field-textual:hover { border-color: #b9c2d4 !important; }
.te-signup-form .elementor-field-textual:focus {
  outline: none;
  border-color: var(--te-primary) !important;
  box-shadow: 0 0 0 4px rgba(36, 76, 156, .14);
}
.te-signup-form .elementor-error .elementor-field-textual {
  border-color: #d4412a !important;
  box-shadow: 0 0 0 4px rgba(212, 65, 42, .1);
}
.te-signup-form .elementor-message,
.te-signup-form .elementor-form-help-inline {
  margin-top: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #c63a24;
}
.te-signup-form .elementor-message::before { display: none; }

/* Casilla de privacidad (mismo ritmo vertical que el HTML: hueco para el error bajo cada campo) */
.te-signup-form .elementor-field-group.elementor-field-type-acceptance { margin-top: 4px; margin-bottom: 38px !important; }
.te-signup-form .elementor-field-type-acceptance .elementor-field-subgroup { display: block; }
.te-signup-form .elementor-field-type-acceptance .elementor-field-option {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
}
.te-signup-form .elementor-field-type-acceptance input[type="checkbox"] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px !important;
  height: 22px !important;
  min-height: 0 !important;
  margin: 1px 0 0;
  padding: 0 !important;
  border: 1.5px solid #c3cad8 !important;
  border-radius: 6px !important;
  background: #fff;
  cursor: pointer;
  transition: background-color .15s var(--te-ease), border-color .15s var(--te-ease), box-shadow .2s var(--te-ease);
}
/* Marcada: fondo azul y tic blanco como imagen (Elementor fuerza el fondo blanco de los campos) */
.te-signup-form .elementor-field-type-acceptance input[type="checkbox"]:checked {
  border-color: var(--te-primary) !important;
  background: var(--te-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat !important;
}
.te-signup-form .elementor-error input[type="checkbox"] { border-color: #d4412a !important; }
.te-signup-form .elementor-field-option .elementor-message { grid-column: 1 / -1; }
.te-signup-form .elementor-field-type-acceptance input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(36, 76, 156, .2); }
.te-signup-form .elementor-field-type-acceptance label {
  font-family: "Montserrat", sans-serif;
  font-size: .9375rem !important;
  font-weight: 400 !important;
  line-height: 1.45;
  color: var(--te-text) !important;
  cursor: pointer;
}
.te-signup-form .elementor-field-type-acceptance label a { color: var(--te-primary); font-weight: 600; text-underline-offset: 3px; }

.te-signup-form .elementor-button { translate: none; }
.te-signup-form .elementor-button:hover { translate: 0 -1px; }

/* Panel de éxito: se muestra tras enviar el formulario */
.te-signup-card .elementor-message-success { display: none !important; }
.te-signup-success { display: none !important; }
.te-signup-card.is-success .te-signup-success { display: flex !important; }
.te-signup-card.is-success .te-signup-form,
.te-signup-card.is-success .te-signup-note { display: none !important; }
.te-success-text strong { color: var(--te-ink); overflow-wrap: anywhere; }

/* ---------- Preguntas frecuentes ---------- */
.te-faq-list .e-n-accordion-item:first-child { border-top: 1px solid var(--te-line); }
.te-faq-list .e-n-accordion-item-title { cursor: pointer; }
.te-faq-list .e-n-accordion-item-title-icon svg { width: 24px; height: 24px; margin-block: -2px; color: var(--te-primary); }

/* ---------- Organizan y colaboran ---------- */
.te-partners-group + .te-partners-group {
  padding-left: clamp(20px, 2.64vw, 38px) !important;
  border-left: 1px solid rgba(0, 0, 0, .1);
}
.te-partners-group:not(:last-child) { padding-right: clamp(16px, 2vw, 28px) !important; }
.te-partner-main img { width: auto !important; max-width: 100%; }
.te-partners-logos > .elementor-element {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
}
.te-partner-logo img { width: auto !important; max-width: 100%; }

/* ---------- Pie ---------- */
.te-footer-links { margin-left: auto !important; }
.te-footer-links p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  white-space: nowrap;
}
.te-footer-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.te-footer-links a:hover { color: var(--te-sky); }

/* ---------- Botón flotante de inscripción (solo móvil) ---------- */
.te-mobile-bar {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  padding: 0 var(--te-gutter) calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  background: none !important;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform .4s var(--te-ease), visibility 0s linear .4s;
}
.te-mobile-bar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform .4s var(--te-ease);
}
.te-mobile-bar-btn { width: 100%; pointer-events: auto; }
.te-mobile-bar-btn .elementor-button {
  width: 100%;
  min-height: 52px;
  box-shadow: 0 16px 30px -12px rgba(20, 38, 79, .6), 0 4px 12px -4px rgba(20, 38, 79, .3) !important;
}

.te-carousel-dots { display: none; }

/* ==========================================================================
   Responsive (Elementor: tablet ≤ 1023 px, móvil ≤ 767 px)
   ========================================================================== */
@media (max-width: 1279.98px) {
  .te-brand-tagline { display: none !important; }
}

@media (max-width: 1199.98px) {
  .te-partners { --e-con-grid-template-columns: 1fr 1fr; --row-gap: 32px; }
  .te-partners > .e-con-inner { grid-template-columns: 1fr 1fr !important; row-gap: 32px !important; }
  .te-partners-group + .te-partners-group--collab {
    grid-column: 1 / -1;
    padding: 32px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, .1);
  }
}

@media (max-width: 1023.98px) {
  .te-hero-badge {
    top: clamp(28px, 4vw, 40px);
    right: var(--te-gutter);
    bottom: auto;
  }
  .te-hero-badge .te-brush { --te-brush-rotate: -6deg; }

  .te-challenge-intro { position: relative !important; top: auto; }

  /* Menú a pantalla completa: entra desde la derecha bajo la cabecera */
  .te-header { --te-menu-top: var(--te-header-h); }
  .te-header .te-nav { --te-dd-top: 0px; }
  .te-header.elementor-sticky--effects { --te-menu-top: var(--te-header-h-scrolled); }
  .te-nav nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed !important;
    top: var(--te-menu-top) !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - var(--te-menu-top));
    height: calc(100dvh - var(--te-menu-top));
    max-height: none !important;
    margin: 0 !important;
    padding: 8px 0 calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: var(--te-paper) !important;
    border-top: 1px solid rgba(20, 38, 79, .08);
    transform: translateX(100%) !important;
    visibility: hidden;
    animation: none !important;
    transition: transform .42s var(--te-ease), visibility 0s linear .42s !important;
  }
  .te-nav .elementor-menu-toggle.elementor-active + nav.elementor-nav-menu__container {
    transform: none !important;
    visibility: visible;
    transition: transform .42s var(--te-ease) !important;
  }
  html.te-menu-open { overflow: hidden; }

  /* Opciones grandes, fáciles de tocar */
  .te-nav .elementor-nav-menu--dropdown .elementor-nav-menu > li {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity .3s ease, transform .45s var(--te-ease);
  }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li { opacity: 1; transform: none; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(1) { transition-delay: .08s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(2) { transition-delay: .12s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(3) { transition-delay: .16s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(4) { transition-delay: .2s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(5) { transition-delay: .24s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(6) { transition-delay: .28s; }
  .te-nav .elementor-menu-toggle.elementor-active + nav .elementor-nav-menu > li:nth-child(n+7) { transition-delay: .32s; }

  .te-nav .elementor-nav-menu--dropdown .elementor-nav-menu > li:not(.te-menu-cta):not(.te-menu-contact) > a.elementor-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px var(--te-gutter) !important;
    font-family: "Literata", Georgia, serif !important;
    font-size: 1.625rem !important;
    font-weight: 700 !important;
    font-variation-settings: "opsz" 36;
    line-height: 1.2 !important;
    color: var(--te-ink) !important;
    background: transparent !important;
  }
  .te-nav .elementor-nav-menu--dropdown .elementor-nav-menu > li:not(.te-menu-cta):not(.te-menu-contact) > a.elementor-item::after {
    content: "";
    width: 22px;
    height: 22px;
    position: static !important;
    flex: none;
    background: var(--te-primary);
    opacity: .5 !important;
    transform: none !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .te-nav .elementor-nav-menu--dropdown .elementor-nav-menu > li:not(.te-menu-cta):not(.te-menu-contact) > a.elementor-item:is(:hover, :focus-visible, .elementor-item-active) { color: var(--te-primary) !important; }
  .te-nav .elementor-nav-menu--dropdown .te-menu-cta,
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact { border: 0 !important; }
  .te-nav .elementor-nav-menu--dropdown .te-menu-cta > a {
    min-height: 52px;
    margin: 22px var(--te-gutter) 6px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
  }

  /* Datos de contacto */
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact--mail {
    margin: 26px var(--te-gutter) 0;
    padding-top: 22px;
    border-top: 1px solid rgba(20, 38, 79, .1) !important;
  }
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact--mail::before {
    content: "Contacto";
    display: block;
    margin-bottom: 4px;
    font-family: "Montserrat", sans-serif;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--te-primary);
  }
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact > a.elementor-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 8px var(--te-gutter) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: var(--te-text) !important;
    background: transparent !important;
  }
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact > a.elementor-item:is(:hover, :focus-visible) { color: var(--te-primary) !important; }
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact.te-menu-contact--mail > a.elementor-item { padding-inline: 0 !important; }
  .te-nav .elementor-nav-menu--dropdown .te-menu-contact > a::before {
    content: "";
    position: static !important;
    width: 20px;
    height: 20px;
    flex: none;
    background: var(--te-primary);
    opacity: 1 !important;
    transform: none !important;
    -webkit-mask: var(--te-ico) center / contain no-repeat;
    mask: var(--te-ico) center / contain no-repeat;
  }
  .te-menu-contact--mail { --te-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E"); }
  .te-menu-contact--tel { --te-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.5 4-2 1.5a11 11 0 0 0 6.5 6.5l1.5-2 4 1.5V19a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
  .te-menu-contact--ig { --te-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.6'/%3E%3C/svg%3E"); }
  .te-menu-contact--li { --te-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4.2'/%3E%3Cpath d='M8 10.5V16M8 7.6v.01M11.5 16v-5.5M11.5 13.2c0-1.6 1-2.7 2.4-2.7s2.1 1 2.1 2.6V16'/%3E%3C/svg%3E"); }
  .te-menu-contact--place { --te-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0C18.5 15.4 12 21 12 21z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E"); }

  .te-pillars-grid > .elementor-element:nth-child(odd)::before { display: none; }
  .te-pillar .elementor-icon-box-description { max-width: 24em; margin-inline: auto; }

  .te-about-photo img {
    height: clamp(260px, 50vw, 420px) !important;
    min-height: 0;
    border-radius: 14px;
  }
  .te-about-note {
    left: auto;
    right: calc(var(--te-gutter) + 16px);
    top: auto;
    bottom: -48px;
    transform: rotate(-3deg);
  }
}

@media (max-width: 767.98px) {
  .te-hero-badge {
    position: relative !important;
    top: auto;
    right: auto;
    align-self: flex-end;
    margin: 18px 4px 0 auto !important;
  }
  .te-hero-meta .elementor-icon-list-items.elementor-inline-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0 !important;
  }
  .te-hero-meta .elementor-icon-list-item.elementor-inline-item { margin: 0 !important; }
  .te-hero-actions .elementor-widget-button { width: 100%; }

  .te-steps-grid > .elementor-element + .elementor-element { border-top: 1px solid rgba(255, 255, 255, .16); }
  .te-steps-grid > .elementor-element + .elementor-element::before { display: none; }
  .te-steps-grid > .elementor-element:first-child { padding-top: 0 !important; }
  .te-step .elementor-icon-box-description { margin-inline: 0; }

  .te-host-cta { width: 100%; margin-left: 0 !important; }

  /* El reto: tarjetas compactas, icono junto al título */
  .te-card .elementor-icon-box-wrapper {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px !important;
    row-gap: 10px !important;
    align-items: center;
    text-align: left;
  }
  .te-card .elementor-icon-box-icon { margin: 0 !important; }
  .te-card .elementor-icon-box-content { display: contents; }
  .te-card .elementor-icon-box-title { grid-column: 2; margin: 0 !important; }
  .te-card .elementor-icon-box-description { grid-column: 1 / -1; margin: 0 !important; }

  /* Ponentes: carrusel deslizable con la siguiente tarjeta asomando */
  .te-speakers-grid {
    display: flex !important;
    gap: 14px !important;
    width: calc(100% + 2 * var(--te-gutter)) !important;
    max-width: none !important;
    margin-inline: calc(-1 * var(--te-gutter)) !important;
    padding: 4px var(--te-gutter) 6px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--te-gutter);
    scrollbar-width: none;
  }
  .te-speakers-grid::-webkit-scrollbar { display: none; }
  .te-speakers-grid > .te-speaker {
    flex: 0 0 min(84%, 340px) !important;
    width: auto !important;
    scroll-snap-align: start;
  }
  .te-speakers-grid .elementor-invisible { visibility: visible !important; }
  .te-speakers-grid .animated { animation: none !important; }
  .te-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 14px;
  }
  .te-carousel-dots button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .te-carousel-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(36, 76, 156, .25);
    transition: width .25s var(--te-ease), background-color .25s var(--te-ease);
  }
  .te-carousel-dots button[aria-current="true"]::before { width: 22px; background: var(--te-primary); }
  .te-speaker-link .elementor-button { min-height: 44px; }

  /* Inscripción: el formulario justo después del título */
  .te-signup,
  .te-signup > .e-con-inner { row-gap: 0 !important; }
  .te-signup-info { display: contents !important; }
  .te-signup-info.elementor-invisible { visibility: visible !important; }
  .te-signup-card { order: 1; margin-top: 24px !important; }
  .te-facts { order: 2; margin-top: 32px !important; }
  .te-signup-contact { order: 3; }

  .te-timeline { grid-template-columns: 1fr; gap: 0; }
  /* La línea va de punto a punto y termina en el último */
  .te-timeline::before { display: none; }
  .te-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 16px;
    bottom: -16px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--te-tl-accent) 0 8px, transparent 8px 14px);
    opacity: .35;
  }
  .te-timeline__item:last-child { padding-bottom: 0; }
  .te-timeline__dot { z-index: 1; }
  .te-timeline__item {
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 20px;
    align-items: start;
    padding-bottom: 26px;
    text-align: left;
  }
  .te-timeline__dot { grid-column: 1; grid-row: 1 / span 3; margin: 6px 0 0; }
  .te-timeline__time { grid-column: 2; grid-row: 1; height: auto; line-height: 1.4; }
  .te-timeline__time:empty { display: none; }
  .te-timeline__title { grid-column: 2; margin-top: 2px; }
  .te-timeline__text { grid-column: 2; margin: 6px 0 0; }
  .te-center-m-left,
  .te-center-m-left .elementor-heading-title { text-align: left !important; }

  .te-cta-action,
  .te-cta-action .elementor-widget-button { width: 100%; }

  .te-footer-links { margin-left: 0 !important; }
  .te-footer-links a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  /* Hueco para la barra fija de inscripción */
  .te-footer { padding-bottom: calc(28px + 76px + env(safe-area-inset-bottom, 0px)) !important; }
}

@media (max-width: 599.98px) {
  .te-step-row { --min-height: 40px !important; }
  /* Pilares en lista con icono a la izquierda */
  .te-pillars-grid { --e-con-grid-template-columns: 1fr; grid-template-columns: 1fr !important; row-gap: 0 !important; }
  .te-pillars-title .elementor-heading-title { text-align: left !important; }
  .te-pillar { padding: 20px 0 !important; }
  .te-pillar + .te-pillar { border-top: 1px solid rgba(60, 45, 30, .12); }
  .te-pillars-grid > .elementor-element::before { display: none !important; }
  .te-pillar:first-child { padding-top: 0 !important; }
  .te-pillar:last-child { padding-bottom: 0 !important; }
  .te-pillar .elementor-icon-box-wrapper {
    display: grid !important;
    grid-template-columns: 60px 1fr;
    column-gap: 18px !important;
    text-align: left !important;
  }
  .te-pillar .elementor-icon-box-icon { margin: 0 !important; }
  .te-pillar .elementor-icon { padding: 18px !important; }
  .te-pillar .elementor-icon svg { width: 24px !important; height: 24px !important; }
  .te-pillar .elementor-icon-box-description { max-width: none; margin: 0; }

  .te-partners { --e-con-grid-template-columns: 1fr; }
  .te-partners > .e-con-inner { grid-template-columns: 1fr !important; }
  .te-partners-group + .te-partners-group:not(.te-partners-group--collab) {
    padding: 28px 0 0 !important;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
  }
  .te-partners-logos { --e-con-grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 419.98px) {
  .te-about-note { width: 186px !important; right: calc(var(--te-gutter) + 10px); }
}
