/* =========================================================================
   SENSEI · Landing
   Base: Bootstrap 4.6.0 (misma versión que Moodle 4.1) + estilos propios.
   Diseño de referencia: Figma "Landing SENSEI" (frame 1728px).
   ========================================================================= */

:root {
  --sx-yellow: #F0AD00;
  --sx-red: #ED1B25;
  --sx-blue: #004782;
  --sx-blue-2: #235282;
  --sx-white: #FFFFFF;
  --sx-line: rgba(240, 173, 0, 0.7);   /* líneas zona blanca */
  --sx-line-y: #EE8300;                /* líneas zona amarilla (color-burn) */
  --sx-pad: 20px;                      /* margen lateral del contenido */
  --sx-font-title: "Cinzel", Georgia, serif;
  --sx-font-text: "Open Sans", Arial, sans-serif;
  --sx-font-alt: "Ubuntu", Arial, sans-serif;
}

@media (min-width: 992px)  { :root { --sx-pad: 5%; } }
@media (min-width: 1200px) { :root { --sx-pad: 11.111%; } } /* 192 / 1728 */
/* Por encima del frame de Figma: contenido fijo de 1344px centrado.
   El % se resuelve contra el ancho de la sección, igual que en los adornos
   (líneas, círculos, flechas de Objetivos), así todo comparte referencia. */
@media (min-width: 1728px) { :root { --sx-pad: calc((100% - 1344px) / 2); } }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sx-font-text);
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue);
  background: var(--sx-white);
  overflow-x: hidden;
}

a { color: inherit; }
a:hover { color: inherit; }

/* Ocupa todo el ancho de la sección: el centrado lo hace --sx-pad. */
.sx-container {
  position: relative;
  width: 100%;
  padding-left: var(--sx-pad);
  padding-right: var(--sx-pad);
}

/* --------------------------------------------------------------------- */
/* Tipografía                                                            */
/* --------------------------------------------------------------------- */

.sx-eyebrow {
  font-family: var(--sx-font-title);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--sx-red);
  margin: 0 0 30px;
}

.sx-h2 {
  font-family: var(--sx-font-title);
  font-weight: 400;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  color: var(--sx-blue);
  margin: 0;
}
.sx-h2 strong { font-weight: 700; }
.sx-h2--alt { color: var(--sx-blue-2); }

@media (min-width: 1200px) {
  .sx-h2 { font-size: 32px; line-height: 40px; }
}

.sx-text {
  font-family: var(--sx-font-text);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue);
}
.sx-text p { margin: 0 0 24px; }
.sx-text p:last-child { margin-bottom: 0; }

.sx-text-sm {
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}
.sx-text-sm p { margin: 0 0 20px; }

/* --------------------------------------------------------------------- */
/* Botones flecha (círculo rojo)                                         */
/* --------------------------------------------------------------------- */

.sx-arrow {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  vertical-align: middle;
  transition: transform .2s ease, opacity .2s ease;
}
/* Dos imágenes de 40×40 a píxel entero (sin centrado fraccional):
   arrow_on  = círculo relleno + flecha blanca (activo)
   arrow_off = contorno + flecha roja (deshabilitado) */
.sx-arrow img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sx-arrow:focus { outline: none; }
.sx-arrow:focus-visible { outline: 2px solid var(--sx-blue); outline-offset: 2px; border-radius: 50%; }

.sx-arrow .sx-arrow__off { opacity: 0; }
.sx-arrow[disabled] { cursor: default; }
.sx-arrow[disabled] .sx-arrow__off { opacity: 1; }
.sx-arrow[disabled] .sx-arrow__on { opacity: 0; }

/* Orientación: la imagen apunta a la izquierda; se gira solo la imagen
   (tiene margen interior, así que el giro no recorta el círculo). */
.sx-arrow--next img { transform: rotate(180deg); }
.sx-arrow--diag img { transform: rotate(225deg); }
.sx-arrow--diag { transition: transform .2s ease; }
a:hover .sx-arrow--diag,
.sx-arrow--diag:hover { transform: scale(1.08); }

.sx-arrows { display: flex; gap: 4px; }

/* --------------------------------------------------------------------- */
/* HERO                                                                  */
/* --------------------------------------------------------------------- */

.sx-hero {
  position: relative;
  overflow: hidden;
  background: var(--sx-yellow);
}

/* Bambú: imagen vertical rotada 90º, color-burn al 60%.
   El contenedor ocupa siempre toda la altura del hero; la imagen girada
   se dimensiona con unidades de contenedor (ancho ↔ alto) y hace "cover". */
.sx-hero__bamboo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  container-type: size;
  mix-blend-mode: color-burn;
  pointer-events: none;
}
.sx-hero__bamboo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100cqh;                 /* tras girar 90º, su ancho cubre la altura */
  height: 100cqw;                /* y su alto cubre el ancho */
  max-width: none;
  object-fit: cover;
  opacity: .6;
  transform: translate(-50%, -50%) rotate(90deg);
}
@media (min-width: 1200px) {
  /* Encaje de Figma: x=-99, 1418.67 × 798, y=2. La imagen lleva dibujadas
     las líneas y círculos del fondo, así que se fija a su tamaño de diseño
     (no se reescala con la altura del hero) y se ancla al contenido
     (--sx-pad = 192px a 1728px → left -99px). */
  .sx-hero__bamboo {
    top: 2px; bottom: auto; right: auto;
    left: calc(var(--sx-pad) - 291px);
    width: 1418.67px; height: 798px;
  }
}

.sx-hero__rect {
  display: none;
  position: absolute;
  top: 305px;
  left: calc(50% - 3px);
  width: 19.907%;                /* 344 / 1728 */
  height: 464px;
  background: var(--sx-yellow);
}
.sx-hero__line {
  display: none;
  position: absolute;
  top: 305px;
  left: calc(75% + 19px);
  right: 0;
  height: 0;
  border-top: .5px solid #E2A9A9;
  mix-blend-mode: color-burn;
}
@media (min-width: 1200px) {
  .sx-hero__rect, .sx-hero__line { display: block; }
  /* Mismas coordenadas que el bambú (a 1728px: rect x=861, línea x=1315) */
  .sx-hero__rect { left: calc(var(--sx-pad) + 669px); width: 344px; }
  .sx-hero__line { left: calc(var(--sx-pad) + 1123px); }
}

.sx-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  padding-bottom: 56px;
}
@media (min-width: 1200px) {
  /* Altura fija de diseño (800px); el contenido (claim + botón Inscripción) cabe dentro */
  .sx-hero__inner { padding-top: 68px; padding-bottom: 40px; min-height: 800px; }
}

.sx-label-small {
  font-family: var(--sx-font-title);
  font-size: 12px;
  line-height: 16px;
  color: var(--sx-red);
  margin: 0 0 10px;
}

/* Logos patrocinadores (Daiichi-Sankyo | AstraZeneca) */
.sx-sponsors {
  position: relative;
  width: 367.53px;
  height: 43.52px;
  flex: 0 0 auto;
}
.sx-sponsors > * { position: absolute; display: block; max-width: none; }
.sx-sponsors img { display: block; max-width: none; }
.sx-sp-ds   { left: 0;       top: 13.92px; }
.sx-sp-ds img { width: 175.8px; height: 29.6px; }
.sx-sp-sep  { left: 194.8px; top: 13.92px; }
.sx-sp-az   { left: 213.2px; top: 0; }
.sx-sp-az img { width: 154.331px; height: 36.7275px; }

/* Logos enlazados */
.sx-sp-ds, .sx-sp-az, .sx-seom__link, .sx-clover, .sx-footer__uah a { transition: opacity .2s ease; }
.sx-sp-ds:hover, .sx-sp-az:hover, .sx-seom__link:hover, .sx-clover:hover, .sx-footer__uah a:hover { opacity: .8; }
.sx-sp-ds:focus-visible, .sx-sp-az:focus-visible, .sx-seom__link:focus-visible, .sx-clover:focus-visible, .sx-footer__uah a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 400px) {
  .sx-sponsors { transform: scale(.82); transform-origin: left top; margin-bottom: -8px; }
}

/* Login */
.sx-login {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px 35px;
  margin-top: 28px;
}
.sx-login__field {
  width: 100%;
  font-family: var(--sx-font-text);
  font-size: 12px;
  line-height: 16px;
  color: var(--sx-white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sx-white);
  border-radius: 0;
  padding: 0 0 7px;
  outline: none;
  padding: .4rem;
}
.sx-login__field::placeholder { color: var(--sx-white); opacity: 1; }
.sx-login__field:focus { border-bottom-color: var(--sx-blue); }
.sx-login__item { width: 100%; }
.sx-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  font-family: var(--sx-font-text);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: var(--sx-white);
  background: var(--sx-red);
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  transition: background-color .2s ease;
}
.sx-btn-red:hover, .sx-btn-red:focus { background: var(--sx-blue); color: var(--sx-white); text-decoration: none; }

@media (min-width: 768px) {
  .sx-login { flex-wrap: nowrap; }
  .sx-login__item { width: 190px; }
}
@media (min-width: 1200px) {
  .sx-login { margin-top: 17.76px; padding-top: 0; }
  .sx-hero__inner > header { gap: 32px; }
  /* La alerta de error del login flota bajo el formulario sin alargar el hero */
  .sx-hero__inner > header > div:last-child { position: relative; }
  .sx-hero__inner .sx-login-alert { position: absolute; z-index: 3; top: 100%; right: 0; width: 420px; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .sx-login { gap: 20px 24px; }
  .sx-login__item { width: 140px; }
}

.sx-login-alert {
  position: relative;
  max-width: 420px;
  margin: 16px 0 0 auto;
  padding: 16px 40px 18px 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--sx-white);
  background: var(--sx-blue);
}
.sx-login-alert a { color: var(--sx-white); font-weight: 700; }
.sx-login-alert__close {
  position: absolute;
  top: 4px;
  right: 10px;
  font-size: 28px;
  line-height: 28px;
  background: none;
  border: 0;
  color: var(--sx-white);
  cursor: pointer;
}

/* Logo SENSEI (527 × 405.33) */
.sx-logo {
  position: relative;
  width: 100%;
  max-width: 527px;
  aspect-ratio: 527 / 405.33;
  margin: 40px auto 0;
  container-type: inline-size;
}
.sx-logo > * { position: absolute; display: block; max-width: none; }
.sx-logo__circle  { left: 24.613%; top: 27.975%; width: 53.162%; height: 70.234%; }
.sx-logo__letters { left: 0;       top: 44.140%; width: 100%;    height: 44.812%; }
.sx-logo__figure  { left: 23.307%; top: 84.517%; width: 55.788%; height: 15.483%; }
.sx-logo__kanji {
  left: 47.446%;
  top: 0;
  margin: 0;
  font-family: "Noto Sans JP", "Inter", sans-serif;
  font-weight: 400;
  font-size: 7.5cqw;             /* 39.52 / 527 */
  line-height: 1.2;
  color: var(--sx-blue);
}
.sx-logo__kanji span { display: block; }

@media (min-width: 1200px) {
  .sx-logo { margin: 60.5px 0 0 -13px; }
}

/* Claim */
.sx-claim { margin-top: 40px; }
.sx-claim .sx-h2 { margin-bottom: 30px; }
.sx-claim__text {
  font-family: var(--sx-font-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue);
}
.sx-claim__text p { margin: 0 0 24px; }
.sx-claim__text ul { margin: 0; padding-left: 24px; }

@media (min-width: 992px) {
  .sx-hero__cols { display: flex; align-items: flex-start; }
  .sx-hero__logo-col { flex: 0 0 39.2%; max-width: 527px; }
  .sx-hero__claim-col { flex: 0 0 39.36%; margin-left: auto; }
  .sx-claim { margin-top: 176px; }
}

/* --------------------------------------------------------------------- */
/* MENÚ                                                                  */
/* --------------------------------------------------------------------- */

.sx-menu {
  position: sticky;
  top: -49px;
  z-index: 100;
  padding-top: 40px;
}
.sx-menu__box {
  position: relative;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--sx-red);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.sx-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  font-family: var(--sx-font-title);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--sx-red);
  background: none;
  border: 0;
}
.sx-menu__toggle-bars,
.sx-menu__toggle-bars::before,
.sx-menu__toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sx-red);
  transition: transform .2s ease;
}
.sx-menu__toggle-bars { position: relative; }
.sx-menu__toggle-bars::before,
.sx-menu__toggle-bars::after { content: ""; position: absolute; left: 0; }
.sx-menu__toggle-bars::before { top: -6px; }
.sx-menu__toggle-bars::after { top: 6px; }
.sx-menu.is-open .sx-menu__toggle-bars { background: transparent; }
.sx-menu.is-open .sx-menu__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.sx-menu.is-open .sx-menu__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.sx-menu__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 20px 16px;
}
.sx-menu.is-open .sx-menu__list { display: block; }
.sx-menu__list a {
  display: block;
  padding: 10px 0;
  font-family: var(--sx-font-title);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--sx-red);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.sx-menu__list a:hover,
.sx-menu__list a.active { color: var(--sx-blue); }

@media (min-width: 992px) {
  .sx-menu { padding-top: 65px; }
}

/* Menú horizontal desde 1200px; por debajo, desplegable.
   Nunca desborda: hueco mínimo + wrap centrado como último recurso. */
@media (min-width: 1200px) {
  .sx-menu__toggle { display: none; }
  .sx-menu__list,
  .sx-menu.is-open .sx-menu__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    min-height: 54px;
    padding: 8px 16px;
  }
  .sx-menu__list a { padding: 0; font-size: 10.5px; letter-spacing: .2px; }
  .sx-menu__list a.active { border-bottom-color: var(--sx-blue); }
}
@media (min-width: 1400px) {
  .sx-menu__list,
  .sx-menu.is-open .sx-menu__list {
    justify-content: space-between;
    gap: 6px 12px;
    padding: 8px 26px;                /* 218 - 192 en Figma */
  }
  .sx-menu__list a { font-size: 12px; letter-spacing: .5px; }
}

/* --------------------------------------------------------------------- */
/* BLOQUE BLANCO (Presentación · Objetivos · Metodología)                */
/* --------------------------------------------------------------------- */

.sx-light { position: relative; margin-top: 40px; }

.sx-row { position: relative; padding: 48px 0; }
.sx-row + .sx-row { border-top: 1px solid var(--sx-line); }

section[id] { scroll-margin-top: 110px; }

.sx-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 602px;
}
.sx-photo img { position: absolute; max-width: none; object-fit: cover; }
.sx-photo--01 { aspect-ratio: 602 / 405; }
.sx-photo--01 img { width: 127.575%; height: 108.148%; left: -12.957%; top: -3.704%; }
.sx-photo--02 { aspect-ratio: 602 / 299; }
.sx-photo--02 img { width: 137.542%; height: 100.669%; left: -30.233%; top: -.334%; }

.sx-col-l, .sx-col-r { position: relative; }
.sx-col-r { margin-top: 32px; }

@media (min-width: 992px) {
  .sx-cols { display: flex; align-items: flex-start; }
  .sx-col-l { flex: 0 0 47.917%; max-width: 47.917%; padding-right: 41px; } /* 644/1344 */
  .sx-col-r { flex: 1 1 auto; min-width: 0; margin-top: 0; padding-left: 36px; }
}

/* Slider de texto (Presentación) */
.sx-text-slider { margin-top: 15px; }
.sx-text-slider .splide__slide { width: 85vw; max-width: 515px; padding-right: 8px; }
.sx-text-slider .splide__slide--b { max-width: 447px; }
.sx-pres__arrows { margin-top: 30px; }

@media (min-width: 992px) {
  .sx-text-slider .splide__slide { width: 515px; }
  .sx-text-slider .splide__slide--b { width: 447px; }
}

/* Tarjetas Objetivos */
.sx-obj-cards { margin-top: 32px; }
.sx-obj-card {
  position: relative;
  width: 280px;
  height: 267px;
  padding: 29px 30px 0 36px;
  background: rgba(216, 216, 127, .1);
  border: 1px solid var(--sx-yellow);
}
.splide__slide:nth-child(even) .sx-obj-card { background: rgba(216, 216, 127, .2); }
.sx-obj-card p {
  margin: 0;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue);
}
.sx-obj-card img { position: absolute; left: 28px; top: 195.14px; }
@media (min-width: 576px) { .sx-obj-card { width: 318px; } }

.sx-obj__arrows { margin-top: 24px; }

/* Metodología */
.sx-meto .sx-h2 { margin-bottom: 40px; }
.sx-meto__cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 4px;
  font-family: var(--sx-font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-red);
  text-decoration: none;
}
.sx-meto__cta:hover { color: var(--sx-red); text-decoration: none; }

/* Decoración (líneas y círculos) solo en escritorio ancho */
.sx-deco { display: none; }

@media (min-width: 1200px) {
  .sx-deco { display: block; position: absolute; pointer-events: none; }
  .sx-line-h { height: 0; border-top: 1px solid var(--sx-line); }
  .sx-line-v { width: 0; border-left: 1px solid var(--sx-line); }
  .sx-circle { border: 1px solid var(--sx-line); border-radius: 50%; }

  .sx-light { margin-top: 80px; border-top: 0; }
  /* línea superior: desde la vertical izquierda hasta el borde */
  .sx-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(var(--sx-pad) - 41px);
    right: 0;
    border-top: 1px solid var(--sx-line);
  }
  /* vertical izquierda (x=151) y vertical central (x=836) */
  .sx-light__v1 { top: 0; bottom: 0; left: calc(var(--sx-pad) - 41px); }
  .sx-light__v2 { top: 0; bottom: 0; left: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .47917); }

  .sx-row { padding: 0; }

  /* Presentación: 1001 → 1480 */
  .sx-pres { padding: 37px 0 29px; min-height: 479px; }
  .sx-pres .sx-col-r { padding-top: 2px; }
  .sx-pres__deco { left: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .47917); bottom: 0; width: 252px; height: 96px; }
  .sx-pres__deco .sx-line-h { position: absolute; left: 0; top: 0; width: 252px; }
  .sx-pres__deco .sx-line-v { position: absolute; top: 0; bottom: 0; }
  .sx-pres__deco .sx-circle { position: absolute; left: 156px; top: 0; width: 96px; height: 96px; }

  /* Objetivos: 1480 → 1968 */
  .sx-obj { padding: 67px 0 91px; min-height: 488px; }
  .sx-obj .sx-col-r { padding-top: 63px; padding-left: 22px; }
  .sx-obj__deco-h1 { top: 240px; left: 0; width: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .47917); }
  .sx-obj__deco-circle { top: 240px; left: calc(var(--sx-pad) - 41px); width: 161px; height: 161px; }
  .sx-obj__deco-h2 { top: 401px; left: 0; width: calc(var(--sx-pad) - 41px + 161px); }
  .sx-obj__deco-v { top: 240px; bottom: 0; left: calc(var(--sx-pad) - 41px + 161px); }
  .sx-obj__arrows-wrap { position: static; }
  .sx-obj__arrows {
    position: absolute;
    z-index: 2;
    margin: 0;
    top: 298px;                              /* 1778 - 1480 */
    left: calc(var(--sx-pad) - 3px);         /* x=189 */
  }
  .sx-obj .sx-h2 { max-width: 646px; }

  /* Metodología: 1968 → 2530 */
  .sx-meto { padding: 26px 0 149px; min-height: 562px; }
  .sx-meto .sx-col-r { padding-top: 13px; }
  .sx-meto .sx-h2 { margin-bottom: 77px; max-width: 693px; }
  .sx-meto__text { max-width: 664px; }
  .sx-meto__deco-h { top: 352px; left: 0; width: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .47917); }
}

/* --------------------------------------------------------------------- */
/* BLOQUE AMARILLO (Estructura · Comité)                                 */
/* --------------------------------------------------------------------- */

.sx-yellow {
  position: relative;
  background: var(--sx-yellow);
  overflow: hidden;
}
.sx-yrow { position: relative; padding: 48px 0; }
.sx-yrow + .sx-yrow { border-top: 1px solid var(--sx-line-y); }

.sx-yellow .sx-h2 { color: var(--sx-blue-2); }

.sx-estr__lead {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue);
  margin: 0 0 36px;
  max-width: 708px;
}
/* Rejilla de 2 columnas flexibles (máx. 313 + 8 + 315 de Figma) */
.sx-chips {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 11px 8px;
  max-width: 636px;
}
@media (min-width: 576px) {
  .sx-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sx-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 12px;
  text-align: center;
  font-family: var(--sx-font-alt);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: var(--sx-white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--sx-white);
}

/* Sesiones */
.sx-sessions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}
@media (min-width: 576px)  { .sx-sessions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sx-sessions { grid-template-columns: repeat(4, 1fr); } }

.sx-session {
  position: relative;
  min-height: 206px;
  padding: 46px 70px 60px 36px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--sx-white);
}
.sx-session .sx-eyebrow { margin: 0; }
.sx-session h3 {
  margin: 0;
  font-family: var(--sx-font-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue-2);
}
.sx-session .sx-arrow { position: absolute; right: 24px; bottom: 20px; }

/* Comité */
.sx-subtitle {
  margin: 0 0 32px;
  font-family: var(--sx-font-title);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-red);
}
.sx-experts {
  margin: 0 0 35px;
  padding-left: 24px;
  font-size: 16px;
  line-height: 24px;
  color: var(--sx-blue-2);
}
.sx-experts strong { font-weight: 500; }
.sx-experts span { font-weight: 300; }

.sx-rot { color: var(--sx-blue-2); font-weight: 500; }
.sx-rot p { margin: 0 0 24px; }
.sx-rot p:last-child { margin-bottom: 0; }
.sx-rot strong { font-weight: 700; }

.sx-coord__title { margin: 0 0 9px; font-weight: 700; color: var(--sx-blue); }
/* Rejilla de 2 columnas flexibles (máx. 293 + 19 + 293 de Figma) */
.sx-coord {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 19px;
  max-width: 605px;
}
@media (min-width: 576px) {
  .sx-coord { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sx-coord__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 197px;
  padding: 21px clamp(16px, 1.6vw, 28px) 27px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid var(--sx-white);
  color: var(--sx-blue);
}
.sx-coord__card:nth-child(2) { background: rgba(255, 255, 255, .25); }
.sx-coord__card p { margin: 0; }
.sx-coord__card .name { font-weight: 700; }
.sx-comite__right { margin-top: 40px; }

@media (min-width: 992px) {
  .sx-estr__cols, .sx-comite__cols { display: flex; align-items: flex-start; }
  .sx-estr__left { flex: 0 0 47.917%; max-width: 47.917%; padding-right: 41px; }
  .sx-estr__right { flex: 1 1 auto; padding-left: 36px; padding-top: 49px; }
  .sx-comite__left { flex: 0 0 49.107%; max-width: 660px; }      /* 660/1344 */
  .sx-comite__right { flex: 0 0 45.015%; margin-left: auto; margin-top: -5px; } /* 605/1344 */
}

@media (min-width: 1200px) {
  .sx-yline-h { height: 0; border-top: 1px solid var(--sx-line-y); mix-blend-mode: color-burn; }
  .sx-yline-v { width: 0; border-left: 1px solid var(--sx-line-y); mix-blend-mode: color-burn; }
  .sx-ycircle { border: 1px solid var(--sx-line-y); border-radius: 50%; mix-blend-mode: color-burn; }

  .sx-yrow { padding: 0; }
  .sx-yrow + .sx-yrow { border-top: 0; }
  .sx-yrow + .sx-yrow::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    border-top: 1px solid var(--sx-line-y);
    mix-blend-mode: color-burn;
  }

  .sx-estr { padding: 114px 0 41px; }
  .sx-sessions-row { padding: 38px 0; }
  .sx-comite-title { padding: 68px 0 39px; }
  .sx-comite-body { padding: 29px 0 5px; }
  .sx-comite-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(var(--sx-pad) - 41px);
    right: 0;
    border-top: 1px solid var(--sx-line-y);
    mix-blend-mode: color-burn;
  }
  .sx-yellow__tail { height: 82px; }

  /* vertical izquierda: de la línea de sesiones al final del comité */
  .sx-yellow__vleft { position: relative; }
  .sx-yellow__vleft > .sx-deco { top: 0; bottom: 0; left: calc(var(--sx-pad) - 41px); }
  .sx-comite-title .sx-deco { top: 0; bottom: 0; left: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .32887); } /* x=634 */
  .sx-comite-body .sx-ycircle { top: 0; left: calc(var(--sx-pad) - 41px); width: 584px; height: 584px; }
  .sx-yellow__v735 { top: 0; bottom: 0; left: calc(var(--sx-pad) + (100% - 2 * var(--sx-pad)) * .40402); } /* x=735 */
  .sx-comite-body .sx-comite__left { padding-top: 5px; }
}

/* --------------------------------------------------------------------- */
/* FOOTER                                                                */
/* --------------------------------------------------------------------- */

.sx-footer {
  padding: 64px 0 40px;
  color: var(--sx-white);
  background: var(--sx-red);
}
.sx-footer__top { text-align: center; }

.sx-clover {
  position: relative;
  display: inline-block;
  width: 365px;
  height: 76.27px;
}
.sx-clover > img { display: block; width: 100%; height: 100%; max-width: none; }
@media (max-width: 400px) {
  .sx-clover { transform: scale(.8); transform-origin: center top; margin-bottom: -15px; }
}

.sx-footer__title {
  margin: 25px 0;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.sx-footer__info {
  margin: 0;
  font-family: var(--sx-font-alt);
  font-size: 16px;
  line-height: 24px;
}
.sx-footer__info a { color: var(--sx-white); }
.sx-footer__info .sep { display: none; }
.sx-footer__info span { display: block; }
@media (min-width: 992px) {
  .sx-footer__info span { display: inline; }
  .sx-footer__info .sep { display: inline; margin: 0 .5em; }
}

.sx-footer__line { margin: 40px 0; border: 0; border-top: 2px solid var(--sx-white); opacity: 1; }

.sx-footer__label {
  margin: 0 0 18px;
  font-family: var(--sx-font-title);
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
}
.sx-footer__label--np { text-transform: none; }

.sx-footer__logos { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 40px; }
.sx-footer__spons { width: 337px; }
.sx-footer__uah { width: 171px; }
.sx-footer__uah .sx-footer__label { margin-bottom: 23px; }
@media (min-width: 1200px) {
  .sx-footer__logos { flex-wrap: nowrap; gap: 0; }
  .sx-seom { margin-left: 71px; }
  .sx-footer__uah { margin-left: 33px; }
}

/* SEOM (frame 130 × 120) */
.sx-seom { position: relative; width: 130px; height: 120px; }
.sx-seom > * { position: absolute; display: block; max-width: none; }
.sx-seom > .sx-seom__label { top: 0; left: 0; right: 0; margin: 0; }
.sx-seom > .sx-seom__link { top: 32px; left: 0; }
.sx-seom__link img { display: block; width: 91px; height: 81px; }

.sx-footer__legal {
  margin: 32px 0 0;
  font-family: var(--sx-font-alt);
  font-size: 14px;
  line-height: 20px;
}
.sx-footer__legal a { color: var(--sx-white); }
.sx-footer__legal .sep { margin: 0 .4em; }

@media (min-width: 992px) {
  .sx-footer { padding: 95px 0 50px; }
  .sx-footer__wide { padding-left: 3.183%; padding-right: 3.183%; } /* 55 / 1728 */
  .sx-footer__line { margin: 61px 0; }
  .sx-footer__bottom { display: flex; align-items: flex-start; }
  .sx-footer__left { flex: 0 0 auto; margin-right: auto; padding-right: 32px; }
  .sx-footer__legal { margin: 0; }
}
@media (min-width: 1400px) {
  .sx-footer__left { flex: 0 0 59%; padding-right: 0; }
  .sx-footer__legal { white-space: nowrap; }
  .sx-comite__left .sx-experts { margin-right: -30px; }
}
@media (min-width: 1728px) {
  /* línea blanca del footer: 1617px centrada, como en Figma */
  .sx-footer__wide { padding-left: calc((100% - 1617px) / 2); padding-right: calc((100% - 1617px) / 2); }
  /* 59% se calculó sobre 1344px; por encima, ancho fijo */
  .sx-footer__left { flex: 0 0 793px; }
}
