/* =========================================================================
   ESTUDIO MINERALS — Landing "Sitio en mantención"
   Hero a 100vh con foto y zoom lento (Ken Burns) + sección de acordeones y
   footer negro debajo.
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

/* Contenedor de los degradados SVG: invisible pero presente (display:none los anularía) */
.mt-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --graphite: #171717;
  --deep-green: #174d3a;
  --modern-green: #2fa36b;

  /* Acento de hover: blanco puro, sin tono de color */
  --hover-accent: #ffffff;
  --hover-accent-rgb: 255, 255, 255;

  /* Color HORIZONTE: degradado verde a azul muestreado de la franja del horizonte
     de hero-banner.png (#e82238 a #e82238). Se usa en números, títulos, íconos y checks. */
  --hero-g1: #e82238;
  --hero-g2: #e82238;
  --hero-g3: #e82238;
  --hero-g4: #e82238;
  --hero-g5: #e82238;

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --edge: clamp(1.25rem, 4vw, 2.25rem);
  /* Margen lateral único del sitio (08-11-2026): ancho completo fuera del celular */
  --wide-pad: clamp(1.5rem, 3.2vw, 4rem);
}

@media (max-width: 767px) {
  :root { --wide-pad: var(--edge); }
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  overflow-x: hidden;
  background: var(--black);
  font-family: var(--font-text);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--modern-green); color: #06110c; }

/* =========================================================================
   HERO — 100vh exacto en todo dispositivo
   ========================================================================= */
.mt-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* ---------- Fondo con zoom lento y suave (Ken Burns) ---------- */
.mt-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Santiago de noche con la cordillera (08-11-2026), en blanco y negro «plata suave»
     desde el 09-11-2026. Desde el 11-11-2026 el velo es azul marino y va en .mt-scrim:
     aquí no puede ir porque el filtro grayscale lo volvería gris.
     La torre queda a la vista también en celular (posición horizontal al 62 %). */
  background-color: #000000;
  background-image: url("../img/hero-santiago.jpg");
  filter: grayscale(1) contrast(0.92) brightness(1.08);
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  transform: scale(1);
  animation: mt-zoom 36s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes mt-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Velo marino (alternativa B, 11-11-2026): #000000 al 55 % sobre la foto, fundido
   a marino hacia abajo y un degradado lateral leve detrás del texto de la izquierda. */
.mt-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 55%),
    rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .mt-bg { animation: none; }
}

/* =========================================================================
   BARRA SUPERIOR (alternativa B · Sobria, hover Foco, 08-11-2026)
   Logo a la izquierda, Asesoría, Programas y Clientes al centro, idioma y
   Contacto a la derecha. Fondo blanco, 50px de alto, letra sin negrita.
   Va arriba de la página y se va con el scroll, sin ningún efecto.
   ========================================================================= */
:root {
  --bar-h: 50px;
  --bar-ink: #5f5f5f;
  --bar-ink-strong: #101214;
  --bar-red: #e82238;
}

@media (max-width: 767px) {
  :root { --bar-h: 48px; }
}

/* La barra ocupa la franja superior del hero (pantalla completa): la foto y el
   texto empiezan bajo ella, así la primera vista no cambia */
.mt-hero .mt-bg,
.mt-hero .mt-scrim { top: var(--bar-h); }

.mt-hero .mt-content {
  margin-top: var(--bar-h);
  height: calc(100% - var(--bar-h));
}

.mt-topbar {
  --bar-pad: var(--wide-pad);
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;               /* sobre el menú móvil: logo, idioma y la X quedan visibles */
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: var(--bar-pad);
  background: #fff;
  border-bottom: 1px solid rgba(16, 18, 20, 0.08);
  font-weight: 400;
}

/* Logo «ESTUDIO MINERALS» gris con la Λ roja; vuelve al inicio */
.mt-logo-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}
.mt-logo-link:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 4px; }

.mt-logo {
  height: clamp(11px, 1.1vw, 15px);   /* un poco más grande (08-11-2026) */
  width: auto;
}

/* En celular el logo no puede crecer más: queda justo entre las líneas y el idioma.
   El logo actual (eSTUDIO, 600×39) es más ancho: 8.3px de alto dan 128px de ancho */
@media (max-width: 480px) {
  .mt-logo { height: 8.3px; }
}

/* Celulares angostos (360px): un punto menos para no rozar el idioma */
@media (max-width: 370px) {
  .mt-logo { height: 7.6px; }
}

/* ---------- Centro: Asesoría, Programas y Clientes ---------- */
.mt-topbar__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mt-programs,
.mt-accmenu { position: relative; }

.mt-nav-link,
.mt-programs__trigger,
.mt-accmenu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-family: var(--font-text);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--bar-ink);
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.mt-nav-link__icon,
.mt-programs__icon,
.mt-accmenu__lock { width: 16px; height: 16px; flex: 0 0 auto; }

/* Hover Foco: al pasar por los enlaces, los demás se atenúan y el elegido queda nítido */
.mt-topbar__center:hover :is(.mt-nav-link, .mt-programs__trigger, .mt-accmenu__trigger) { opacity: 0.4; }
.mt-topbar__center :is(.mt-nav-link, .mt-programs__trigger, .mt-accmenu__trigger):is(:hover, :focus-visible),
:is(.mt-programs, .mt-accmenu).is-open > button { opacity: 1; color: var(--bar-ink-strong); }

.mt-nav-link:focus-visible,
.mt-programs__trigger:focus-visible,
.mt-accmenu__trigger:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 2px; }

/* ---------- Desplegables: tarjeta blanca centrada bajo su enlace ---------- */
.mt-programs__reveal,
.mt-accmenu__panel {
  position: absolute;
  top: calc(100% + (var(--bar-h) - 34px) / 2 + 2px);
  left: 50%;
  background: #fff;
  border: 1px solid rgba(16, 18, 20, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.mt-programs.is-open .mt-programs__reveal,
.mt-accmenu.is-open .mt-accmenu__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s;
}

/* Programas: nombre del PCEM y su fecha */
.mt-programs__reveal {
  width: max-content;
  max-width: min(300px, 70vw);
  padding: 1rem 1.15rem;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
  color: var(--bar-ink);
}

.mt-pcem-date { opacity: 0.75; }

.mt-programs__link { display: block; transition: color 0.3s var(--ease); }
.mt-programs__link:hover,
.mt-programs__link:focus-visible { color: var(--bar-ink-strong); outline: none; }

/* Clientes: formulario de acceso, todo sin negrita */
.mt-accmenu__panel { width: min(330px, calc(100vw - 2 * var(--edge))); }

.mt-topbar .mt-access { border: 0; filter: none; background: transparent; }
.mt-topbar .mt-access__label,
.mt-topbar .mt-access__label svg { color: var(--bar-ink-strong); text-shadow: none; font-weight: 400; }

.mt-topbar .mt-field input { border-color: rgba(16, 18, 20, 0.3); color: var(--bar-ink-strong); }
.mt-topbar .mt-field input::placeholder { color: rgba(16, 18, 20, 0.45); }
.mt-topbar .mt-field input:hover { border-color: rgba(16, 18, 20, 0.55); }
.mt-topbar .mt-field input:focus-visible { border-color: var(--bar-ink-strong); box-shadow: 0 0 0 3px rgba(16, 18, 20, 0.08); }
.mt-topbar .mt-error { color: #c62f3f; }

.mt-topbar .mt-submit { font-weight: 400; border-color: var(--bar-ink-strong); color: var(--bar-ink-strong); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.mt-topbar .mt-submit:hover,
.mt-topbar .mt-submit:focus-visible { background: var(--bar-ink-strong); border-color: var(--bar-ink-strong); color: #fff; box-shadow: none; }
.mt-topbar .mt-submit:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 2px; }

/* ---------- Derecha: idioma y Contacto ---------- */
.mt-topbar__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Idioma: globo, nombre e indicador, con borde fino */
.mt-lang { position: relative; }

.mt-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 34px;
  padding: 0 0.65rem;
  border: 1px solid rgba(16, 18, 20, 0.16);
  border-radius: 6px;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--bar-ink-strong);
  transition: border-color 0.25s var(--ease);
}

.mt-lang__trigger:hover { border-color: rgba(16, 18, 20, 0.4); }
.mt-lang__trigger svg { width: 16px; height: 16px; flex: 0 0 auto; }
.mt-lang__trigger .mt-lang__chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.mt-lang.is-open .mt-lang__chev { transform: rotate(180deg); }
.mt-lang__short { display: none; }

.mt-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.3rem;
  background: #fff;
  border: 1px solid rgba(16, 18, 20, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.mt-lang.is-open .mt-lang__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

.mt-lang__menu button {
  padding: 0.5rem 0.7rem;
  border-radius: 5px;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  color: var(--bar-ink);
}

.mt-lang__menu button:hover,
.mt-lang__menu button:focus-visible { background: rgba(16, 18, 20, 0.06); color: var(--bar-ink-strong); outline: none; }
.mt-lang__menu button.is-active { color: var(--bar-ink-strong); }

/* Contacto: botón negro que abre la tarjeta de e-mail del lateral */
.mt-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 34px;
  padding: 0 0.95rem;
  border-radius: 6px;
  background: var(--bar-ink-strong);
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease);
}

.mt-contact:hover { background: #2a2d31; }
.mt-contact svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.mt-contact:hover svg { transform: translateX(3px); }

.mt-contact:focus-visible,
.mt-lang__trigger:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 2px; }

/* ---------- Celular y tablet: logo, idioma y menú ---------- */
@media (max-width: 1023px) {
  .mt-topbar__center,
  .mt-contact { display: none; }
}

@media (max-width: 480px) {
  .mt-lang__full { display: none; }
  .mt-lang__short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-nav-link,
  .mt-programs__trigger,
  .mt-accmenu__trigger,
  .mt-programs__reveal,
  .mt-accmenu__panel,
  .mt-lang__menu { transition: none; }
}

/* =========================================================================
   TEXTO DEL HERO — al centro, a la izquierda
   ========================================================================= */
.mt-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: clamp(5rem, 12vh, 7rem) var(--wide-pad) clamp(4.5rem, 11vh, 6rem);
  opacity: 0;
  transform: translateY(10px);
  animation: mt-in 0.9s var(--ease) 0.15s forwards;
}

@keyframes mt-in {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-content { animation: none; opacity: 1; transform: none; }
}

.mt-intro { max-width: 36rem; }

.mt-intro__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
  margin-bottom: clamp(1rem, 2.4vw, 1.4rem);
}

.mt-intro__text {
  /* mismo tamaño que el texto de cuerpo del resto del sitio */
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.mt-intro__text + .mt-intro__text { margin-top: 0.8rem; }

/* ---------- Tarjeta "Acceso Clientes" — sin relleno ---------- */
.mt-access {
  width: 100%;
  border: 1px solid #fff;
  padding: 1.4rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  /* sombra hacia afuera para separar el borde de la foto sin rellenar la tarjeta */
  filter: drop-shadow(0 18px 46px rgba(0, 0, 0, 0.4));
}

/* Misma tipografía que "Programas" y "Acceso Clientes" de la barra */
.mt-access__label {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.mt-access__label svg { width: 14px; height: 14px; color: #fff; }

.mt-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mt-field { width: 100%; display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }

.mt-field input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.86rem;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.mt-field input::placeholder { color: rgba(255, 255, 255, 0.45); }
.mt-field input:hover { border-color: rgba(255, 255, 255, 0.65); }

.mt-field input:focus-visible {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.mt-field input.is-invalid { border-color: #e2665c; }

.mt-error {
  display: none;
  font-size: 0.72rem;
  color: #ff9086;
}

.mt-error.is-visible { display: block; }

/* Botón sin relleno: solo borde, la animación vive en color/sombra/ícono */
.mt-submit {
  width: 100%;
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.85em 1em;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.mt-submit svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }

.mt-submit:hover,
.mt-submit:focus-visible {
  border-color: var(--hover-accent);
  color: var(--hover-accent);
  box-shadow: 0 0 22px -6px rgba(var(--hover-accent-rgb), 0.5);
}

.mt-submit:hover svg,
.mt-submit:focus-visible svg { transform: translateX(4px); }
.mt-submit:focus-visible { outline: none; }
.mt-submit:active { transform: scale(0.98); }

/* En pantallas angostas la tarjeta abierta queda encima del texto del hero:
   ahí sí necesita un vidrio oscuro para que el formulario se lea. */
@media (max-width: 960px) {
  .mt-accmenu__panel .mt-access {
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* =========================================================================
   CHEVRON — indicador de scroll, abajo a la izquierda del hero
   Rebote vertical clásico: loop uniforme (ease-in-out simétrico), sin adornos.
   ========================================================================= */
.mt-chevron {
  position: absolute;
  left: var(--wide-pad);
  bottom: clamp(1.25rem, 4vh, 2rem);
  z-index: 3;
  width: clamp(40px, 4.5vw, 48px);
  height: clamp(40px, 4.5vw, 48px);
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.5));
  animation: mt-bob 1.6s ease-in-out infinite;
  transition: box-shadow 0.35s var(--ease);
}

.mt-chevron:hover,
.mt-chevron:focus-visible {
  box-shadow: 0 0 20px -4px rgba(255, 255, 255, 0.8);
}

.mt-chevron:focus-visible { outline: none; }

.mt-chevron svg {
  width: 18px;
  height: 18px;
}

@keyframes mt-bob {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(11px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-chevron { animation: none; opacity: 1; }
}

/* =========================================================================
   FOOTER NEGRO — bajo el hero
   ========================================================================= */
/* El footer no tiene padding lateral propio: así la línea divisoria cruza toda
   la pantalla. El contenido usa el ancho completo con el margen --wide-pad. */
.mt-footer {
  --footer-pad: var(--wide-pad);
  background: #000000;   /* azul marino de la paleta (09-11-2026) */
  padding: 0 0 clamp(2rem, 5vw, 3rem);
}

.mt-footer__inner { padding-inline: var(--footer-pad); }

/* =========================================================================
   SECCIONES ONE PAGE (alternativa B · Contraste, 09-10-2026)
   Los antiguos acordeones son secciones de al menos una pantalla, siempre
   abiertas. Cada una pinta su fondo a todo el ancho y el contenido usa el
   ancho completo con el margen --wide-pad. Oscuras: Cómo generamos valor y Estudios. Claras (.op-light):
   Nuestra experiencia y Programas.
   ========================================================================= */
.mt-about { background: var(--black); }

.mt-acc__item {
  --sec-pad: var(--wide-pad);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 11vh, 7.5rem) var(--sec-pad);
  background: var(--black);
}

/* Título de la sección (antes, el encabezado del acordeón) */
.mt-acc__head { padding: 0 0 clamp(1.6rem, 4.5vh, 2.75rem); }

/* El título de Colaboradores usa exactamente la tipografía de los encabezados */
.mt-acc__head h2,
.mt-collab__title {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(0.74rem, 1.5vw, 0.82rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s var(--ease);
}

.mt-acc__title {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

.mt-acc__hicon { width: 30px; height: 30px; flex-shrink: 0; }

.mt-acc__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: inherit;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: none;
  color: #fff;
}

/* Introducción breve de cada acordeón, antes de las tarjetas */
.mt-acc__lead {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: none;
  margin-bottom: 1.35rem;
}

.mt-acc__body > .mt-acc__lead {
  font-size: 0.9rem;
  max-width: 62rem;
  margin-bottom: clamp(1.6rem, 4vh, 2.4rem);
}

/* --- Texto de detalle: MISMO tamaño y tratamiento en todos los acordeones --- */
.mt-acc__detail {
  font-family: var(--font-text);
  font-size: 0.76rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  list-style: none;
}

/* Párrafo explicativo de las áreas de Cómo generamos valor: mismo tamaño, un tono más claro */
.mt-acc__explain {
  color: rgba(255, 255, 255, 0.82);
  margin: 0.45rem 0 0.55rem;
}

/* Rejillas de bloques */
.mt-acc__four,
.mt-acc__three,
.mt-acc__two {
  display: grid;
  gap: 1rem;
}

.mt-acc__four { grid-template-columns: repeat(4, 1fr); }
.mt-acc__three { grid-template-columns: repeat(3, 1fr); }
.mt-acc__two { grid-template-columns: repeat(2, 1fr); }

/* =====================================================================
   ÁREAS (Cómo generamos valor) — tarjetas con fotografía de fondo. A primera vista
   solo ícono, título y el texto corto; el detalle sube como una cortina de
   vidrio esmerilado negro azabache al pulsar "Ver más". La foto queda fija:
   en hover se mueve la tarjeta, nunca la imagen.
   ===================================================================== */
.mt-area {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-height: 410px;
  display: flex;
  background-size: cover, cover;
  background-position: center, center;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.mt-area--estrategia { background-image: url("../img/area-estrategia.jpg"); }
.mt-area--operaciones { background-image: url("../img/area-operaciones.jpg"); }
.mt-area--gestion { background-image: url("../img/area-gestion.jpg"); }

.mt-area__front .mt-acc__explain,
.mt-area__more { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65); }

.mt-area__front {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

/* Banda oscura esmerilada ajustada al bloque de texto (opción A, elegida por
   Felipe): arriba la foto se ve limpia; título, texto corto y «Ver más» van
   juntos abajo sobre un fondo oscuro transparente. Sin borde. */
.mt-area__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  width: 100%;
  /* Alto fijo para que las tres bandas partan a la misma altura; el texto se
     apoya abajo y el espacio que sobra queda sobre el título */
  min-height: 53%;
  padding: 1.2rem 1rem 1.15rem;
  /* Velo transparente sin desenfoque: la foto se ve nítida detrás (velo al 70 %, 04-10-2026) */
  background: rgba(6, 6, 8, 0.7);
}

.mt-area__front .mt-acc__explain {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
  margin-bottom: 0.9rem;
}

/* El título manda a primera vista */
.mt-acc__blk.mt-area h3 {
  /* Color Horizonte, cada tarjeta con su tramo (verde → azul de izquierda a
     derecha). La sombra va con filter y no con text-shadow: con el relleno
     transparente del degradado, text-shadow se ve a través de la letra y la
     ensucia. */
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55));
  max-width: none;
  /* los tres títulos en una sola línea */
  white-space: nowrap;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
}

/* "Ver más": abajo de todo, sin caja, en escritura normal (sin mayúsculas
   ni espaciado entre letras) */
.mt-area__more {
  align-self: center;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-text);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s var(--ease);
}

.mt-area__more:hover { color: #fff; }

/* Signo «+» junto a «Ver más» */
.mt-area__plus {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* El panel sube desde abajo */
.mt-area__panel {
  position: absolute;
  /* 1px más grande por lado: la tarjeta cae en fracciones de píxel y con inset: 0
     asomaba un filo de foto en los bordes. Lo que sobra lo recorta la tarjeta. */
  inset: -1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.35rem;
  /* Cortina de velo oscuro transparente, sin desenfoque: la fotografía se ve
     nítida detrás (velo al 70 %, 04-10-2026) */
  background: rgba(6, 6, 8, 0.7);
  color: #fff;
  /* La cortina se revela recortándose, no desplazándose: si se mueve con
     transform, backdrop-filter vuelve a muestrear el fondo en las coordenadas
     del panel y la fotografía parece deslizarse hacia abajo. */
  clip-path: inset(100% 0 0 0);
  visibility: hidden;
  transition: clip-path 0.52s var(--ease), visibility 0s linear 0.52s;
  will-change: clip-path;
}

.mt-area.is-open .mt-area__panel {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.52s var(--ease), visibility 0s;
}

/* Con la cortina abierta, el texto de la banda se apaga para no verse a través del
   velo; al cerrar vuelve de inmediato. El recuadro oscuro de la banda no cambia
   nunca: está siempre presente, abierta o cerrada la cortina. */
.mt-area__txt h3,
.mt-area__txt .mt-acc__explain,
.mt-area__txt .mt-area__more { transition: opacity 0.25s var(--ease); }

.mt-area.is-open .mt-area__txt h3,
.mt-area.is-open .mt-area__txt .mt-acc__explain,
.mt-area.is-open .mt-area__txt .mt-area__more { opacity: 0; }

/* «Cerrar ×» arriba a la derecha de la cortina, en blanco (el +1px compensa el
   inset: -1px de la cortina) */
.mt-area__close {
  position: absolute;
  top: calc(1rem + 1px);
  right: calc(1.15rem + 1px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-text);
  font-size: 0.84rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.mt-area__close svg { width: 14px; height: 14px; flex: 0 0 auto; }

.mt-area__panel .mt-acc__detail { color: rgba(255, 255, 255, 0.92); }


@media (max-width: 760px) {
  .mt-area { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-area,
  .mt-area__panel,
  .mt-area__txt h3,
  .mt-area__txt .mt-acc__explain,
  .mt-area__txt .mt-area__more { transition: none; }
}

/* =====================================================================
   CÓMO GENERAMOS VALOR — matriz de dos áreas y tres dimensiones.
   Arriba las dos áreas (qué hacemos): tarjetas con foto, en .mt-acc__two.
   Abajo las tres dimensiones (cómo lo hacemos): barras a todo el ancho que
   atraviesan ambas áreas y se despliegan hacia abajo.
   ===================================================================== */

/* Las dos áreas reparten la rampa Horizonte: verde → intermedio → azul */
.mt-areas > :nth-child(1) { --n-from: var(--hero-g1); --n-to: var(--hero-g3); }
.mt-areas > :nth-child(2) { --n-from: var(--hero-g3); --n-to: var(--hero-g5); }

.mt-dims {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Cada barra toma su tramo: Desarrollo verde, Optimización intermedio, Protección azul */
.mt-dim { --n-from: var(--hero-g1); --n-to: var(--hero-g2); }
.mt-dim:nth-child(2) { --n-from: var(--hero-g2); --n-to: var(--hero-g4); }
.mt-dim:nth-child(3) { --n-from: var(--hero-g4); --n-to: var(--hero-g5); }

.mt-dim {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* Filete vertical de color a la izquierda: distingue las barras de las tarjetas */
.mt-dim::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 3px;
  background: linear-gradient(180deg, var(--n-from), var(--n-to));
  pointer-events: none;
}

/* Hover: una línea en el color de la barra se dibuja de izquierda a derecha por
   el borde inferior y se recoge al salir. Es la única respuesta al hover. */
.mt-dim::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--n-from), var(--n-to));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.mt-dim:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.mt-dim__h { margin: 0; font: inherit; }

.mt-dim__head {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 1.6rem);
  width: 100%;
  padding: 1.1rem clamp(1rem, 2.4vw, 1.5rem) 1.1rem clamp(1.15rem, 2.6vw, 1.7rem);
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mt-dim__head:focus { outline: none; }
.mt-dim__head:focus-visible { outline: 2px solid var(--hero-g1); outline-offset: 2px; }

/* Ancho fijo para el número: «01» es más angosto y descuadraría los títulos */
.mt-dim .mt-acc__num { margin-bottom: 0; flex: 0 0 auto; min-width: 1.45em; }

.mt-dim__titles {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.1rem;
  row-gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
}

/* Título con su tramo del degradado Horizonte, como en las demás tarjetas */
.mt-dim__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.3;
  color: var(--n-from);
  background: linear-gradient(90deg, var(--n-from), var(--n-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtítulo en blanco: el descriptor de cada dimensión */
.mt-acc__dimsub {
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.mt-dim__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  font-family: var(--font-text);
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.mt-dim__chev {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

/* El «+» gira y queda como «×» con la barra abierta */
.mt-dim.is-open .mt-dim__chev { transform: rotate(45deg); }

/* Despliegue por altura real, igual que el acordeón principal */
.mt-dim__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
}

.mt-dim.is-open .mt-dim__panel { grid-template-rows: 1fr; }
.mt-dim__panel > div { overflow: hidden; }

/* Desplegada: descripción a la izquierda y preguntas a la derecha */
.mt-dim__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 0.2rem clamp(1rem, 2.4vw, 1.5rem) 1.4rem clamp(1.15rem, 2.6vw, 1.7rem);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mt-dim.is-open .mt-dim__body { opacity: 1; transition: opacity 0.4s var(--ease) 0.12s; }

.mt-dim__body > .mt-acc__detail { color: rgba(255, 255, 255, 0.78); }
.mt-dim__body .mt-acc__qs { margin-top: 0; }
.mt-dim__body .mt-acc__qs .mt-acc__detail { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 760px) {
  /* En celular: número a la izquierda; título, subtítulo y «Ver más» apilados */
  .mt-dim__head { display: grid; grid-template-columns: auto 1fr; row-gap: 0.55rem; }
  .mt-dim__titles { flex-direction: column; align-items: flex-start; }
  .mt-dim__more { grid-column: 2; justify-self: start; }
  .mt-dim__body { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-dim::after,
  .mt-dim__chev,
  .mt-dim__panel,
  .mt-dim__body { transition: none; }
  .mt-dim.is-open .mt-dim__body { transition: none; }
}

/* Nuestra experiencia: seis tipos de organización en 3 columnas; el color
   Horizonte avanza por columna, igual que en las áreas de Cómo generamos valor */
.mt-acc__orgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mt-acc__orgs > :nth-child(3n+2) { --n-from: var(--hero-g2); --n-to: var(--hero-g4); }
.mt-acc__orgs > :nth-child(3n+3) { --n-from: var(--hero-g4); --n-to: var(--hero-g5); }
.mt-acc__orgs .mt-acc__blk h3 { margin-bottom: 0.4rem; }

@media (max-width: 900px) {
  .mt-acc__orgs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .mt-acc__orgs { grid-template-columns: 1fr; }
}

/* ---------- Estudios, analítica e investigación ----------
   Tres tarjetas con número, ícono, título y texto. Usan la tarjeta, el número,
   el ícono y los textos del resto del acordeón; el color Horizonte avanza por
   tarjeta como en las áreas de Cómo generamos valor (íconos con #pm-hz-1, -2 y -3). */
.mt-acc__study {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* --d: retraso de cada tarjeta al aparecer (escalonado de 0,1 s) */
.mt-acc__study > :nth-child(2) { --n-from: var(--hero-g2); --n-to: var(--hero-g4); --d: 0.1s; }
.mt-acc__study > :nth-child(3) { --n-from: var(--hero-g4); --n-to: var(--hero-g5); --d: 0.2s; }

/* Número a la izquierda e ícono a la derecha, en la misma fila */
.mt-study__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.mt-study__top .mt-acc__num,
.mt-study__top .mt-acc__icon { margin-bottom: 0; }

/* Escritorio: títulos y textos alineados entre tarjetas aunque un título ocupe dos líneas */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .mt-acc__study > .mt-study {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }
}

/* Aparición: las tarjetas entran una tras otra (fundido y 8px de subida, como el
   resto del acordeón) y el trazo de cada ícono se dibuja después. Al no depender
   del hover, se ve igual en pantallas táctiles. */
.mt-acc__item.is-open .mt-acc__study > .mt-study { animation-delay: var(--d, 0s); }

.mt-study__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }

.mt-acc__item.is-open .mt-study__icon svg * {
  animation: mt-study-draw 0.9s var(--ease) backwards;
  animation-delay: calc(var(--d, 0s) + 0.2s);
}

@keyframes mt-study-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* Hover (solo con mouse): la tarjeta sube 2px y aviva su borde, como las demás;
   el ícono sube apenas un poco más. El texto no se mueve dentro de la tarjeta. */
.mt-study__icon { transition: transform 0.35s var(--ease); }

@media (hover: hover) {
}

@media (prefers-reduced-motion: reduce) {
  .mt-acc__item.is-open .mt-study__icon svg * { animation: none; }
  .mt-study:hover .mt-study__icon { transform: none; }
}

/* Tablet: una columna, con número e ícono a la izquierda y el texto a la derecha,
   para que las líneas no queden demasiado largas */
@media (max-width: 900px) {
  .mt-acc__study { grid-template-columns: 1fr; }
}

@media (min-width: 621px) and (max-width: 900px) {
  .mt-study {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    column-gap: 1.5rem;
    align-items: start;
  }
  .mt-study__top {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0;
  }
  .mt-study h3 { grid-column: 2; grid-row: 1; }
  .mt-study .mt-acc__detail { grid-column: 2; grid-row: 2; max-width: 72ch; }
}

/* ---------- Programas: foto del puerto con el nombre del programa encima y
   solicitud de información con envío directo, sobre el fondo negro del sitio ---------- */

/* Al abrir, el título del acordeón se pinta con el Horizonte completo */
#programas.is-open .mt-acc__head h2 {
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mientras la foto descarga se ve un degradado de tonos parecidos, y la foto entra con un fundido */
.mt-prog__media {
  position: relative;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem);
  background: linear-gradient(90deg, var(--hero-g5), var(--hero-g1));
}

.mt-prog__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* igual que las fotos: se ven completas, sin recorte */
  object-fit: cover;
  transition: opacity 0.6s var(--ease);
}

.mt-prog__media img.is-loading { opacity: 0; }

/* Dos fotos en el mismo marco: la segunda cruza sobre la primera, lento y suave.
   El cruce parte solo cuando las dos terminaron de cargar (clase is-ready del JS). */
.mt-prog__media img + img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
}

.mt-prog__media.is-ready img + img { animation: mt-prog-cruce 18s var(--ease) infinite; }

@keyframes mt-prog-cruce {
  0%, 35% { opacity: 0; }
  52%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

/* Nombre del programa sobre la foto: legible con sombra de texto y un velo mínimo abajo */
/* Nombre del programa al centro y a la izquierda de la foto, con velo mínimo */
.mt-prog__caption {
  position: absolute;
  inset: 0;
  width: min(60%, 42rem);
  display: flex;
  align-items: center;
  padding-inline: clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.14) 65%, rgba(0, 0, 0, 0));
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.mt-prog__title {
  display: inline;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* La fecha va bajo el título, en negrita y con el color Horizonte del hero */
.mt-prog__date {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-text);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hero-g1);
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;   /* con el degradado la sombra se ensucia: va un drop-shadow */
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
}

/* Formulario: mismos campos y botón que el acceso de clientes */
.mt-prog__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.6rem;
}

.mt-prog__fields .mt-submit { width: auto; margin-top: 0; white-space: nowrap; }

/* Trampa para robots: fuera de la vista, las personas nunca la completan */
.mt-prog__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.mt-prog__msg {
  min-height: 1.2em;
  margin-top: 0.6rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: #ff9086;
}

.mt-prog__msg a { color: #fff; transition: text-shadow 0.3s var(--ease); }
.mt-prog__msg a:hover,
.mt-prog__msg a:focus-visible { text-shadow: 0 0 12px rgba(255, 255, 255, 0.55); outline: none; }

.mt-prog__note { font-size: 0.72rem; line-height: 1.5; color: rgba(255, 255, 255, 0.5); }

/* Enviado: se reemplaza el formulario por la confirmación, con el check verde Horizonte */
.mt-prog__form.is-sent .mt-prog__fields,
.mt-prog__form.is-sent .mt-prog__note { display: none; }

.mt-prog__msg.is-ok {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
  animation: mt-acc-in 0.5s var(--ease) backwards;
}

.mt-prog__msg.is-ok::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bae89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.8 2.8L16.5 9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Aparición al abrir, como las tarjetas de los demás acordeones */
.mt-acc__item.is-open .mt-prog__media { animation: mt-acc-in 0.5s var(--ease) backwards; }
.mt-acc__item.is-open .mt-prog__form { animation: mt-acc-in 0.5s var(--ease) 0.1s backwards; }

@media (max-width: 980px) {
  .mt-prog__fields { grid-template-columns: 1fr 1fr; }
  .mt-prog__fields .mt-submit { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .mt-prog__fields { grid-template-columns: 1fr; }
  .mt-prog__caption { width: 100%; background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2)); }
}

@media (prefers-reduced-motion: reduce) {
  .mt-acc__item.is-open .mt-prog__media,
  .mt-acc__item.is-open .mt-prog__form,
  .mt-prog__media.is-ready img + img,
  .mt-prog__msg.is-ok { animation: none; }
  .mt-prog__media img { transition: none; }
  .mt-who__svg,
  .mt-mods__icon svg { transition: none; }
}

/* las áreas de Cómo generamos valor: íconos, títulos, explicaciones y detalles quedan alineados
   entre tarjetas aunque un título ocupe dos líneas */
@supports (grid-template-rows: subgrid) {
  .mt-acc__three > .mt-acc__blk:not(.mt-area) {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .mt-acc__three > .mt-acc__blk:not(.mt-area) h3 { margin-bottom: 0; }
}

.mt-acc__blk {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.25rem 1.25rem 1.4rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.mt-acc__blk:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

/* las áreas de Cómo generamos valor: sin ningún borde blanco (pedido expreso de Felipe), ni en
   reposo, ni en hover, ni al hacer clic. Solo el teclado muestra dónde está el
   foco, y en verde Horizonte. */
.mt-acc__blk.mt-area,
.mt-acc__blk.mt-area:hover { border: 0; padding: 0; }
.mt-area:focus { outline: none; }
.mt-area:focus-visible { outline: 2px solid var(--hero-g1); outline-offset: 2px; }

/* Color HORIZONTE en las tarjetas: cada una toma un tramo del degradado según
   su posición, así números, títulos e íconos avanzan de verde a azul de izquierda
   a derecha. En Soluciones cada dimensión repite el color que tiene en el Modelo. */
.mt-acc__blk,
.mt-who__item,
.mt-acc__card { --n-from: var(--hero-g1); --n-to: var(--hero-g2); }
:is(.mt-acc__four, .mt-acc__two, .mt-who, .mt-acc__prod) > :nth-child(4n+2) { --n-from: var(--hero-g2); --n-to: var(--hero-g3); }
:is(.mt-acc__four, .mt-acc__two, .mt-who, .mt-acc__prod) > :nth-child(4n+3) { --n-from: var(--hero-g3); --n-to: var(--hero-g4); }
:is(.mt-acc__four, .mt-acc__two, .mt-who, .mt-acc__prod) > :nth-child(4n+4) { --n-from: var(--hero-g4); --n-to: var(--hero-g5); }
.mt-acc__three > :nth-child(2) { --n-from: var(--hero-g2); --n-to: var(--hero-g4); }
.mt-acc__three > :nth-child(3) { --n-from: var(--hero-g4); --n-to: var(--hero-g5); }

/* Numeración: solo en NUESTRO MODELO */
.mt-acc__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

/* Íconos de línea: solo en ÁREAS (Cómo generamos valor); el trazo usa los degradados #pm-hz-* */
.mt-acc__icon { display: block; width: 26px; height: 26px; margin-bottom: 0.85rem; }
.mt-acc__icon svg { display: block; width: 100%; height: 100%; }

.mt-acc__blk h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

/* Números y títulos de tarjeta en color Horizonte (texto con el degradado de su tramo) */
.mt-acc__num,
.mt-acc__blk h3,
.mt-acc__card h3 {
  color: var(--n-from);
  background: linear-gradient(90deg, var(--n-from), var(--n-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* El degradado recorre el texto, no todo el ancho de la tarjeta */
.mt-acc__blk h3,
.mt-acc__card h3 { width: fit-content; max-width: 100%; }

.mt-acc__sub {
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.45rem;
}

/* Preguntas: cada una lleva un check en verde Horizonte */
.mt-acc__qs { margin-top: 0.55rem; }
.mt-acc__qs li { position: relative; padding-left: 1.35rem; }
.mt-acc__qs li + li { margin-top: 0.35rem; }

.mt-acc__qs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 0.85rem;
  height: 0.85rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bae89' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Minerales y commodities */
.mt-acc__prod {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mt-acc__card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.mt-acc__card:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

/* La imagen es opcional: sin ella la tarjeta se ve igual de terminada */
.mt-acc__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.mt-acc__card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.35;
  padding: 1.05rem 1.1rem 1.15rem;
  background-origin: content-box;
}

/* Aparición escalonada al abrir el acordeón */
.mt-acc__item.is-open .mt-acc__blk,
.mt-acc__item.is-open .mt-acc__card {
  animation: mt-acc-in 0.5s var(--ease) backwards;
}

.mt-acc__item.is-open .mt-dim { animation: mt-acc-in 0.5s var(--ease) backwards; }
.mt-acc__item.is-open .mt-dim:nth-child(1) { animation-delay: 0.1s; }
.mt-acc__item.is-open .mt-dim:nth-child(2) { animation-delay: 0.15s; }
.mt-acc__item.is-open .mt-dim:nth-child(3) { animation-delay: 0.2s; }

.mt-acc__item.is-open .mt-who__item,
.mt-acc__item.is-open .mt-mods__item {
  animation: mt-acc-in 0.5s var(--ease) backwards;
}
.mt-acc__item.is-open .mt-who__item:nth-child(2) { animation-delay: 0.05s; }
.mt-acc__item.is-open .mt-who__item:nth-child(3) { animation-delay: 0.1s; }
.mt-acc__item.is-open .mt-who__item:nth-child(4) { animation-delay: 0.15s; }
.mt-acc__item.is-open .mt-mods__item:nth-child(2) { animation-delay: 0.05s; }

.mt-acc__item.is-open .mt-acc__three > *:nth-child(2),
.mt-acc__item.is-open .mt-acc__two > *:nth-child(2),
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(2) { animation-delay: 0.05s; }
.mt-acc__item.is-open .mt-acc__three > *:nth-child(3),
.mt-acc__item.is-open .mt-acc__two > *:nth-child(3),
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(3) { animation-delay: 0.1s; }
.mt-acc__item.is-open .mt-acc__two > *:nth-child(4),
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(4) { animation-delay: 0.15s; }
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(5) { animation-delay: 0.2s; }
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(6) { animation-delay: 0.25s; }
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(7) { animation-delay: 0.3s; }
.mt-acc__item.is-open .mt-acc__prod > *:nth-child(8) { animation-delay: 0.35s; }
.mt-acc__item.is-open .mt-acc__orgs > *:nth-child(2) { animation-delay: 0.05s; }
.mt-acc__item.is-open .mt-acc__orgs > *:nth-child(3) { animation-delay: 0.1s; }
.mt-acc__item.is-open .mt-acc__orgs > *:nth-child(4) { animation-delay: 0.15s; }
.mt-acc__item.is-open .mt-acc__orgs > *:nth-child(5) { animation-delay: 0.2s; }
.mt-acc__item.is-open .mt-acc__orgs > *:nth-child(6) { animation-delay: 0.25s; }

@keyframes mt-acc-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-acc__item.is-open .mt-acc__blk,
  .mt-acc__item.is-open .mt-acc__card,
  .mt-acc__item.is-open .mt-dim { animation: none; }
  .mt-acc__blk:hover,
  .mt-acc__card:hover { transform: none; }
}

@media (max-width: 980px) {
  .mt-acc__four { grid-template-columns: 1fr 1fr; }
  .mt-acc__prod { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .mt-acc__three { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .mt-acc__two { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .mt-acc__four { grid-template-columns: 1fr; }
  .mt-acc__prod { grid-template-columns: 1fr; }
}

/* ---------- Colaboradores: parte superior del footer, sin recuadro ni línea ----------
   Mismo espacio arriba y abajo; la única divisoria es la de la fila inferior. */
.mt-collab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem 2.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

/* Título en color Horizonte (degradado completo del hero); el texto va en el
   blanco de los párrafos del hero */
.mt-collab__title {
  width: fit-content;
  margin-bottom: 0.3rem;
  color: var(--hero-g3);
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-collab__lead {
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
}

.mt-collab__logos {
  --logo-s: 1;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  flex-shrink: 0;
}

/* Tamaño homogéneo: cada logo está recortado a su contenido y ambos tienen el
   mismo alto visual. El hexágono de NIXTEM mide lo mismo que zizcar y quedan
   alineados arriba y abajo; el sello CORFO (el 18 % inferior de la imagen)
   cuelga por debajo sin contar para la alineación. */
.mt-collab__logo {
  display: flex;
  align-items: center;
}

.mt-collab__logo img {
  width: auto;
  height: calc(var(--logo-h) * var(--logo-s));
}

.mt-collab__logo--zizcar { --logo-h: 31.2px; }
/* Bright Alliance es un bloque de tres líneas, no un logotipo de una línea:
   con el alto de los otros dos su texto quedaría ilegible */
.mt-collab__logo--bright { --logo-h: 44px; }
.mt-collab__logo--nixtem { --logo-h: 38.2px; }
.mt-collab__logo--nixtem img { margin-bottom: calc(var(--logo-h) * var(--logo-s) * -0.184); }

.mt-collab__logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
}

@media (max-width: 760px) {
  .mt-collab {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .mt-collab__logos { --logo-s: 0.85; }
}

/* Tres zonas: contacto a la izquierda · copyright al medio · aviso legal a la derecha */
.mt-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-top: 1.25rem;
  padding-inline: var(--footer-pad);
  border-top: 1px solid rgba(255, 255, 255, 0.12);   /* única divisoria, a todo el ancho */
}

.mt-footer__contact {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.mt-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--ease);
}

.mt-footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.mt-footer__contact-item--icon svg { width: 16px; height: 16px; }
.mt-footer__contact-item:hover,
.mt-footer__contact-item:focus-visible { color: #fff; }
.mt-footer__contact-item:focus-visible { outline: none; }

.mt-footer__copyright,
.mt-footer__legal-link {
  font-size: 0.72rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.4);
}

.mt-footer__copyright { justify-self: center; text-align: center; }

.mt-footer__legal-link {
  justify-self: end;
  font-family: var(--font-text);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.mt-footer__legal-link:hover,
.mt-footer__legal-link:focus-visible { color: #fff; }
.mt-footer__legal-link:focus-visible { outline: none; }

@media (max-width: 820px) {
  .mt-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.9rem;
  }
  .mt-footer__contact { justify-self: center; }
  .mt-footer__legal-link { justify-self: center; }
}

/* =========================================================================
   AVISO LEGAL — franja de vidrio esmerilado negro azabache desde el pie
   ========================================================================= */
.legal-panel {
  /* Pantalla completa, como el menú hamburguesa (10-11-2026) */
  position: fixed;
  inset: 0;
  z-index: 200;
  height: 100vh;
  height: 100svh;
  /* Mismo velo que el menú hamburguesa: azul marino #000000 al 70 %, sin
     desenfoque, para que se vea el fondo (09-11-2026) */
  background: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transform: translateY(101%);
  transition: transform 0.58s var(--ease), visibility 0s linear 0.58s;
}

.legal-panel.is-open {
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.58s var(--ease), visibility 0s;
}

.legal-panel__inner {
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--wide-pad) clamp(1.75rem, 4vw, 2.5rem);
}

.legal-panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: clamp(1.1rem, 2.5vw, 1.6rem);
}

.legal-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.35rem 3rem;
}

.legal-panel__grid h3 {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.4rem;
}

.legal-panel__grid p {
  font-size: 0.76rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
}

.legal-panel__close {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.5rem);
  right: var(--wide-pad);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.legal-panel__close svg { width: 14px; height: 14px; }
.legal-panel__close:hover,
.legal-panel__close:focus-visible { color: #fff; border-color: #fff; }
.legal-panel__close:focus-visible { outline: none; }

/* X igual a la del menú hamburguesa: dos líneas blancas de 32px × 1,25px cruzadas,
   sin cuadro, a la altura de la barra (11-11-2026) */
.legal-panel__close {
  top: calc((var(--bar-h) - 44px) / 2);
  right: calc(var(--wide-pad) - 6px);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}

.legal-panel__close i {
  position: absolute;
  left: 6px;
  top: calc(50% - 0.625px);
  width: 32px;
  height: 1.25px;
  background: #fff;
  border-radius: 1px;
  transition: opacity 0.25s var(--ease);
}

.legal-panel__close i:nth-child(1) { transform: rotate(45deg); }
.legal-panel__close i:nth-child(2) { transform: rotate(-45deg); }
.legal-panel__close:hover i { opacity: 0.8; }
.legal-panel__close:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .legal-panel { transition: visibility 0s; }
}

/* Con el aviso legal abierto desaparece el texto de fondo, como con el menú,
   y vuelve al cerrar (10-11-2026) */
.mt-footer__inner,
.mt-footer__bottom { transition: opacity 0.35s var(--ease); }

html.mt-legal-open { overflow: hidden; }

html.mt-legal-open .mt-hero .mt-intro,
html.mt-legal-open .mt-acc__head,
html.mt-legal-open .mt-acc__panel,
html.mt-legal-open .mt-footer__inner,
html.mt-legal-open .mt-footer__bottom { opacity: 0; }

html.mt-legal-open .mt-chevron { visibility: hidden; }

/* =========================================================================
   CTA STICKY DE CONTACTO: rail de etiquetas y tarjeta deslizante
   Alternativa E "vidrio tintado" (elegida por el usuario): cada etiqueta lleva
   un relleno translúcido en el color de su canal (e-mail blanco, WhatsApp verde,
   LinkedIn azul oficial) con el desenfoque del menú y del Aviso legal.
   ========================================================================= */
.mt-cta {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
}

/* ---------- Etiquetas de vidrio tintado, separadas 6px ---------- */
.mt-cta__rail {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 6px;
}

/* Colores sólidos (09-10-2026): el vidrio translúcido se perdía sobre las
   secciones claras. E-mail con el degradado Horizonte, WhatsApp verde y LinkedIn
   azul oficial, siempre con ícono blanco. --glow tiñe el brillo del hover. */
.mt-cta__tab {
  --glow: rgba(232, 34, 56, 0.7);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--hero-g1), var(--hero-g5));
  box-shadow: -4px 2px 14px -6px rgba(0, 0, 0, 0.45);
  transition: filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* E-mail en el rojo corporativo: el de la «Λ» del logo (#e82238) */
.mt-cta__tab[data-open="email"] { --glow: rgba(232, 34, 56, 0.6); background: #e82238; }

.mt-cta__tab--wa { --glow: rgba(37, 211, 102, 0.55); background: #25d366; }

/* Azul oficial de LinkedIn */
.mt-cta__tab--li { --glow: rgba(10, 102, 194, 0.75); background: #0a66c2; }

.mt-cta__tab svg { width: 19px; height: 19px; }

/* Al pasar el cursor o con su tarjeta abierta, el botón se aclara y brilla */
.mt-cta__tab:hover,
.mt-cta__tab:focus-visible,
.mt-cta__tab.is-active {
  filter: brightness(1.08);
  box-shadow: -8px 0 26px -8px var(--glow);
}

.mt-cta__tab:focus-visible { outline: none; }

/* ---------- Tarjetas ---------- */
.mt-cta__cards { position: relative; width: 0; }

.mt-cta__card {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(288px, calc(100vw - 74px));
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--c, rgba(255, 255, 255, 0.55));
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translate(14px, -50%);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease),
    visibility 0s linear 0.38s;
}

/* La tarjeta abierta toma el color de su canal: --c en el borde exterior y en el
   botón, --soft en las líneas interiores (campos) y --glow en el brillo del hover */
#cta-email { --c: #e82238; --soft: rgba(232, 34, 56, 0.65); --glow: rgba(232, 34, 56, 0.75); }
#cta-whatsapp { --c: #25d366; --soft: rgba(37, 211, 102, 0.6); --glow: rgba(37, 211, 102, 0.75); }
#cta-linkedin { --c: #0a66c2; --soft: rgba(10, 102, 194, 0.85); --glow: rgba(10, 102, 194, 0.9); }

.mt-cta__card.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  transition: opacity 0.38s var(--ease), transform 0.38s var(--ease), visibility 0s;
}

.mt-cta__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease);
}

.mt-cta__close svg { width: 13px; height: 13px; }
.mt-cta__close:hover { color: #fff; }

.mt-cta__title {
  font-family: var(--font-text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c, #fff);
  margin-bottom: 0.3rem;
}

.mt-cta__hint {
  font-size: 0.73rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.85rem;
}

.mt-cta__form input {
  width: 100%;
  background: transparent;
  border: 1px solid var(--soft, rgba(255, 255, 255, 0.35));
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.76rem;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.45rem;
  transition: border-color 0.3s var(--ease);
}

.mt-cta__form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.mt-cta__form input:hover { border-color: var(--c, #fff); }
.mt-cta__form input:focus-visible { outline: none; border-color: var(--c, #fff); }
.mt-cta__form input.is-invalid { border-color: #e2665c; }

.mt-cta__error {
  display: none;
  font-size: 0.7rem;
  line-height: 1.4;
  color: #ff9086;
  margin-bottom: 0.4rem;
}

.mt-cta__error.is-visible { display: block; }

.mt-cta__go {
  width: 100%;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  background: transparent;
  border: 1px solid var(--c, #fff);
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.68rem;
  cursor: pointer;
  transition: box-shadow 0.35s var(--ease);
}

.mt-cta__go svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }

.mt-cta__go:hover,
.mt-cta__go:focus-visible {
  box-shadow: 0 0 20px -6px var(--glow, rgba(255, 255, 255, 0.75));
}

.mt-cta__go:hover svg,
.mt-cta__go:focus-visible svg { transform: translateX(3px); }
.mt-cta__go:focus-visible { outline: none; }

@media (max-width: 480px) {
  .mt-cta__tab { width: 42px; height: 42px; }
  .mt-cta__tab svg { width: 17px; height: 17px; }
}

/* =========================================================================
   MENÚ · alternativa F "velo en columnas" (08-11-2026)
   Hamburguesa de tres líneas a la izquierda de la barra, logo al centro.
   Al abrir, una cortina azul marino de la paleta (#000000) al 70 %, sin
   desenfoque, baja bajo la barra hasta el final de la pantalla: detrás se ve
   la foto o la sección, nítida. Arriba van cuatro columnas en blanco.
   ========================================================================= */

/* Hamburguesa: tres líneas iguales, largas y finas como la letra de la barra */
.mt-burger {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: -9px;
  -webkit-tap-highlight-color: transparent;
}

.mt-burger i {
  position: absolute;
  left: 9px;
  width: 32px;                /* más largas y en negro para que se noten (08-11-2026) */
  height: 1.25px;
  top: calc(50% - 0.625px);
  background: var(--bar-ink-strong);
  border-radius: 1px;
  transition: transform 0.45s var(--ease), opacity 0.25s var(--ease), background-color 0.25s var(--ease);
}

.mt-burger i:nth-child(1) { transform: translateY(-7px); }
.mt-burger i:nth-child(3) { transform: translateY(7px); }
.mt-burger:hover i { background: #000; }
.mt-burger:focus-visible { outline: 2px solid var(--bar-red); outline-offset: 2px; }

/* Abierto: la de arriba y la de abajo se cruzan en X, la del medio se desvanece */
.mt-burger[aria-expanded="true"] i:nth-child(1) { transform: rotate(45deg); }
.mt-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.mt-burger[aria-expanded="true"] i:nth-child(3) { transform: rotate(-45deg); }

/* Con el menú abierto la página de fondo no se desplaza */
html.mt-menu-open { overflow: hidden; }

/* Cubre la pantalla completa, desde el borde superior: la cortina baja también
   por detrás de la barra, que queda encima con el logo, la X y el idioma (09-11-2026) */
.mt-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  transition: visibility 0s linear 0.6s;
  font-family: var(--font-text);
}

.mt-menu.is-open { visibility: visible; transition: visibility 0s; }

/* La cortina: cubre todo el alto y se despliega de arriba hacia abajo */
.mt-menu__panel {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(11, 24, 48, 0.7);
  color: #fff;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
}

.mt-menu.is-open .mt-menu__panel { clip-path: inset(0 0 0 0); }

/* Las tres columnas en una fila horizontal: Asesoría, Programas y Contacto.
   En celular quedan una bajo otra. */
.mt-menu__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 2rem clamp(1.5rem, 4vw, 4rem);
  /* las columnas parten bajo la barra, a la misma altura de siempre */
  padding: calc(var(--bar-h) + clamp(1.75rem, 4vh, 2.75rem)) var(--wide-pad) clamp(2rem, 5vh, 3rem);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);   /* se leen sobre las luces de la ciudad */
}

@media (max-width: 620px) {
  .mt-menu__cols { grid-template-columns: 1fr; gap: 1.75rem; }
}

.mt-menu__kicker {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

/* Alternativa B (09-11-2026): más aire entre enlaces y solo divisorias blancas
   finas entre uno y otro, sin línea arriba ni al final de la columna */
.mt-menu__list li + li { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mt-menu__list li:first-child a { padding-top: 0.35rem; }

.mt-menu__list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s var(--ease), transform 0.35s var(--ease);
}

.mt-menu__list a:hover,
.mt-menu__list a:focus-visible { color: #fff; transform: translateX(4px); outline: none; }

.mt-menu__note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
}

.mt-menu__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;      /* cada fila a todo el ancho, con su línea fina */
  gap: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.mt-menu__foot a { transition: color 0.25s var(--ease); }

/* Correo con su sobre y LinkedIn solo con su ícono, como en el footer */
.mt-menu__contact {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 1.15rem 0;
}

.mt-menu__contact:first-child { padding-top: 0.35rem; }
.mt-menu__contact + .mt-menu__contact { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mt-menu__contact svg { width: 17px; height: 17px; flex-shrink: 0; }
.mt-menu__contact--icon svg { width: 19px; height: 19px; }
.mt-menu__foot a:hover,
.mt-menu__foot a:focus-visible { color: #fff; outline: none; }

/* Las columnas aparecen una tras otra; al cerrar se van rápido */
.mt-menu__col {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mt-menu.is-open .mt-menu__col {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease) calc(0.18s + var(--i, 0) * 50ms), transform 0.5s var(--ease) calc(0.18s + var(--i, 0) * 50ms);
}

/* Al abrir el menú desaparece el texto de la página de fondo (título y párrafos
   del hero y contenido de las secciones); detrás del velo solo queda la imagen.
   Vuelve al cerrar. La flecha tiene su propia animación: se oculta con visibility. */
.mt-hero .mt-intro,
.mt-acc__head,
.mt-acc__panel { transition: opacity 0.35s var(--ease); }

html.mt-menu-open .mt-hero .mt-intro,
html.mt-menu-open .mt-acc__head,
html.mt-menu-open .mt-acc__panel { opacity: 0; }

html.mt-menu-open .mt-chevron { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mt-burger i,
  .mt-menu__panel,
  .mt-menu__col,
  .mt-hero .mt-intro,
  .mt-acc__head,
  .mt-acc__panel { transition: none !important; }
}

/* =========================================================================
   MÓVIL
   ========================================================================= */
@media (max-width: 620px) {
  /* Espacio a la derecha para que el texto no quede bajo el rail de contacto */
  .mt-content { padding-right: calc(var(--edge) + 48px); }
}

@media (max-width: 480px) {
  .mt-footer__contact { gap: 0.75rem; }
  .mt-footer__contact-item { font-size: 0.7rem; }
}

/* ---------- Bloque informativo del PCEM (dentro del acordeón Programas) ----------
   Reutiliza la tipografía, los colores y las tarjetas del resto del acordeón. */
.mt-prog__doc { margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem); }

.mt-prog__h {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(0.74rem, 1.5vw, 0.82rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.9rem;
}

.mt-prog__h2 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: clamp(1.4rem, 3vw, 2rem) 0 0.85rem;
}

.mt-prog__doc .mt-acc__lead { margin-bottom: 0.75rem; max-width: none; }
.mt-prog__doc .mt-acc__lead:last-of-type { margin-bottom: 0; }

/* Los cuatro perfiles: mismo acordeón editorial, un nivel más abajo */
.mt-aud {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mt-aud__item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }

.mt-aud__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  text-align: left;
}

.mt-aud__title {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.4vw, 0.86rem);
  line-height: 1.35;
  color: var(--hero-g3);
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-aud__icon { width: 18px; height: 18px; flex-shrink: 0; }

.mt-aud__chev {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.35s var(--ease), color 0.3s var(--ease);
}

.mt-aud__item.is-open .mt-aud__chev { transform: rotate(180deg); color: #fff; }
.mt-aud__head:focus-visible { outline: none; }
.mt-aud__head:focus-visible .mt-aud__chev { color: #fff; }

.mt-aud__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
}

.mt-aud__item.is-open .mt-aud__panel { grid-template-rows: 1fr; }
.mt-aud__panel > div { overflow: hidden; }

.mt-aud__body { padding: 0 0 1.05rem; max-width: none; }
.mt-aud__item.is-open .mt-aud__body { animation: mt-acc-in 0.45s var(--ease) backwards; }
.mt-aud__body p + p { margin-top: 0.5rem; }

/* Modalidades y diagnóstico: tarjetas con el borde y el hover del resto del acordeón */
.mt-prog__mods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mt-prog__card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.25rem 1.25rem 1.4rem;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.mt-prog__card:hover { border-color: rgba(255, 255, 255, 0.55); }
.mt-prog__card--ancho { margin-top: 1rem; }
.mt-prog__card-i { display: block; width: 24px; height: 24px; margin-bottom: 0.8rem; }

.mt-prog__card-t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.35;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.35rem;
  color: var(--hero-g3);
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-prog__card p + p { margin-top: 0.4rem; }

/* Recursos: dos columnas de checks, como las preguntas de Soluciones */
.mt-prog__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  margin-bottom: 0.9rem;
}

.mt-prog__checks li + li { margin-top: 0; }
.mt-prog__valor p.mt-acc__detail + p.mt-acc__detail { margin-top: 0.5rem; }

/* =====================================================================
   PCEM · ¿A quién está dirigido?: cuatro perfiles visibles, sin acordeón.
   Composición abierta: filete superior, número + ícono, título y texto.
   ===================================================================== */
.mt-who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.6rem;
  margin: 1.7rem 0 0.4rem;
}

.mt-who__item { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }

.mt-who__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.mt-who__icon { display: inline-flex; }
.mt-who__svg { width: 26px; height: 26px; transition: transform 0.35s var(--ease); }

.mt-who__t {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.55rem;
  transition: color 0.3s var(--ease);
}

.mt-who__item:hover .mt-who__t { color: #fff; }
.mt-who__item p + p { margin-top: 0.5rem; }

/* =====================================================================
   PCEM · Modalidades: dos bloques abiertos, sin tarjetas ni bordes que
   los encierren. Solo un filete vertical que separa ambas columnas.
   ===================================================================== */
.mt-mods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5rem;
}

.mt-mods__item:first-child { padding-right: clamp(1.5rem, 4vw, 3rem); }

.mt-mods__item + .mt-mods__item {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.mt-mods__icon { display: inline-flex; }
.mt-mods__icon svg { width: 34px; height: 34px; transition: transform 0.35s var(--ease); }

.mt-mods__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0.85rem 0 0.65rem;
}

.mt-mods__item p + p { margin-top: 0.55rem; }

/* "Cupos limitados": acento Horizonte del hero, sin caja */
.mt-mods__hl {
  margin-top: 0.9rem;
  font-family: var(--font-text);
  font-size: 0.86rem;
}

.mt-mods__hl span {
  background: linear-gradient(90deg, var(--hero-g1), var(--hero-g5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 760px) {
  .mt-who { grid-template-columns: 1fr; gap: 1.7rem; }
  .mt-mods { grid-template-columns: 1fr; gap: 1.9rem; }
  .mt-mods__item:first-child { padding-right: 0; }
  .mt-mods__item + .mt-mods__item {
    padding-left: 0;
    padding-top: 1.9rem;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 900px) {
  .mt-prog__mods { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .mt-prog__checks { grid-template-columns: 1fr; }
  .mt-aud__title { gap: 0.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mt-aud__item.is-open .mt-aud__body { animation: none; }
  .mt-aud__panel { transition: none; }
  .mt-prog__card:hover { transform: none; }
}

/* =========================================================================
   SECCIONES CLARAS (.op-light): Nuestra experiencia y Programas
   Fondo blanco cálido; textos, bordes y formulario pasan a tinta oscura.
   Lo que va sobre fotografía conserva el texto blanco.
   ========================================================================= */
.mt-acc__item.op-light { --ink: #101214; background: #efebe3; color: var(--ink); }

.mt-acc__item.op-light .mt-acc__head h2 { color: var(--ink); }
.mt-acc__item.op-light .mt-acc__lead { color: rgba(16, 18, 20, 0.78); }
.mt-acc__item.op-light .mt-acc__detail { color: rgba(16, 18, 20, 0.66); }
.mt-acc__item.op-light .mt-acc__explain { color: rgba(16, 18, 20, 0.8); }
.mt-acc__item.op-light .mt-acc__sub { color: rgba(16, 18, 20, 0.72); }

.mt-acc__item.op-light .mt-acc__blk:not(.mt-area) { border-color: rgba(16, 18, 20, 0.16); }
.mt-acc__item.op-light .mt-acc__blk:not(.mt-area):hover { border-color: rgba(16, 18, 20, 0.4); }

.mt-acc__item.op-light .mt-dim { border-color: rgba(16, 18, 20, 0.16); }
.mt-acc__item.op-light .mt-acc__dimsub { color: var(--ink); }
.mt-acc__item.op-light .mt-dim__more { color: rgba(16, 18, 20, 0.7); }
.mt-acc__item.op-light .mt-dim__body > .mt-acc__detail { color: rgba(16, 18, 20, 0.75); }

.mt-acc__item.op-light .mt-prog__h { color: var(--ink); }
.mt-acc__item.op-light .mt-prog__h2 { color: rgba(16, 18, 20, 0.85); }
.mt-acc__item.op-light .mt-prog__note { color: rgba(16, 18, 20, 0.55); }
.mt-acc__item.op-light .mt-prog__msg a { color: var(--ink); }
.mt-acc__item.op-light .mt-prog__msg.is-ok { color: rgba(16, 18, 20, 0.9); }
.mt-acc__item.op-light .mt-who__item { border-top-color: rgba(16, 18, 20, 0.12); }
.mt-acc__item.op-light .mt-who__t,
.mt-acc__item.op-light .mt-who__item:hover .mt-who__t { color: var(--ink); }
.mt-acc__item.op-light .mt-mods__item + .mt-mods__item { border-color: rgba(16, 18, 20, 0.12); }

.mt-acc__item.op-light .mt-field input { border-color: rgba(16, 18, 20, 0.3); color: var(--ink); }
.mt-acc__item.op-light .mt-field input::placeholder { color: rgba(16, 18, 20, 0.45); }
.mt-acc__item.op-light .mt-field input:hover { border-color: rgba(16, 18, 20, 0.55); }
.mt-acc__item.op-light .mt-field input:focus-visible { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16, 18, 20, 0.08); }
.mt-acc__item.op-light .mt-submit { border-color: var(--ink); color: var(--ink); }
.mt-acc__item.op-light .mt-submit:hover,
.mt-acc__item.op-light .mt-submit:focus-visible { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 22px -8px rgba(16, 18, 20, 0.45); }

.mt-acc__item.op-light .mt-area__front .mt-acc__explain { color: rgba(255, 255, 255, 0.88); }
.mt-acc__item.op-light .mt-area__panel .mt-acc__detail { color: rgba(255, 255, 255, 0.92); }


/* =========================================================================
   BARRA TRANSPARENTE Y TIPOGRAFÍA FINA (alternativa B · Ultrafina, 08-11-2026)
   La barra flota sobre la foto del hero, que sube hasta el borde superior.
   Logo blanco fino con la Λ roja, hamburguesa, idioma y Contacto en blanco.
   Todo el texto en peso fino: títulos Sora 200, textos Inter 300. Blanco
   puro sobre fondos oscuros y negro puro sobre los claros; lo que va sobre
   fotografía queda blanco. Los !important pisan los pesos y tonos atenuados
   repartidos por el resto de la hoja.
   ========================================================================= */
/* Línea blanca fina a todo el ancho bajo la barra, igual a la divisoria del footer (11-11-2026) */
.mt-topbar { background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mt-hero .mt-bg,
.mt-hero .mt-scrim { top: 0; }

.mt-burger i { background: #fff; }
.mt-burger:hover i { background: #fff; opacity: 0.8; }

.mt-lang__trigger { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.mt-lang__trigger:hover { border-color: rgba(255, 255, 255, 0.7); }

.mt-contact { background: #fff; color: #101214; }
.mt-contact:hover { background: #e9ebee; }

/* Pesos finos en todo el sitio */
body :is(p, li, a, span, h1, h2, h3, h4, dt, dd, label, small, em, button, figcaption, blockquote) { font-weight: 300 !important; }
body :is(h1, h2, h3, .mt-intro__title, .mt-acc__head h2) { font-weight: 200 !important; letter-spacing: -0.01em !important; }

/* Oscuro: blanco puro */
:is(.mt-hero .mt-content, .mt-about, .mt-acc__item:not(.op-light), .mt-footer, .mt-menu, .mt-cta__card, .legal-panel)
  :is(p, li, a, span, h1, h2, h3, h4, dt, dd, label, small, em, button, figcaption, blockquote) { color: #fff !important; }

/* Claro: negro puro, salvo lo que va sobre fotografía */
.mt-acc__item.op-light :is(p, li, a, span, h1, h2, h3, h4, dt, dd, label, small, em, button, figcaption, blockquote) { color: #000 !important; }
.mt-acc__item.op-light :is(.mt-area, .mt-prog__media, figure) :is(p, li, a, span, h1, h2, h3, h4, dt, dd, label, small, em, button, figcaption, blockquote) { color: #fff !important; }
.mt-acc__item.op-light .mt-field input { color: #000 !important; }


/* =========================================================================
   HERO INSTITUCIONAL (08-11-2026)
   Titular corto en Sora fina (200) y texto descriptivo en Inter regular, ambos
   en blanco y alineados a la izquierda, con un ancho de línea controlado.
   ========================================================================= */
.mt-hero .mt-intro { max-width: min(46rem, 100%); }

.mt-hero .mt-intro .mt-intro__title {
  font-weight: 200 !important;   /* titular fino, como el resto del sitio (él lo pidió) */
  font-size: clamp(1.6rem, 0.9rem + 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.015em !important;
  margin-bottom: 0;   /* el hero muestra solo el titular */
}

.mt-hero .mt-intro .mt-intro__text {
  max-width: 38rem;
  font-weight: 400 !important;
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
  line-height: 1.65;
}

@media (max-width: 620px) {
  .mt-hero .mt-intro .mt-intro__title { line-height: 1.32; }
  .mt-hero .mt-intro .mt-intro__text { line-height: 1.6; }
}


/* =========================================================================
   BANDERAS EN EL SELECTOR DE IDIOMA (09-11-2026)
   Chile para español y Estados Unidos para inglés, a la derecha del texto.
   En la barra se ve solo la del idioma activo.
   ========================================================================= */
.mt-lang__trigger svg.mt-flag,
.mt-lang__menu svg.mt-flag {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.mt-lang__trigger .mt-flag { display: none; }
html:not([lang="en"]) .mt-lang__trigger .mt-flag--es,
html[lang="en"] .mt-lang__trigger .mt-flag--en { display: block; }

.mt-lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mt-lang__menu svg.mt-flag { box-shadow: 0 0 0 1px rgba(16, 18, 20, 0.12); }

/* En celular la bandera reemplaza al globo, para no chocar con el logo */
@media (max-width: 480px) {
  .mt-lang__trigger > svg:first-child { display: none; }
  .mt-lang__trigger { gap: 0.35rem; padding: 0 0.5rem; }
}

/* Pantallas muy angostas (320 px): sin flecha, solo idioma y bandera */
@media (max-width: 340px) {
  .mt-lang__trigger .mt-lang__chev { display: none; }
}

/* Logos de colaboradores enlazados a sus sitios (09-11-2026) */
a.mt-collab__logo { transition: opacity 0.25s var(--ease); }
a.mt-collab__logo:hover { opacity: 0.7; }
a.mt-collab__logo:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: 6px; }

/* =========================================================================
   DOS SECCIONES IMAGEN Y TEXTO (11-11-2026)
   La foto ocupa la mitad de la pantalla, pegada arriba y abajo de la sección,
   teñida con el rojo (#e82238) o el azul marino (#000000) corporativos sin
   perder lo que muestra. La primera lleva la foto a la izquierda y la segunda
   a la derecha. En celular la foto va arriba y el texto abajo.
   ========================================================================= */
.mt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(440px, 62vh, 680px);
  background: #efebe3;
}

.mt-split--reverse .mt-split__media { order: 2; }

.mt-split__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #000000;
}

.mt-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(1.08);
}

/* La transparencia de color: tiñe la foto y deja ver todos sus detalles */
.mt-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.mt-split__media--rojo::after { background: linear-gradient(135deg, rgba(232, 34, 56, 0.78), rgba(232, 34, 56, 0.6)); }
.mt-split__media--azul::after { background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.5)); }
.mt-split__media--azul img { filter: grayscale(1) contrast(1.05) brightness(1.3); }

.mt-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--wide-pad) clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
}

.mt-split--reverse .mt-split__body {
  padding-left: var(--wide-pad);
  padding-right: clamp(2rem, 5vw, 4.5rem);
}

body .mt-split .mt-split__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 2vw, 2.6rem);
  line-height: 1.15;
  color: #000 !important;
  margin: 0 0 1.1rem;
}

body .mt-split .mt-split__text {
  max-width: 34rem;
  font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.02rem);
  line-height: 1.65;
  color: #000 !important;
  margin: 0 0 2rem;
}

.mt-split__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

body .mt-split .mt-split__btn {
  min-width: 13.75rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid #000;
  background: transparent;
  color: #000 !important;
  font-family: var(--font-text);
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

body .mt-split .mt-split__btn:hover,
body .mt-split .mt-split__btn:focus-visible { background: #000; color: #fff !important; outline: none; }

body .mt-split .mt-split__btn--solid { background: #000; color: #fff !important; }
body .mt-split .mt-split__btn--solid:hover,
body .mt-split .mt-split__btn--solid:focus-visible { background: #2a2c30; }

@media (max-width: 767px) {
  .mt-split { grid-template-columns: 1fr; min-height: 0; }
  .mt-split--reverse .mt-split__media { order: 0; }
  .mt-split__media { aspect-ratio: 4 / 3; }
  .mt-split__body,
  .mt-split--reverse .mt-split__body { padding: 2.5rem var(--wide-pad) 3rem; }
  .mt-split__actions { align-items: stretch; }
  body .mt-split .mt-split__btn { min-width: 0; }
}

/* Con el menú o el aviso legal abiertos, el texto de estas secciones también se oculta */
.mt-split__body { transition: opacity 0.35s var(--ease); }
html.mt-menu-open .mt-split__body,
html.mt-legal-open .mt-split__body { opacity: 0; }

/* =========================================================================
   SELECTOR DE IDIOMA · alternativa G «Marino con acento rojo» (11-11-2026)
   Botón y caja en azul marino sólido #000000, esquinas rectas y borde blanco
   tenue. El idioma activo se marca con una línea roja corporativa a la izquierda.
   ========================================================================= */
.mt-lang__trigger {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 0;
}

.mt-lang__trigger:hover { border-color: rgba(255, 255, 255, 0.45); }

.mt-lang__menu {
  top: calc(100% + 4px);
  padding: 0;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.mt-lang__menu button {
  padding: 0.7rem 1rem;
  border-radius: 0;
  border-left: 2px solid transparent;
  color: rgba(255, 255, 255, 0.7);
}

.mt-lang__menu button span { color: inherit; }

.mt-lang__menu button:hover,
.mt-lang__menu button:focus-visible { background: rgba(255, 255, 255, 0.06); color: #fff; }

.mt-lang__menu button.is-active { border-left-color: #e82238; color: #fff; }

.mt-lang__menu svg.mt-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }

/* =========================================================================
   VOLVER ARRIBA · alternativa A «Círculo del hero» (11-11-2026)
   El mismo círculo blanco del chevron del hero, apuntando hacia arriba, abajo a
   la derecha. Aparece al bajar del hero. Con mix-blend-mode: difference se
   invierte solo sobre las secciones claras, así siempre se ve.
   ========================================================================= */
.mt-totop {
  position: fixed;
  z-index: 55;
  right: var(--wide-pad);
  bottom: clamp(1.25rem, 4vh, 2rem);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  mix-blend-mode: difference;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.35s var(--ease), visibility 0s linear 0.4s;
}

.mt-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.35s var(--ease), visibility 0s;
}

.mt-totop svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.mt-totop:hover,
.mt-totop:focus-visible { box-shadow: 0 0 20px -4px rgba(255, 255, 255, 0.8); outline: none; }
.mt-totop:hover svg { transform: translateY(-3px); }

/* Con el menú o el aviso legal abiertos no se muestra */
html.mt-menu-open .mt-totop,
html.mt-legal-open .mt-totop { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mt-totop,
  .mt-totop svg { transition: none; }
}

/* Volver arriba en dos colores (11-11-2026). El anillo ahora es un círculo SVG
   de trazo 1,5 (antes era un borde CSS de 1px invertido con difference), más
   nítido y parejo. Blanco sobre fondos oscuros y azul marino de la paleta sobre
   los claros; el JS pone .is-claro según lo que hay detrás del botón. */
.mt-totop {
  border: 0;
  mix-blend-mode: normal;
  color: #fff;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease), visibility 0s linear 0.4s;
}
.mt-totop.is-visible {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease), visibility 0s;
}
.mt-totop svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mt-totop .mt-totop__chev { transition: transform 0.35s var(--ease); }
.mt-totop:hover svg { transform: none; }
.mt-totop:hover .mt-totop__chev { transform: translateY(-3px); }
.mt-totop.is-claro { color: #000000; }
.mt-totop.is-claro:hover,
.mt-totop.is-claro:focus-visible { box-shadow: 0 0 20px -4px rgba(0, 0, 0, 0.45); }

/* =========================================================================
   HERO · PROFUNDIDAD AL BAJAR (alternativa H, 11-11-2026)
   Reemplaza el acercamiento lento: al hacer scroll la foto baja más lento que
   la página y el titular sube y se desvanece antes. El movimiento lo pone el JS.
   ========================================================================= */
.mt-hero .mt-bg {
  animation: none;
  transform: scale(1.06);
  will-change: transform;
}

.mt-hero .mt-intro__title { will-change: transform, opacity; }

/* =========================================================================
   FOTOS DE LAS SECCIONES · DESLIZAMIENTO LATERAL (alternativa A, 11-11-2026)
   Mientras se baja, cada foto se corre levemente hacia un lado dentro de su
   marco: la del camión a la derecha y la del puerto a la izquierda. La foto va
   ampliada al 112 % para que nunca asome un borde. El movimiento lo pone el JS.
   Desde la alternativa C (11-11-2026) la foto parte al 130 % y se abre a 112 %
   mientras pasa; sin movimiento reducido queda fija al 112 %.
   ========================================================================= */
.mt-split__media img {
  transform: scale(1.36);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .mt-split__media img { transform: scale(1.12); }
}

/* Foto del camión encuadrada hacia la derecha para que se vea la cabina (12-11-2026) */
#asesoria .mt-split__media img { object-position: 100% 50%; transform: translateX(-9%) scale(1.36); }
@media (prefers-reduced-motion: reduce) {
  #asesoria .mt-split__media img { transform: scale(1.12); }
}

/* Botones de las secciones: los cuatro del mismo tamaño, en español y en inglés
   (11-11-2026). En celular siguen ocupando todo el ancho. */
body .mt-split .mt-split__btn {
  box-sizing: border-box;
  width: 15.5rem;
  min-width: 0;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body .mt-split .mt-split__btn { width: auto; white-space: normal; }
}

/* =========================================================================
   PIE DEL FOOTER · TODO A LA IZQUIERDA (alternativa B, 11-11-2026)
   Contacto, copyright y Aviso legal en una sola línea alineada a la izquierda.
   La derecha queda libre para el botón de volver arriba, que antes tapaba el
   Aviso legal. En celular van uno bajo otro, también a la izquierda.
   ========================================================================= */
.mt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem 2.25rem;
  padding-right: calc(var(--footer-pad) + 46px + 1.5rem);
}

.mt-footer__copyright { text-align: left; }

@media (max-width: 820px) {
  .mt-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .mt-footer__contact,
  .mt-footer__legal-link { justify-self: auto; }
}

/* =========================================================================
   COLABORADORES SIN TÍTULO · alternativa A (11-11-2026)
   Se quitó el título «Colaboradores». La frase queda en blanco y al mismo
   tamaño que el texto de las dos secciones de imagen y texto.
   ========================================================================= */
.mt-collab__lead {
  font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.02rem);
  line-height: 1.65;
  color: #fff;
  max-width: 34rem;
}

/* Dirección en la fila inferior del footer (11-11-2026). Mismo estilo que el
   e-mail; en celular puede pasar a dos líneas con el ícono arriba a la izquierda. */
.mt-footer__address { line-height: 1.5; }
@media (max-width: 480px) {
  .mt-footer__address { align-items: flex-start; }
  .mt-footer__address svg { margin-top: 0.1em; }
}

/* Términos de uso (11-11-2026). Frase de introducción bajo el título del panel,
   un poco más grande y clara que los bloques. */
.legal-panel__intro {
  max-width: 46rem;
  font-size: clamp(0.88rem, 0.82rem + 0.2vw, 0.98rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

/* =========================================================================
   TARJETA DE E-MAIL CON ENVÍO REAL (11-11-2026)
   Campo de mensaje con el mismo estilo de los otros, trampa oculta contra
   robots y confirmación en la misma tarjeta una vez enviado.
   ========================================================================= */
.mt-cta__form textarea {
  display: block;
  width: 100%;
  min-height: 4.6rem;
  resize: vertical;
  background: transparent;
  border: 1px solid var(--soft, rgba(255, 255, 255, 0.35));
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.76rem;
  line-height: 1.45;
  padding: 0.5rem 0.6rem;
  margin-bottom: 0.45rem;
  transition: border-color 0.3s var(--ease);
}
.mt-cta__form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.mt-cta__form textarea:hover { border-color: var(--c, #fff); }
.mt-cta__form textarea:focus-visible { outline: none; border-color: var(--c, #fff); }
.mt-cta__form textarea.is-invalid { border-color: #e2665c; }

.mt-cta__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.mt-cta__error a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.mt-cta__go:disabled { opacity: 0.6; cursor: wait; }

.mt-cta__ok {
  display: none;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #fff;
}
.mt-cta__form.is-sent .mt-cta__ok { display: block; }
.mt-cta__form.is-sent input,
.mt-cta__form.is-sent textarea,
.mt-cta__form.is-sent .mt-cta__go,
.mt-cta__form.is-sent .mt-cta__error { display: none; }

/* =========================================================================
   FUNDADOR (11-11-2026)
   Tercera sección imagen y texto, debajo de Formación. La foto va en color,
   sin tinte ni movimiento, con el botón de LinkedIn en su esquina inferior
   derecha. A la derecha solo el texto y «Ver bio» con su flecha.
   ========================================================================= */
/* Foto en círculo, en blanco y negro suave (ya viene así en el archivo),
   centrada en su columna y con la mitad del alto de la sección. */
/* Fondos intercambiados (12-11-2026): Formación, la del puerto, pasa a plata
   tenue y Fundador vuelve al blanco cálido de las otras secciones */
/* 23-11-2026: el plata suave pasó a la sección del fundador; Formación queda en el tono claro de Asesoría */
.mt-split#formacion { background: #efebe3; } /* 23-11-2026: Formación en crema; 24-11 crema más marcado #EFEBE3 */
.mt-split.mt-founder { background: #fff; } /* 23-11-2026: Fundador en blanco */
.mt-founder .mt-split__media { background: transparent; }
.mt-founder .mt-split__media::after { display: none; }
/* La columna apila foto y firma (nombre, cargo y email), centradas */
.mt-founder .mt-split__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
}
.mt-founder__circle {
  display: block;
  position: relative;
  flex: none;
  height: clamp(200px, 31vh, 320px);
  aspect-ratio: 1 / 1;
}

.mt-founder__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000000;
  font-family: var(--font-text);
}
body .mt-founder .mt-founder__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600 !important;
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.3;
}
.mt-founder__role {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #5f5f5f;
}
.mt-founder__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.mt-founder__mail svg { width: 17px; height: 17px; flex: none; }
.mt-founder__mail:hover,
.mt-founder__mail:focus-visible { color: #e82238; }
body .mt-founder .mt-split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
  filter: none;
  transform: none;
  will-change: auto;
}

/* LinkedIn pegado abajo a la izquierda del círculo */
.mt-founder__li {
  position: absolute;
  left: 4%;
  bottom: 4%;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  /* Ícono de LinkedIn: cuadrado azul con esquinas rectas */
  background: #0a66c2;
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.mt-founder__li svg { width: 21px; height: 21px; }
.mt-founder__li:hover,
.mt-founder__li:focus-visible { background: #004182; outline: none; transform: translateY(-2px); }

body .mt-founder .mt-split__text { margin-bottom: 1.75rem; }

.mt-founder__go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
}
.mt-founder__go svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.mt-founder__go:hover svg,
.mt-founder__go:focus-visible svg { transform: translateX(4px); }
.mt-founder__go:focus-visible { outline: 1px solid #000; outline-offset: 4px; }

@media (max-width: 767px) {
  .mt-founder .mt-split__media { aspect-ratio: auto; height: auto; padding: clamp(2.5rem, 10vw, 3.5rem) 16px 0.5rem; }
  .mt-founder__circle { height: auto; width: min(58vw, 240px); }
}

/* Panel de la bio: pantalla completa, velo blanco y texto azul marino */
.bio-panel {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(255, 255, 255, 0.94);
  color: #000000;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.bio-panel.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s var(--ease), visibility 0s;
}
.bio-panel__inner {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(5rem, 14vh, 8rem) var(--wide-pad) 3.5rem;
  transform: translateY(16px);
  transition: transform 0.5s var(--ease);
}
.bio-panel.is-open .bio-panel__inner { transform: none; }

.bio-panel__role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e82238;
  margin: 0 0 0.5rem;
}
.bio-panel__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  line-height: 1.15;
  color: #000000;
  margin: 0 0 1.5rem;
}
.bio-panel__inner > p:not(.bio-panel__role) {
  font-size: clamp(0.92rem, 0.85rem + 0.25vw, 1.02rem);
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.85);
  margin: 0 0 1rem;
}
.bio-panel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.bio-panel__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #000000;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.bio-panel__links a:hover,
.bio-panel__links a:focus-visible { color: #e82238; outline: none; }
.bio-panel__links svg { width: 16px; height: 16px; flex-shrink: 0; }

/* X de dos líneas como la del menú, en azul marino */
.bio-panel__close {
  position: fixed;
  top: calc((var(--bar-h) - 44px) / 2);
  right: calc(var(--wide-pad) - 6px);
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1;
}
.bio-panel__close i {
  position: absolute;
  left: 6px;
  top: 21px;
  width: 32px;
  height: 1.25px;
  background: #000000;
}
.bio-panel__close i:first-child { transform: rotate(45deg); }
.bio-panel__close i:last-child { transform: rotate(-45deg); }
.bio-panel__close:focus-visible { outline: 1px solid #000000; outline-offset: 2px; }

html.mt-bio-open { overflow: hidden; }
html.mt-bio-open .mt-totop { opacity: 0; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .bio-panel,
  .bio-panel__inner,
  .mt-founder__li,
  .mt-founder__go svg { transition: none; }
}

/* Footer: los datos de contacto bajan de línea si no caben (11-11-2026) */
.mt-footer__contact { flex-wrap: wrap; row-gap: 0.6rem; min-width: 0; }

/* Footer: LinkedIn alineado con el resto. El ícono queda del mismo alto que los
   demás y el texto baja un pixel, porque al no tener letras con cola
   (g, p, y) se veía más arriba que «consulting@eminerals.cl» y «www…». */
.mt-footer__contact-item--icon svg { width: 15px; height: 15px; }
.mt-footer__li-text { position: relative; top: 1px; }

/* «Ver bio» como botón de borde fino, igual que «Escríbenos por WhatsApp»,
   con su flecha a la derecha (11-11-2026). */
body .mt-split .mt-founder__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
}
body .mt-split .mt-founder__go:focus-visible { outline: none; }
@media (max-width: 767px) {
  body .mt-split .mt-founder__go { align-self: stretch; }
}

/* Colaboradores: la frase va en una sola línea en pantallas de computador
   (12-11-2026). Con el texto de Alianzas (12-11-2026) cabe junto a los logos
   desde 1240 px (con el logo PUCV); en pantallas más angostas se parte en dos líneas parejas. */
.mt-collab__lead { text-wrap: balance; }
@media (min-width: 1240px) {
  .mt-collab__lead { max-width: none; white-space: nowrap; }
}

/* «Ver bio» bajo el cargo, en la columna de la foto (12-11-2026).
   El texto de la derecha queda solo. */
body .mt-split .mt-founder__card .mt-founder__go { margin-top: 1.25rem; align-self: center; }
body .mt-founder .mt-split__text { margin-bottom: 0; }
@media (max-width: 767px) {
  body .mt-split .mt-founder__card .mt-founder__go { align-self: center; width: min(100%, 15.5rem); }
}

/* LinkedIn a la izquierda y «Ver bio» a la derecha, bajo el cargo (12-11-2026).
   La fila mide lo mismo que el nombre o el cargo, el que sea más largo:
   width 0 + min-width 100% impide que los botones agranden la tarjeta. */
.mt-founder__actions {
  display: flex;
  gap: 0.5rem;
  width: 0;
  min-width: 100%;
  margin-top: 1.1rem;
}
.mt-founder__actions .mt-founder__li {
  position: static;
  flex: none;
  width: 44px;
  height: 44px;
  box-shadow: none;
}
body .mt-split .mt-founder__card .mt-founder__go {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 44px;
  margin-top: 0;
  padding: 0 0.9rem;
  font-size: 0.88rem;
  white-space: nowrap;
  align-self: auto;
}
@media (max-width: 767px) {
  body .mt-split .mt-founder__card .mt-founder__go { width: auto; align-self: auto; }
}

/* Botones del fundador, combinación C con D (12-11-2026).
   En reposo, ambos con borde gris suave y fondo transparente: el logo de
   LinkedIn en su azul y «Ver bio» en azul marino. Al pasar el mouse cada uno
   se rellena de su color con ícono y letra blancos, y la flecha avanza. */
body .mt-founder .mt-founder__actions .mt-founder__li,
body .mt-split .mt-founder__card .mt-founder__go {
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.28);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
body .mt-founder .mt-founder__actions .mt-founder__li { color: #0a66c2; transform: none; }
body .mt-split .mt-founder__card .mt-founder__go { color: #000000 !important; }

body .mt-founder .mt-founder__actions .mt-founder__li:hover,
body .mt-founder .mt-founder__actions .mt-founder__li:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #fff;
  transform: none;
}
body .mt-split .mt-founder__card .mt-founder__go:hover,
body .mt-split .mt-founder__card .mt-founder__go:focus-visible {
  background: #000000;
  border-color: #000000;
  color: #fff !important;
}

/* «Ver bio» sin relleno al pasar el mouse (12-11-2026): solo el borde pasa
   a azul marino y la flecha avanza. */
body .mt-split .mt-founder__card .mt-founder__go:hover,
body .mt-split .mt-founder__card .mt-founder__go:focus-visible {
  background: transparent;
  border-color: #000000;
  color: #000000 !important;
}

/* Título «Partners» en un rojo suave, tono claro del rojo de la paleta (12-11-2026) */
.mt-collab__title {
  background: none;
  color: #f06b7f;
  -webkit-text-fill-color: #f06b7f;
}


/* Alianza PUCV (12-11-2026). El escudo es circular y lleno de detalle, por eso
   va algo más alto que los demás. Con cuatro logos la fila puede pasar a dos
   líneas en pantallas angostas en vez de salirse. */
.mt-collab__logo--pucv { --logo-h: 52px; }
.mt-collab__logos { flex-wrap: wrap; row-gap: 1.25rem; }
/* En tablet los cuatro logos siguen en una fila y el texto se acomoda al lado */
@media (min-width: 761px) and (max-width: 1239px) {
  .mt-collab__logos { flex-wrap: nowrap; }
}
/* En celular se achican un poco para que los cuatro quepan en una fila */
@media (max-width: 480px) {
  .mt-collab__logos { --logo-s: 0.78; gap: 1rem; }
}


/* Bio completa del fundador (13-11-2026): foto en círculo junto al nombre y
   negritas en los datos destacados. La regla global deja todo el texto en 300,
   por eso las negritas se fijan aquí. */
.bio-panel__head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  margin: 0 0 1.75rem;
}
.bio-panel__photo {
  flex: none;
  width: clamp(84px, 18vw, 120px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}
.bio-panel__head .bio-panel__name { margin: 0; }
.bio-panel strong { font-weight: 600 !important; color: #000000; }
.bio-panel em { font-style: italic; }

/* Bio más ancha y con párrafos justificados (13-11-2026). En celular se
   justifica igual, con guiones automáticos para que no queden huecos. */
.bio-panel__inner { max-width: 54rem; }
.bio-panel__inner > p[data-i18n-html] {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}


/* Texto del fundador como cita (13-11-2026): su pensamiento sobre el negocio,
   en cursiva y entre comillas en negrita */
.mt-founder__quote em { font-style: italic; }
body .mt-founder__quote .mt-quote { font-weight: 700 !important; color: #000000; }

/* Comillas de la cita algo más grandes (13-11-2026). Suben de tamaño sin
   abrir el interlineado de la línea donde están. */
body .mt-founder__quote .mt-quote {
  font-family: var(--font-display);
  font-weight: 800 !important;
  font-size: 1.75em;
  line-height: 0;
  vertical-align: -0.32em;
}
body .mt-founder__quote .mt-quote:first-child { margin-right: 0.08em; }
body .mt-founder__quote .mt-quote:last-child { margin-left: 0.06em; }


/* Términos de uso y bio (14-11-2026): el velo pasa a ser opaco, así el fondo
   del sitio ya no se ve detrás, y arriba a la izquierda va «Volver» con flecha,
   a la altura de la X. */
.legal-panel { background: #000000; }
.bio-panel { background: #fff; }
.legal-panel__inner { padding-top: calc(var(--bar-h) + clamp(0.75rem, 2vw, 1.25rem)); }

.panel-volver {
  position: fixed;
  top: calc((var(--bar-h) - 44px) / 2);
  left: calc(var(--wide-pad) - 4px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-family: var(--font-text);
  font-size: 0.9rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s var(--ease);
}
.panel-volver svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--ease); }
.panel-volver:hover svg,
.panel-volver:focus-visible svg { transform: translateX(-3px); }
.panel-volver:hover { opacity: 0.8; }
body .panel-volver--claro,
body .panel-volver--claro span { color: #fff !important; }
body .panel-volver--oscuro,
body .panel-volver--oscuro span { color: #000000 !important; }
.panel-volver--claro:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }
.panel-volver--oscuro:focus-visible { outline: 1px solid #000000; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .panel-volver svg { transition: none; }
}


/* «Estudio Minerals Consulting» sobre el mensaje del hero (14-11-2026).
   Letra inicial mayúscula y resto minúsculas, en blanco y más chico que el titular. */
.mt-hero .mt-intro .mt-intro__marca {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85rem + 0.45vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #fff !important;
  font-weight: 200 !important;   /* fina, como el titular (14-11-2026) */
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  margin: 0 0 clamp(0.75rem, 1.8vw, 1.1rem);
  will-change: transform, opacity;
}


/* Logo nuevo del navbar «eMINERALS» con la Λ roja (14-11-2026). Es más corto
   que el anterior, así que va algo más alto y sigue cabiendo en celular entre
   las líneas del menú y el idioma. */
/* Achicado un 20 % (14-11-2026): se veía muy grande */
.mt-logo { height: clamp(10px, 0.98vw, 13.5px); }
@media (max-width: 480px) { .mt-logo { height: 10.5px; } }
@media (max-width: 370px) { .mt-logo { height: 10px; } }


/* Logo «ESTUDIO MINERALS» de línea fina con la Λ roja (14-11-2026). Es más
   largo que eMINERALS, así que va más bajo: unos 188 px de ancho en PC y
   128 px en celular, lo que cabe entre las líneas del menú y el idioma. */
.mt-logo { height: clamp(10px, 0.95vw, 13px); }
@media (max-width: 480px) { .mt-logo { height: 8.8px; } }
@media (max-width: 370px) { .mt-logo { height: 8px; } }

/* Enlaces de la bio (14-11-2026): los tres íconos se igualan a la vista (el de
   LinkedIn era más alto y el sobre más bajo que el de la revista) y quedan al
   centro entre mayúsculas y minúsculas del texto. */
.bio-panel__links a[data-linkedin] svg { width: 15px; height: 15px; }
.bio-panel__links a[href^="mailto:"] svg { width: 17px; height: 17px; }


/* Logo «EMINERALS» en mayúsculas de línea con la Λ roja (14-11-2026). Mismo
   ancho que tenía eMINERALS: unos 130 px en PC y 100 px en celular. */
.mt-logo { height: clamp(11px, 1.1vw, 15.4px); }
@media (max-width: 480px) { .mt-logo { height: 11.6px; } }
@media (max-width: 370px) { .mt-logo { height: 11px; } }


/* «EMINERALS» con letras espaciadas (14-11-2026). Es más largo a igual alto,
   así que va algo más bajo: unos 150 px en PC y 110 px en celular. */
.mt-logo { height: clamp(9.5px, 0.91vw, 12.4px); }
@media (max-width: 480px) { .mt-logo { height: 9.1px; } }
@media (max-width: 370px) { .mt-logo { height: 8.7px; } }


/* «EMINERALS» versión 3 (14-11-2026), proporción 10:1: unos 140 px en PC y
   105 px en celular. */
.mt-logo { height: clamp(10px, 1.03vw, 14px); }
@media (max-width: 480px) { .mt-logo { height: 10.5px; } }
@media (max-width: 370px) { .mt-logo { height: 10px; } }


/* eMINERALS con la «e» roja gruesa (14-11-2026). La e sobresale de las
   mayúsculas, así que la imagen es más alta: se ajusta para mantener el mismo
   ancho de antes, unos 145 px en PC y 103 px en celular. */
.mt-logo { height: clamp(11.5px, 1.22vw, 16.6px); }
@media (max-width: 480px) { .mt-logo { height: 11.8px; } }
@media (max-width: 370px) { .mt-logo { height: 11.4px; } }


/* Logo espaciado un 10 % más chico (14-11-2026): unos 147 px en PC, 101 px
   en celular. */
.mt-logo { height: clamp(10.4px, 1.1vw, 15px); }
@media (max-width: 480px) { .mt-logo { height: 10.6px; } }
@media (max-width: 370px) { .mt-logo { height: 10.3px; } }


/* Punta iluminada de la Gran Torre en su color real (14-11-2026). El resto de la
   foto sigue en blanco y negro bajo el velo marino. Es una capa con solo la punta
   recortada, del mismo tamaño y encuadre que la foto, sobre el velo, y el JS le
   copia el movimiento de la foto al bajar. */
.mt-hero .mt-bg-punta {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../img/hero-santiago-punta.png");
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  will-change: transform;
  pointer-events: none;
}

/* Logo eminerals en minúsculas (14-11-2026). La altura de las letras bajas
   iguala la de las mayúsculas del logo anterior, así el ancho queda parecido. */
.mt-logo { height: clamp(14.8px, 1.565vw, 21.4px); }
@media (max-width: 480px) { .mt-logo { height: 15.1px; } }
@media (max-width: 370px) { .mt-logo { height: 14.7px; } }

/* Logo eminerals con letras levemente más separadas y un 8 % más chico (14-11-2026) */
.mt-logo { height: clamp(13.6px, 1.44vw, 19.7px); }
@media (max-width: 480px) { .mt-logo { height: 13.9px; } }
@media (max-width: 370px) { .mt-logo { height: 13.5px; } }

/* Logo eminerals un 18 % más chico (alternativa C, 14-11-2026) */
.mt-logo { height: clamp(11.2px, 1.18vw, 16.2px); }
@media (max-width: 480px) { .mt-logo { height: 11.4px; } }
@media (max-width: 370px) { .mt-logo { height: 11.1px; } }


/* =========================================================================
   CONTACTO DE LA DERECHA · TARJETA CLARA (alternativa C, 14-11-2026)
   Tarjeta blanca con esquinas redondeadas y sombra junto a los íconos, sin
   bordes de color. Campos grises, botón azul marino y un velo muy leve sobre
   el sitio mientras está abierta (clase mt-cta-open que pone el JS).
   ========================================================================= */
.mt-cta-velo {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
html.mt-cta-open .mt-cta-velo {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease);
}

#cta-email, #cta-whatsapp, #cta-linkedin { --c: #000000; --soft: transparent; --glow: transparent; }

.mt-cta__card {
  right: 12px;
  width: min(330px, calc(100vw - 70px));
  padding: 1.6rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 14px;
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 26px 60px -14px rgba(0, 0, 0, 0.5);
}
html body .mt-cta .mt-cta__card :is(h3, p, span, label, a) { color: #000000 !important; }
html body .mt-cta .mt-cta__card .mt-cta__hint { color: #5f6670 !important; }
html body .mt-cta .mt-cta__card .mt-cta__error { color: #c62828 !important; }
html body .mt-cta .mt-cta__card .mt-cta__error a { color: #c62828 !important; }

.mt-cta__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.mt-cta__hint { font-size: 0.82rem; margin-bottom: 1.1rem; }

.mt-cta__form input,
.mt-cta__form textarea {
  background: #f1f3f6;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #000000;
  font-size: 0.85rem;
  padding: 0.7rem 0.8rem;
  margin-bottom: 0.55rem;
}
.mt-cta__form input::placeholder,
.mt-cta__form textarea::placeholder { color: #8a919c; }
.mt-cta__form input:hover,
.mt-cta__form textarea:hover,
.mt-cta__form input:focus-visible,
.mt-cta__form textarea:focus-visible { border-color: #c9ced6; background: #fff; }
.mt-cta__form input.is-invalid,
.mt-cta__form textarea.is-invalid { border-color: #e2665c; }

.mt-cta__go {
  background: #000000;
  border: 0;
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 0.76rem;
  margin-top: 0.6rem;
  transition: background 0.3s var(--ease);
}
.mt-cta__go:hover,
.mt-cta__go:focus-visible { background: #1d3157; box-shadow: none; }
html body .mt-cta .mt-cta__card .mt-cta__go,
html body .mt-cta .mt-cta__card .mt-cta__go span { color: #fff !important; }

.mt-cta__close { color: #8a919c; }
.mt-cta__close:hover { color: #000000; }

@media (max-width: 480px) {
  .mt-cta__card { width: calc(100vw - 84px); }
}


/* =========================================================================
   NEWSLETTER · FOTO CON VELO (alternativa C, 14-11-2026)
   Antes del footer. Foto del puerto en blanco y negro bajo un velo azul
   marino, texto centrado en blanco y el correo en una cápsula translúcida.
   ========================================================================= */
.nl {
  position: relative;
  overflow: hidden;
  background: #000000;
}
.nl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/newsletter-cobre.jpg?v=1") center / cover no-repeat;
  filter: grayscale(1) contrast(0.95) brightness(1.05);
}
.nl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.8));
}
.nl__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--wide-pad);
  text-align: center;
}
body .nl :is(h2, p) { color: #fff !important; }
.nl .nl__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
}
.nl .nl__lead {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 1.8rem;
}
.nl__form {
  display: flex;
  gap: 0.6rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease);
}
.nl__form:focus-within { border-color: rgba(255, 255, 255, 0.6); }
.nl__form input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-text);
  font-size: 0.92rem;
  color: #fff;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0.8rem 0 0.8rem 1.2rem;
}
.nl__form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.nl__form input.is-invalid::placeholder { color: #ffb3ab; }
.nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl__form button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.8rem 1.3rem;
  background: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.nl__form button:hover,
.nl__form button:focus-visible { background: #e3e7ee; outline: none; }
.nl__form button:disabled { opacity: 0.7; cursor: wait; }
body .nl .nl__form button,
body .nl .nl__form button span { color: #000000 !important; }
.nl__form button svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nl__form button:hover svg { transform: translateX(3px); }
.nl .nl__msg { display: none; font-size: 0.85rem; margin: 0.9rem 0 0; }
.nl .nl__msg.is-visible { display: block; }
body .nl .nl__msg.is-error { color: #ffb3ab !important; }
.nl .nl__note { font-size: 0.78rem; margin: 0.75rem 0 0; }
body .nl .nl__note { color: rgba(255, 255, 255, 0.65) !important; }

@media (max-width: 600px) {
  .nl__form { flex-direction: column; border-radius: 14px; padding: 0.5rem; }
  .nl__form input { padding: 0.8rem 0.6rem; text-align: center; }
  .nl__form button { border-radius: 10px; padding: 0.9rem; }
}


/* Partners alineado (15-11-2026). Texto a la izquierda y logos a la derecha,
   con la frase a la altura del centro de los logos. «Partners» queda justo
   encima de la frase sin empujarla hacia abajo. Solo cuando van lado a lado. */
@media (min-width: 761px) {
  .mt-collab .mt-collab__text { position: relative; }
  .mt-collab .mt-collab__title {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.3rem);
    margin: 0;
    white-space: nowrap;
  }
}


/* Botón de e-mail del CTA lateral en el rojo suave de la e del logo (15-11-2026) */
.mt-cta__tab[data-open="email"] { --glow: rgba(232, 34, 56, 0.6); background: #e82238; }


/* Logo en dos líneas «ESTUDIO / MINERALS» con la Λ roja (15-11-2026).
   Es mucho más alto que el de una línea, así que se le da más alto para que
   «ESTUDIO» se lea. En celular baja para no rozar el selector de idioma. */
.mt-logo { height: clamp(26px, 2.4vw, 34px); }
@media (max-width: 480px) { .mt-logo { height: 22px; } }
@media (max-width: 370px) { .mt-logo { height: 20px; } }

/* Logo en dos líneas un 20 % más chico (15-11-2026) */
.mt-logo { height: clamp(21px, 1.92vw, 27px); }
@media (max-width: 480px) { .mt-logo { height: 17.6px; } }
@media (max-width: 370px) { .mt-logo { height: 16px; } }

/* Logo en dos líneas un 10 % más chico (15-11-2026) */
.mt-logo { height: clamp(18.9px, 1.728vw, 24.3px); }
@media (max-width: 480px) { .mt-logo { height: 15.84px; } }
@media (max-width: 370px) { .mt-logo { height: 14.4px; } }

/* Newsletter: solo los cátodos de cobre en color (15-11-2026). La foto ya viene
   en blanco y negro salvo el cobre, por eso aquí se quita el filtro gris. */
.nl::before {
  background-image: url("../img/newsletter-cobre-color.jpg?v=1");
  filter: contrast(0.95) brightness(1.05);
}

/* Partners: título y frase en blanco (15-11-2026) */
.mt-collab .mt-collab__title { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.mt-collab .mt-collab__lead { color: #fff; }

/* Newsletter sin párrafo bajo el título (15-11-2026): el título toma el aire
   que antes dejaba el párrafo antes del formulario */
.nl .nl__title { margin-bottom: 1.8rem; }

/* Título del newsletter en una sola línea (15-11-2026). El tamaño baja con el
   ancho de la pantalla para que quepa entero también en celular. */
.nl .nl__title { font-size: min(2.15rem, 4.2vw); white-space: nowrap; }


/* =========================================================================
   FUENTES COMO ECONSULT (15-11-2026)
   Montserrat en todo (títulos y textos, mismos pesos finos de antes) y
   PT Serif en cursiva disponible como acento con var(--font-accent).
   ========================================================================= */
:root {
  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-text: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-accent: "PT Serif", Georgia, "Times New Roman", serif;
}

/* Subtexto del hero bajo el titular (16-11-2026). Blanco, fino y más chico
   que el titular, con aire arriba para separarlo. */
.mt-hero .mt-intro .mt-intro__bajada {
  max-width: 40rem;
  margin-top: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 300 !important;
  font-size: clamp(0.92rem, 0.85rem + 0.3vw, 1.08rem);
  line-height: 1.65;
  color: #fff !important;
  will-change: transform, opacity;
}

/* Botones laterales de contacto (16-11-2026): al pasar el cursor se despliega
   el nombre hacia la izquierda, del mismo color del botón. No aparece cuando
   hay una tarjeta abierta, para no taparla. */
.mt-cta__tab { position: relative; }
.mt-cta__tab::before {
  content: attr(aria-label);
  position: absolute;
  right: 100%;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px 0 16px;
  background: inherit;
  color: #fff;
  font: 400 12.5px/1 var(--font-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-radius: 8px 0 0 8px;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
html:not(.mt-cta-open) .mt-cta__tab:is(:hover, :focus-visible)::before { opacity: 1; transform: none; }
html:not(.mt-cta-open) .mt-cta__tab:is(:hover, :focus-visible) { filter: none; box-shadow: none; }
@media (hover: none) { .mt-cta__tab::before { display: none; } }

/* Header blanco con el logo azul marino v53 (17-11-2026) */
.mt-hero .mt-topbar { background: #ffffff; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.mt-topbar .mt-burger i { background: #000000; }
.mt-topbar .mt-burger:hover i { background: #000; }
/* Logo azul v53 con el mismo ancho que el blanco v52 (alto x1,143, 17-11-2026) */
.mt-logo { height: clamp(21.6px, 1.975vw, 27.78px); }
@media (max-width: 480px) { .mt-logo { height: 18.1px; } }
@media (max-width: 370px) { .mt-logo { height: 16.46px; } }

/* Barra superior más baja: 42 px en escritorio y 40 px en celular (17-11-2026) */
:root { --bar-h: 42px; }
@media (max-width: 767px) { :root { --bar-h: 40px; } }
.mt-topbar .mt-lang__trigger { height: 30px; }

/* Torre completa en el hero (17-11-2026). La foto empieza bajo la barra blanca y
   se ancla más arriba, así la punta nunca queda tapada en pantallas anchas. */
.mt-hero .mt-bg,
.mt-hero .mt-bg-punta,
.mt-hero .mt-scrim { top: var(--bar-h); }
.mt-hero .mt-bg,
.mt-hero .mt-bg-punta { background-position: 62% 15%; }

/* Palabra MENÚ junto a las tres rayas, en Montserrat (17-11-2026). Va dentro del
   botón, así un clic en la palabra también abre el menú. */
.mt-topbar .mt-burger::after {
  content: "MENÚ";
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #000000;
  white-space: nowrap;
}
html[lang="en"] .mt-topbar .mt-burger::after { content: "MENU"; }
@media (max-width: 400px) { .mt-topbar .mt-burger::after { left: 47px; font-size: 11px; letter-spacing: 0.12em; } }

/* Selector de idioma con esquinas suaves (alternativa A, 17-11-2026) */
.mt-topbar .mt-lang__trigger { border-radius: 6px; }
.mt-topbar .mt-lang__menu { border-radius: 8px; overflow: hidden; }

/* Barra superior blanca y un poco más baja: 38 px en escritorio y 36 px en celular (17-11-2026) */
:root { --bar-h: 38px; }
@media (max-width: 767px) { :root { --bar-h: 36px; } }
.mt-topbar .mt-lang__trigger { height: 28px; }

/* Footer completo en negro (17-11-2026): textos e íconos en blanco y los logos de
   partners con su color original */
.mt-footer { background: #000 !important; color: #fff; }
.mt-footer * { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.mt-footer .mt-footer__bottom { border-top-color: rgba(255, 255, 255, 0.14) !important; }
.mt-footer svg[stroke], .mt-footer svg [stroke] { stroke: #fff !important; }
.mt-footer .mt-footer__contact-item--icon svg,
.mt-footer .mt-footer__contact-item--icon svg path { fill: #fff !important; }

/* Marca negro, blanco y rojo rosa Rodocrosita #e82238 (17-11-2026): el azul marino
   pasa a negro, el degradado Horizonte y los rojos de acento pasan a #e82238, la foto de
   Capacitación queda en blanco y negro */
.mt-split__media--rojo::after { background: linear-gradient(135deg, rgba(232, 34, 56, 0.85), rgba(232, 34, 56, 0.7)) !important; }

/* Hero más claro (alternativa B, 17-11-2026): casi sin velo general, solo oscurece
   detrás del título a la izquierda y en la parte baja */
.mt-hero .mt-scrim {
  background:
    linear-gradient(180deg, rgba(11, 24, 48, 0) 40%, rgba(11, 24, 48, 0.75) 100%),
    linear-gradient(90deg, rgba(11, 24, 48, 0.45) 0%, rgba(11, 24, 48, 0) 60%),
    rgba(11, 24, 48, 0.3);
}
/* Velo azulado (17-11-2026): mismo reparto de la alternativa B, en azul marino #0B1830
   con un 30 % general para que toda la foto tome el tono azul */

/* Formación: foto del puerto toda azulada, sin el casco rojo (17-11-2026) */
#formacion .mt-split__media img { filter: grayscale(1) contrast(1.05) brightness(1.3); }
#formacion .mt-split__media::after { background: linear-gradient(135deg, rgba(86, 132, 200, 0.9), rgba(40, 78, 140, 0.75)); }

/* Asesoría: foto del camión 453 en el rajo, en blanco y negro con el rojo rosa
   #e82238 de la paleta (17-11-2026). El camión está a la izquierda, así que la foto
   se encuadra hacia ese lado y el movimiento parte sin corrimiento. */
#asesoria .mt-split__media img { object-position: 0% 60%; transform-origin: 0 50%; filter: grayscale(1) contrast(1.08) brightness(1.08); }
#asesoria .mt-split__media::after { display: block; background: linear-gradient(135deg, rgba(232, 34, 56, 0.85), rgba(232, 34, 56, 0.7)) !important; }


/* =========================================================================
   CONTACTO · DOS COLUMNAS CON LÍNEAS (alternativa B, 18-11-2026)
   Reemplaza al newsletter en la misma sección .nl, así conserva la foto de
   los cátodos y el velo negro. Texto a la izquierda y formulario a la derecha
   con campos de una sola línea blanca, sin cajas. Botón con borde blanco que
   se rellena al pasar el mouse. En pantallas angostas va todo en una columna.
   ========================================================================= */
.nl .ct__inner {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  text-align: left;
}
body .nl .ct__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: #fff !important;
}
body .nl .ct__lead {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.85) !important;
}
.nl .ct__mail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nl .ct__mail:hover,
.nl .ct__mail:focus-visible { color: #fff; border-bottom-color: #fff; outline: none; }

.nl .ct__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
}
.nl .ct__form .ct__full { grid-column: 1 / -1; }
.nl .ct__form input,
.nl .ct__form select,
.nl .ct__form textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-text);
  font-size: 0.92rem;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.nl .ct__form textarea { resize: vertical; min-height: 6.5rem; }
.nl .ct__form input:focus,
.nl .ct__form select:focus,
.nl .ct__form textarea:focus { border-bottom-color: #fff; }
.nl .ct__form ::placeholder { color: rgba(255, 255, 255, 0.65); }
.nl .ct__form .is-invalid { border-bottom-color: #ffb3ab; }

/* Tipo de solicitud: misma línea, flecha propia y gris mientras no se elige */
.nl .ct__form select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 1.6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.1rem center / 14px no-repeat;
}
.nl .ct__form select:invalid,
.nl .ct__form select.is-empty { color: rgba(255, 255, 255, 0.65); }
.nl .ct__form select option { color: #101214; background: #fff; }

.nl .ct__form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-text);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
body .nl .ct__form button[type="submit"],
body .nl .ct__form button[type="submit"] span { color: #fff !important; }
.nl .ct__form button[type="submit"]:hover,
.nl .ct__form button[type="submit"]:focus-visible { background: #fff; outline: none; }
body .nl .ct__form button[type="submit"]:hover,
body .nl .ct__form button[type="submit"]:hover span,
body .nl .ct__form button[type="submit"]:focus-visible,
body .nl .ct__form button[type="submit"]:focus-visible span { color: #000 !important; }
.nl .ct__form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.nl .ct__form button[type="submit"] svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nl .ct__form button[type="submit"]:hover svg { transform: translateX(3px); }

.nl .ct__msg { display: none; font-size: 0.85rem; line-height: 1.5; margin: -0.6rem 0 0; }
.nl .ct__msg.is-visible { display: block; }
body .nl .ct__msg { color: #fff !important; }
body .nl .ct__msg.is-error { color: #ffb3ab !important; }
body .nl .ct__msg a { color: inherit; }

@media (max-width: 820px) {
  .nl .ct__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nl .ct__form { grid-template-columns: 1fr; gap: 1.4rem; }
  .nl .ct__form button[type="submit"] { justify-self: stretch; justify-content: center; }
}

/* =========================================================================
   TIPO DE SOLICITUD · DESPLEGABLE PROPIO (alternativa B, 18-11-2026)
   La misma línea blanca de los demás campos con su flecha. Al abrir aparece
   un panel negro translúcido del sitio en vez de la lista blanca del sistema;
   la opción elegida lleva una línea rosa a la izquierda, como el selector de
   idioma. El JS lo abre, lo cierra y guarda la elección en el campo oculto.
   ========================================================================= */
.nl .ct__tipo { position: relative; }
.nl .ct__tipo-btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--font-text);
  font-size: 0.92rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  padding: 0.6rem 0;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nl .ct__tipo-btn.has-value { color: #fff; }
.nl .ct__tipo-btn:focus-visible,
.nl .ct__tipo-btn[aria-expanded="true"] { border-bottom-color: #fff; }
.nl .ct__tipo-btn.is-invalid { border-bottom-color: #ffb3ab; }
.nl .ct__tipo-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl .ct__tipo-btn svg { flex: none; width: 14px; height: 14px; color: #fff; transition: transform 0.3s var(--ease); }
.nl .ct__tipo-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.nl .ct__tipo-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: rgba(10, 10, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nl .ct__tipo-list.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}
.nl .ct__tipo-list li {
  padding: 0.65rem 1rem;
  font-family: var(--font-text);
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  border-left: 2px solid transparent;
  cursor: pointer;
  outline: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nl .ct__tipo-list li:hover,
.nl .ct__tipo-list li:focus { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nl .ct__tipo-list li[aria-selected="true"] { border-left-color: #e82238; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .nl .ct__tipo-list,
  .nl .ct__tipo-btn svg { transition: none; }
}

/* La lista del tipo de solicitud puede salir por debajo de la sección (en
   celular queda cerca del borde); la sección ya no la recorta y queda sobre
   el footer. La foto de fondo va en ::before con inset 0, así que no se sale. */
.nl.ct { overflow: visible; z-index: 2; }

/* =========================================================================
   TIPO DE SOLICITUD · PANEL BLANCO (alternativa B, 18-11-2026)
   La lista se abre en un panel blanco sólido de esquinas rectas con texto
   negro. La opción elegida lleva fondo gris claro y un check rosa a la
   derecha. Reemplaza el panel negro con línea rosa a la izquierda.
   ========================================================================= */
.nl .ct__tipo-list {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.75);
  padding: 0.4rem 0;
}
.nl .ct__tipo-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #101214;
  border-left: 0;
}
.nl .ct__tipo-list li:hover,
.nl .ct__tipo-list li:focus { background: #f1f2f4; color: #000; }
.nl .ct__tipo-list li[aria-selected="true"] { background: #e8eaed; color: #000; font-weight: 500; }
.nl .ct__tipo-list li[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  border-left: 2px solid #e82238;
  border-bottom: 2px solid #e82238;
  transform: rotate(-45deg) translateY(-2px);
}

/* Colores corporativos (21-11-2026): blanco, azul marino #0B1830, rojo #E82238 y negro.
   El rojo rosa #CB4D5C se reemplazó por el rojo corporativo en todo el sitio. */

/* Logo en bloque rojo y navbar transparente (alternativa L, 21-11-2026).
   La barra deja ver la foto del hero, sin línea inferior. El logo va todo en
   blanco dentro de un bloque rojo corporativo que cuelga sobre la foto, a la
   izquierda; el idioma y el menú quedan a la derecha. */
.mt-hero .mt-topbar { background: transparent; border-bottom: 0; justify-content: flex-end; gap: 1.25rem; }
.mt-hero .mt-bg,
.mt-hero .mt-bg-punta,
.mt-hero .mt-scrim { top: 0; }
.mt-topbar .mt-topbar__end { order: 2; }
.mt-topbar .mt-burger { order: 3; margin-left: 62px; }
.mt-topbar .mt-burger i { background: #fff; }
.mt-topbar .mt-burger:hover i { background: #fff; opacity: 0.8; }
.mt-topbar .mt-burger::after { left: auto; right: 50px; color: #fff; }
.mt-logo-link {
  left: var(--wide-pad);
  top: 0;
  transform: none;
  height: calc(var(--bar-h) + 22px);
  padding: 0 18px;
  display: flex;
  align-items: center;
  z-index: 101;
  background: #e82238;
}
.mt-logo { height: 20px; }
@media (max-width: 767px) {
  .mt-logo-link { height: calc(var(--bar-h) + 14px); padding: 0 11px; }
  .mt-logo { height: 14px; }
}

/* Idioma dentro del menú (21-11-2026). El logo en su bloque rojo queda a la
   izquierda y MENÚ a la derecha; el selector de idioma de la barra se oculta en
   todos los tamaños porque ahora es una columna del menú. */
.mt-topbar .mt-topbar__end { display: none; }

/* Columna Idioma del menú: dos filas como las de Contacto, la activa en blanco pleno */
.mt-menu__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .mt-menu__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mt-menu__cols { grid-template-columns: 1fr; } }
.mt-menu__langs { display: flex; flex-direction: column; }
.mt-menu__langs button {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.mt-menu__langs button:first-child { padding-top: 0.35rem; }
.mt-menu__langs button + button { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.mt-menu__langs button .mt-flag { width: 20px; height: 14px; flex-shrink: 0; }
.mt-menu__langs button.is-active,
.mt-menu__langs button:hover,
.mt-menu__langs button:focus-visible { color: #fff; outline: none; }


/* Un solo rojo de marca (21-11-2026): todos los rojos del sitio usan el del fondo
   del bloque del logo, #E82238. Los rojos claros de los avisos de error se mantienen. */

/* Menú (21-11-2026): Español y English del mismo tamaño que las filas de Contacto,
   con la bandera del ancho de los íconos; y el ícono de LinkedIn del mismo tamaño
   que el del correo, bajado un punto para que quede alineado con el texto. */
.mt-menu__langs button { font-size: 0.8rem; gap: 0.55em; }
.mt-menu__langs button .mt-flag { width: 17px; height: 12px; }
.mt-menu__contact--icon svg { width: 16px; height: 16px; transform: translateY(-1px); }

/* Botones laterales siempre clickeables (21-11-2026).
   1) Van por encima de todo: menú, aviso legal y bio, así se pueden usar en
      cualquier momento y posición.
   2) La etiqueta que se despliega al pasar el cursor es parte del botón: recibe
      el cursor y el clic mientras está visible, así el despliegue es continuo y
      solo se retrae al salir por completo del botón y su etiqueta. Mientras está
      oculta no captura nada, para no tapar el sitio. */
.mt-cta { z-index: 220; }
html:not(.mt-cta-open) .mt-cta__tab:is(:hover, :focus-visible)::before { pointer-events: auto; cursor: pointer; }

/* Footer alineado (21-11-2026): todos los textos de la franja inferior en la
   misma línea base, con el mismo alto de línea y espaciado de letras. LinkedIn
   ya no va bajado un punto. */
.mt-footer__li-text { top: 0; }
.mt-footer__bottom { align-items: center; }
.mt-footer__legal-link,
.mt-footer__copyright { line-height: normal; letter-spacing: 0.02em; }

/* Franja solo con la foto de los cátodos de cobre (21-11-2026): la misma imagen
   de fondo de la antigua sección de contacto, sin texto ni formulario. Velo
   suave que oscurece hacia abajo y empalma con el footer negro. */
.nl.nl--foto { height: clamp(240px, 34vw, 480px); }
.nl.nl--foto::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.6) 100%); }

/* Franja de cobre con el velo azul marino corporativo #0B1830 (21-11-2026), como
   el hero: un 30 % general que se oscurece hacia abajo y empalma con el footer.
   El buque de Formación vuelve a su azul claro. */
.nl.nl--foto::after {
  background:
    linear-gradient(180deg, rgba(11, 24, 48, 0) 45%, rgba(11, 24, 48, 0.75) 100%),
    rgba(11, 24, 48, 0.3);
}

/* Fundador con alturas a la par (23-11-2026). A la izquierda la foto, el
   nombre, el cargo y «Ver bio» forman un bloque del mismo alto que la frase,
   alineados arriba y abajo. La foto ronda los 140 px; el JS ajusta el tamaño
   de la frase y el de la foto en --founder-photo-h para que calcen.
   La frase deja espacio a la derecha para los botones sticky. */
@media (min-width: 768px) {
  .mt-founder .mt-split__media {
    display: grid;
    grid-template-rows: 1fr auto auto 1fr;
    justify-items: center;
    gap: 0;
  }
  .mt-founder .mt-founder__circle { grid-row: 2; height: var(--founder-photo-h, 140px); }
  .mt-founder .mt-founder__card { grid-row: 3; margin-top: 1rem; }
  .mt-founder .mt-split__body { padding-right: max(var(--wide-pad), 72px); }
}
@media (max-width: 767px) {
  .mt-founder .mt-split__body { padding-right: 58px; }
}

/* Links de la bio: cada ícono mide lo mismo que las mayúsculas del texto y
   queda centrado con ellas, de la línea de base al alto de la «H» (23-11-2026).
   Los tamaños van en em porque cada dibujo ocupa una parte distinta de su caja. */
.bio-panel__links a svg { transform: translateY(-0.02em); }
.bio-panel__links a[data-linkedin] svg { width: 1.03em; height: 1.03em; }
.bio-panel__links a[href^="mailto:"] svg { width: 1.26em; height: 1.26em; }
.bio-panel__links a:not([data-linkedin]):not([href^="mailto:"]) svg { width: 1.1em; height: 1.1em; }

/* =========================================================================
   SERVICIOS Y ÁREAS DE ESPECIALIDAD (23-11-2026, variante D4)
   Cuatro tarjetas con foto arriba y texto abajo; al pulsar sube una cortina
   azul marino. Áreas sobre azul marino, sin números ni líneas.
   ========================================================================= */
.sv { padding: clamp(3.5rem, 7vw, 6rem) var(--wide-pad); background: #fff; color: #0B1830; font-family: var(--font-display); }
.sv__head { max-width: 46rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.sv__kick { margin: 0 0 .6rem; font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #E82238; }
.sv__title { margin: 0 0 .9rem; font-size: clamp(1.7rem, 1rem + 2vw, 2.6rem); line-height: 1.15; }
.sv__text { margin: 0; font-size: 1rem; line-height: 1.7; font-weight: 300; }
body .sv h3 { font-weight: 400 !important; margin: 0 0 .55rem; font-size: clamp(1.02rem, .9rem + .35vw, 1.2rem); line-height: 1.3; }

.sv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.sv-card { position: relative; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; background: #efebe3; outline: none; }
.sv-card:focus-visible { box-shadow: 0 0 0 2px #E82238; }
.sv-card__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.sv-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.08); }
.sv-card__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background: linear-gradient(135deg, rgba(232, 34, 56, .85), rgba(232, 34, 56, .7)); }
.sv-card:nth-child(even) .sv-card__photo::after { background: linear-gradient(135deg, rgba(86, 132, 200, .9), rgba(40, 78, 140, .75)); }
.sv-card:first-child .sv-card__photo img { object-position: 0% 60%; }
.sv-card__txt { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.3rem 1.5rem; }
.sv-card__txt p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.6; font-weight: 300; color: #2b3445; }
.sv-more { display: inline-flex; align-items: center; gap: .45em; margin-top: 1rem; font-size: .85rem; font-weight: 500; }
.sv-plus { display: inline-block; font-size: 1.15em; line-height: 1; }
.sv-plus.is-x { transform: rotate(45deg); }
.sv-card:hover .sv-card__txt .sv-more { color: #E82238; }

.sv-card__cur { position: absolute; inset: -1px; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem 1.4rem; background: rgba(11, 24, 48, .95); color: #fff; clip-path: inset(100% 0 0 0); transition: clip-path .52s cubic-bezier(.22, 1, .36, 1); }
.sv-card.is-open .sv-card__cur { clip-path: inset(0); }
.sv-card__cur p { margin: 0 0 1.1rem; font-size: .92rem; line-height: 1.6; font-weight: 300; color: rgba(255, 255, 255, .85); }
.sv-card__btns { display: flex; flex-direction: column; gap: .55rem; }
.sv-btn { box-sizing: border-box; width: 100%; padding: .7rem 1rem; background: transparent; border: 1px solid rgba(255, 255, 255, .55); color: #fff; font: inherit; font-size: .85rem; font-weight: 500; cursor: pointer; transition: background .25s, border-color .25s; }
.sv-btn--solid { background: #E82238; border-color: #E82238; }
.sv-btn:hover { border-color: #fff; }
.sv-btn--solid:hover { background: #c81c35; border-color: #c81c35; }
.sv-card__cur .sv-more { margin-top: 1.1rem; }

.sv--areas { background: #0B1830; color: #fff; }
.sv--areas .sv__head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.sv--areas .sv__text { color: rgba(255, 255, 255, .78); }
.sv__areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 4rem); }
.sv__areas p { margin: 0; font-size: .92rem; line-height: 1.65; font-weight: 300; color: rgba(255, 255, 255, .74); }

@media (max-width: 1100px) { .sv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sv__areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .sv { padding-right: 58px; }
  .sv__grid, .sv__areas { grid-template-columns: 1fr; }
}

/* Fotos de Servicios (23-11-2026, animación D): en blanco y negro nítido con un
   leve velo gris; al pasar el mouse, o al abrir la tarjeta en celular, recuperan
   su color natural. Sin desenfoque ni tinte rojo o azul. */
.sv-card__photo img { filter: grayscale(1) contrast(1.06) brightness(1.04); transition: filter .9s cubic-bezier(.22, 1, .36, 1); }
.sv-card__photo::after,
.sv-card:nth-child(even) .sv-card__photo::after { mix-blend-mode: normal; background: rgba(0, 0, 0, .14); transition: opacity .9s cubic-bezier(.22, 1, .36, 1); }
.sv-card:hover .sv-card__photo img,
.sv-card:focus-visible .sv-card__photo img,
.sv-card.is-open .sv-card__photo img { filter: none; }
.sv-card:hover .sv-card__photo::after,
.sv-card:focus-visible .sv-card__photo::after,
.sv-card.is-open .sv-card__photo::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sv-card__photo img, .sv-card__photo::after { transition: none; } }

/* Cortina de Servicios (23-11-2026): botones solo con línea fina, sin fondo */
.sv-btn, .sv-btn--solid { background: transparent; border: 1px solid rgba(255, 255, 255, .6); }
.sv-btn:hover, .sv-btn--solid:hover { background: transparent; border-color: #fff; }

/* =========================================================================
   ÁREAS DE ESPECIALIDAD · PESTAÑAS (23-11-2026, variante K3)
   Fondo blanco, índice en azul marino y panel con la foto de cada área en
   blanco y negro bajo velo negro. Reemplaza a la grilla azul de tres columnas.
   ========================================================================= */

.ar-d{background:#0B1830;color:#fff}

.ar-d .sv__text{color:rgba(255,255,255,.78)}

.ar-d__wrap{display:grid;grid-template-columns:5fr 6fr;gap:clamp(2rem,5vw,5rem);margin-top:clamp(2rem,4vw,3rem)}

.ar-d__tabs{display:flex;flex-direction:column}

.ar-d__tab{display:flex;justify-content:space-between;align-items:center;padding:1.15rem 0;background:none;border:0;border-top:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.55);font:inherit;font-size:clamp(1.05rem,.9rem + .5vw,1.3rem);font-weight:300;text-align:left;cursor:pointer;transition:color .3s}

.ar-d__tab:last-child{border-bottom:1px solid rgba(255,255,255,.14)}

.ar-d__tab::after{content:"+";font-size:1.2em;transition:transform .35s cubic-bezier(.22,1,.36,1)}

.ar-d__tab:hover,.ar-d__tab.is-on{color:#fff}

.ar-d__tab.is-on::after{transform:rotate(45deg);color:#ff5a72}

.ar-d__panel{position:relative;align-self:center;min-height:14rem}

.ar-d__panel article{position:absolute;inset:0;opacity:0;transform:translateX(12px);transition:opacity .45s,transform .45s cubic-bezier(.22,1,.36,1);pointer-events:none}

.ar-d__panel article.is-on{opacity:1;transform:none;pointer-events:auto}

body .ar-d__panel h3{font-size:clamp(1.6rem,1rem + 1.8vw,2.4rem)!important;margin-bottom:1rem}

.ar-d__panel p{margin:0;font-size:1.08rem;line-height:1.7;font-weight:300;color:rgba(255,255,255,.82)}

@media (max-width:900px){.ar-d__wrap{grid-template-columns:1fr}
.ar-d__tabs{display:none}
.ar-d__panel{min-height:0}
.ar-d__panel article{position:static;opacity:1;transform:none;padding:1.4rem 0;border-top:1px solid rgba(255,255,255,.14)}
body .ar-d__panel h3{font-size:1.2rem!important;margin-bottom:.5rem}
.ar-d__panel p{font-size:.94rem}
}


.ar-dp .ar-d__panel{align-self:stretch;min-height:25rem}

.ar-dp .ar-d__panel article{isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(2rem,3.5vw,3rem)}

.ar-d__ph{position:absolute;inset:0;z-index:-1}

.ar-d__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.06) brightness(1.04);transform:scale(1.06);transition:transform 1.4s cubic-bezier(.22,1,.36,1)}

.ar-d__panel article.is-on .ar-d__ph img{transform:scale(1)}

.ar-d__ph::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.78)}

@media (max-width:900px){
  .ar-dp .ar-d__panel article{position:relative;padding:1.75rem 1.4rem;margin-bottom:.75rem;border-top:0;min-height:15rem}

  .ar-dp .ar-d__panel article .ar-d__ph img{transform:none}

}

.ar-d{background:#fff}

.ar-d{color:#0B1830}

.ar-d .sv__text{color:#2b3445}

.ar-d__tab{color:rgba(11,24,48,.5);border-color:rgba(11,24,48,.16)!important}

.ar-d__tab:hover,.ar-d__tab.is-on{color:#0B1830}

.ar-d__tab.is-on::after{color:#E82238}

.ar-d__panel article{color:#fff}

/* Áreas (23-11-2026): el índice usa una flecha en vez de + y ×. Gris suave en
   reposo, azul marino al pasar el mouse y roja y desplazada en el área elegida. */
.ar-d__tab::after { content: "→"; font-size: 1.05em; color: rgba(11, 24, 48, .28); transform: none; transition: transform .35s cubic-bezier(.22, 1, .36, 1), color .3s; }
.ar-d__tab:hover::after { color: #0B1830; transform: translateX(3px); }
.ar-d__tab.is-on::after { color: #E82238; transform: translateX(6px); }

/* =========================================================================
   ÁREAS DE ESPECIALIDAD · ACORDEÓN SENCILLO (23-11-2026, variante S1)
   Fondo blanco, seis renglones con chevrón animado. Reemplaza a las pestañas.
   ========================================================================= */

.ac{background:#fff;color:#0B1830;padding-right:max(var(--wide-pad),72px)}

@media (max-width:767px){.ac{padding-right:58px}
}

.ac__list{border-top:1px solid rgba(11,24,48,.16)}

.ac__it{border-bottom:1px solid rgba(11,24,48,.16)}

.ac__btn{display:flex;width:100%;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.35rem 0;background:none;border:0;font:inherit;font-size:clamp(1.1rem,.95rem + .6vw,1.45rem);font-weight:300;color:rgba(11,24,48,.62);text-align:left;cursor:pointer;transition:color .3s}

.ac__btn:hover,.ac__it.is-open .ac__btn{color:#0B1830}

.ac__ic{flex:none;font-size:1.05em;color:rgba(11,24,48,.3);transition:transform .45s cubic-bezier(.22,1,.36,1),color .3s}

.ac__btn:hover .ac__ic{color:#0B1830;transform:translateX(3px)}

.ac__it.is-open .ac__ic{color:#E82238;transform:rotate(90deg)}

.ac__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .6s cubic-bezier(.22,1,.36,1)}

.ac__it.is-open .ac__body{grid-template-rows:1fr}

.ac__in{overflow:hidden;min-height:0}

.ac__ct p{margin:0;font-size:1rem;line-height:1.7;font-weight:300;color:#2b3445}

.ac__ph{position:relative;overflow:hidden;background:#111}

.ac__ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(1.1);transform:scale(1.08);transition:transform 1.6s cubic-bezier(.22,1,.36,1)}

.ac__it.is-open .ac__ph img{transform:scale(1)}

.ac__ct{opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .6s cubic-bezier(.22,1,.36,1)}

.ac__it.is-open .ac__ct{opacity:1;transform:none;transition-delay:.15s}

.ac .ac__ct{padding:0 0 1.5rem}
.ac .ac__ct p{max-width:40rem}

/* Chevrón animado: baja levemente al pasar el mouse y gira hacia arriba, en rojo, al abrir */
@keyframes acNudge{0%,100%{transform:translateY(0)}
50%{transform:translateY(3px)}
}

.ac .ac__ic{display:inline-flex;width:22px;height:22px;transform:none;color:rgba(11,24,48,.35);transition:transform .5s cubic-bezier(.22,1,.36,1),color .3s}

.ac .ac__ic svg{width:100%;height:100%}

.ac .ac__btn:hover .ac__ic{transform:none;color:#0B1830;animation:acNudge .9s ease-in-out infinite}

.ac .ac__it.is-open .ac__ic{transform:rotate(180deg);color:#E82238;animation:none}

/* Fotos de Servicios (23-11-2026): el hover mantiene el blanco y negro y solo
   enciende los colores fuertes de cada foto (amarillo del camión, rojo del buque,
   pantallas). Cada foto tiene una segunda versión de color selectivo encima,
   que aparece en fundido. */
.sv-card .sv-card__photo img.sv-card__splash { filter: contrast(1.06) brightness(1.04); opacity: 0; transition: opacity .9s cubic-bezier(.22, 1, .36, 1); }
.sv-card:hover .sv-card__photo img:first-child,
.sv-card:focus-visible .sv-card__photo img:first-child,
.sv-card.is-open .sv-card__photo img:first-child { filter: grayscale(1) contrast(1.06) brightness(1.04); }
.sv-card:hover .sv-card__photo img.sv-card__splash,
.sv-card:focus-visible .sv-card__photo img.sv-card__splash,
.sv-card.is-open .sv-card__photo img.sv-card__splash { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sv-card .sv-card__photo img.sv-card__splash { transition: none; } }

/* =========================================================================
   TIPOGRAFÍA CONGRUENTE Y ROJO SOLO EN HOVER (23-11-2026)
   1. Ningún texto va en rojo corporativo salvo al pasar el mouse.
   2. Todos los rótulos en mayúsculas usan el mismo tamaño, peso y espaciado
      (0.72rem, 400 y 0.1em). Antes iban de 0.18em a -0.01em.
   3. Los textos normales no llevan espaciado extra entre letras; los títulos
      mantienen su leve cierre de -0.01em.
   ========================================================================= */
.sv__kick { color: #0B1830; opacity: .7; }
.bio-panel__role { color: #0B1830; opacity: .7; }
.ac .ac__it.is-open .ac__ic { color: #0B1830; }
.ac .ac__btn:hover .ac__ic { color: #E82238; }

body .sv__kick,
body .mt-menu__kicker,
body .bio-panel__role,
body .mt-collab .mt-collab__title,
body .legal-panel section h3,
body .mt-cta__go span {
  font-size: .72rem !important;
  font-weight: 400 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
}
body .mt-topbar .mt-burger::after { letter-spacing: .1em; }

body .mt-menu__note,
body .mt-intro__marca,
body .mt-collab__logo span,
body .mt-footer__contact-item,
body .mt-footer__li-text,
body .mt-footer__legal-link,
body .mt-footer__copyright { letter-spacing: normal !important; }

/* Términos de uso (23-11-2026): el velo es el mismo del menú, azul marino al 70 %, sin desenfoque */
.legal-panel { background: rgba(11, 24, 48, 0.7); }

/* Con el menú o Términos de uso abiertos (23-11-2026), los textos de las secciones
   nuevas también se ocultan, para que bajo el velo azul solo se vean las fotos */
.sv__head, .sv-card__txt, .ac__list, .mt-founder__card, .mt-collab__text { transition: opacity .35s var(--ease); }
html.mt-menu-open :is(.sv__head, .sv-card__txt, .ac__list, .mt-founder__card),
html.mt-legal-open :is(.sv__head, .sv-card__txt, .ac__list, .mt-founder__card) { opacity: 0; }

/* =========================================================================
   MENÚ · LISTA GRANDE SIN TÍTULOS (23-11-2026, layout L2)
   Enlaces principales grandes y livianos a la izquierda; correo, LinkedIn e
   idioma en una columna chica pegada al borde derecho. Sin rótulos y con más
   aire bajo el logo.
   ========================================================================= */
.mt-menu .mt-menu__kicker { display: none !important; }
.mt-menu__cols {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "a c" "p i";
  row-gap: 2.25rem;
  padding-top: calc(var(--bar-h) + clamp(4.5rem, 13vh, 8rem));
}
.mt-menu__col--asesoria { grid-area: a; } .mt-menu__col--programas { grid-area: p; } .mt-menu__col--contacto { grid-area: c; } .mt-menu__col--idioma { grid-area: i; }
.mt-menu__col--contacto, .mt-menu__col--idioma { justify-self: end; min-width: 13rem; }
.mt-menu__col--asesoria .mt-menu__list a, .mt-menu__col--programas .mt-menu__list a { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); font-weight: 200; padding: .55rem 0; }
.mt-menu__col--asesoria .mt-menu__list li + li, .mt-menu__col--programas .mt-menu__list li + li { border-top: 0; }
@media (max-width: 900px) {
  .mt-menu__cols { grid-template-columns: 1fr; grid-template-areas: "a" "p" "c" "i"; }
  .mt-menu__col--contacto, .mt-menu__col--idioma { justify-self: stretch; min-width: 0; }
}

/* Menú (23-11-2026): todos los enlaces principales con la misma separación, sin
   salto entre los de Asesoría y el programa. El idioma se separa del contacto
   con su propio margen. */
.mt-menu__cols { row-gap: 0; }
.mt-menu__col--asesoria .mt-menu__list li a,
.mt-menu__col--programas .mt-menu__list li a { padding: .55rem 0 !important; }
.mt-menu__col--idioma { margin-top: 2.25rem; }
.mt-menu__col--programas .mt-menu__note { margin-top: .15rem; font-size: .72rem; letter-spacing: normal; opacity: .6; }
@media (max-width: 900px) { .mt-menu__col--contacto { margin-top: 2.25rem; } }

/* Menú en tres bloques (23-11-2026): Servicios y Áreas; los tres programas;
   Acerca de eMinerals y Contacto. Mismo tamaño y separación dentro de cada
   bloque y un espacio parejo entre bloques. */
.mt-menu__cols { grid-template-areas: "a c" "p i" "b ."; }
.mt-menu__col--about { grid-area: b; }
.mt-menu__col--programas, .mt-menu__col--about { margin-top: 1.75rem; }
.mt-menu__col--about .mt-menu__list a { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); font-weight: 200; padding: .55rem 0 !important; }
.mt-menu__col--about .mt-menu__list li + li { border-top: 0; }
@media (max-width: 900px) { .mt-menu__cols { grid-template-areas: "a" "p" "b" "c" "i"; } }

/* Menú, bloques con título y línea (23-11-2026, variante B3). Cada bloque lleva
   su rótulo (Consultoría, Formación, Nosotros) y una línea fina de máximo 30rem
   lo separa del anterior. El contacto y el idioma siguen sin rótulo. */
.mt-menu .mt-menu__kicker--block { display: block !important; margin: 0 0 .6rem; color: rgba(255, 255, 255, .6); }
.mt-menu__col--programas::before,
.mt-menu__col--about::before { content: ""; display: block; width: min(100%, 30rem); border-top: 1px solid rgba(255, 255, 255, .28); margin-bottom: 1.75rem; }

/* Menú más compacto (23-11-2026) para que los tres bloques quepan en una
   pantalla de laptop: enlaces algo más chicos y un poco menos de aire arriba */
.mt-menu__cols { padding-top: calc(var(--bar-h) + clamp(3.25rem, 9vh, 6rem)); }
.mt-menu__col--asesoria .mt-menu__list a,
.mt-menu__col--programas .mt-menu__list a,
.mt-menu__col--about .mt-menu__list a { font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem); padding: .4rem 0 !important; }
.mt-menu__col--programas, .mt-menu__col--about { margin-top: 1.35rem; }
.mt-menu__col--programas::before, .mt-menu__col--about::before { margin-bottom: 1.35rem; }

/* Menú (24-11-2026): sin la nota «Programa intensivo» y enlaces un poco más chicos */
.mt-menu__col--asesoria .mt-menu__list a,
.mt-menu__col--programas .mt-menu__list a,
.mt-menu__col--about .mt-menu__list a { font-size: clamp(1.2rem, .95rem + .85vw, 1.7rem); }

.mt-menu__col--asesoria .mt-menu__list a,
.mt-menu__col--programas .mt-menu__list a,
.mt-menu__col--about .mt-menu__list a { line-height: 1.25; }

/* Fundador (24-11-2026): título «Acerca de eMinerals» a todo el ancho, arriba de
   la foto y la frase, con el mismo estilo del título de Formación especializada */
.mt-founder__head { grid-column: 1 / -1; padding: clamp(3rem, 6vw, 5rem) max(var(--wide-pad), 72px) 0 var(--wide-pad); }
body .mt-split .mt-founder__head .mt-split__title { margin: 0; }
@media (max-width: 767px) { .mt-founder__head { padding: 2.75rem 58px 0 var(--wide-pad); } }

.mt-founder__head { transition: opacity .35s var(--ease); }
html.mt-menu-open .mt-founder__head, html.mt-legal-open .mt-founder__head { opacity: 0; }

/* =========================================================================
   PROGRAMAS EN ZIGZAG (24-11-2026)
   Las tres secciones de programa usan el mismo fondo crema y la misma foto en
   blanco y negro teñida de azul que tenía Formación especializada.
   ========================================================================= */
.mt-split.mt-prog { background: #efebe3; }
.mt-prog .mt-split__media img { filter: grayscale(1) contrast(1.05) brightness(1.3); }
.mt-prog .mt-split__media::after { background: linear-gradient(135deg, rgba(86, 132, 200, 0.9), rgba(40, 78, 140, 0.75)); }
/* Una línea fina separa una sección de programa de la siguiente */
.mt-prog + .mt-prog { border-top: 1px solid rgba(11, 24, 48, .08); }

/* Programas (24-11-2026): fotos cuadradas y las tres secciones del mismo alto.
   En pantallas anchas la foto es un cuadrado de lado --sq y el texto ocupa el
   resto; en celular la foto también es cuadrada, arriba del texto. */
.mt-split.mt-prog { --sq: clamp(440px, 42vw, 640px); }
@media (min-width: 768px) {
  .mt-split.mt-prog { grid-template-columns: var(--sq) minmax(0, 1fr); min-height: 0; height: var(--sq); }
  .mt-split.mt-prog.mt-split--reverse { grid-template-columns: minmax(0, 1fr) var(--sq); }
  .mt-split.mt-prog .mt-split__media { height: var(--sq); }
}
@media (max-width: 767px) {
  .mt-split.mt-prog .mt-split__media { aspect-ratio: 1 / 1; }
}

/* Menú (24-11-2026): cada enlace mide solo lo que su texto, así un clic al
   lado del texto no lleva a ninguna sección (antes cada enlace cubría todo el
   ancho de la columna). La línea fina entre correo y LinkedIn sigue a todo el
   ancho de la columna. */
.mt-menu__list a,
.mt-menu__contact { width: fit-content; max-width: 100%; }
.mt-menu__foot { align-items: flex-start; container-type: inline-size; }
.mt-menu__contact + .mt-menu__contact { border-top: 0; position: relative; }
.mt-menu__contact + .mt-menu__contact::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100cqw;
  border-top: 1px solid rgba(255, 255, 255, 0.28); pointer-events: none;
}

/* Tarjeta «Enviar e-mail» (24-11-2026, variante D2 sin círculos): el tipo de
   solicitud es una lista propia que se despliega dentro de la tarjeta, que crece
   hacia abajo. El select nativo queda oculto debajo. */
.tp { position: relative; margin-bottom: 0.55rem; border: 1px solid transparent; border-radius: 8px; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.tp .tp__native {
  position: absolute; left: 0; bottom: 0; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; margin: 0 !important; padding: 0 !important; border: 0 !important;
}
.tp__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  width: 100%; margin: 0; text-align: left; cursor: pointer;
  background: #f1f3f6; border: 1px solid transparent; border-radius: 8px;
  padding: 0.7rem 0.8rem; font: inherit; font-size: 0.85rem; line-height: 1.3;
  letter-spacing: normal; text-transform: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.tp__btn:hover, .tp__btn:focus-visible { outline: none; border-color: #c9ced6; background: #fff; }
.tp__btn.is-invalid { border-color: #e2665c; }
.tp__val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp__chev { width: 14px; height: 14px; flex: none; color: #8a919c; transition: transform .3s var(--ease); }
.tp.is-open { background: #fff; border-color: #c9ced6; }
.tp.is-open .tp__btn { background: #fff; border-color: transparent; border-radius: 8px 8px 0 0; }
.tp.is-open .tp__chev { transform: rotate(180deg); }
.tp__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.tp__panel.is-open {
  max-height: 250px; overflow-y: auto; border-top: 1px solid rgba(11, 24, 48, 0.08);
  scrollbar-width: thin; scrollbar-color: rgba(11, 24, 48, 0.25) transparent;
}
.tp__list { padding: 0.15rem 0.35rem 0.4rem; }
.tp__kick {
  padding: 0.6rem 0.45rem 0.25rem; font-size: 0.66rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(11, 24, 48, 0.55);
}
.tp__group--solo { margin-top: 0.35rem; padding-top: 0.3rem; border-top: 1px solid rgba(11, 24, 48, 0.08); }
.tp__opt {
  display: flex; align-items: center; gap: 0.6rem; width: 100%; margin: 0;
  padding: 0.45rem 0.45rem; border: 0; border-radius: 6px; background: none;
  text-align: left; cursor: pointer; font: inherit; font-size: 0.82rem; line-height: 1.3;
  letter-spacing: normal; text-transform: none; transition: background-color .2s;
}
.tp__opt:hover, .tp__opt:focus-visible { outline: none; background: #f1f3f6; }
.tp__opt.is-sel { background: rgba(11, 24, 48, 0.06); }
.tp__txt { flex: 1; min-width: 0; }
.tp__check { width: 15px; height: 15px; flex: none; color: #0B1830; opacity: 0; transition: opacity .2s; }
.tp__opt.is-sel .tp__check { opacity: 1; }
/* La tarjeta pinta de blanco o negro todos sus botones; aquí van los colores propios */
html body .mt-cta .tp .tp__btn { color: #8a919c !important; }
html body .mt-cta .tp .tp__btn.has-value { color: #000 !important; }
html body .mt-cta .tp .tp__opt { color: #0B1830 !important; }

/* Servicios (24-11-2026, variante A): tarjetas en dos columnas con fotos 3:2,
   cerca del tamaño de las fotos de los cursos. En celular, una columna y 4:3. */
.sv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2rem); }
.sv-card__photo { aspect-ratio: 3 / 2; }
.sv-card__txt { padding: clamp(1.4rem, 2vw, 1.9rem) clamp(1.3rem, 2vw, 1.9rem) clamp(1.5rem, 2vw, 2rem); }
.sv-card__txt p { max-width: 34rem; }
@media (max-width: 767px) { .sv__grid { grid-template-columns: 1fr; } .sv-card__photo { aspect-ratio: 4 / 3; } }

/* Servicios (24-11-2026): cada cortina tiene su propio texto; si no cabe, la
   tarjeta crece al abrirse con la misma curva de la cortina */
.sv-card { transition: min-height .52s cubic-bezier(.22, 1, .36, 1); }

/* Servicios (24-11-2026): la cortina se cierra con una X arriba a la derecha y
   los colores se intercalan, tarjetas 1 y 3 azul marino, 2 y 4 rojo corporativo.
   El contenido va centrado en vertical, no pegado abajo */
.sv-card__cur { justify-content: center; padding-top: 3.9rem; padding-bottom: 2.6rem; }
.sv-card:nth-child(even) .sv-card__cur { background: rgba(232, 34, 56, .95); }
.sv-x {
  position: absolute; top: .8rem; right: .8rem; z-index: 1;
  width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  background: none; border: 0; color: #fff; cursor: pointer;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .25s;
  opacity: .9;
}
.sv-x svg { width: 26px; height: 26px; }
.sv-x:hover, .sv-x:focus-visible { opacity: 1; transform: rotate(90deg); outline: none; }
/* X de las cortinas más grande (24-11-2026) */
.sv-x { top: .7rem; right: .7rem; width: 52px; height: 52px; }
.sv-x svg { width: 36px; height: 36px; }
.sv-card__cur { padding-top: 4.4rem; }

/* Capacitación (24-11-2026): «Solicitar curso a la medida» destacado en blanco con
   texto azul marino; al pasar el cursor queda como los demás botones */
.sv-card__btns .sv-btn--strong { background: #fff; border-color: #fff; color: #0B1830; }
.sv-card__btns .sv-btn--strong:hover { background: transparent; border-color: #fff; color: #fff; }

/* Fondo blanco (24-11-2026, variante A, referencia econsult.cl): el crema de los
   cursos y de las tarjetas de Servicios pasa a blanco; el texto de cada tarjeta
   queda enmarcado por una línea fina y entre curso y curso hay una línea fina */
.mt-split.mt-prog, .mt-split#formacion, .sv-card { background: #fff; }
.sv-card__txt { border: 1px solid rgba(11, 24, 48, .12); border-top: 0; }
.mt-prog + .mt-prog { border-top: 1px solid rgba(11, 24, 48, .1); }

/* Sin líneas divisorias de sección (24-11-2026): los cursos van pegados, sin
   línea ni aire entre ellos, y el pie pierde la línea entre Partners y la franja
   de contacto. La lista de Áreas conserva sus líneas. */
.mt-prog + .mt-prog { border-top: 0 !important; }
.mt-footer .mt-footer__bottom { border-top-color: transparent !important; }

/* Servicios (24-11-2026, variante A): el color selectivo se ve siempre, no solo
   al pasar el cursor. T1 camión y piso, T2 casco y mar, T3 cobre, lápiz y buque,
   T4 la pantalla. El hover ya no cambia la foto. */
.sv-card .sv-card__photo img.sv-card__splash { opacity: 1 !important; }

/* Cursos (24-11-2026): cortina de cada curso, misma pieza que la bio del fundador */
.curso-panel .bio-panel__inner { max-width: 54rem; }
.curso__foto { flex: none; width: clamp(84px, 18vw, 120px); aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1) sepia(.35) hue-rotate(185deg) saturate(2.2) brightness(.8); }
.curso-panel .bio-panel__role { color: #0B1830; opacity: .7; font-weight: 400; letter-spacing: .1em; font-size: .72rem; }
.curso-panel p { font-size: clamp(.92rem, .85rem + .25vw, 1.02rem); line-height: 1.7; color: rgba(0, 0, 0, .85); margin: 0 0 1rem; }
.curso-panel .curso__lead { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); color: #0B1830; }
.curso__kick { margin: 2rem 0 .6rem; font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #0B1830; opacity: .7; }
.curso__mods { border-top: 1px solid rgba(11, 24, 48, .12); }
.curso__mod { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(11, 24, 48, .12); }
.curso__num { font-size: .8rem; letter-spacing: .1em; color: #0B1830; opacity: .55; padding-top: .2rem; }
.curso__mod h4 { margin: 0 0 .25rem; font-family: var(--font-display); font-weight: 300; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #0B1830; }
.curso-panel .curso__mod p { margin: 0; font-size: .9rem; }
.curso__bio { background: none; border: 0; padding: 0 0 0 .4rem; font: inherit; color: #0B1830; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.curso__bio:hover { color: #E82238; }
.curso__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(11, 24, 48, .12); }
.curso__ctas .mt-split__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-width: 248px; padding: .95rem 1.6rem; font: inherit; font-size: .95rem; font-weight: 300; background: transparent; color: #000; border: 1px solid #000; cursor: pointer; transition: background .25s, color .25s; }
.curso__ctas .mt-split__btn--solid { background: #000; color: #fff; }
.curso__ctas .mt-split__btn:hover { background: #0B1830; border-color: #0B1830; color: #fff; }
@media (max-width: 600px) { .curso__ctas .mt-split__btn { width: 100%; } .curso__mod { grid-template-columns: 2.2rem 1fr; gap: .6rem; } }
/* En tablet el bloque de cada curso crece si el texto no cabe (antes los botones se salían) */
@media (min-width: 768px) and (max-width: 1100px) {
  .mt-split.mt-prog { height: auto; min-height: var(--sq); }
  .mt-split.mt-prog .mt-split__media { height: auto; min-height: var(--sq); align-self: stretch; }
}

/* Cursos (24-11-2026, banner A): franja delgada con la foto del curso en azul,
   a todo el ancho, justo bajo la X y Volver (fijos hasta 44 px). Reemplaza a la
   foto chica de la cabecera. */
.curso-panel .curso__banner { position: relative; margin-top: 52px; height: clamp(110px, 16vh, 170px); overflow: hidden; }
.curso-panel .curso__banner + .bio-panel__inner { padding-top: clamp(2rem, 5vh, 3rem); }
.curso__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) sepia(.35) hue-rotate(185deg) saturate(2.2) brightness(.8); }
/* Banners de los cursos a color natural (24-11-2026), sin el tono azul */
.curso__banner img { filter: none; }

/* Franja antes del footer con la foto del programa de Logística (24-11-2026),
   a color natural y con el mismo velo azul marino */
.nl.nl--foto::before {
  background-image: url("../img/curso-logistica.jpg?v=1");
  background-position: center 40%;
  filter: none;
}

/* Logística con la foto de los cátodos (24-11-2026): el encuadre se corre a la
   izquierda para que se vea el operario lavando */
#prog-logistica .mt-split__media img { object-position: 18% 50%; }

/* Banner de Aduanas (24-11-2026): el encuadre sube para que se vean las banderas */
#curso-adu .curso__banner img { object-position: 50% 16%; }

/* Programas con color selectivo (24-11-2026), la misma lógica de Servicios:
   foto en blanco y negro con el elemento clave a color (buque, cátodos,
   banderas). Sin el velo azul. */
body .mt-prog .mt-split__media img, #formacion.mt-prog .mt-split__media img { filter: contrast(1.06) brightness(1.04); }
body .mt-prog .mt-split__media::after, #formacion.mt-prog .mt-split__media::after { background: none; }

/* Programas en damero (24-11-2026, variante A). Foto y texto mitad y mitad
   dentro de un ancho máximo de 1180 px; fotos apaisadas que se tocan por la
   esquina en el centro. La fila crece si el texto no cabe. En celular la foto
   va arriba del texto, apaisada 3:2. */
body .mt-split.mt-prog { --max: 1180px; --pi: max(var(--wide-pad), calc((100% - var(--max)) / 2));
  --cw: calc((min(100vw, var(--max) + 2 * var(--wide-pad)) - 2 * var(--wide-pad)) / 2); --r: .6667; }
@media (min-width: 768px) {
  body .mt-split.mt-prog, body .mt-split.mt-prog.mt-split--reverse {
    grid-template-columns: 1fr 1fr; height: auto; min-height: 0;
    padding-inline: var(--pi); grid-auto-rows: minmax(calc(var(--cw) * var(--r)), auto); }
  body .mt-split.mt-prog .mt-split__media { height: auto; min-height: 0; aspect-ratio: auto; align-self: stretch; }
  body .mt-split.mt-prog .mt-split__body { padding: clamp(1.75rem, 3.2vw, 3.25rem) clamp(1.5rem, 3.5vw, 3.75rem); }
  body .mt-split.mt-prog .mt-split__title { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); }
}
@media (max-width: 767px) {
  body .mt-split.mt-prog .mt-split__media { aspect-ratio: 3 / 2; }
}


/* Contacto al cierre (24-11-2026, variante A). Azul marino de la paleta #0B1830,
   título y datos a la izquierda, formulario de línea fina a la derecha. */
.fc { position: relative; background: #0B1830; color: #fff; overflow: hidden; }
.fc__media { display: none; }
.fc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fc__inner { position: relative; z-index: 1; box-sizing: border-box; max-width: calc(1180px + 2 * var(--wide-pad)); margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--wide-pad); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fc p { margin: 0; }
.fc .fc__kick { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 1rem; color: inherit; }
.fc .fc__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1.15; margin: 0 0 1rem; color: inherit; }
.fc .fc__lead { font-size: 1rem; line-height: 1.7; opacity: .85; margin-bottom: 1.75rem; color: inherit; }
.fc__links { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.fc__links a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: .95rem; transition: color .25s; }
.fc__links a:hover, .fc__links a:focus-visible { color: #E82238; outline: none; }
.fc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.75rem; }
.fc__form .ct__full { grid-column: 1 / -1; }
.fc__form input, .fc__form textarea, .fc__form .ct__tipo-btn {
  box-sizing: border-box; width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0;
  color: #fff; padding: .7rem 0; font: inherit; font-size: 1rem; font-weight: 300; outline: none; transition: border-color .25s; }
.fc__form input::placeholder, .fc__form textarea::placeholder { color: rgba(255,255,255,.6); }
.fc__form input:focus, .fc__form textarea:focus, .fc__form .ct__tipo-btn:focus-visible, .fc__form .ct__tipo-btn[aria-expanded="true"] { border-bottom-color: #fff; }
.fc__form .is-invalid { border-bottom-color: #ff8a8a !important; }
.fc__form textarea { resize: vertical; min-height: 6.5rem; }
.fc__form .nl__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fc__form .ct__tipo { position: relative; }
.fc__form .ct__tipo-btn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; text-align: left; cursor: pointer; color: rgba(255,255,255,.6); }
.fc__form .ct__tipo-btn.has-value { color: #fff; }
.fc__form .ct__tipo-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc__form .ct__tipo-btn svg { flex: none; width: 14px; height: 14px; transition: transform .3s; }
.fc__form .ct__tipo-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.fc__form .ct__tipo-list { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; padding: .4rem 0;
  list-style: none; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); max-height: 320px; overflow: auto; }
.fc__form .ct__tipo-list.is-open { display: block; }
.fc__form .ct__tipo-list li { padding: .6rem 1rem; color: #0B1830; font-size: .95rem; cursor: pointer; outline: none; }
.fc__form .ct__tipo-list li:hover, .fc__form .ct__tipo-list li:focus { background: #f1f2f4; }
.fc__form .ct__tipo-list li[aria-selected="true"] { font-weight: 500; background: #e8eaed; }
.fc__form button[type="submit"] { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: .6em;
  padding: .95rem 1.9rem; background: #fff; color: #0B1830; border: 1px solid #fff; font: inherit; font-size: .95rem; cursor: pointer; transition: background .25s, color .25s; }
.fc__form button[type="submit"] svg { width: 16px; height: 16px; }
.fc__form button[type="submit"]:hover { background: transparent; color: #fff; }
.fc__form .ct__msg { display: none; font-size: .9rem; line-height: 1.6; color: inherit; }
.fc__form .ct__msg.is-visible { display: block; }
.fc__form .ct__msg.is-error { color: #ffb3ab; }
.fc__form .ct__msg a { color: inherit; }
@media (max-width: 767px) {
  .fc__inner { grid-template-columns: 1fr; }
  .fc__form { grid-template-columns: 1fr; }
  .fc__form button[type="submit"] { justify-self: stretch; justify-content: center; }
}

/* Footer en el azul marino de la paleta (24-11-2026), igual que el contacto;
   una línea fina separa el formulario de Partners */
body .mt-footer { background: #0B1830 !important; }
.fc + .mt-footer .mt-footer__inner { border-top: 1px solid rgba(255, 255, 255, .12); }

/* Programas separados (25-11-2026, variante A): aire blanco entre un programa y
   el siguiente, las esquinas de las fotos ya no se tocan */
body .mt-prog + .mt-prog { padding-top: clamp(3rem, 6vw, 5.5rem); }
@media (max-width: 767px) { body .mt-prog + .mt-prog { padding-top: 1.5rem; } }

/* Programas con menos acercamiento (25-11-2026): se ve más de cada foto.
   El JS la mueve entre 1,12 y 1,06; sin movimiento queda al 100 % */
body .mt-prog .mt-split__media img { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { body .mt-prog .mt-split__media img { transform: none; } }

/* Programas con el color del hero (25-11-2026, variante A). Foto en blanco y
   negro con el mismo filtro del hero y su velo azul marino #0B1830: 30 % en toda
   la foto, más oscuro hacia abajo y hacia la izquierda. Vuelve el barrido
   original: el JS acerca la foto de 1,36 a 1,20 y la corre un 8 %, la primera de
   izquierda a derecha, la segunda al revés y así sucesivamente. */
body :is(.mt-prog, #formacion.mt-prog) .mt-split__media img { filter: grayscale(1) contrast(.92) brightness(1.08); transform: scale(1.36); }
body :is(.mt-prog, #formacion.mt-prog) .mt-split__media::after {
  mix-blend-mode: normal;
  background:
    linear-gradient(180deg, rgba(11, 24, 48, 0) 40%, rgba(11, 24, 48, .75) 100%),
    linear-gradient(90deg, rgba(11, 24, 48, .45) 0%, rgba(11, 24, 48, 0) 60%),
    rgba(11, 24, 48, .3);
}
@media (prefers-reduced-motion: reduce) { body :is(.mt-prog, #formacion.mt-prog) .mt-split__media img { transform: scale(1.12); } }

/* Servicios con el color del hero (25-11-2026). La foto va en blanco y negro con
   el filtro del hero y su velo azul marino; encima, como la punta de la torre en
   el hero, una capa transparente con solo los colores resaltados (camión y piso,
   casco y mar, cobre y lápiz, pantalla), que queda sobre el velo. Fijo, sin
   cambios al pasar el cursor. */
.sv-card .sv-card__photo img:first-child,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo img:first-child { filter: grayscale(1) contrast(.92) brightness(1.08); }
.sv-card .sv-card__photo::after,
.sv-card:nth-child(even) .sv-card__photo::after,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo::after {
  z-index: 1; opacity: 1; mix-blend-mode: normal;
  background:
    linear-gradient(180deg, rgba(11, 24, 48, 0) 40%, rgba(11, 24, 48, .75) 100%),
    linear-gradient(90deg, rgba(11, 24, 48, .45) 0%, rgba(11, 24, 48, 0) 60%),
    rgba(11, 24, 48, .3);
}
.sv-card .sv-card__photo img.sv-card__splash { z-index: 2; filter: none; }

/* Servicios en blanco y negro (25-11-2026). Fotos reveladas en blanco y negro
   (mezcla de canales, curva suave y nitidez) en img/servicio-*-bn.jpg; se ven tal
   cual, sin velo ni colores resaltados, y no cambian al pasar el cursor. */
.sv-card .sv-card__photo img,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo img,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo img:first-child { filter: none; }
.sv-card .sv-card__photo::after,
.sv-card:nth-child(even) .sv-card__photo::after,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo::after { background: none; }

/* Programas en blanco y negro (25-11-2026), igual que Servicios: fotos reveladas
   en img/curso-*-bn.jpg, sin filtro ni velo. Se mantiene el barrido al bajar. */
body :is(.mt-prog, #formacion.mt-prog) .mt-split__media img { filter: none; }
body :is(.mt-prog, #formacion.mt-prog) .mt-split__media::after { background: none; }

/* Banners de las cortinas de los cursos más altos (25-11-2026): de 110-170 px a 150-240 px */
.curso-panel .curso__banner { height: clamp(150px, 24vh, 240px); }

/* Color selectivo (25-11-2026, variantes A): las fotos ya traen el blanco y negro
   y el elemento a color (camión, casco, pantallas, cátodos, banderas), así que
   ningún filtro del navegador debe volver a ponerlas en gris */
.sv-card .sv-card__photo img:first-child,
.sv-card:is(:hover, :focus-visible, .is-open) .sv-card__photo img:first-child { filter: none; }

/* Servicios (25-11-2026, animación A): la foto se acerca lentamente un 6 % al
   pasar el cursor por la tarjeta y vuelve al salir. Sin movimiento reducido, fija. */
.sv-card .sv-card__photo img { transition: transform 1.4s cubic-bezier(.22, 1, .36, 1); }
.sv-card:hover .sv-card__photo img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .sv-card .sv-card__photo img { transition: none; } .sv-card:hover .sv-card__photo img { transform: none; } }

/* Banners de las cortinas de los cursos más altos (25-11-2026): 220 a 400 px según
   el alto de la pantalla. Fotos exportadas a máxima calidad (img/banner-*.jpg) y
   dibujadas con el mejor reescalado del navegador. */
.curso-panel .curso__banner { height: clamp(220px, 36vh, 400px); }
.curso__banner img { image-rendering: high-quality; }
#curso-adu .curso__banner img { object-position: 50% 22%; }

/* CTA de los programas en el azul marino del footer #0B1830 (25-11-2026), en las
   secciones y en las cortinas. El sólido se aclara al pasar el cursor; el de línea
   se rellena de azul marino. */
body .mt-split.mt-prog .mt-split__btn,
.curso__ctas .mt-split__btn { border-color: #0B1830; color: #0B1830 !important; }
body .mt-split.mt-prog .mt-split__btn:is(:hover, :focus-visible),
.curso__ctas .mt-split__btn:is(:hover, :focus-visible) { background: #0B1830; border-color: #0B1830; color: #fff !important; }
body .mt-split.mt-prog .mt-split__btn--solid,
.curso__ctas .mt-split__btn--solid { background: #0B1830; border-color: #0B1830; color: #fff !important; }
body .mt-split.mt-prog .mt-split__btn--solid:is(:hover, :focus-visible),
.curso__ctas .mt-split__btn--solid:is(:hover, :focus-visible) { background: #1d3159; border-color: #1d3159; }

/* Partners arriba del contacto (25-11-2026, variante A). Franja blanca con el
   título y la frase en azul marino y los logos a color: NIXTEM y Bright Alliance
   en negro (CORFO con sus colores), zizcar y PUCV en su color original. El cierre
   (Partners, contacto y barra legal) queda alineado al mismo ancho de 1180 px. */
.mt-footer { --al: max(var(--wide-pad), calc((100% - 1180px) / 2)); }
.mt-footer .mt-footer__inner { padding-inline: var(--al); }
.mt-footer .mt-footer__bottom { padding-left: var(--al); padding-right: calc(var(--al) + 46px + 1.5rem); border-top: 0 !important; }
@media (max-width: 820px) { .mt-footer .mt-footer__bottom { padding-right: var(--al); } }
.pt { --al: max(var(--wide-pad), calc((100% - 1180px) / 2)); padding-inline: var(--al); }
.pt--claro { background: #fff; border-top: 1px solid rgba(11, 24, 48, .1); }
.pt--claro .mt-collab { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.pt--claro .mt-collab .mt-collab__title { color: #0B1830; -webkit-text-fill-color: #0B1830; }
.pt--claro .mt-collab .mt-collab__lead { color: rgba(11, 24, 48, .8); }
.pt--claro .mt-collab__logo span { color: #0B1830; }
.pt--claro a.mt-collab__logo:focus-visible { outline-color: rgba(11, 24, 48, .5); }

/* Sin líneas divisorias en el cierre (25-11-2026): ni sobre Partners ni entre el
   formulario y la barra legal, como el resto de las secciones */
.pt--claro { border-top: 0; }
.fc + .mt-footer .mt-footer__inner { border-top: 0; }

/* Cortinas de los programas (25-11-2026): los tres CTA iguales, sólidos en el azul
   corporativo #0B1830 con texto blanco; al pasar el cursor se aclaran un poco */
.curso__ctas .mt-split__btn,
.curso__ctas .mt-split__btn--solid { background: #0B1830; border-color: #0B1830; color: #fff !important; }
.curso__ctas .mt-split__btn:is(:hover, :focus-visible) { background: #1d3159; border-color: #1d3159; color: #fff !important; }

/* Tipo de solicitud del formulario (25-11-2026, desplegable blanco A): panel
   blanco que se despliega suave, con rótulos de grupo (Consultoría, Cursos
   especializados, Otra consulta) y la opción elegida marcada con una línea roja a
   la izquierda. El bloque de contacto deja ver la lista completa. */
.fc { overflow: visible; }
.fc__form .ct__tipo-list { display: block; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  background: #fff; padding: .5rem 0; max-height: none; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.fc__form .ct__tipo-list.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
.fc__form .ct__tipo-list li { color: #0B1830; border-left: 3px solid transparent; padding: .55rem 1.1rem; font-size: .92rem; }
.fc__form .ct__tipo-list li[data-grp]::before { content: attr(data-grp); display: block; margin: .6rem 0 .45rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(11, 24, 48, .45); }
.fc__form .ct__tipo-list li[data-grp] { padding-top: .2rem; }
.fc__form .ct__tipo-list li[data-i18n="menuProg"],
.fc__form .ct__tipo-list li[data-i18n="ctType8"] { border-top: 1px solid rgba(11, 24, 48, .08); margin-top: .35rem; }
.fc__form .ct__tipo-list li:hover,
.fc__form .ct__tipo-list li:focus { background: #f4f6f9; }
.fc__form .ct__tipo-list li[aria-selected="true"] { border-left-color: #E82238; background: #f4f6f9; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .fc__form .ct__tipo-list { transition: none; } }


/* Nuestro modelo (25-11-2026, variante A). Texto breve a la izquierda y el
   diagrama a la derecha con «Ver modelo completo», que abre una cortina. El
   diagrama está en español e inglés y se muestra el del idioma activo. */
.mdx__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.mdx .sv__text { max-width: 34rem; margin: 0; }
.mdx__vals { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.75rem; }
.mdx__vals li { border-top: 1px solid rgba(11, 24, 48, .14); padding-top: .75rem; }
.mdx__vals b { display: block; font-weight: 500; font-size: .95rem; margin-bottom: .25rem; color: #0B1830; }
.mdx__vals span { display: block; font-size: .85rem; line-height: 1.5; color: rgba(11, 24, 48, .72); }
.mdx__fig { margin: 0 auto; max-width: 640px; }
.mdx__cta { display: flex; justify-content: center; margin-top: 1.5rem; }
.mdx__cta .mt-split__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-width: 248px; padding: .95rem 1.6rem; font: inherit; font-size: .95rem; font-weight: 300; background: #0B1830; color: #fff !important; border: 1px solid #0B1830; cursor: pointer; transition: background .25s, border-color .25s; }
.mdx__cta .mt-split__btn:is(:hover, :focus-visible) { background: #1d3159; border-color: #1d3159; }
.eco { display: block; width: 100%; height: auto; }
html[lang="en"] .eco-es, html:not([lang="en"]) .eco-en { display: none; }
.eco__title { font-family: 'Sora', var(--font-display), sans-serif; font-weight: 600; font-size: 34px; letter-spacing: .22em; }
.eco__cap { font-family: 'Sora', var(--font-display), sans-serif; font-weight: 600; font-size: 15px; letter-spacing: .06em; }
.eco__act { font-family: 'Inter', var(--font-display), sans-serif; font-weight: 500; font-size: 13.5px; }
.eco__cp { font-family: 'Inter', var(--font-display), sans-serif; font-weight: 400; font-size: 12.5px; }
.eco__ct { font-family: 'Sora', var(--font-display), sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .18em; }
.eco__ci { font-family: 'Inter', var(--font-display), sans-serif; font-weight: 400; font-size: 14px; }
.mdl-panel .bio-panel__inner { max-width: min(1500px, 100%); padding-top: 4rem; }
.mdl-panel__scroll { overflow-x: auto; }
.mdl-panel__scroll .eco { min-width: 860px; max-width: 1300px; margin: 0 auto; }
@media (max-width: 900px) { .mdx__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mdx__vals { grid-template-columns: 1fr; } }


/* Nuestro modelo con lupa (25-11-2026). Al pasar el cursor por el modelo aparece un
   velo muy suave y una lupa al centro; un clic lo abre a pantalla completa. En pantallas
   táctiles la lupa queda fija en la esquina. */
.mdx__fig { position: relative; }
.mdx__zoom { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; background: rgba(11, 24, 48, 0); cursor: zoom-in; transition: background .3s; }
.mdx__zoom-c { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #0B1830; box-shadow: 0 10px 28px rgba(11, 24, 48, .3); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.mdx__zoom-c svg { width: 32px; height: 32px; }
.mdx__zoom-f { position: absolute; right: 2%; bottom: 4%; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #0B1830; color: #fff; box-shadow: 0 8px 20px rgba(11, 24, 48, .25); transition: opacity .3s; }
.mdx__zoom-f svg { width: 24px; height: 24px; }
.mdx__zoom:hover, .mdx__zoom:focus-visible { background: rgba(11, 24, 48, .05); outline: none; }
.mdx__zoom:hover .mdx__zoom-c, .mdx__zoom:focus-visible .mdx__zoom-c { opacity: 1; transform: none; }
.mdx__zoom:hover .mdx__zoom-f, .mdx__zoom:focus-visible .mdx__zoom-f { opacity: 0; }
.mdl-lb { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: clamp(.75rem, 3vh, 2rem); background: #fff; opacity: 0; transition: opacity .3s; cursor: zoom-out; overflow: auto; }
.mdl-lb:fullscreen { background: #fff; }
.mdl-lb.is-open { opacity: 1; }
.mdl-lb[hidden] { display: none; }
.mdl-lb__in { width: 100%; height: 100%; display: grid; place-items: center; }
.mdl-lb .eco { width: min(100%, calc((100vh - 2 * clamp(.75rem, 3vh, 2rem)) * .91)); height: auto; cursor: default; }
.mdl-lb__x { position: fixed; top: 12px; right: 12px; width: 52px; height: 52px; border: 1px solid rgba(11, 24, 48, .25); background: #fff; cursor: pointer; z-index: 2; }
.mdl-lb__x i { position: absolute; left: 50%; top: 50%; width: 24px; height: 1.5px; margin-left: -12px; background: #0B1830; }
.mdl-lb__x i:first-child { transform: rotate(45deg); }
.mdl-lb__x i:last-child { transform: rotate(-45deg); }
@media (max-width: 760px) { .mdl-lb { place-items: start center; } .mdl-lb__in { width: auto; height: auto; } .mdl-lb .eco { max-height: none; width: 860px; max-width: none; } }
@media (hover: none) { .mdx__zoom { background: none; } .mdx__zoom-c { display: none; } }


/* Nuestro modelo (25-11-2026): sin los cuatro principios, el texto queda corto junto
   al diagrama; la lupa abre una cortina como la del Fundador con el modelo a todo el
   ancho de la pantalla (hasta 1700 px), para que todos los textos se lean. */
.mdx__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.mdl-panel .bio-panel__inner { max-width: none; width: 100%; padding: clamp(4rem, 8vh, 5rem) var(--wide-pad) 3rem; box-sizing: border-box; }
.mdl-panel__scroll { overflow-x: auto; }
.mdl-panel__scroll .eco { width: 100%; max-width: 1700px; min-width: 860px; margin: 0 auto; }

/* Nuestro modelo (25-11-2026): Commodities Mineros en el mismo gris que los actores,
   con la lista de productos en letra algo más chica */
.eco__ci--com { font-size: 13px; }

/* Nuestro modelo (25-11-2026): sin la lupa del centro, que tapaba el logo; queda solo
   la lupa de la esquina, siempre visible, y el cursor de lupa sobre el modelo */
.mdx__zoom-c { display: none !important; }
.mdx__zoom:hover .mdx__zoom-f, .mdx__zoom:focus-visible .mdx__zoom-f { opacity: 1; background: #1d3159; transform: scale(1.06); }
.mdx__zoom-f { transition: background .25s, transform .25s; }

/* Línea negra bajo el footer (25-11-2026): la lista «Tipo de solicitud», aunque
   estuviera oculta, seguía ocupando alto bajo el formulario y alargaba la página.
   Cerrada ahora mide cero y se despliega hacia abajo al abrirse. */
.fc__form .ct__tipo-list { max-height: 0; overflow: hidden; padding-block: 0; transition: max-height .35s cubic-bezier(.22, 1, .36, 1), opacity .25s, transform .25s, visibility 0s .35s; }
.fc__form .ct__tipo-list.is-open { max-height: 560px; padding-block: .5rem; overflow: auto; transition: max-height .35s cubic-bezier(.22, 1, .36, 1), opacity .25s, transform .25s; }


/* Etiqueta de estado de los cursos (25-11-2026): «Abierto» relleno en azul marino para el
   curso con inscripciones; «On demand» con borde para los que se dictan a solicitud. */
.mt-prog__tag { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .9rem; padding: .32em .75em; border: 1px solid #0B1830; color: #0B1830; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; }
.mt-prog__tag.is-open { background: #0B1830; color: #fff; }
.mt-prog__tag.is-open::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; }
.mt-prog__tag { width: fit-content; align-self: flex-start; justify-self: start; }

/* Menú con Nuestro modelo (25-11-2026): al sumar un enlace, los textos se ajustan también
   a la altura de la pantalla para que el menú completo quepa sin desplazarse. */
.mt-menu__col--asesoria .mt-menu__list a, .mt-menu__col--programas .mt-menu__list a, .mt-menu__col--about .mt-menu__list a { font-size: clamp(1.1rem, min(1rem + 1.6vw, 2.6vh + .55rem), 2.4rem); }
.mt-menu__col--asesoria .mt-menu__list li a, .mt-menu__col--programas .mt-menu__list li a, .mt-menu__col--about .mt-menu__list a { padding: clamp(.25rem, .9vh, .55rem) 0 !important; }


/* Título de Cursos (25-11-2026): solo el encabezado, pegado a los tres programas */
.sv--intro { padding-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.sv--intro .sv__head { margin-bottom: 0; }

/* Áreas de especialidad (25-11-2026, variante B): el chevron va al inicio de cada fila,
   apuntando a la derecha y con trazo más firme; al abrir gira hacia abajo y el texto
   queda alineado con el título. */
.ac .ac__btn { justify-content: flex-start; gap: 1.1rem; }
.ac .ac__ic { order: -1; width: 20px; height: 20px; color: #0B1830; transform: rotate(-90deg); }
.ac .ac__ic svg { stroke-width: 2.2; }
.ac .ac__btn:hover .ac__ic { animation: none; color: #E82238; transform: rotate(-90deg) translateY(3px); }
.ac .ac__it.is-open .ac__ic { transform: rotate(0); color: #0B1830; }
.ac .ac__in { padding-left: calc(20px + 1.1rem); }
@media (max-width: 560px) { .ac .ac__in { padding-left: 0; } }

/* Logística (25-11-2026): la foto nueva tiene el camión a la derecha; el encuadre se
   corre hacia él para que no quede fuera del recorte de la tarjeta. */
#prog-logistica .mt-split__media img { object-position: 100% 70%; }
#curso-log .curso__banner img { object-position: 50% 72%; }

/* Tipo de solicitud (25-11-2026, variante C): lista compacta con desplazamiento interno,
   para que no pase el final de la página y no asome la franja negra bajo el pie */
.fc__form .ct__tipo-list.is-open { max-height: 300px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(11, 24, 48, .3) transparent; }
