/*
 * Landing standalone "Masterclass INESEM" (Look and Feel).
 * Hoja de estilos EXCLUSIVA de esta landing: solo se encola cuando la página
 * usa template-landing-look-and-feel.php.
 *
 * Todo va prefijado con .lf- y anidado bajo .lf-landing. Los "escudos"
 * contra Astra (herencia de color/fuente, foco amarillo, !important en
 * botones) vienen de la landing base (FLASH! Fest de Euroinnova).
 *
 * Medidas sacadas del diseño a 1920px: contenedor de 1920px con 90px de margen,
 * columna de contenido de 1150px y formulario sticky de 411px a la derecha.
 *
 * ESTRUCTURA DEL CSS
 *   1. Base + componentes comunes.
 *   2. MÓVIL (por defecto): todo a una columna, formulario bajo el hero y
 *      CTA fijo abajo que lleva a él.
 *   3. TABLET (≥ 700px).
 *   4. ESCRITORIO (≥ 1200px): formulario sticky a la derecha.
 */

/* =====================================================================
 * 1. BASE
 * ===================================================================== */
.lf-landing {
  --lf-navy: #192b5d;
  --lf-navy-2: #253666;
  --lf-cyan: #54c9d6;
  --lf-yellow: #ffae0c;
  --lf-yellow-hover: #f29f00;
  --lf-ink: #222222;
  --lf-text: #333333;
  --lf-gray: #555555;
  --lf-gray-link: #707070;
  --lf-bg-soft: #f5fafb;
  --lf-bg-gray: #f6f6f6;
  --lf-border: #c4c4c4;
  --lf-max: 1920px; /* incluye el padding lateral: 1740px de contenido */
  --lf-main: 1150px;
  --lf-pad-x: 16px;
  --lf-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  font-family: var(--lf-font);
  color: var(--lf-text);
  background: #fff;
  line-height: 1.45;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Resets con :where() → especificidad de UNA sola clase (.lf-landing), para
   que cualquier margen puesto con una clase de componente les gane. */
.lf-landing * { box-sizing: border-box; }
.lf-landing :where(img) { max-width: 100%; display: block; }
.lf-landing :where(a) { color: inherit; text-decoration: none; }
.lf-landing :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.lf-landing :where(h1, h2, h3, p) { margin: 0; }

/* Escudo contra el CSS global de Astra. */
.lf-landing :where(h1, h2, h3, h4, h5, h6, p, span, li, label, dt, dd, strong, em, small, sup, button, input, select, textarea, summary) {
  color: inherit;
  font-family: inherit;
}
.lf-landing :where(h1, h2, h3) { font-weight: 400; letter-spacing: normal; }
.lf-landing :where(strong) { font-weight: 700; }

.lf-landing button:focus,
.lf-landing a:focus {
  outline: none !important;
  box-shadow: none !important;
}
.lf-landing button:focus-visible,
.lf-landing a:focus-visible,
.lf-landing summary:focus-visible {
  outline: 2px solid var(--lf-cyan) !important;
  outline-offset: 2px;
}

.lf-container {
  position: relative;
  width: 100%;
  max-width: var(--lf-max);
  margin: 0 auto;
  padding: 0 var(--lf-pad-x);
}
.lf-main { position: relative; max-width: var(--lf-main); }

.lf-hero,
.lf-foryou,
.lf-section { position: relative; overflow-x: clip; }

/* Títulos de sección (40px en el diseño). */
.lf-title {
  font-size: clamp(1.6rem, 5.4vw, 2.5rem);
  line-height: 1.15;
  color: var(--lf-navy);
}
.lf-title--ink { color: var(--lf-ink); }
.lf-subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 3.8vw, 1.375rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--lf-navy);
}

/* ===== Botones (con !important por Astra) ===== */
.lf-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lf-btn.lf-btn--primary { background: var(--lf-yellow) !important; color: var(--lf-navy) !important; font-weight: 700; }
.lf-btn.lf-btn--primary:hover,
.lf-btn.lf-btn--primary:active { background: var(--lf-yellow-hover) !important; }
.lf-btn.lf-btn--dark { background: var(--lf-navy) !important; color: #fff !important; }
.lf-btn.lf-btn--dark:hover,
.lf-btn.lf-btn--dark:active { background: var(--lf-navy-2) !important; }
.lf-landing .lf-btn,
.lf-landing .lf-btn:hover,
.lf-landing .lf-btn:focus,
.lf-landing .lf-btn:active {
  border-color: transparent !important;
  box-shadow: none !important;
}
.lf-landing .lf-btn:hover,
.lf-landing .lf-btn:active { outline: none !important; }
.lf-btn--block { width: 100% !important; }

/* =====================================================================
 * HERO
 * ===================================================================== */
.lf-hero {
  color: #fff;
  background-color: var(--lf-navy);
  /* La foto de la ponente va de fondo (centrada, entre el texto y el
     formulario). En móvil se oscurece más para que el texto se lea. */
  background-image:
    linear-gradient(180deg, rgba(25, 43, 93, 0.82) 0%, rgba(25, 43, 93, 0.9) 100%),
    url("../img/look-and-feel/hero-fondo-mobile.webp");
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
}
.lf-hero__logo { width: 150px; height: auto; }

.lf-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.lf-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--lf-cyan);
  border-radius: 4px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.lf-tag img { flex: none; height: auto; }

.lf-hero h1 { line-height: 1.08; color: #fff; }
.lf-hero h1 strong { font-weight: 900; }
.lf-hero__lead { font-style: italic; font-weight: 300; line-height: 1.22; color: #fff; }
.lf-hero__lead strong { font-weight: 700; }

.lf-pills { display: flex; flex-wrap: wrap; }
.lf-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--lf-navy);
  border-radius: 10px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
}
.lf-pill img { flex: none; height: auto; }

.lf-hero__invite {
  background: var(--lf-cyan);
  color: var(--lf-navy);
  border-radius: 12px;
  line-height: 1.25;
}
.lf-hero__invite strong { font-weight: 700; }

.lf-hero__scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}
.lf-hero__scroll img { width: 100%; height: auto; }

/* =====================================================================
 * FORMULARIO (reskin de [zbl_form])
 * ===================================================================== */
.lf-form-card {
  position: relative;
  background: #fff;
  color: var(--lf-navy);
  border-radius: 24px;
  padding: 28px 22px 22px;
  box-shadow: 0 12px 40px rgba(25, 43, 93, 0.16);
}
.lf-form-card__icon {
  position: absolute;
  top: 28px;
  left: 22px;
  width: 36px;
  height: 36px;
}
.lf-form-card__warning { font-size: 0.85rem; color: #b3261e; }
.lf-form-card .zbl-form-wrap {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: none;
}
.lf-form-card .zbl-form-title {
  min-height: 48px;
  margin: 0 0 18px;
  padding-left: 50px; /* hueco para el icono del ratón */
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.1;
  text-align: left;
  color: var(--lf-navy);
}
.lf-form-card .zbl-form { display: flex; flex-wrap: wrap; column-gap: 12px; }
/* El plugin oculta el <form> con [hidden] al enseñar el panel de gracias. */
.lf-form-card .zbl-form[hidden] { display: none !important; }
.lf-form-card .zbl-form > * { flex: 1 1 100%; }
.lf-form-card .zbl-field { margin: 0 0 12px; }
.lf-form-card .zbl-field label {
  margin-bottom: 4px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--lf-gray);
}
.lf-form-card .zbl-field input,
.lf-form-card .zbl-field select {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--lf-border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fff;
  color: var(--lf-ink);
}
.lf-form-card .zbl-field input::placeholder { color: var(--lf-gray); }
.lf-form-card .zbl-field select {
  padding-right: 30px;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  color: var(--lf-gray);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}
.lf-form-card .zbl-field select:valid { color: var(--lf-ink); }
.lf-form-card .zbl-field input:focus,
.lf-form-card .zbl-field select:focus {
  border-color: var(--lf-navy);
  box-shadow: 0 0 0 3px rgba(84, 201, 214, 0.25);
  outline: none;
}
/* Campos ocultos con "No" comercial (landing-look-and-feel.js): el plugin da
   display a .zbl-field, así que [hidden] solo no bastaría. */
.lf-form-card .zbl-field[hidden] { display: none !important; }
/* País + Teléfono en la misma fila (el JS pone País primero). */
.lf-form-card .zbl-field:has(input[name="telefono"]),
.lf-form-card .zbl-field:has(select[name="pais"]) { flex: 1 1 calc(50% - 6px); min-width: 0; }
@media (max-width: 360px) {
  .lf-form-card .zbl-field:has(input[name="telefono"]),
  .lf-form-card .zbl-field:has(select[name="pais"]) { flex-basis: 100%; }
}
.lf-form-card .zbl-field--radio-group { gap: 16px; margin-bottom: 14px; }
.lf-form-card .zbl-field--radio-group-label {
  margin-bottom: 0;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--lf-gray);
}
.lf-form-card .zbl-radio {
  gap: 10px;
  min-width: 64px;
  padding: 7px 12px;
  border: 1px solid var(--lf-border);
  border-radius: 2px;
  font-size: 0.8125rem;
  color: var(--lf-gray);
  transition: border-color 0.15s ease;
}
.lf-form-card .zbl-radio:has(input:checked) { border-color: var(--lf-navy); box-shadow: inset 0 0 0 1px var(--lf-navy); }
.lf-form-card .zbl-radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--lf-navy); }
.lf-form-card .zbl-field--checkbox { align-items: center; gap: 10px; margin-bottom: 20px; }
.lf-form-card .zbl-field--checkbox input { width: 18px; height: 18px; min-width: 18px; margin: 0; accent-color: var(--lf-navy); }
.lf-form-card .zbl-field--checkbox label { margin: 0; font-size: 0.8125rem; color: var(--lf-ink); }
.lf-form-card .zbl-field--checkbox a { color: var(--lf-navy); text-decoration: underline; }
.lf-landing .lf-form-card .zbl-form-submit {
  min-height: 46px;
  margin-top: 0;
  padding: 12px 20px !important;
  border: none !important;
  border-radius: 999px !important;
  background: var(--lf-yellow) !important;
  color: var(--lf-navy) !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: none !important;
}
.lf-landing .lf-form-card .zbl-form-submit:hover:not(:disabled),
.lf-landing .lf-form-card .zbl-form-submit:active:not(:disabled) { background: var(--lf-yellow-hover) !important; color: var(--lf-navy) !important; }
.lf-form-card .zbl-form-hint,
.lf-form-card .zbl-form-msg { font-size: 0.8rem; }
.lf-form-card .zbl-form-fineprint {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--lf-gray);
}
/*
 * Autorrelleno del navegador (Chrome/Edge/Safari): el style.css del tema
 * pinta los campos autorrellenados con texto BLANCO y borde inferior blanco
 * (pensado para sus formularios sobre fondo oscuro) → en estos formularios
 * blancos el texto desaparecía. Aquí: texto oscuro, fondo blanco y el mismo
 * borde que el resto de campos (formulario principal y modal de las cards).
 */
.lf-landing .lf-form-card input:-webkit-autofill,
.lf-landing .lf-form-card input:-webkit-autofill:hover,
.lf-landing .lf-form-card input:-webkit-autofill:focus,
.lf-landing .lf-form-card select:-webkit-autofill,
.lf-landing .lf-modal input:-webkit-autofill,
.lf-landing .lf-modal input:-webkit-autofill:hover,
.lf-landing .lf-modal input:-webkit-autofill:focus,
.lf-landing .lf-modal select:-webkit-autofill {
  -webkit-text-fill-color: var(--lf-ink) !important;
  caret-color: var(--lf-ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  border: 1px solid var(--lf-border) !important;
}
.lf-landing .lf-form-card input:-webkit-autofill:focus,
.lf-landing .lf-modal input:-webkit-autofill:focus { border-color: var(--lf-navy) !important; }
/* Campo autorrellenado que además falta/está mal: se mantiene el rojo. */
.lf-landing .lf-form-card .zbl-field.is-invalid input:-webkit-autofill,
.lf-landing .lf-modal .lf-modal__field.is-invalid input:-webkit-autofill {
  border-color: #c62828 !important;
  -webkit-box-shadow: 0 0 0 1000px #fff6f6 inset !important;
  box-shadow: 0 0 0 1000px #fff6f6 inset !important;
}
/* Mismo color de texto con !important por si otra regla global lo pisa. */
.lf-landing .lf-form-card .zbl-field input:not([type="checkbox"]):not([type="radio"]),
.lf-landing .lf-modal .lf-modal__field input:not([type="checkbox"]) {
  color: var(--lf-ink) !important;
  -webkit-text-fill-color: var(--lf-ink);
}

/* Campo que falta (validación de landing-look-and-feel.js). */
.lf-form-card .zbl-field.is-invalid input:not([type="checkbox"]),
.lf-form-card .zbl-field.is-invalid select { border-color: #c62828; background-color: #fff6f6; }
.lf-form-card .zbl-field--checkbox.is-invalid label { color: #c62828; }
.lf-form-card .zbl-field--radio-group.is-invalid .zbl-field--radio-group-label { color: #c62828; }
.lf-form-card .zbl-field--radio-group.is-invalid .zbl-radio { border-color: #c62828; background-color: #fff6f6; }

/* ----- Pantalla de "gracias" (dentro de la tarjeta, sustituye al form) -----
 * El JS mete aquí el <template data-lf-gracias-template>. Diseño: icono de
 * confeti, título centrado, textos azules y caja del código con copiar. */
.lf-form-card .zbl-success { padding: 8px 0 0; text-align: center; color: var(--lf-navy); }
.lf-gracias__icon { width: 72px; height: auto; margin: 6px auto 18px; }
.lf-gracias__title { margin-bottom: 18px; font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--lf-navy); }
.lf-gracias__text { margin: 0 auto 14px; max-width: 320px; font-size: 0.9rem; line-height: 1.3; color: var(--lf-navy); }
.lf-gracias__text strong { font-weight: 900; }
.lf-gracias__meet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 12px;
  border-radius: 2px;
  background: #e9f7f9;
  font-size: 0.95rem;
  color: var(--lf-gray);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.lf-gracias__meet:hover { background: #d6f0f3; color: var(--lf-navy); }
.lf-gracias__code { margin: 22px 0 22px; text-align: left; }
.lf-gracias__code-label { display: block; margin-bottom: 6px; font-size: 0.8125rem; color: var(--lf-gray); }
.lf-landing .lf-gracias__code-box,
.lf-landing .lf-gracias__code-box:hover,
.lf-landing .lf-gracias__code-box:focus {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px !important;
  border: none !important;
  border-radius: 2px !important;
  background: #e9f7f9 !important;
  box-shadow: none !important;
  color: var(--lf-gray) !important;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.lf-landing .lf-gracias__code-box:hover { background: #d6f0f3 !important; }
.lf-gracias__copied {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  font-size: 0.75rem;
  color: var(--lf-navy);
}
.lf-gracias__copied[hidden] { display: none; }
.lf-landing .lf-form-card .zbl-success-accept,
.lf-landing .lf-form-card .zbl-success-accept:hover,
.lf-landing .lf-form-card .zbl-success-accept:active {
  border: none !important;
  border-radius: 999px !important;
  background: var(--lf-yellow) !important;
  color: var(--lf-navy) !important;
  font-family: inherit;
}
.lf-landing .lf-form-card .zbl-success-accept:hover { background: var(--lf-yellow-hover) !important; }
/* Botón "×": Astra estira cualquier <button>. Se fija a un círculo de 32px. */
.lf-form-card .zbl-success .zbl-success-close,
.lf-form-card .zbl-success .zbl-success-close:hover,
.lf-form-card .zbl-success .zbl-success-close:active {
  width: 32px !important;
  height: 32px !important;
  min-width: 0 !important;
  padding: 0 !important;
  top: -14px !important;
  right: -10px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #ececec !important;
  color: var(--lf-gray) !important;
  font-size: 1.25rem;
  line-height: 1;
}
/* Con el panel de éxito visible, fuera el icono del ratón (va con el título). */
.lf-form-card:has(.zbl-success:not([hidden])) .lf-form-card__icon,
.lf-form-card:has(.zbl-success:not([hidden])) .zbl-form-title { display: none; }

/* ----- Aviso de evento finalizado (sustituye al formulario) ----- */
.lf-closed { padding: 8px 0 0; text-align: center; color: var(--lf-navy); }
.lf-closed__icon { width: 72px; height: auto; margin: 6px auto 18px; }
.lf-closed__title { margin-bottom: 14px; font-size: 1.5rem; line-height: 1.2; color: var(--lf-navy); }
.lf-closed__text { margin: 0 auto 24px; max-width: 320px; font-size: 0.95rem; line-height: 1.35; color: var(--lf-navy); }

/* =====================================================================
 * PONENTE
 * ===================================================================== */
.lf-ponente {
  display: grid;
  gap: 28px;
  max-width: var(--lf-main);
  background: var(--lf-navy);
  color: #fff;
  border-radius: 24px;
}
.lf-ponente__title { font-size: clamp(1.6rem, 5.4vw, 2.5rem); line-height: 1.05; color: #fff; }
.lf-ponente__title strong { font-weight: 900; }
.lf-ponente__who { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.lf-ponente__who img {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.lf-ponente__name { font-size: clamp(1.5rem, 4.6vw, 2rem); font-style: italic; font-weight: 900; line-height: 1.1; color: #fff; }
.lf-ponente__role { margin-top: 4px; font-size: clamp(0.95rem, 3.4vw, 1.25rem); font-style: italic; font-weight: 300; line-height: 1.05; color: #fff; }
/* Línea cian con flecha bajo la ponente. */
.lf-ponente__rule {
  position: relative;
  display: block;
  height: 3px;
  margin: 12px 14px 22px 0;
  background: var(--lf-cyan);
  border-radius: 2px;
}
.lf-ponente__rule::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 3px solid var(--lf-cyan);
  border-right: 3px solid var(--lf-cyan);
  transform: translateY(-50%) rotate(45deg);
}
.lf-ponente__bio { display: grid; gap: 18px; font-size: 1rem; line-height: 1.25; color: #fff; }
.lf-ponente__bio strong { font-weight: 900; }

.lf-video {
  position: relative;
  aspect-ratio: 395 / 490;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1d45;
}
.lf-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.lf-landing .lf-video__play {
  position: absolute !important;
  top: 50%;
  left: 50%;
  width: 80px !important;
  height: 80px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(130, 130, 130, 0.55) !important;
  box-shadow: none !important;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lf-landing span.lf-video__play { cursor: default; }
.lf-landing .lf-video__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
}
.lf-landing button.lf-video__play:hover { background: rgba(25, 43, 93, 0.75) !important; }

/* =====================================================================
 * ESTA MASTERCLASS ES PARA TI SI...
 * ===================================================================== */
.lf-foryou { display: flex; flex-direction: column; background: var(--lf-bg-soft); }
.lf-foryou__copy { padding: 48px var(--lf-pad-x) 20px; }
.lf-checklist { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 30px; }
/* El icono va en un ::before ABSOLUTO (no con display:flex en el <li>): con
   flex, cada texto/<strong> del <li> se convertía en una columna aparte. */
.lf-checklist li { position: relative; padding-left: 34px; font-size: clamp(1rem, 3.6vw, 1.125rem); line-height: 1.25; color: var(--lf-navy); }
.lf-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='none' stroke='%2354c9d6' stroke-width='1.5'/%3E%3Cpath d='M5.6 9.2l2.3 2.3 4.6-4.8' fill='none' stroke='%2354c9d6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lf-checklist strong { font-weight: 900; }
.lf-callout {
  background: #fff;
  border: 3px solid var(--lf-cyan);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: clamp(1rem, 3.6vw, 1.125rem);
  line-height: 1.25;
  color: var(--lf-navy);
}
.lf-callout strong { font-weight: 900; }
.lf-foryou__photo { order: 2; width: min(70%, 320px); }
.lf-foryou__photo img { width: 100%; height: auto; }

/* =====================================================================
 * PASOS
 * ===================================================================== */
.lf-section--steps .lf-subtitle { max-width: 690px; }
.lf-section--steps .lf-subtitle strong { font-weight: 900; }
.lf-steps { display: grid; gap: 20px; margin-top: 32px; }
.lf-step {
  border: 3px solid var(--lf-cyan);
  border-radius: 18px;
  padding: 22px 22px 20px;
  color: var(--lf-navy);
}
.lf-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
  border-radius: 10px;
  background: var(--lf-bg-soft);
  color: var(--lf-cyan);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}
.lf-step h3 { font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--lf-navy); }
.lf-step p { margin-top: 14px; font-size: 0.875rem; line-height: 1.25; color: var(--lf-navy); }

/* =====================================================================
 * BECA
 * ===================================================================== */
.lf-section--beca { background: var(--lf-bg-gray); overflow: visible; }
.lf-section--beca .lf-subtitle { font-size: clamp(1rem, 3.6vw, 1.25rem); }
.lf-beca { display: flex; flex-direction: column; }
.lf-beca__box {
  max-width: 344px;
  margin-top: 28px;
  padding: 24px 24px 20px;
  border-radius: 16px;
  background: var(--lf-navy);
  color: #fff;
}
.lf-beca__kicker { font-size: 0.95rem; line-height: 1.2; }
.lf-beca__amount { margin: 6px 0 10px; font-size: 3rem; font-style: italic; font-weight: 900; line-height: 1; letter-spacing: -0.01em; }
.lf-beca__amount sup { font-size: 0.6em; vertical-align: super; line-height: 0; }
.lf-beca__text { font-size: 0.95rem; line-height: 1.1; }
.lf-beca__text strong { font-weight: 900; }
.lf-beca__until { margin-top: 22px; font-size: 0.8125rem; font-style: italic; }
.lf-beca__legal { display: block; margin-top: 30px; font-size: 0.8125rem; font-style: italic; color: var(--lf-navy); }
.lf-beca__photo { width: min(100%, 520px); height: auto; margin: 24px auto 0; }

/* =====================================================================
 * CURSOS
 * ===================================================================== */
.lf-cursos { background: var(--lf-bg-soft); overflow: hidden; }
.lf-cursos__head .lf-title { max-width: 700px; }
.lf-cursos__intro { margin-top: 18px; max-width: 660px; font-size: clamp(1rem, 3.4vw, 1.125rem); line-height: 1.25; color: var(--lf-ink); }
.lf-cursos__bar { display: flex; justify-content: flex-end; }
.lf-carousel-nav { display: flex; gap: 12px; align-items: center; }
.lf-carousel-nav .lf-carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0;
  border-radius: 8px !important;
  border: none !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(25, 43, 93, 0.08) !important;
  color: var(--lf-ink) !important;
  line-height: 1;
  cursor: pointer;
}
.lf-carousel-nav .lf-carousel-btn:hover,
.lf-carousel-nav .lf-carousel-btn:active { color: var(--lf-navy) !important; background: #e9f3f5 !important; }
.lf-carousel-nav .lf-carousel-btn:disabled,
.lf-carousel-nav .lf-carousel-btn:disabled:hover {
  box-shadow: none !important;
  background: transparent !important;
  color: #c9c9c9 !important;
  cursor: not-allowed;
}
.lf-carousel [data-lf-track] {
  scroll-behavior: smooth;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.lf-carousel [data-lf-track]::-webkit-scrollbar { display: none; }
.lf-courses { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.lf-course-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 12px;
  padding: 16px 16px 16px;
  background: var(--lf-cyan);
  color: var(--lf-navy);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lf-course-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 4px;
  background: rgba(25, 43, 93, 0.16);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.4;
}
.lf-course-card h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: inherit; }
.lf-course-card h3 a { color: inherit; }
.lf-course-card h3 a:hover { text-decoration: underline; }
.lf-course-card__desc { flex: 1; min-height: 3.6em; font-size: 0.875rem; line-height: 1.4; color: inherit; }
.lf-course-price { display: flex; align-items: baseline; gap: 24px; margin: 34px 0 8px; }
.lf-course-price__now { font-size: 2.25rem; line-height: 1; color: inherit; }
.lf-course-price__now small { font-size: 1.125rem; font-weight: 700; }
.lf-course-price__old { font-size: 1rem; color: inherit; opacity: 0.85; }
.lf-course-price__old s { text-decoration-thickness: 1px; }
.lf-landing .lf-btn--card { background: var(--lf-navy) !important; color: #fff !important; min-height: 50px; }
/* Hover de la card (el diseño marca la del medio como "Hover"): fondo
   azul, textos en blanco y botón invertido. */
.lf-course-card:hover,
.lf-course-card:focus-within { background: var(--lf-navy); color: #fff; }
.lf-course-card:hover .lf-course-badge,
.lf-course-card:focus-within .lf-course-badge { background: rgba(255, 255, 255, 0.16); }
.lf-landing .lf-course-card:hover .lf-btn--card,
.lf-landing .lf-course-card:focus-within .lf-btn--card { background: #fff !important; color: var(--lf-navy) !important; }

.lf-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(0.95rem, 3.2vw, 1.125rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--lf-gray-link);
}
.lf-link-arrow svg { flex: none; }
.lf-link-arrow:hover { color: var(--lf-navy); }

/* =====================================================================
 * FAQ
 * ===================================================================== */
.lf-section--faq { background: var(--lf-bg-gray); }
.lf-faq-wrap { max-width: 712px; margin: 0 auto; }
.lf-faq-title { font-size: clamp(1.75rem, 6vw, 2.75rem); font-weight: 700; line-height: 1.15; color: var(--lf-ink); margin-bottom: 28px; }
.lf-faq details { border-bottom: 1px solid #e3e3e3; padding: 14px 0; }
.lf-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--lf-ink);
}
.lf-faq summary::-webkit-details-marker { display: none; }
/* +/− finos dibujados con dos líneas (el carácter "+" de Lato es grueso). */
.lf-faq summary::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--lf-ink), var(--lf-ink)) center / 18px 1.5px no-repeat,
    linear-gradient(var(--lf-ink), var(--lf-ink)) center / 1.5px 18px no-repeat;
}
.lf-faq details[open] summary::after {
  background: linear-gradient(var(--lf-ink), var(--lf-ink)) center / 18px 1.5px no-repeat;
}
.lf-faq__answer { padding: 10px 42px 0 0; font-size: 0.875rem; line-height: 1.55; color: var(--lf-ink); }

/* =====================================================================
 * FOOTER
 * ===================================================================== */
.lf-footer { background: var(--lf-navy); color: #fff; border-radius: 24px 24px 0 0; }
.lf-footer .lf-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lf-footer__logo { width: 128px; height: auto; }
.lf-footer small { font-size: 0.9rem; color: #fff; }

/* =====================================================================
 * CTA FIJO (móvil/tablet)
 * ===================================================================== */
.lf-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px var(--lf-pad-x) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 18px rgba(25, 43, 93, 0.12);
  transition: transform 0.25s ease;
}
.lf-mobile-cta.is-hidden { transform: translateY(110%); }

/* =====================================================================
 * MODAL "Más información" (cards de curso)
 * ===================================================================== */
.lf-modal[hidden],
.lf-modal form[hidden],
.lf-modal__success[hidden],
.lf-modal__msg[hidden] { display: none; }
.lf-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lf-modal__overlay { position: absolute; inset: 0; background: rgba(25, 43, 93, 0.6); }
/* WhatsApp flotante (z-index máximo) y "subir" quedarían encima del modal: se ocultan mientras está abierto. */
.lf-modal-open #wa-float-btn,
.lf-modal-open #ast-scroll-top { display: none !important; }
.lf-modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px 22px;
  box-shadow: 0 20px 50px rgba(25, 43, 93, 0.25);
  color: var(--lf-navy);
}
.lf-modal__card .lf-modal__close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--lf-bg-soft) !important;
  color: var(--lf-navy) !important;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lf-modal__card .lf-modal__close:hover,
.lf-modal__card .lf-modal__close:active { background: #e3eff1 !important; }

/* Modal del vídeo de la ponente: tarjeta negra sin padding, vídeo a todo el ancho. */
.lf-modal--video .lf-modal__overlay { background: rgba(15, 29, 69, 0.85); }
.lf-modal--video .lf-modal__card {
  max-width: 960px;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.lf-modal--video video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 40px);
  background: #000;
}
.lf-modal--video .lf-modal__card .lf-modal__close { top: 10px !important; right: 10px !important; z-index: 1; }
.lf-modal__card h2 { font-size: 1.375rem; padding-right: 40px; color: var(--lf-navy); }
.lf-modal__card .lf-modal__curso { font-size: 0.875rem; font-weight: 700; color: var(--lf-navy); margin: 4px 0 18px; padding-right: 40px; }
.lf-modal__hp {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.lf-modal__card .lf-modal__field { margin-bottom: 12px; }
.lf-modal__field label { display: block; font-size: 0.8125rem; color: var(--lf-gray); margin-bottom: 4px; }
.lf-modal__field input[type="text"],
.lf-modal__field input[type="email"],
.lf-modal__field input[type="tel"],
.lf-modal__field select {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--lf-border);
  border-radius: 2px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--lf-ink);
}
/* Mismo desplegable que el formulario principal. */
.lf-modal__field select {
  padding-right: 30px;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}
.lf-modal__field input:focus,
.lf-modal__field select:focus { border-color: var(--lf-navy); box-shadow: 0 0 0 3px rgba(84, 201, 214, 0.25); outline: none; }
/* Campo que falta (validación de landing-look-and-feel.js). */
.lf-modal__field.is-invalid input,
.lf-modal__field.is-invalid select { border-color: #c62828; background: #fff6f6; }
.lf-modal__field--checkbox.is-invalid label { color: #c62828; }
.lf-modal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 360px) { .lf-modal__row { grid-template-columns: 1fr; gap: 0; } }
.lf-modal__card .lf-modal__field--checkbox { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.lf-modal__field--checkbox input { width: 18px; height: 18px; accent-color: var(--lf-navy); margin: 0; }
.lf-modal__field--checkbox label { margin: 0; font-size: 0.8125rem; color: var(--lf-ink); }
.lf-modal__field--checkbox a { text-decoration: underline; color: var(--lf-navy); }
.lf-modal__card .lf-modal__msg { margin-top: 12px; font-size: 0.85rem; text-align: center; color: var(--lf-gray); }
.lf-modal__card .lf-modal__msg--error { color: #c62828; }
.lf-modal__success { text-align: center; padding-top: 8px; }
.lf-modal__success img { margin: 0 auto 16px; }
.lf-modal__success h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 8px; color: var(--lf-navy); }
.lf-modal__card .lf-modal__success p { font-size: 0.95rem; color: var(--lf-text); margin-bottom: 20px; }

/* =====================================================================
 * 2. MÓVIL (por defecto)
 * ===================================================================== */
.lf-landing { padding-bottom: 76px; } /* hueco para el CTA fijo */
.lf-hero { padding: 32px 0 40px; }
.lf-hero__logo { margin-bottom: 32px; }
.lf-tag { padding: 6px 12px; font-size: 1rem; }
.lf-tag img { width: 24px; }
.lf-hero h1 { margin-top: 24px; font-size: clamp(2rem, 9vw, 2.6rem); }
.lf-hero__lead { margin-top: 12px; font-size: clamp(1.15rem, 5vw, 1.5rem); }
.lf-pills { gap: 10px; margin-top: 22px; }
.lf-pill { padding: 8px 14px; font-size: 0.95rem; }
.lf-pill img { width: 24px; }
.lf-hero__invite { margin-top: 28px; padding: 14px 18px; font-size: 1.05rem; }

.lf-sticky-form-slot { padding: 0 0 8px; background: linear-gradient(var(--lf-navy) 0 60px, transparent 60px); }
.lf-sticky-form-slot .lf-form-card { max-width: 480px; margin: 0 auto; }

.lf-section { padding: 40px 0; }
.lf-section--ponente > .lf-container { padding: 0; }
.lf-ponente { border-radius: 0; padding: 40px var(--lf-pad-x); }
.lf-video { max-width: 460px; }

.lf-foryou__photo { margin-left: 0; }

.lf-section--beca { padding-bottom: 0; }

.lf-section--cursos > .lf-container { padding-left: 0; padding-right: 0; }
.lf-cursos { padding: 36px 0 32px var(--lf-pad-x); }
.lf-cursos__head { padding-right: var(--lf-pad-x); }
.lf-cursos__bar { padding-right: var(--lf-pad-x); margin: 20px 0 14px; }
.lf-courses { gap: 16px; padding-right: var(--lf-pad-x); padding-bottom: 4px; }
.lf-course-card { flex: 0 0 82vw; max-width: 330px; }

.lf-footer { padding: 26px 0; }

/* =====================================================================
 * 3. TABLET (≥ 700px)
 * ===================================================================== */
@media (min-width: 700px) {
  .lf-landing { --lf-pad-x: 40px; }
  .lf-hero {
    background-image:
      linear-gradient(90deg, rgba(25, 43, 93, 0.95) 0%, rgba(25, 43, 93, 0.85) 55%, rgba(25, 43, 93, 0.35) 100%),
      url("../img/look-and-feel/hero-fondo.webp");
    background-position: 70% center;
  }
  .lf-hero { padding: 56px 0 72px; }
  .lf-hero__copy { max-width: 720px; }
  .lf-hero__logo { width: 180px; margin-bottom: 48px; }
  .lf-tag { font-size: 1.15rem; }
  .lf-hero h1 { font-size: 2.9rem; max-width: 640px; }
  .lf-hero__lead { font-size: 1.6rem; }
  .lf-pill { font-size: 1.05rem; }
  .lf-hero__invite { font-size: 1.25rem; padding: 16px 24px; }

  .lf-sticky-form-slot { padding-top: 0; background: none; }
  .lf-sticky-form-slot .lf-form-card { margin: -36px auto 0; padding: 32px 30px 24px; }
  .lf-form-card__icon { top: 32px; left: 30px; }

  .lf-section { padding: 56px 0; }
  .lf-section--ponente > .lf-container { padding: 0 var(--lf-pad-x); }
  .lf-ponente { border-radius: 24px; padding: 48px 44px; }

  .lf-foryou { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); column-gap: 40px; }
  .lf-foryou__photo { order: 0; align-self: end; width: 100%; }
  .lf-foryou__copy { padding: 56px var(--lf-pad-x) 56px 0; }

  .lf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* La foto va absoluta, pegada abajo a la derecha: asoma por encima de la sección (como en el diseño). */
  .lf-beca { display: block; }
  .lf-beca__copy { max-width: 54%; padding-bottom: 56px; }
  .lf-beca__photo { position: absolute; right: 0; bottom: 0; width: 46%; max-width: 623px; margin: 0; }

  .lf-section--cursos > .lf-container { padding: 0 var(--lf-pad-x); }
  .lf-cursos { border-radius: 16px; padding: 44px 0 44px 40px; }
  .lf-cursos__head { padding-right: 40px; }
  .lf-cursos__bar { padding-right: 40px; }
  .lf-courses { gap: 24px; padding-right: 40px; }
  .lf-course-card { flex: 0 0 calc((100% - 24px) / 2); max-width: none; }

  .lf-section--faq { padding: 64px 0 72px; }
  .lf-footer { padding: 28px 0; }
}

/* =====================================================================
 * 4. ESCRITORIO (≥ 1200px): formulario sticky a la derecha.
 *   - Contenedor de 1920px centrado, margen lateral fluido (--lf-pad-x).
 *   - Formulario de 411px pegado a la derecha del contenedor (con
 *     --lf-form-offset de aire, 78px a 1920). Todo lo de la zona sticky
 *     deja libre --lf-reserve para no chocar con él.
 * ===================================================================== */
@media (min-width: 1200px) {
  .lf-landing {
    --lf-pad-x: clamp(40px, 4.7vw, 90px);
    --lf-form-w: 411px;
    --lf-form-offset: clamp(0px, 4vw, 78px);
    --lf-reserve: calc(var(--lf-form-w) + var(--lf-form-offset) + clamp(40px, 5vw, 100px));
    /* Margen real del contenedor a cada lado (centrado a --lf-max). */
    --lf-side: calc(max((100vw - var(--lf-max)) / 2, 0px) + var(--lf-pad-x));
    padding-bottom: 0;
  }
  .lf-mobile-cta { display: none; }

  /* ----- Formulario sticky ----- */
  .lf-sticky-zone { position: relative; }
  .lf-sticky-form-slot {
    position: absolute;
    inset: 0;
    z-index: 15;
    padding-top: clamp(48px, 5.9vw, 113px);
    pointer-events: none;
  }
  .lf-sticky-form-slot__inner {
    position: sticky;
    top: 32px;
    display: flex;
    justify-content: flex-end;
    padding-right: calc(var(--lf-pad-x) + var(--lf-form-offset));
  }
  .lf-sticky-form-slot .lf-form-card {
    pointer-events: auto;
    width: 100%;
    max-width: var(--lf-form-w);
    margin: 0;
    padding: 34px 32px 26px;
  }
  .lf-form-card__icon { top: 34px; left: 32px; width: 40px; height: 40px; }
  .lf-form-card .zbl-form-title { max-width: 270px; font-size: 1.5rem; padding-left: 58px; margin-bottom: 22px; }

  /* La zona sticky deja libre el hueco del formulario. */
  .lf-sticky-zone .lf-main,
  .lf-sticky-zone .lf-ponente { max-width: min(var(--lf-main), 100% - var(--lf-reserve)); }

  /* ----- Hero ----- */
  .lf-hero {
    min-height: clamp(700px, 45.7vw, 878px);
    padding: clamp(56px, 5.1vw, 98px) 0 clamp(80px, 6vw, 110px);
    background-image:
      linear-gradient(90deg, rgba(25, 43, 93, 0.6) 0%, rgba(25, 43, 93, 0) 45%),
      url("../img/look-and-feel/hero-fondo.webp");
    background-position: center center;
  }
  .lf-hero__copy {
    max-width: calc(min(var(--lf-main), 100% - var(--lf-reserve)) - clamp(0px, 7.7vw, 148px));
    margin-left: clamp(0px, 7.7vw, 148px);
  }
  .lf-hero__logo { width: clamp(160px, 10vw, 190px); margin-bottom: clamp(48px, 4.2vw, 80px); }
  .lf-tags { gap: 16px; }
  .lf-tag { padding: 6px 12px; font-size: clamp(1.1rem, 1.1vw, 1.3125rem); }
  .lf-tag img { width: 30px; }
  .lf-hero h1 { margin-top: clamp(22px, 1.9vw, 36px); font-size: clamp(2.6rem, 2.92vw, 3.5rem); }
  .lf-hero__lead { margin-top: 14px; font-size: clamp(1.4rem, 1.67vw, 2rem); max-width: 680px; }
  .lf-pills { gap: 16px; margin-top: 20px; max-width: 560px; }
  .lf-pill { padding: 9px 18px; font-size: clamp(1rem, 0.94vw, 1.125rem); }
  .lf-pill img { width: 28px; }
  .lf-hero__invite { margin-top: clamp(32px, 3vw, 58px); max-width: 720px; padding: 14px 26px; font-size: clamp(1.15rem, 1.25vw, 1.5rem); }
  .lf-hero__scroll { display: block; bottom: 20px; width: 48px; }

  /* ----- Secciones ----- */
  .lf-section { padding: clamp(40px, 2.1vw, 40px) 0; }
  .lf-section--ponente { padding-top: 40px; padding-bottom: 40px; }
  .lf-ponente {
    grid-template-columns: minmax(0, 580px) minmax(0, 395px);
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 56px;
  }
  .lf-ponente__copy { max-width: 580px; }
  .lf-ponente__bio { font-size: 1rem; }
  .lf-video { align-self: start; }

  /* Para ti: foto pegada al borde izquierdo de la ventana; el texto deja
     libre el hueco del formulario. */
  .lf-foryou {
    grid-template-columns: clamp(300px, 22vw, 420px) minmax(0, 1fr);
    column-gap: clamp(40px, 5.6vw, 108px);
    min-height: 583px;
    padding-right: calc(var(--lf-side) + var(--lf-reserve));
  }
  .lf-foryou__photo { padding-top: 58px; }
  .lf-foryou__copy { max-width: 712px; padding: 92px 0 68px; }
  .lf-checklist { margin: 36px 0 30px; gap: 22px; }

  .lf-section--steps { padding: 74px 0 64px; }
  /* Pasos y beca: el texto arranca en la misma línea que el de las cajas (56px). */
  .lf-section--steps .lf-main,
  .lf-section--beca .lf-main { padding-left: 56px; }
  .lf-steps { gap: clamp(16px, 1.7vw, 34px); margin-top: 32px; }
  .lf-step { min-height: 274px; }

  .lf-section--beca { padding: 56px 0 0; }
  .lf-beca__copy { max-width: 680px; padding-bottom: 54px; }
  .lf-beca__photo { width: 54%; right: 18px; }

  .lf-section--cursos { padding: 80px 0 80px; }
  .lf-cursos { padding: 56px 0 56px 56px; }
  .lf-cursos__head { padding-right: 56px; }
  .lf-cursos__bar { padding-right: 56px; margin: 24px 0 24px; }
  .lf-courses { gap: 24px; padding-right: 13px; }
  .lf-course-card { flex: 0 0 calc((100% - 48px) / 3); }

  .lf-section--faq { padding: 52px 0 48px; }
  .lf-faq-wrap { margin: 0 auto; }

  .lf-footer { padding: 28px 0; }
  .lf-footer .lf-container { padding-left: var(--lf-pad-x); padding-right: var(--lf-pad-x); }
}

/* Portátil (1200–1499px): con el hueco del formulario la columna queda en
   ~700px → 2 cards de curso visibles (del resto se llega con las flechas) y
   la foto de la beca algo más pequeña. */
@media (min-width: 1200px) and (max-width: 1499px) {
  .lf-course-card { flex-basis: calc((100% - 24px) / 2); }
  /* Ponente a una columna (a dos, el texto quedaba en ~270px): vídeo debajo, apaisado. */
  .lf-ponente { grid-template-columns: minmax(0, 1fr); padding: 44px; }
  .lf-ponente__copy { max-width: none; }
  .lf-video { aspect-ratio: 16 / 9; }
  .lf-steps { grid-template-columns: 1fr; }
  .lf-step { min-height: 0; }
  /* Pasos en fila: número a la izquierda y texto a la derecha. */
  .lf-step { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .lf-step__num { grid-row: 1 / span 2; margin-bottom: 0; }
  .lf-step h3 { align-self: end; margin-top: 8px; }
  /* Foto del hero hacia la derecha y degradado más largo: el texto ocupa
     más proporción de la pantalla y no debe pisar a la ponente. */
  .lf-hero {
    background-image:
      linear-gradient(90deg, rgba(25, 43, 93, 0.92) 0%, rgba(25, 43, 93, 0.75) 45%, rgba(25, 43, 93, 0) 70%),
      url("../img/look-and-feel/hero-fondo.webp");
    background-position: 30% center;
  }
  .lf-foryou { grid-template-columns: clamp(240px, 20vw, 300px) minmax(0, 1fr); column-gap: 40px; }
  .lf-beca__copy { max-width: 56%; }
  .lf-beca__photo { width: 44%; right: 0; }
}
