/* ==========================================================================
   Jab Marketing — Sitio web
   Tokens tomados del manual de identidad visual (OVR® Studio, abril 2026)
   ========================================================================== */

:root {
  /* Paleta oficial — p.07 */
  --navy-900: #00002e;    /* base oscura dominante */
  --celeste-100: #e0f4fb; /* base clara */
  --blue-600: #3d6af1;    /* azul de marca */
  --lime-500: #d5ff3c;    /* verde exclusivo para call-to-action */
  --white: #ffffff;

  /* Derivados: solo para superficies y bordes de UI */
  --navy-800: #010935;
  --border-dark: rgba(224, 244, 251, 0.14);
  --border-dark-strong: rgba(224, 244, 251, 0.32);

  /* Texto sobre navy: celeste, nunca blanco puro */
  --text: var(--celeste-100);
  --text-muted: rgba(224, 244, 251, 0.72);
  --text-soft: rgba(224, 244, 251, 0.62);
  --text-faint: rgba(224, 244, 251, 0.45);

  /* Tipografías oficiales — p.09 */
  --font-display: 'Funnel Display', system-ui, sans-serif;
  --font-body: 'Funnel Sans', system-ui, sans-serif;

  /* Ritmo horizontal compartido por todas las secciones */
  --gutter: clamp(20px, 4vw, 64px);
  --section-y: clamp(72px, 11vh, 132px);
  --maxw: 1400px;

  --nav-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--lime-500); }

input, textarea, button { font-family: inherit; }
::placeholder { color: rgba(224, 244, 251, 0.38); }

section[id] { scroll-margin-top: var(--nav-h); }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Etiqueta [ SECCIÓN ] — patrón recurrente de la marca */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--blue-600);
}

.section-title {
  font-weight: 700;
  font-size: clamp(44px, 8vw, 130px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: center;
}

/* Accesibilidad: saltar al contenido */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--lime-500);
  color: var(--navy-900);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--lime-500);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease), border-color .25s var(--ease);
}

/* Lima: reservado exclusivamente para acciones (manual, p.07) */
.btn--cta {
  background: var(--lime-500);
  color: var(--navy-900);
  border: 1px solid var(--lime-500);
}
.btn--cta:hover {
  background: var(--celeste-100);
  border-color: var(--celeste-100);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-dark-strong);
  color: var(--text);
  font-weight: 600;
}
.btn--ghost:hover {
  border-color: var(--celeste-100);
  background: rgba(224, 244, 251, 0.06);
  color: var(--text);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 12px;
  letter-spacing: 0.16em;
  gap: 10px;
}

/* Flecha circular dentro del botón */
.btn__arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--lime-500);
  font-size: 11px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(0, 0, 46, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224, 244, 251, 0.12);
}

.nav__logo { flex: 0 0 auto; }
.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--lime-500); }

/* El menú nunca se parte en dos filas: primero se aprieta, después suelta
   lastre. Con seis links más el botón, a 1280px ya no entraba de otra forma. */
.nav__links { flex-wrap: nowrap; }

@media (max-width: 1240px) {
  .nav__links { gap: clamp(10px, 1.3vw, 20px); }
  .nav__link { font-size: 11px; letter-spacing: 0.12em; }
  .btn--sm { padding: 10px 16px; letter-spacing: 0.1em; }
}

/* Clientes es una sección del home, no un destino propio: es lo primero que se
   puede sacrificar antes de romper la fila. */
@media (max-width: 1080px) {
  .nav__link--opcional { display: none; }
}

/* En pantallas chicas los links de sección estorban: queda logo + WhatsApp */
@media (max-width: 720px) {
  .nav__link { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(120px, 14vh, 180px) var(--gutter) clamp(56px, 8vh, 96px);
}

.hero__copy { max-width: 760px; }

.hero__eyebrow { margin-bottom: clamp(20px, 4vh, 40px); }

.hero__title {
  font-weight: 300;
  font-size: clamp(42px, 6.4vw, 104px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title strong { font-weight: 700; }

.hero__lead {
  margin: clamp(24px, 4vh, 40px) 0 0;
  max-width: 52ch;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 5vh, 44px);
}

/* Firma "Strategy Matters" con la regla corta al costado */
.rule-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 7vh, 72px);
  color: rgba(224, 244, 251, 0.4);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.rule-label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(224, 244, 251, 0.3);
}

.hero__art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(60vh, 520px);
}

/* Capa intermedia que limita el ancho de la pieza dentro de su celda */
.hero__art-orbita {
  width: 100%;
  max-width: 680px;
  display: flex;
  justify-content: center;
}

/* El isotipo 3D se funde con el fondo navy en vez de recortarse en caja */
.hero__art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 96%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 96%);
}

/* --------------------------------------------------------------------------
   Servicios
   -------------------------------------------------------------------------- */

.servicios__head {
  min-height: 46vh;
  display: grid;
  place-items: center;
  padding: clamp(72px, 12vh, 150px) var(--gutter);
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  column-gap: clamp(32px, 4.5vw, 80px);
  row-gap: clamp(40px, 6vh, 72px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) var(--section-y);
}

.servicio {
  display: flex;
  gap: clamp(16px, 1.6vw, 26px);
  align-items: flex-start;
}

.servicio__icon {
  width: clamp(30px, 2.6vw, 38px);
  height: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.servicio__title {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.servicio p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Metodología — sección azul
   -------------------------------------------------------------------------- */

.metodo {
  background: var(--blue-600);
  color: var(--white);
  padding: var(--section-y) var(--gutter);
}

.metodo__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.metodo__head .eyebrow { color: var(--celeste-100); margin-bottom: 22px; }

.metodo__title {
  font-weight: 700;
  font-size: clamp(38px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.metodo__lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
}

.paso__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--celeste-100);
  margin-bottom: 10px;
}
.paso__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
.paso p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  text-wrap: pretty;
}

/* -- Variante anillo (desktop) -- */
/* El anillo necesita 420px + dos tarjetas de 330px + aire = 1280px reales. */
.loop { display: none; }

.loop__ring,
.loop__core {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
}

.loop__ring {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  animation: giro 60s linear infinite;
}

.loop__core {
  width: 208px;
  height: 208px;
  margin: -104px 0 0 -104px;
  background: var(--navy-900);
  display: grid;
  place-items: center;
}
.loop__core img { width: 76px; height: auto; }

/* El isotipo gira sobre sí mismo: el ciclo nunca se detiene */
@keyframes girar360 { to { transform: rotate(360deg); } }
.js .loop__isotipo { animation: girar360 18s linear infinite; }

/* El cliente recorriendo el anillo. El ángulo lo escribe el JS en --a; el
   segundo rotate, invertido, mantiene la figura derecha mientras orbita.
   Va en celeste y no en lima: el lima queda reservado para acciones. */
.loop__marcador {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  border: 1px solid rgba(224, 244, 251, 0.5);
  color: var(--celeste-100);
  box-shadow: 0 0 0 7px rgba(61, 106, 241, 0.28);
  transform: rotate(var(--a, -90deg)) translate(150px) rotate(calc(-1 * var(--a, -90deg))) scale(var(--escala, 1));
  transition: transform 1.1s var(--ease);
}
.loop__marcador svg { width: 23px; height: 23px; }

/* Etapa activa: se resalta con contraste, sin tocar opacidad para no pelearse
   con la animación de aparición por scroll */
.loop .paso__num,
.loop .paso__title { transition: color .45s var(--ease), text-shadow .45s var(--ease); }

.loop .paso:not(.is-activo) .paso__num { color: rgba(224, 244, 251, 0.4); }
.loop .paso:not(.is-activo) .paso__title { color: rgba(255, 255, 255, 0.58); }
.loop .paso.is-activo .paso__title { text-shadow: 0 0 26px rgba(224, 244, 251, 0.4); }

/* Cuatro puntas sobre el anillo, a 45/135/225/315 grados */
.loop__tick {
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}
.loop__tick--1 { transform: translate(-50%, -50%) rotate(45deg)  translate(150px) rotate(90deg); }
.loop__tick--2 { transform: translate(-50%, -50%) rotate(135deg) translate(150px) rotate(90deg); }
.loop__tick--3 { transform: translate(-50%, -50%) rotate(225deg) translate(150px) rotate(90deg); }
.loop__tick--4 { transform: translate(-50%, -50%) rotate(315deg) translate(150px) rotate(90deg); }

.loop .paso { position: absolute; }
.loop .paso--1 { top: 0;    left: 50%; transform: translateX(-50%); width: 320px; text-align: center; }
.loop .paso--2 { right: 0;  top: 50%;  transform: translateY(-50%); width: 290px; text-align: left; }
.loop .paso--3 { bottom: 0; left: 50%; transform: translateX(-50%); width: 320px; text-align: center; }
.loop .paso--4 { left: 0;   top: 50%;  transform: translateY(-50%); width: 290px; text-align: right; }

@keyframes giro { to { transform: rotate(360deg); } }

/* -- Variante línea de tiempo (mobile / tablet) -- */
.timeline {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin-inline: auto;
}

.timeline__core {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.timeline__core div {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--navy-900);
  display: grid;
  place-items: center;
}
.timeline__core img { width: 64px; height: auto; }

.timeline .paso {
  padding-bottom: 28px;
  padding-left: 24px;
  margin-left: 8px;
  border-left: 1px dashed rgba(255, 255, 255, 0.45);
}
.timeline .paso__title { font-size: 26px; line-height: 1.05; }

.timeline__loopback {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1280px) {
  /* 720px y no 840: el anillo bajó a 380 y las tarjetas miden 110, así que el
     sobrante alcanza para que el marcador -que orbita justo encima de la línea
     del anillo- no toque la tarjeta de arriba. Medido: 15px de despeje.
     Los 100px muertos que había arriba y abajo eran scroll regalado. */
  .loop {
    display: block;
    position: relative;
    width: 100%;
    max-width: 980px;
    height: 560px;
    margin-inline: auto;
  }
  .timeline { display: none; }
}

/* Panel "Equipo dedicado" — esquina cortada en chevron, forma de la marca */
.equipo {
  background: var(--navy-900);
  color: var(--text);
  margin-top: clamp(36px, 5vh, 64px);
  padding: clamp(28px, 3.4vw, 52px);
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 44px 100%, 0 calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 4vw, 72px);
}

.equipo__title {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
}
.equipo p {
  margin: 0;
  max-width: 40ch;
  color: var(--text-muted);
  text-wrap: pretty;
}

.equipo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.equipo__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.equipo__list li::before {
  content: "\203A";
  color: var(--blue-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.blog { padding: var(--section-y) var(--gutter); }

.blog__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(48px, 7vh, 84px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(224, 244, 251, 0.24);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-500);
}

.blog__title {
  margin-top: 26px;
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 86px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}
.blog__title strong { font-weight: 700; color: var(--blue-600); }

.blog__lead {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-soft);
  text-wrap: pretty;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
}

.post {
  display: flex;
  flex-direction: column;
  background: var(--navy-800);
  color: var(--text);
  border: 1px solid var(--border-dark);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.post:hover {
  transform: translateY(-6px);
  border-color: var(--blue-600);
  color: var(--text);
}

.post__cover {
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--navy-900);
  border-bottom: 1px solid var(--border-dark);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.post__cover img { width: 100%; height: 100%; object-fit: cover; }

/* Marca de imagen pendiente: se borra al poner la foto real */
.slot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.5);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(224, 244, 251, 0.04) 0 10px,
    transparent 10px 20px
  );
}

.post__body {
  padding: clamp(24px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.post__meta span:nth-child(1) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(224, 244, 251, 0.35);
}
.post__meta span:nth-child(2) { color: var(--text-faint); }

.post__title {
  font-weight: 700;
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.post__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: pretty;
}

.post__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.post__foot span:last-child {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(224, 244, 251, 0.3);
  border-radius: 50%;
  color: var(--text);
}

.blog__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vh, 64px);
}

/* --------------------------------------------------------------------------
   Clientes — única sección sobre blanco
   -------------------------------------------------------------------------- */

.clientes {
  background: var(--white);
  color: var(--navy-900);
  padding: var(--section-y) var(--gutter);
}

.clientes__title {
  margin: 0 0 clamp(30px, 5vh, 60px);
  text-align: center;
}

/* -- La cinta --
   Una sola banda que no termina nunca. En movimiento los logos no se pueden
   contar, y esa es la idea: la sensación tiene que ser "son un montón". */
.clientes { padding-inline: 0; }
.clientes .wrap { padding-inline: var(--gutter); }

.cinta-clientes {
  overflow: hidden;
  /* Los extremos se desvanecen para que no se vea el corte contra el borde */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.cinta-clientes__pista {
  display: flex;
  width: max-content;
  animation: desfile var(--desfile, 90s) linear infinite;
}
/* Se frena al apoyar el mouse, así se puede mirar un logo concreto */
.cinta-clientes:hover .cinta-clientes__pista { animation-play-state: paused; }

/* La separación va como margen de cada logo y no como gap de la pista: con gap,
   la mitad de la pista cae medio espacio corrida del punto donde la lista vuelve
   a empezar, y el desfile pega un salto en cada vuelta. */
.cinta-clientes__marca {
  flex: 0 0 auto;
  width: clamp(112px, 12vw, 158px);
  height: clamp(66px, 7vw, 92px);
  margin-inline-end: clamp(10px, 1.4vw, 26px);
  display: grid;
  place-items: center;
  padding: clamp(6px, 0.9vw, 14px);
}
/* El tope de alto es lo que empareja logos apaisados con logos verticales:
   ninguno puede crecer más que el resto por tener otra proporción. */
.cinta-clientes__marca img {
  width: 100%;
  max-height: clamp(40px, 4.4vw, 58px);
  object-fit: contain;
  /* En gris la cinta se lee como un conjunto; el color aparece al señalar */
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.cinta-clientes__marca:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* En celular quedan en gris igual que en desktop. Se les sube un poco la
   opacidad porque a ese tamaño el gris al 55% se pierde. */
@media (hover: none) {
  .cinta-clientes__marca img { opacity: 0.68; }
}

/* Sin movimiento no hay cinta: se acomodan en filas y quedan quietos */
@media (prefers-reduced-motion: reduce) {
  .cinta-clientes { -webkit-mask-image: none; mask-image: none; }
  .cinta-clientes__pista {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cinta-clientes__marca[aria-hidden] { display: none; }
}

/* Sobre blanco el placeholder invierte los tonos */
.clientes .slot {
  color: rgba(0, 0, 46, 0.5);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 46, 0.05) 0 10px,
    transparent 10px 20px
  );
}

/* --------------------------------------------------------------------------
   Contacto + pie
   -------------------------------------------------------------------------- */

.contacto {
  padding: var(--section-y) var(--gutter) clamp(40px, 6vh, 64px);
}

.contacto__grid {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 96px);
}

.contacto .eyebrow { margin-bottom: 24px; }

.contacto__title {
  max-width: 20ch;
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.contacto__title strong { font-weight: 700; }

.contacto__lead {
  margin: 26px 0 0;
  max-width: 44ch;
  font-size: 17px;
  color: rgba(224, 244, 251, 0.66);
  text-wrap: pretty;
}

.contacto .btn--cta { margin-top: clamp(32px, 5vh, 48px); }

.datos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid rgba(224, 244, 251, 0.16);
}

.dato__label,
.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.dato__value { font-size: 17px; font-weight: 500; }
.dato a { color: var(--text); font-size: 15px; font-weight: 500; word-break: break-all; }
.dato a:hover { color: var(--lime-500); }

/* -- Formulario -- */
.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: start;
}

.field { display: flex; flex-direction: column; }
.field label { margin-bottom: 8px; }

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(224, 244, 251, 0.28);
  color: var(--text);
  font-size: 17px;
  padding: 10px 0;
  outline: none;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--blue-600); }

.form button[type="submit"] {
  align-self: flex-start;
  margin-top: 10px;
  background: transparent;
  border: 1px solid rgba(224, 244, 251, 0.4);
  color: var(--text);
  padding: 17px 34px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.form button[type="submit"]:hover:not(:disabled) {
  background: var(--celeste-100);
  color: var(--navy-900);
  border-color: var(--celeste-100);
}
.form button[type="submit"]:disabled { opacity: .55; cursor: progress; }

.form__status {
  min-height: 20px;
  font-size: 14px;
  color: var(--lime-500);
}
.form__status[data-state="error"] { color: #ff9c9c; }

/* Trampa anti-spam: invisible para personas, tentadora para bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pie {
  max-width: var(--maxw);
  margin: clamp(56px, 9vh, 96px) auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(224, 244, 251, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.pie img { height: 40px; width: auto; }
.pie__legal {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.4);
}

/* --------------------------------------------------------------------------
   Compactado en mobile

   El diseño original se pensó en desktop. Tal cual, en un celular el hero
   ocupa 1,6 pantallas: los botones quedan abajo del pliegue, que es
   exactamente donde no tienen que estar.
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  :root {
    --section-y: 64px;
    --nav-h: 74px;
  }

  /* El hero entra completo en una pantalla, botones incluidos */
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 44px;
    gap: 28px;
  }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero__title { font-size: clamp(34px, 9.4vw, 48px); }
  .hero__lead { margin-top: 18px; font-size: 15.5px; }
  .hero__actions { margin-top: 24px; gap: 10px; }
  .hero__actions .btn { padding: 15px 24px; font-size: 13px; }
  .rule-label { margin-top: 26px; }

  /* La pieza 3D no entra en el celular: ocupa pantalla y no aporta */
  .hero__art { display: none; }

  /* Medio pantallazo en blanco solo para la palabra "Servicios" no se justifica */
  .servicios__head { min-height: auto; padding: 56px var(--gutter) 28px; }

  /* Dos por fila. Con 9 servicios, en una sola columna la sección se hacía
     interminable; de a dos el bloque entra casi de un vistazo. */
  .servicios__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 30px;
    padding-bottom: var(--section-y);
  }

  /* A media columna no entra el ícono al costado: pasa arriba */
  .servicio {
    flex-direction: column;
    gap: 12px;
  }
  .servicio__icon { width: 30px; margin-top: 0; }
  .servicio__title { margin-bottom: 6px; font-size: 17px; }
  .servicio p {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .metodo__head { margin-bottom: 32px; }
  .timeline .paso { padding-bottom: 22px; }

  .blog__head { margin-bottom: 40px; }
  .post__cover { aspect-ratio: 16 / 9; }
  .post__body { gap: 10px; }

  .clientes__title { margin-bottom: 26px; }
  .cinta-clientes__marca { width: 100px; height: 60px; padding: 6px; margin-inline-end: 8px; }
  .cinta-clientes__marca img { max-height: 36px; }
  /* Los logos son más chicos, así que la misma duración se vería más lenta:
     se acorta para que la cinta corra igual de viva que en desktop. */
  .cinta-clientes__pista { animation-duration: calc(var(--desfile, 90s) * 0.62); }

  .datos { margin-top: 32px; padding-top: 24px; }
}

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */

/* -- Hero: entra escalonado al cargar, sin esperar scroll -- */

@keyframes entrar {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes entrarArte {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: none; }
}

/* La pieza del hero va quieta: gira el isotipo del anillo de Metodología, que
   es donde el movimiento cuenta algo. Acá solo entra al cargar. */

.js .hero__copy > *,
.js .hero__art {
  opacity: 0;
  animation: entrar .75s var(--ease) forwards;
}
.js .hero__copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero__copy > *:nth-child(2) { animation-delay: .15s; }
.js .hero__copy > *:nth-child(3) { animation-delay: .25s; }
.js .hero__copy > *:nth-child(4) { animation-delay: .35s; }
.js .hero__copy > *:nth-child(5) { animation-delay: .45s; }

.js .hero__art { animation: entrarArte 1s var(--ease) .3s forwards; }

/* -- Nav: se compacta al bajar, para devolver altura de pantalla -- */

.nav {
  transition: padding .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-scrolled {
  padding-block: 9px;
  background: rgba(0, 0, 46, 0.95);
}
.nav.is-scrolled .nav__logo img { height: 24px; transition: height .3s var(--ease); }
.nav__logo img { transition: height .3s var(--ease); }

/* -- Bloques que aparecen al hacer scroll -- */

/* Solo se ocultan si JS va a revelarlos; sin JS el contenido queda visible */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Quien pidió menos movimiento ve el sitio completo y quieto, no a medias */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop__ring,
  .js .loop__isotipo { animation: none; }
  .loop__marcador { transition: none; }
  .js .hero__copy > *,
  .js .hero__art {
    opacity: 1;
    animation: none;
  }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Blog: listado y nota
   -------------------------------------------------------------------------- */

/* El listado no tiene hero arriba, así que necesita despejar el nav fijo */
.blog--indice { padding-top: calc(var(--nav-h) + clamp(32px, 6vh, 72px)); }

.nota {
  max-width: 760px;
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) var(--gutter) clamp(40px, 6vh, 64px);
}

.nota__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.nota__meta a { color: var(--blue-600); }
.nota__meta a:hover { color: var(--lime-500); }
.nota__meta span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(224, 244, 251, 0.35);
}
.nota__meta time { color: var(--text-faint); }

.nota__titulo {
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.nota__bajada {
  margin: 20px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

.nota__portada {
  margin: clamp(32px, 5vh, 56px) 0;
  border: 1px solid var(--border-dark);
}
.nota__portada img { width: 100%; height: auto; }

/* Cuerpo de la nota: lo escribe Markdown, así que se estila por etiqueta */
.nota__cuerpo {
  margin-top: clamp(32px, 5vh, 56px);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}
.nota__cuerpo > * + * { margin-top: 1.2em; }

.nota__cuerpo h2 {
  margin-top: 1.9em;
  font-weight: 700;
  font-size: clamp(23px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nota__cuerpo h3 {
  margin-top: 1.6em;
  font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px);
  color: var(--text);
}

.nota__cuerpo strong { color: var(--text); font-weight: 700; }
.nota__cuerpo a { text-decoration: underline; text-underline-offset: 3px; }

.nota__cuerpo ul,
.nota__cuerpo ol { padding-left: 1.3em; }
.nota__cuerpo li + li { margin-top: .5em; }
.nota__cuerpo li::marker { color: var(--blue-600); }

/* Cita destacada: el chevron de la marca, no una barra genérica */
.nota__cuerpo blockquote {
  margin-inline: 0;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  color: var(--text);
  font-size: 18px;
}
.nota__cuerpo blockquote > * + * { margin-top: .8em; }

.nota__cuerpo table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.nota__cuerpo th,
.nota__cuerpo td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
  vertical-align: top;
}
.nota__cuerpo th { color: var(--text); font-weight: 700; white-space: nowrap; }

.nota__cuerpo code {
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  padding: 2px 6px;
  font-size: .92em;
}
.nota__cuerpo pre {
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  padding: 18px;
  overflow-x: auto;
}
.nota__cuerpo pre code { background: none; border: 0; padding: 0; }

.nota__cuerpo hr {
  border: 0;
  border-top: 1px solid var(--border-dark);
  margin-block: 2em;
}

/* Cierre con la acción, al final de cada nota */
.nota__cta {
  margin-top: clamp(48px, 8vh, 80px);
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}
.nota__cta h2 {
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
}
.nota__cta p {
  margin: 14px 0 26px;
  color: var(--text-soft);
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   Pie como elemento propio, fuera de la sección de contacto
   -------------------------------------------------------------------------- */

.pie-wrap { padding: 0 var(--gutter) clamp(40px, 6vh, 64px); }
.pie-wrap .pie { margin-top: 0; }

/* --------------------------------------------------------------------------
   Error 404
   -------------------------------------------------------------------------- */

.error404 {
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(40px, 8vh, 96px)) var(--gutter) clamp(56px, 8vh, 96px);
}

.error404 .eyebrow { margin-bottom: clamp(18px, 3vh, 32px); }

.error404__titulo {
  font-weight: 300;
  font-size: clamp(38px, 6vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.error404__titulo strong { font-weight: 700; }

.error404__lead {
  margin: clamp(20px, 3vh, 32px) 0 0;
  max-width: 46ch;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-muted);
  text-wrap: pretty;
}

.error404__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 5vh, 44px);
}


/* --------------------------------------------------------------------------
   Página industrial

   Esta página tiene lenguaje visual propio: esquinas redondeadas, bordes finos
   y tarjetas, en vez de los cortes en chevron del resto del sitio. Es a
   propósito: viene del embudo original y se respetó tal cual.
   -------------------------------------------------------------------------- */

.ind {
  --r: 4px;
  --linea: rgba(224, 244, 251, 0.08);
  --linea-fuerte: rgba(224, 244, 251, 0.18);
  --ancho: min(1120px, 90vw);
}

.ind-sec { position: relative; overflow: hidden; }
.ind-in {
  max-width: var(--ancho);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 56px);
}

/* Eyebrow con punto y subrayado */
.ind-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(224, 244, 251, 0.22);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--celeste-100);
}
.ind-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
}

.ind-h {
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}
.ind-h em { font-style: normal; color: var(--blue-600); }

/* Botones propios de esta página: rectangulares, no pastilla */
.ind-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--r);
  border: 1.5px solid;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .22s;
}
.ind-btn svg { transition: transform .22s; flex-shrink: 0; }
.ind-btn:hover svg { transform: translateX(4px); }

.ind-btn--hielo {
  background: var(--celeste-100);
  color: var(--navy-900);
  border-color: var(--celeste-100);
}
.ind-btn--hielo:hover {
  background: transparent;
  color: var(--celeste-100);
  transform: translateY(-2px);
}

/* Lima: se usa una sola vez en toda la página, en el cierre */
.ind-btn--lima {
  background: var(--lime-500);
  color: var(--navy-900);
  border-color: var(--lime-500);
}
.ind-btn--lima:hover {
  background: transparent;
  color: var(--lime-500);
  transform: translateY(-2px);
}

/* ---- Hero ---- */

.ind-hero { padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 3vw, 40px); }

/* Isotipo gigante de fondo, apenas visible */
.ind-hero__deco {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%) rotate(18deg);
  width: clamp(220px, 32vw, 480px);
  opacity: .04;
  pointer-events: none;
}

.ind-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 820px) { .ind-hero__grid { grid-template-columns: 1fr; } }

.ind-hero__copy { display: flex; flex-direction: column; gap: 20px; }

.ind-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--linea-fuerte);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--celeste-100);
}

.ind-hero__sub {
  margin: 0;
  max-width: 480px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: rgba(224, 244, 251, 0.62);
}

.ind-hero__col { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Video con esquinas en L y trama de fondo */
.ind-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(224, 244, 251, 0.12);
  background: rgba(224, 244, 251, 0.04);
}
.ind-video::before,
.ind-video::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 3;
  pointer-events: none;
}
.ind-video::before {
  top: 0; left: 0;
  border-top: 2px solid rgba(61, 106, 241, 0.45);
  border-left: 2px solid rgba(61, 106, 241, 0.45);
}
.ind-video::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid rgba(61, 106, 241, 0.45);
  border-right: 2px solid rgba(61, 106, 241, 0.45);
}

.ind-video__btn {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ind-video__miniatura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Velo + trama sobre la miniatura */
.ind-video__velo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(224, 244, 251, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(224, 244, 251, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    rgba(0, 0, 46, .45);
}
.ind-video__play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0, 0, 46, .85);
  border: 2px solid rgba(224, 244, 251, 0.28);
  color: rgba(224, 244, 251, .9);
  transition: transform .22s, border-color .22s;
}
.ind-video__btn:hover .ind-video__play { transform: scale(1.08); border-color: var(--celeste-100); }
.ind-video__rot {
  position: absolute;
  bottom: 12px;
  left: 50%;
  translate: -50% 0;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.32);
  white-space: nowrap;
}
.ind-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.ind-hero__foot {
  margin-top: clamp(16px, 2vw, 28px);
  padding-top: 12px;
  border-top: 1px solid rgba(224, 244, 251, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: rgba(224, 244, 251, 0.18);
}
.ind-hero__foot strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.2);
}
.ind-hero__foot div { display: flex; align-items: center; gap: 16px; }
.ind-hero__foot i {
  width: 1px;
  height: 10px;
  background: rgba(224, 244, 251, 0.13);
}

/* ---- Franja de números ---- */

.ind-nums {
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}
.ind-nums__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .ind-nums__grid { grid-template-columns: 1fr; } }

.ind-num {
  padding: clamp(16px, 2vw, 28px) clamp(16px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--linea);
}
.ind-num:last-child { border-right: 0; }
@media (max-width: 640px) {
  .ind-num { border-right: 0; border-bottom: 1px solid var(--linea); }
  .ind-num:last-child { border-bottom: 0; }
}
.ind-num::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue-600);
  margin-bottom: 4px;
}
.ind-num b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--celeste-100);
}
.ind-num b.azul { color: var(--blue-600); }
.ind-num p {
  margin: 0;
  max-width: 180px;
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(224, 244, 251, 0.4);
}

/* ---- Carrusel de logos ---- */

.ind-marcas { padding: clamp(20px, 2.5vw, 32px) 0 clamp(16px, 2vw, 24px); }
.ind-marcas__rot {
  margin: 0 0 clamp(20px, 3vw, 36px);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.75);
}

.ind-cinta { position: relative; overflow: hidden; }
/* Los bordes se desvanecen para que no se vea el corte */
.ind-cinta::before,
.ind-cinta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(50px, 8vw, 110px);
  z-index: 2;
  pointer-events: none;
}
.ind-cinta::before { left: 0; background: linear-gradient(to right, var(--navy-900), transparent); }
.ind-cinta::after { right: 0; background: linear-gradient(to left, var(--navy-900), transparent); }

.ind-cinta__pista {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 0;
  /* La duración se calcula en industrial.astro según cuántos logos haya, así el
     desfile mantiene siempre la misma velocidad por más clientes que se sumen. */
  animation: desfile var(--desfile, 28s) linear infinite;
}
.ind-cinta:hover .ind-cinta__pista { animation-play-state: paused; }
@keyframes desfile { to { transform: translateX(-50%); } }

.ind-marca {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 190px;
  height: 100px;
  padding: 16px 24px;
  background: var(--white);
  border-radius: 8px;
}
.ind-marca img { width: 100%; height: auto; max-height: 62px; object-fit: contain; }
@media (max-width: 768px) {
  .ind-marca { width: 160px; height: 84px; padding: 12px 18px; }
  .ind-marca img { max-height: 52px; }
}

/* ---- Encabezado a dos columnas ---- */

.ind-cab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(24px, 3vw, 44px);
}
@media (max-width: 820px) { .ind-cab { grid-template-columns: 1fr; } }
.ind-cab .ind-h { margin-top: 16px; }
.ind-cab__sub {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: rgba(224, 244, 251, 0.52);
}
.ind-cab__sub strong { color: var(--celeste-100); font-weight: 600; }

/* ---- Las 4 etapas: tarjetas que se apilan al scrollear ---- */

.ind-etapas {
  padding: clamp(28px, 4vw, 52px) 0 clamp(20px, 2.5vw, 36px);
  border-top: 1px solid var(--linea);
}

.ind-pilar {
  position: sticky;
  background: var(--navy-900);
  border: 1px solid rgba(224, 244, 251, 0.1);
  border-radius: 6px;
  padding: clamp(22px, 3.5vw, 44px);
  margin-bottom: 12px;
  transition: opacity .5s ease, transform .5s ease, filter .5s ease;
}
/* Cada una queda 40px más abajo que la anterior: al scrollear se tapan */
.ind-pilar:nth-child(1) { top: 40px;  z-index: 1; }
.ind-pilar:nth-child(2) { top: 80px;  z-index: 2; }
.ind-pilar:nth-child(3) { top: 120px; z-index: 3; }
.ind-pilar:nth-child(4) { top: 160px; z-index: 4; }
.ind-pilar.is-tapado { opacity: .48; transform: scale(.97); filter: brightness(.76); }

.ind-pilar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 2px;
  background: rgba(61, 106, 241, 0.32);
  transition: background .4s;
}
.ind-pilar:not(.is-tapado)::before { background: var(--blue-600); }

.ind-pilar__grid {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: clamp(20px, 2.5vw, 44px);
  align-items: start;
}
@media (max-width: 820px) {
  .ind-pilar { position: relative; top: auto; }
  .ind-pilar__grid { grid-template-columns: 1fr; gap: 12px; }
}

.ind-pilar__izq { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ind-pilar__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(224, 244, 251, 0.06);
}
.ind-pilar__der { display: flex; flex-direction: column; gap: 14px; }
.ind-pilar__t {
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
}
.ind-pilar__d {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.7;
  color: rgba(224, 244, 251, 0.58);
}

.ind-ul {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ind-ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.5;
  color: rgba(224, 244, 251, 0.68);
}
.ind-ul li::before { content: "—"; color: var(--blue-600); font-weight: 700; flex-shrink: 0; }

.ind-cta-centro {
  display: flex;
  justify-content: center;
  padding-top: clamp(16px, 2.5vw, 28px);
}

/* ---- Entregables ---- */

.ind-entregables {
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 1px solid var(--linea);
}
.ind-nota {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 2px solid var(--linea-fuerte);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(224, 244, 251, 0.38);
}

.ind-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 480px) { .ind-grid2 { gap: 8px; } }

.ind-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(224, 244, 251, 0.025);
  border: 1px solid rgba(224, 244, 251, 0.09);
  border-radius: 6px;
  transition: background .28s, border-color .28s;
}
.ind-item:hover {
  background: rgba(61, 106, 241, 0.07);
  border-color: rgba(61, 106, 241, 0.24);
}
.ind-item__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(61, 106, 241, 0.1);
  flex-shrink: 0;
}
.ind-item__n {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(224, 244, 251, 0.18);
}
.ind-item__t {
  font-weight: 700;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
}
.ind-item p {
  margin: 0;
  font-size: clamp(11px, .95vw, 13px);
  line-height: 1.55;
  color: rgba(224, 244, 251, 0.42);
}
.ind-item__badge {
  margin-top: auto;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 2px;
  background: rgba(224, 244, 251, 0.06);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.35);
}

/* ---- Cierre ---- */

.ind-cierre {
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--linea);
}
/* Cruz tenue de fondo */
.ind-cierre::before,
.ind-cierre::after {
  content: "";
  position: absolute;
  background: rgba(224, 244, 251, 0.04);
  pointer-events: none;
}
.ind-cierre::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.ind-cierre::after { top: 50%; left: 0; right: 0; height: 1px; }

.ind-cierre__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(14px, 2vw, 24px);
  max-width: 720px;
  margin-inline: auto;
}
.ind-cierre__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(224, 244, 251, 0.16);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--celeste-100);
}
.ind-cierre__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
}
.ind-cierre__h {
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
}
.ind-cierre__h em { font-style: normal; color: var(--celeste-100); }
.ind-cierre__p {
  margin: 0;
  max-width: 520px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
  color: rgba(224, 244, 251, 0.52);
}
.ind-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(224, 244, 251, 0.1);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(224, 244, 251, 0.42);
}
.ind-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
}
.ind-urg {
  margin: 0;
  font-size: 12px;
  color: rgba(224, 244, 251, 0.28);
}
.ind-urg strong { color: rgba(224, 244, 251, 0.48); font-weight: 600; }

/* El formulario, cuando aparece en esta página, sigue su lenguaje */
.ind-form {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--linea);
  text-align: left;
}
.ind-form__rot {
  margin: 0 0 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(224, 244, 251, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .ind-cinta__pista { animation: none; }
  .ind-pilar { position: relative; top: auto; }
  .ind-pilar.is-tapado { opacity: 1; transform: none; filter: none; }
}

/* Servicio que además es un enlace: se distingue apenas, sin romper la grilla */
.servicio--enlace {
  color: inherit;
  transition: transform .3s var(--ease);
}
.servicio--enlace:hover { color: inherit; transform: translateY(-3px); }
.servicio--enlace:hover .servicio__title { color: var(--blue-600); }
.servicio__title { transition: color .25s var(--ease); }

.servicio__mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.servicio--enlace:hover .servicio__mas span { transform: translateX(4px); }
.servicio__mas span { transition: transform .25s var(--ease); }

/* --------------------------------------------------------------------------
   La propuesta, en el hero
   -------------------------------------------------------------------------- */

/* Va aparte de la bajada para que se lea como declaración, no como coletilla */
.hero__propuesta {
  margin: clamp(16px, 2.4vh, 26px) 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  text-wrap: balance;
}
.hero__propuesta strong {
  font-weight: 700;
  color: var(--celeste-100);
}
/* Entradilla chica: contextualiza sin robarle peso a las tres palabras */
.hero__propuesta span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   Tarjetas de servicio

   Las nueve son enlaces a su página y se ven exactamente igual. La del sistema
   industrial es la única que además cambia de piel en mobile, donde ocupa el
   ancho completo y se lee como franja destacada.
   -------------------------------------------------------------------------- */

.servicio { color: inherit; }
.servicio:hover { color: inherit; }
.servicio:hover .servicio__title { color: var(--blue-600); }
.servicio__title { transition: color .25s var(--ease); }

/* El rótulo y el botón grande son cosa de mobile */
.servicio__rotulo { display: none; }

.servicio__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.servicio__cta span { transition: transform .25s var(--ease); }
.servicio:hover .servicio__cta span { transform: translateX(4px); }

@media (max-width: 720px) {
  /* Ocupa las dos columnas y cambia de piel */
  .servicio--vertical {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 24px 20px;
    background: var(--navy-800);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
  }
  .servicio--vertical .servicio__icon { width: 26px; }

  .servicio__rotulo {
    display: block;
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--text-faint);
  }

  .servicio--vertical .servicio__title { font-size: 22px; }
  .servicio--vertical p { font-size: 14px; }

  /* El botón lima es sólo de la franja industrial: es la única tarjeta que se
     presenta como una acción. En las otras ocho sería un muro de botones, y el
     lima está reservado para los call-to-action. */
  .servicio--vertical .servicio__cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 20px;
    border-radius: 100px;
    background: var(--lime-500);
    color: var(--navy-900);
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  /* En el resto queda como enlace discreto, más chico para no competir con el
     texto en una tarjeta angosta. */
  .servicio__cta {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }
}


/* --------------------------------------------------------------------------
   El cliente recorriendo el ciclo: se enciende la etapa y crece con cada vuelta
   -------------------------------------------------------------------------- */

/* La escala la escribe el JS: sube un poco por vuelta cumplida */
.loop__marcador { transform-origin: center; }

/* Etapa encendida: gana contraste y un halo suave */
.loop .paso.is-activo .paso__num { color: var(--celeste-100); }
.loop .paso.is-activo .paso__title { text-shadow: 0 0 26px rgba(224, 244, 251, .45); }

/* -- Versión mobile: la misma idea sobre la línea de tiempo -- */

.timeline { position: relative; }

/* Viaja por la línea punteada, a la altura de la etapa activa */
.timeline__marcador {
  position: absolute;
  left: 8px;
  top: 0;
  translate: -50% 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1px solid rgba(224, 244, 251, 0.5);
  color: var(--celeste-100);
  box-shadow: 0 0 0 6px rgba(0, 0, 46, .9), 0 0 0 9px rgba(61, 106, 241, 0.3);
  transform-origin: center;
  transform: scale(var(--escala, 1));
  transition: top .8s var(--ease), transform .8s var(--ease);
}
.timeline__marcador svg { width: 19px; height: 19px; }

.timeline .paso {
  transition: opacity .5s var(--ease), border-color .5s var(--ease);
}
.timeline .paso:not(.is-activo) { opacity: .5; }
.timeline .paso.is-activo { border-left-color: var(--celeste-100); }
.timeline .paso.is-activo .paso__num { color: var(--celeste-100); }

@media (prefers-reduced-motion: reduce) {
  .timeline__marcador { transition: none; }
  .timeline .paso:not(.is-activo) { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Carrusel de notas del home
   -------------------------------------------------------------------------- */

.carrusel { position: relative; }

.carrusel__pista {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(390px, 82vw);
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Aire a los costados para que la tarjeta activa no quede pegada al borde */
  padding: 4px clamp(20px, 4vw, 64px);
  margin-inline: calc(-1 * clamp(20px, 4vw, 64px));
  scrollbar-width: none;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista > * { scroll-snap-align: center; }

/* Las flechas solo tienen sentido con mouse: en táctil se arrastra */
.carrusel__flecha {
  position: absolute;
  top: 38%;
  z-index: 3;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-dark-strong);
  background: rgba(0, 0, 46, 0.92);
  backdrop-filter: blur(8px);
  color: var(--text);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.carrusel__flecha svg { width: 17px; height: 17px; }
.carrusel__flecha:hover { background: var(--celeste-100); color: var(--navy-900); border-color: var(--celeste-100); }
.carrusel__flecha--antes { left: -6px; }
.carrusel__flecha--luego { right: -6px; }

@media (hover: hover) and (min-width: 900px) {
  .carrusel__flecha { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  .carrusel__pista { scroll-behavior: auto; }
}

/* Imágenes dentro del cuerpo de una nota */
.nota__cuerpo img {
  width: 100%;
  height: auto;
  margin-block: clamp(28px, 4vh, 44px);
  border: 1px solid var(--border-dark);
}

/* --------------------------------------------------------------------------
   Pie con datos del negocio

   La dirección y el teléfono visibles no son adorno: Google los cruza con la
   ficha de Google Business Profile para confiar en que el negocio existe.
   -------------------------------------------------------------------------- */

.pie-datos {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  padding-block: clamp(40px, 6vh, 64px);
  border-top: 1px solid rgba(224, 244, 251, 0.16);
}
@media (max-width: 860px) {
  .pie-datos { grid-template-columns: 1fr 1fr; }
  .pie-datos > :first-child { grid-column: 1 / -1; }
}

.pie-datos img { height: 38px; width: auto; }

.pie-datos__desc {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.pie-datos__rotulo {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.pie-datos__dato {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}
.pie-datos__dato a { color: var(--text-muted); }
.pie-datos__dato a:hover { color: var(--lime-500); }

.pie { flex-wrap: wrap; gap: 12px 24px; }

/* --------------------------------------------------------------------------
   Páginas de servicio
   -------------------------------------------------------------------------- */

.servicio-pag {
  padding: calc(var(--nav-h) + clamp(28px, 5vh, 56px)) var(--gutter) var(--section-y);
}

/* -- Migas de pan -- */

.migas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vh, 32px);
  font-size: 13px;
  color: var(--text-faint);
}
.migas a { color: var(--text-soft); text-decoration: none; }
.migas a:hover { color: var(--celeste-100); text-decoration: underline; }
.migas [aria-current] { color: var(--text-muted); }

/* -- La barra de solapas --
   Se ve y se usa como un selector de pestañas, pero cada solapa es un enlace a
   su propia página. Así cada servicio tiene su dirección y puede competir por
   su búsqueda, en lugar de ser un pedazo de una página que habla de seis temas. */

.solapas { margin-bottom: clamp(32px, 5vh, 56px); }

.solapas__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solapa {
  display: block;
  padding: 13px clamp(14px, 1.6vw, 24px);
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.solapa:hover {
  background: rgba(61, 106, 241, 0.16);
  border-color: var(--border-dark-strong);
  color: var(--celeste-100);
}
.solapa--activa,
.solapa--activa:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

/* -- Encabezado -- */

.servicio-pag__head { margin-bottom: clamp(36px, 6vh, 64px); }
.servicio-pag__head .eyebrow { margin: 0 0 16px; }

.servicio-pag__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.servicio-pag__title strong { font-weight: 700; }

.servicio-pag__lead {
  max-width: 58ch;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
  color: var(--text-soft);
}

/* -- Cuerpo: el texto y la columna de apoyo -- */

/* El ancho lo pone la grilla y no un max-width sobre el texto: si no, la
   columna de lectura queda corta y se abre un hueco contra la barra lateral. */
.servicio-pag__cuerpo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  max-width: 1080px;
}

.servicio-pag__texto { min-width: 0; }
/* El espaciado va en cada elemento y no en un `* + *`: ese selector pierde por
   especificidad contra el `margin: 0` de los párrafos y quedaban pegados. */
.servicio-pag__texto p {
  margin: 0 0 1.15em;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.72;
  color: var(--text-muted);
}
.servicio-pag__texto > :last-child { margin-bottom: 0; }
.servicio-pag__texto h2 {
  margin: 1.9em 0 0.65em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.18;
  color: var(--celeste-100);
}
.servicio-pag__texto a { color: var(--blue-600); }
.servicio-pag__texto a:hover { color: var(--celeste-100); }
.servicio-pag__texto strong { color: var(--celeste-100); font-weight: 600; }

/* -- Cajas de la columna de apoyo -- */

.servicio-pag__aparte {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: grid;
  gap: 14px;
}

.servicio-caja {
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
}

.servicio-caja__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--celeste-100);
}

.servicio-caja__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.servicio-caja__lista li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
/* La marca usa el chevrón como viñeta */
.servicio-caja__lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--blue-600);
  clip-path: polygon(0 0, 60% 50%, 0 100%, 25% 50%);
}

.servicio-caja--cta { display: grid; gap: 16px; justify-items: start; }
.servicio-caja__texto {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--celeste-100);
}

/* -- Preguntas frecuentes -- */

.servicio-faq { margin-top: clamp(48px, 8vh, 96px); }

.servicio-faq__title {
  margin: 0 0 clamp(20px, 3vh, 32px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--celeste-100);
}

.servicio-faq__lista {
  display: grid;
  border-top: 1px solid var(--border-dark);
  max-width: 90ch;
}

.servicio-faq__item { border-bottom: 1px solid var(--border-dark); }
.servicio-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--celeste-100);
  transition: color .25s var(--ease);
}
.servicio-faq__item summary::-webkit-details-marker { display: none; }
.servicio-faq__item summary:hover { color: var(--blue-600); }
.servicio-faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 300;
  color: var(--blue-600);
  transition: transform .3s var(--ease);
}
.servicio-faq__item[open] summary::after { transform: rotate(45deg); }
.servicio-faq__item p {
  margin: 0;
  padding: 0 40px 24px 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* -- El índice de servicios -- */

/* Tres columnas: son seis tarjetas y así quedan dos filas parejas */
.servicio-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}

.servicio-lista__item {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--navy-800);
  border: 1px solid var(--border-dark);
  text-decoration: none;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.servicio-lista__item:hover {
  background: rgba(61, 106, 241, 0.1);
  border-color: var(--border-dark-strong);
  transform: translateY(-3px);
}

.servicio-lista__rotulo {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.servicio-lista__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.15;
  color: var(--celeste-100);
}

.servicio-lista__texto {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.servicio-lista__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-600);
}
.servicio-lista__item:hover .servicio-lista__cta { color: var(--celeste-100); }

.servicio-pag__otros {
  margin-top: clamp(40px, 6vh, 72px);
  padding-top: clamp(28px, 4vh, 44px);
  border-top: 1px solid var(--border-dark);
  max-width: 74ch;
}
.servicio-pag__otros-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--celeste-100);
}
.servicio-pag__otros p {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.5vw, 16.5px);
  line-height: 1.68;
  color: var(--text-soft);
}
.servicio-pag__otros strong { color: var(--celeste-100); font-weight: 600; }

@media (max-width: 940px) {
  .servicio-pag__cuerpo { grid-template-columns: 1fr; }
  .servicio-pag__aparte { position: static; }
}

@media (max-width: 720px) {
  /* Las solapas pasan a una fila que se desliza: apiladas ocupaban media
     pantalla antes de que empiece el contenido. */
  .solapas__lista {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    /* Sin esto el imán del snap ignora el padding y la primera solapa queda
       pegada al borde de la pantalla. */
    scroll-padding-inline: var(--gutter);
  }
  .solapas__lista::-webkit-scrollbar { display: none; }
  .solapas__lista > li { scroll-snap-align: start; }
  .solapa { padding: 11px 16px; }

  .servicio-pag { padding-top: calc(var(--nav-h) + 20px); }
  .servicio-pag__head { margin-bottom: 30px; }
  .servicio-pag__texto h2 { margin-top: 1.5em; }
  .servicio-faq__item p { padding-right: 8px; }
}

/* --------------------------------------------------------------------------
   Recurso descargable a cambio del mail
   -------------------------------------------------------------------------- */

/* Va adentro de .nota, que ya pone el ancho y el margen lateral: acá sólo
   corresponde separarlo del texto de arriba. */
.recurso { margin-top: clamp(40px, 6vh, 72px); }

.recurso__caja {
  padding: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(150deg, rgba(61, 106, 241, 0.16), rgba(1, 9, 53, 0.6));
  border: 1px solid var(--border-dark-strong);
}

.recurso__rotulo {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lime-500);
}

.recurso__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.12;
  color: var(--celeste-100);
}

.recurso__texto {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: var(--text-muted);
}

.recurso__lista {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.recurso__lista li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}
.recurso__lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--lime-500);
  clip-path: polygon(0 0, 60% 50%, 0 100%, 25% 50%);
}

.recurso__form { margin-top: 24px; }

.recurso__campos {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.recurso__campos input {
  min-width: 0;
  padding: 14px 16px;
  background: rgba(0, 0, 46, 0.5);
  border: 1px solid var(--border-dark-strong);
  color: var(--celeste-100);
  font-family: var(--font-body);
  font-size: 15px;
}
.recurso__campos input::placeholder { color: var(--text-faint); }
.recurso__campos input:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 1px;
}

.recurso__campos button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border: 0;
  border-radius: 100px;
  background: var(--lime-500);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.recurso__campos button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.recurso__campos button:disabled { opacity: .6; cursor: wait; transform: none; }

.recurso__legal {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-faint);
}
.recurso__legal em { color: var(--text-soft); font-style: normal; }

.recurso__status:empty { display: none; }
.recurso__status {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--lime-500);
}

/* El display:grid le gana al hidden del navegador: hay que apagarlo a mano o el
   bloque de descarga se ve antes de que nadie complete nada. */
.recurso__listo[hidden] { display: none; }
.recurso__listo { display: grid; gap: 14px; justify-items: start; margin-top: 24px; }
.recurso__listo-titulo {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--celeste-100);
}

@media (max-width: 620px) {
  .recurso__campos { grid-template-columns: 1fr; }
  .recurso__campos button { justify-content: center; }
}
