/* =====================================================================
   FB Sistemas — landing v5
   Paleta: Seal Blue + Navy Blue, con un cobalto vivo solo en el hero
   y el cierre. Vidrio biselado como material de contenedores y botones.
   Tipografía: Plus Jakarta Sans, contraste 700 / 200 itálica.
   ===================================================================== */

:root {
  /* color */
  --seal: #dbf2fc;
  --seal-50: #f3fafe;
  --seal-200: #c4e6f8;
  --navy: #072d59;
  --navy-900: #041b38;
  --navy-700: #0b3c74;
  --cobalto: #1d5cf5;
  --cielo: #6fb8f2;
  --tinta: #072d59;
  --tinta-2: #3a5878;
  --tinta-3: #6a86a3;
  --linea: rgba(7, 45, 89, 0.12);

  /* tipografía */
  --f: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --peso-fuerte: 700;
  --peso-acento: 200;
  --track-display: -0.055em;
  --track-titulo: -0.045em;
  --track-texto: -0.012em;

  /* medidas */
  --envoltura: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radio-xl: 32px;
  --radio-l: 24px;
  --seccion: clamp(88px, 12vw, 160px);

  /* movimiento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);

  /* sombras: siempre con desplazamiento y blur */
  --sombra-1: 0 1px 2px rgba(7, 45, 89, 0.06), 0 8px 24px -12px rgba(7, 45, 89, 0.18);
  --sombra-2: 0 2px 4px rgba(7, 45, 89, 0.06), 0 24px 48px -20px rgba(7, 45, 89, 0.32);
  --sombra-3: 0 4px 8px rgba(4, 27, 56, 0.1), 0 40px 80px -32px rgba(4, 27, 56, 0.5);

  /* bisel reutilizable (borde degradado enmascarado) */
  --mascara-borde: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--cielo) var(--seal-50);
}

body {
  margin: 0;
  font-family: var(--f);
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: var(--track-texto);
  word-spacing: 0.04em;
  color: var(--tinta);
  background: var(--seal-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.cargando,
body.menu-abierto { overflow: hidden; }

::selection { background: var(--cobalto); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cobalto); outline-offset: 3px; border-radius: 10px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--seal-50); }
::-webkit-scrollbar-thumb { background: var(--seal-200); border-radius: 10px; border: 2px solid var(--seal-50); }
::-webkit-scrollbar-thumb:hover { background: var(--cielo); }

.envoltura { width: 100%; max-width: var(--envoltura); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------------
   Tipografía
   --------------------------------------------------------------------- */
h1, h2, h3 {
  font-weight: var(--peso-fuerte);
  letter-spacing: var(--track-titulo);
  line-height: 1.04;
  word-spacing: 0.08em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.05rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1.2; }

h1 em, h2 em {
  font-style: italic;
  font-weight: var(--peso-acento);
  letter-spacing: -0.04em;
  word-spacing: 0.14em;
  color: var(--cobalto);
}

.encabezado { margin-bottom: clamp(40px, 6vw, 64px); }
.encabezado p { max-width: 56ch; margin-top: 20px; color: var(--tinta-2); font-size: 1.1rem; text-wrap: pretty; }
.encabezado--centro { text-align: center; }
.encabezado--centro h2 { max-width: 18ch; margin-inline: auto; }
.encabezado--centro p { margin-inline: auto; }

.seccion { padding-block: var(--seccion) 0; position: relative; }

.lectura .palabra { opacity: 0.22; transition: opacity 0.5s var(--ease-out); }
.lectura .palabra.activa { opacity: 1; }

/* ---------------------------------------------------------------------
   Vidrio biselado
   --------------------------------------------------------------------- */
.vidrio {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(7, 45, 89, 0.06), var(--sombra-1);
}

.vidrio::before,
.bisel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, #fff 0%, rgba(255, 255, 255, 0.35) 22%, rgba(7, 45, 89, 0.08) 50%, rgba(255, 255, 255, 0.25) 78%, rgba(255, 255, 255, 0.9) 100%);
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
  pointer-events: none;
}

.vidrio--oscuro {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 10px 30px -12px rgba(2, 14, 34, 0.45);
}
.vidrio--oscuro::before {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.12) 80%, rgba(255, 255, 255, 0.4) 100%);
}

/* ---------------------------------------------------------------------
   Botones de la marca
   --------------------------------------------------------------------- */
.boton {
  --alto: 50px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--alto);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out), background-color 0.3s var(--ease-out), box-shadow 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.boton:active { transform: scale(0.97); transition-duration: 0.15s; }

/* destello que cruza el botón al pasar el mouse */
.boton::after,
.boton-saas::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
}
@media (hover: hover) {
  .boton:hover::after,
  .boton-saas:hover::after { animation: destello 0.9s var(--ease-out); }
}
@keyframes destello {
  0% { opacity: 0; transform: skewX(-18deg) translateX(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: skewX(-18deg) translateX(420%); }
}

.boton--claro {
  background: linear-gradient(180deg, #fff, #eef7fd);
  color: var(--navy);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(7, 45, 89, 0.08), 0 1px 2px rgba(4, 27, 56, 0.2), 0 10px 24px -10px rgba(4, 27, 56, 0.5);
}
.boton--claro:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(7, 45, 89, 0.08), 0 2px 4px rgba(4, 27, 56, 0.2), 0 18px 32px -12px rgba(4, 27, 56, 0.6); }

.boton--tinta {
  background: linear-gradient(180deg, var(--navy-700), var(--navy));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.2), 0 1px 2px rgba(4, 27, 56, 0.25), 0 10px 22px -10px rgba(7, 45, 89, 0.6);
}
.boton--tinta:hover { transform: translateY(-2px); }

.boton--vidrio { color: #fff; }
.boton--vidrio:hover { transform: translateY(-2px); background: linear-gradient(160deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)); }

.icono-wa { width: 18px; height: 18px; }

/* variante con flecha: un círculo que empuja hacia adelante */
.boton--con-flecha { padding-right: 6px; gap: 14px; }
.boton-flecha {
  width: calc(var(--alto) - 12px);
  height: calc(var(--alto) - 12px);
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-700), var(--navy));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 3px 8px -3px rgba(4, 27, 56, 0.6);
  transition: transform 0.6s var(--ease-out);
}
.boton-flecha svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s var(--ease-out); }
.boton--tinta .boton-flecha { background: linear-gradient(180deg, #fff, var(--seal)); color: var(--navy); box-shadow: inset 0 1px 0 #fff, 0 3px 8px -3px rgba(0, 0, 0, 0.4); }
@media (hover: hover) {
  .boton--con-flecha:hover .boton-flecha { transform: rotate(-45deg); }
}
.cabecera.sobre-claro .nav-cta .boton-flecha { background: linear-gradient(180deg, #fff, var(--seal)); color: var(--navy); }

/* ---------------------------------------------------------------------
   Loader
   --------------------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }

.loader-mitad { position: absolute; left: 0; right: 0; height: 50.5%; transition: transform 1.1s var(--ease-in-out); }
.loader-mitad--arriba { top: 0; background: linear-gradient(180deg, #03142b, var(--navy-900)); }
.loader-mitad--abajo { bottom: 0; background: linear-gradient(0deg, #03142b, var(--navy-900)); }

.loader-logo { position: relative; width: 132px; aspect-ratio: 1; }

.loader-pieza {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: blur(10px);
  transition: transform 1.1s var(--ease-in-out), opacity 0.8s var(--ease-out), filter 0.9s var(--ease-out);
}
.loader-pieza--arriba { clip-path: inset(0 0 58% 0); transform: translateX(-56px); }
.loader-pieza--abajo { clip-path: inset(42% 0 0 0); transform: translateX(56px); }

.loader-destello {
  position: absolute;
  left: -30%;
  right: -30%;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 247, 255, 0.9) 50%, transparent);
  box-shadow: 0 0 12px rgba(219, 242, 252, 0.6);
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease-out);
}

.loader-marca {
  position: absolute;
  top: calc(50% + 92px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(219, 242, 252, 0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.loader.fase-1 .loader-pieza { opacity: 1; filter: blur(0); transform: none; }
.loader.fase-1 .loader-marca { opacity: 1; transform: none; transition-delay: 0.25s; }
.loader.fase-2 .loader-destello { transform: scaleX(1); opacity: 1; }
.loader.fase-3 .loader-mitad--arriba { transform: translateY(-101%); }
.loader.fase-3 .loader-mitad--abajo { transform: translateY(101%); }
.loader.fase-3 .loader-pieza--arriba { transform: translateY(-46vh); }
.loader.fase-3 .loader-pieza--abajo { transform: translateY(46vh); }
.loader.fase-3 .loader-destello { opacity: 0; transform: scaleX(3); transition-duration: 0.9s; }
.loader.fase-3 .loader-marca { opacity: 0; transition-duration: 0.3s; transition-delay: 0s; }
.loader.fin { display: none; }
html:not(.js) .loader { display: none; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.cabecera {
  position: fixed;
  z-index: 50;
  top: 22px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: clamp(28px, 4vw, 52px);
  isolation: isolate;
  transition: top 0.6s var(--ease-out);
}
.cabecera.compacto { top: 12px; }

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  justify-self: start;
  transition: color 0.4s var(--ease-out);
}
.marca img { width: 28px; height: 28px; transition: filter 0.4s var(--ease-out); }

.nav-pill { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; }
.nav-pill a {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.35s var(--ease-out);
}
.nav-pill a:hover { color: #fff; }
.nav-pill a.activo { color: var(--navy); }

.nav-indicador {
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eef7fd);
  box-shadow: inset 0 -1px 0 rgba(7, 45, 89, 0.1), 0 4px 12px -4px rgba(4, 27, 56, 0.4);
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out);
}

.nav-cta { justify-self: end; --alto: 44px; padding-inline: 22px; }

.cabecera.sobre-claro .marca { color: var(--navy); }
.cabecera.sobre-claro .marca img { filter: brightness(0) saturate(100%) invert(14%) sepia(52%) saturate(2700%) hue-rotate(198deg) brightness(92%); }
.cabecera.sobre-claro .nav-pill { background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.52)); box-shadow: inset 0 1px 0 #fff, var(--sombra-2); }
.cabecera.sobre-claro .nav-pill::before { background: linear-gradient(145deg, #fff, rgba(255, 255, 255, 0.3) 30%, rgba(7, 45, 89, 0.1) 55%, rgba(255, 255, 255, 0.8)); }
.cabecera.sobre-claro .nav-pill a { color: var(--tinta-2); }
.cabecera.sobre-claro .nav-pill a:hover { color: var(--navy); }
.cabecera.sobre-claro .nav-pill a.activo { color: #fff; }
.cabecera.sobre-claro .nav-indicador { background: linear-gradient(180deg, var(--navy-700), var(--navy)); }
.cabecera.sobre-claro .nav-cta { background: linear-gradient(180deg, var(--navy-700), var(--navy)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--sombra-2); }

/* Botón hamburguesa: vidrio redondo, dos líneas de largo distinto */
.boton-menu {
  display: none;
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px -10px rgba(2, 14, 34, 0.5);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.boton-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.45));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
}
.boton-menu:active { transform: scale(0.94); }
.boton-menu-lineas { position: relative; display: block; width: 20px; height: 10px; }
.boton-menu-lineas span {
  position: absolute;
  right: 0;
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out), top 0.6s var(--ease-out), background-color 0.3s;
}
.boton-menu-lineas span:first-child { top: 0; width: 20px; }
.boton-menu-lineas span:last-child { top: 8.2px; width: 12px; }
.boton-menu:hover .boton-menu-lineas span:last-child { width: 20px; }
.boton-menu[aria-expanded='true'] .boton-menu-lineas span { top: 4.1px; width: 20px; }
.boton-menu[aria-expanded='true'] .boton-menu-lineas span:first-child { transform: rotate(45deg); }
.boton-menu[aria-expanded='true'] .boton-menu-lineas span:last-child { transform: rotate(-45deg); }

.cabecera.sobre-claro .boton-menu { background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)); box-shadow: inset 0 1px 0 #fff, var(--sombra-1); }
.cabecera.sobre-claro .boton-menu::before { background: linear-gradient(145deg, #fff, rgba(7, 45, 89, 0.08) 50%, rgba(255, 255, 255, 0.8)); }
.cabecera.sobre-claro .boton-menu-lineas span { background: var(--navy); }

/* Con el menú abierto el header vuelve a blanco, sea cual sea el fondo */
body.menu-abierto .cabecera .marca { color: #fff; }
body.menu-abierto .cabecera .marca img { filter: none; }
body.menu-abierto .cabecera .boton-menu { background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
body.menu-abierto .cabecera .boton-menu::before { background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.45)); }
body.menu-abierto .cabecera .boton-menu-lineas span { background: #fff; }
body.menu-abierto .cabecera::before { opacity: 0 !important; }
body.menu-abierto .whatsapp-flotante { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------------
   Menú móvil: una hoja de vidrio azul que baja desde arriba
   --------------------------------------------------------------------- */
.menu-movil {
  position: fixed;
  z-index: 45;
  inset: 0;
  background: rgba(4, 27, 56, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.8s;
}
.menu-movil.abierto { opacity: 1; visibility: visible; transition-delay: 0s; }

.menu-hoja {
  position: absolute;
  inset: 8px;
  display: flex;
  flex-direction: column;
  padding: 96px 24px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(42, 105, 240, 0.85), transparent 70%),
    radial-gradient(90% 40% at 50% 105%, rgba(111, 184, 242, 0.35), transparent 70%),
    linear-gradient(180deg, #0a3a86, var(--navy) 55%, var(--navy-900));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), var(--sombra-3);
  clip-path: inset(0 0 100% 0 round 28px);
  transition: clip-path 0.85s var(--ease-in-out);
}
.menu-movil.abierto .menu-hoja { clip-path: inset(0 0 0 0 round 28px); }

.menu-enlaces { display: flex; flex-direction: column; }
.menu-enlaces a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(1.9rem, 8.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out), color 0.3s;
}
.menu-enlaces a svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(219, 242, 252, 0.6);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease-out), stroke 0.3s;
}
.menu-enlaces a:hover svg,
.menu-enlaces a:focus-visible svg { transform: translate(3px, -3px); stroke: #fff; }

.menu-bloque { margin-top: 30px; opacity: 0; transform: translateY(22px); transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out); }
.menu-rotulo { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: rgba(219, 242, 252, 0.6); }
.menu-saas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-saas a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 12px 8px 8px;
  border-radius: 16px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.menu-saas a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.3));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
}
.menu-saas img { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.menu-saas-tile { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #0f0f0f; }
.menu-saas-tile img { width: 20px; height: 20px; border-radius: 0; }

.menu-pie { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 28px; opacity: 0; transform: translateY(22px); transition: transform 0.8s var(--ease-out), opacity 0.6s var(--ease-out); }
.menu-pie .boton { width: 100%; padding-inline: 12px; }

.menu-movil.abierto .menu-enlaces a,
.menu-movil.abierto .menu-bloque,
.menu-movil.abierto .menu-pie { opacity: 1; transform: none; }
.menu-movil.abierto .menu-enlaces a:nth-child(1) { transition-delay: 0.22s; }
.menu-movil.abierto .menu-enlaces a:nth-child(2) { transition-delay: 0.27s; }
.menu-movil.abierto .menu-enlaces a:nth-child(3) { transition-delay: 0.32s; }
.menu-movil.abierto .menu-enlaces a:nth-child(4) { transition-delay: 0.37s; }
.menu-movil.abierto .menu-enlaces a:nth-child(5) { transition-delay: 0.42s; }
.menu-movil.abierto .menu-bloque { transition-delay: 0.5s; }
.menu-movil.abierto .menu-pie { transition-delay: 0.58s; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: 10px; }

.hero-lienzo {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radio-xl);
  color: #fff;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(4, 27, 56, 0.9), transparent 60%),
    linear-gradient(180deg, #0a3a86 0%, #1450d8 52%, #2a69f0 78%, #4d88f5 100%);
  isolation: isolate;
}

.hero-particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-horizonte {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 74%;
  width: max(240vw, 2400px);
  aspect-ratio: 1;
  transform: translateX(-50%) translateY(var(--horizonte-y, 0px)) scale(var(--horizonte-s, 1));
  transform-origin: 50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 92%, #eef8ff 97.5%, #d6eefd 99.2%, rgba(214, 238, 253, 0) 100%);
  pointer-events: none;
}
.hero-horizonte::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 -2px 0 0 rgba(255, 255, 255, 0.95), 0 -10px 30px 0 rgba(255, 255, 255, 0.55), 0 -40px 110px 10px rgba(170, 216, 252, 0.6), 0 -90px 200px 40px rgba(110, 175, 245, 0.35);
}

.hero-contenido {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px var(--gutter) 240px;
}

.hero-chips {
  display: flex;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 30px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(219, 242, 252, 0.9);
}
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-chips svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }

.hero-titulo { font-size: clamp(2.6rem, 7.6vw, 5.8rem); line-height: 0.98; letter-spacing: var(--track-display); }
.hero-titulo .linea { display: block; overflow: hidden; padding: 0.04em 0.12em 0.2em; margin: -0.04em -0.12em -0.16em; white-space: nowrap; }
.hero-titulo .linea > * { display: inline-block; }
.hero-titulo em { color: #fff; }

.hero-lead {
  max-width: 48ch;
  margin-top: 26px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
  color: rgba(234, 247, 255, 0.86);
  text-wrap: pretty;
}

.hero-acciones { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }

.hero-pie {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-inline: var(--gutter);
  color: var(--navy);
}
.hero-pie-titulo { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; color: var(--tinta-2); }
.hero-marquesina {
  width: min(820px, 100%);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.hero-marquesina-pista { display: flex; width: max-content; animation: marquesina 36s linear infinite; }
.hero-marquesina:hover .hero-marquesina-pista { animation-play-state: paused; }
@keyframes marquesina { to { transform: translateX(-50%); } }
.hero-clientes { display: flex; flex-wrap: nowrap; gap: 40px; padding-right: 40px; }
.hero-clientes li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.cliente-logo {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--navy-700), var(--navy-900));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px -4px rgba(4, 27, 56, 0.5);
}
.cliente-logo img { width: 26px; height: 26px; object-fit: contain; }

.js .hero-in { opacity: 0; transform: translateY(28px); filter: blur(8px); }
.js .hero-titulo .hero-in { transform: translateY(105%); filter: none; opacity: 1; }
.js .hero-listo .hero-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------------------------------------------------------------------
   Revelado al scrollear
   --------------------------------------------------------------------- */
.js .revelar {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out), filter 0.9s var(--ease-out);
}
.js .revelar.visible { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------------
   Productos — carrusel coverflow con tarjetas de cada marca
   --------------------------------------------------------------------- */
.seccion-productos { overflow: hidden; padding-bottom: 20px; }
.carrusel { position: relative; }

.carrusel-escena {
  position: relative;
  height: 632px;
  perspective: 1600px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.carrusel-escena.arrastrando { cursor: grabbing; }

/* Paletas de cada SaaS, sacadas de sus propios proyectos */
.tp--pulso {
  --b-fondo: #0a0b0e;
  --b-fondo-2: rgba(22, 25, 31, 0.72);
  --b-brillo: rgba(180, 240, 60, 0.32);
  --b-acento: #b4f03c;
  --b-acento-claro: #d2ff7a;
  --b-tinta: #0b0f02;
  --b-sombra: rgba(140, 200, 20, 0.55);
  --b-texto: #f4f7ee;
  --b-texto-2: rgba(244, 247, 238, 0.66);
  --b-linea: rgba(255, 255, 255, 0.12);
  --b-vidrio: rgba(255, 255, 255, 0.12);
  --b-vidrio-2: rgba(255, 255, 255, 0.03);
}
.tp--barberias {
  --b-fondo: #0f0f0f;
  --b-fondo-2: rgba(26, 23, 20, 0.72);
  --b-brillo: rgba(229, 169, 78, 0.3);
  --b-acento: #e5a94e;
  --b-acento-claro: #f3c77f;
  --b-tinta: #1a1206;
  --b-sombra: rgba(200, 140, 40, 0.55);
  --b-texto: #f7f5f0;
  --b-texto-2: rgba(247, 245, 240, 0.64);
  --b-linea: rgba(255, 255, 255, 0.12);
  --b-vidrio: rgba(255, 255, 255, 0.12);
  --b-vidrio-2: rgba(255, 255, 255, 0.03);
}
.tp--rentas {
  --b-fondo: #ffffff;
  --b-fondo-2: rgba(248, 250, 252, 0.84);
  --b-brillo: rgba(255, 255, 255, 0.35);
  --b-acento: #2563eb;
  --b-acento-claro: #4f8bf7;
  --b-tinta: #ffffff;
  --b-sombra: rgba(37, 99, 235, 0.55);
  --b-texto: #0f172a;
  --b-texto-2: #475569;
  --b-linea: rgba(15, 23, 42, 0.12);
  --b-vidrio: rgba(15, 23, 42, 0.05);
  --b-vidrio-2: rgba(15, 23, 42, 0.01);
}
.tp--finanzas {
  --b-fondo: #0f172a;
  --b-fondo-2: rgba(23, 34, 59, 0.72);
  --b-brillo: rgba(59, 130, 246, 0.34);
  --b-acento: #2563eb;
  --b-acento-claro: #60a5fa;
  --b-tinta: #ffffff;
  --b-sombra: rgba(37, 99, 235, 0.6);
  --b-texto: #f1f5f9;
  --b-texto-2: rgba(241, 245, 249, 0.64);
  --b-linea: rgba(255, 255, 255, 0.12);
  --b-vidrio: rgba(255, 255, 255, 0.12);
  --b-vidrio-2: rgba(255, 255, 255, 0.03);
}

.tarjeta-producto {
  --d: 0;
  --abs: 0;
  --ancho: min(392px, 84vw);
  position: absolute;
  top: 16px;
  left: 50%;
  width: var(--ancho);
  height: 592px;
  margin-left: calc(var(--ancho) / -2);
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  color: var(--b-texto);
  background: var(--b-fondo);
  box-shadow: var(--sombra-3);
  transform:
    translateX(calc(var(--d) * var(--paso, 340px)))
    translateZ(calc(var(--abs) * -180px))
    rotateY(calc(var(--d) * 10deg))
    scale(calc(1 - var(--abs) * 0.13));
  filter: saturate(calc(1 - var(--abs) * 0.45)) brightness(calc(1 - var(--abs) * 0.12));
  z-index: calc(10 - var(--abs));
  transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out), opacity 0.6s var(--ease-out);
  will-change: transform;
}
.tp--rentas { background: linear-gradient(180deg, #ffffff, #f1f5fb); }
.tp--rentas::after { background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(15, 23, 42, 0.08) 40%, rgba(15, 23, 42, 0.12)); }

.carrusel-escena.arrastrando .tarjeta-producto { transition: none; }
.tarjeta-producto.oculta { opacity: 0; pointer-events: none; }
.tarjeta-producto:not(.activa) { cursor: pointer; }
.tarjeta-producto:not(.activa) .tp-acciones { opacity: 0.45; pointer-events: none; }

/* bisel de la tarjeta */
.tarjeta-producto::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.06) 35%, rgba(255, 255, 255, 0.02) 65%, rgba(255, 255, 255, 0.35));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
  pointer-events: none;
}

/* Miniatura estilo Open Graph: la misma pieza que se ve al compartir el link */
.tp-og {
  position: absolute;
  inset: 0 0 auto 0;
  height: 68%;
  overflow: hidden;
  container-type: inline-size;
  isolation: isolate;
}
.tp-og::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.og-texto { position: relative; z-index: 2; padding: 7cqi 7cqi 0; }
.og-marca { display: flex; align-items: center; gap: 9px; }
.og-logo { width: 30px; height: 30px; flex: none; border-radius: 9px; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.45); }
.og-logo--tile { display: grid; place-items: center; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.og-logo--tile img { width: 18px; height: 18px; }
.og-marca h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.og-titulo {
  margin-top: 5cqi;
  font-size: 7.1cqi;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.05em;
  word-spacing: 0.06em;
  color: var(--b-texto);
  text-wrap: balance;
}
.og-titulo mark { background: none; color: var(--b-acento-claro); }
.og-sub { margin-top: 2.6cqi; font-size: 3.4cqi; font-weight: 500; color: var(--b-texto-2); text-wrap: balance; }

/* captura del sistema, inclinada y sangrando fuera del cuadro */
.og-captura {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 5px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.75);
}
.og-captura img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 10px; }
.og-captura--compu {
  position: relative;
  margin: 6cqi 0 0 8cqi;
  width: 112cqi;
  aspect-ratio: 16 / 10;
  transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) rotateZ(4deg);
  transform-origin: left top;
}
.og-captura--celular {
  right: 7cqi;
  top: 12cqi;
  width: 36cqi;
  aspect-ratio: 9 / 19;
  padding: 4px;
  border-radius: 26px;
  background: linear-gradient(160deg, #334155, #0b1220);
  transform: rotate(7deg);
}
.og-captura--celular img { border-radius: 22px; }
.tp--finanzas .og-texto { max-width: 64%; }
.tarjeta-producto .og-captura { transition: transform 1.2s var(--ease-out); }
.tarjeta-producto.activa .og-captura--compu { transform: perspective(1400px) rotateX(8deg) rotateY(-10deg) rotateZ(3deg) translateY(-4px); }

/* fondos de cada pieza, como sus imágenes para compartir */
.tp--pulso .tp-og::before {
  background:
    repeating-radial-gradient(circle at 108% -8%, transparent 0 34px, rgba(180, 240, 60, 0.16) 35px 36px, transparent 37px 62px),
    radial-gradient(60% 55% at 100% 0%, rgba(180, 240, 60, 0.22), transparent 70%);
  -webkit-mask: radial-gradient(90% 80% at 100% 0%, #000 30%, transparent 75%);
  mask: radial-gradient(90% 80% at 100% 0%, #000 30%, transparent 75%);
}
.tp--barberias .tp-og::before { background: radial-gradient(70% 60% at 90% 85%, rgba(229, 169, 78, 0.32), transparent 70%), radial-gradient(50% 40% at 0% 0%, rgba(229, 169, 78, 0.1), transparent 70%); }
.tp--rentas .tp-og::before {
  background-image: linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask: linear-gradient(180deg, #000, transparent 85%);
  mask: linear-gradient(180deg, #000, transparent 85%);
}
.tp--finanzas .tp-og::before { background: radial-gradient(70% 60% at 85% 40%, rgba(59, 130, 246, 0.38), transparent 70%); }
.tp--rentas .og-titulo mark { color: var(--b-acento); }
.tp--rentas .og-captura { background: linear-gradient(160deg, #fff, #e2e8f0); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 30px 60px -24px rgba(15, 23, 42, 0.45); }

/* Cuerpo: panel de vidrio tintado con el color de la marca */
.tp-cuerpo {
  position: relative;
  z-index: 2;
  isolation: isolate;
  margin: auto 10px 10px;
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: linear-gradient(170deg, var(--b-fondo-2), var(--b-fondo-2));
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 -10px 40px -20px rgba(0, 0, 0, 0.5);
}
.tp-cuerpo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.02) 60%, rgba(255, 255, 255, 0.28));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
}
.tp--rentas .tp-cuerpo { box-shadow: inset 0 1px 0 #fff, 0 -10px 40px -20px rgba(15, 23, 42, 0.5); }

.tp-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tp-rubro {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--b-acento);
  background: color-mix(in srgb, var(--b-acento) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--b-acento) 30%, transparent);
}
.tp--rentas .tp-rubro { color: #1d4ed8; }
.tp-garantia { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: -0.01em; color: var(--b-texto-2); white-space: nowrap; }
.tp-garantia::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--b-acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--b-acento) 22%, transparent); }
.tp-cuerpo p { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--b-texto-2); text-wrap: pretty; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tp-tags li {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--b-texto-2);
  box-shadow: inset 0 0 0 1px var(--b-linea);
}
.tp-acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; transition: opacity 0.5s var(--ease-out); }

/* Botones de cada SaaS: lleno con su acento + vidrio biselado */
.boton-saas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.4s var(--ease-out);
}
.boton-saas .flecha { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease-out); }
.boton-saas:hover .flecha { transform: translateX(3px); }
.boton-saas:active { transform: scale(0.97); transition-duration: 0.15s; }
.boton-saas::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.45));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
  pointer-events: none;
}
.boton-saas--lleno {
  color: var(--b-tinta);
  background: linear-gradient(180deg, var(--b-acento-claro), var(--b-acento));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 10px 22px -10px var(--b-sombra);
}
.boton-saas--lleno:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 16px 28px -10px var(--b-sombra); }
.boton-saas--vidrio {
  color: var(--b-texto);
  background: linear-gradient(160deg, var(--b-vidrio), var(--b-vidrio-2));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.boton-saas--vidrio::before { background: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.04) 45%, rgba(255, 255, 255, 0.25)); }
.boton-saas--vidrio:hover { transform: translateY(-2px); background: linear-gradient(160deg, color-mix(in srgb, var(--b-vidrio) 180%, transparent), var(--b-vidrio-2)); }
.tp--rentas .boton-saas--vidrio { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(15, 23, 42, 0.1); }
.tp--rentas .boton-saas--vidrio::before { background: linear-gradient(150deg, #fff, rgba(15, 23, 42, 0.06) 50%, #fff); }

.carrusel-controles { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.carrusel-flecha {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--navy);
  transition: transform 0.5s var(--ease-out);
}
.carrusel-flecha:hover { transform: scale(1.06); }
.carrusel-flecha:active { transform: scale(0.94); transition-duration: 0.15s; }
.carrusel-flecha svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.carrusel-puntos { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(7, 45, 89, 0.05); box-shadow: inset 0 0 0 1px var(--linea); }
.carrusel-punto {
  height: 34px;
  min-width: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--tinta-2);
  transition: background 0.5s var(--ease-out), color 0.3s, box-shadow 0.5s var(--ease-out);
}
.carrusel-punto img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.carrusel-punto .tile-negro { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #0f0f0f; flex: none; }
.carrusel-punto .tile-negro img { width: 14px; height: 14px; border-radius: 0; }
.carrusel-punto span.nombre { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 0.6s var(--ease-out), opacity 0.4s var(--ease-out); }
.carrusel-punto[aria-selected='true'] { background: #fff; color: var(--navy); box-shadow: inset 0 1px 0 #fff, var(--sombra-1); }
.carrusel-punto[aria-selected='true'] span.nombre { max-width: 110px; opacity: 1; }

.carrusel-garantia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  padding-inline: var(--gutter);
  font-size: 14px;
  color: var(--tinta-2);
  text-align: center;
}
.carrusel-garantia svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--cobalto); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.carrusel-garantia strong { color: var(--navy); font-weight: 700; }

/* ---------------------------------------------------------------------
   A medida + bento + proceso
   --------------------------------------------------------------------- */
.medida { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.medida-texto { position: sticky; top: 120px; }
.medida-texto h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.medida-texto h2 em,
.encabezado--centro h2 em { display: block; }
.medida-texto p { margin: 22px 0 32px; max-width: 46ch; font-size: 1.1rem; color: var(--tinta-2); }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bento-item {
  padding: 26px;
  border-radius: var(--radio-l);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.bento-item:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, var(--sombra-2); }
.bento-item--grande {
  grid-column: span 2;
  min-height: 260px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(111, 184, 242, 0.45), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(219, 242, 252, 0.5));
}
.bento-item--grande h3 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); letter-spacing: -0.05em; }
.bento-item--ancho { grid-column: span 2; flex-direction: row; align-items: center; gap: 20px; min-height: 0; }
.bento-item--ancho .bento-icono { margin-bottom: 0; }
.bento-item--ancho h3 { margin-top: 0; }
.bento-icono {
  width: 42px;
  height: 42px;
  flex: none;
  margin-bottom: auto;
  padding: 10px;
  border-radius: 13px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: linear-gradient(180deg, #fff, #eef7fd);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(7, 45, 89, 0.08), 0 4px 10px -4px rgba(7, 45, 89, 0.25);
}
.bento-item h3 { margin-top: 26px; }
.bento-item p { margin-top: 6px; font-size: 15px; color: var(--tinta-2); max-width: 40ch; }

.proceso { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(72px, 9vw, 120px); }
.proceso-paso { position: relative; padding-top: 26px; border-top: 1px solid var(--linea); }
.proceso-paso::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--cobalto);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.proceso-paso.visible::before { transform: scaleX(1); }
.proceso-numero { font-size: 14px; font-weight: 700; color: var(--cobalto); font-variant-numeric: tabular-nums; }
.proceso-paso h3 { margin-top: 12px; font-size: 1.35rem; letter-spacing: -0.045em; }
.proceso-paso p { margin-top: 6px; color: var(--tinta-2); font-size: 15px; }

/* ---------------------------------------------------------------------
   Clientes (renderizado por script.js)
   --------------------------------------------------------------------- */
.grilla-confianza { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.tarjeta-confianza {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'cita cita cita' 'avatar nombre ig' 'avatar rubro ig';
  align-items: center;
  column-gap: 12px;
  padding: 28px;
  border-radius: var(--radio-l);
  color: inherit;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.45));
  box-shadow: inset 0 1px 0 #fff, var(--sombra-1);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.tarjeta-confianza::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, #fff, rgba(255, 255, 255, 0.3) 25%, rgba(7, 45, 89, 0.08) 55%, rgba(255, 255, 255, 0.85));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
}
a.tarjeta-confianza:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 #fff, var(--sombra-2); }
.tc-comillas { display: none; }
.tc-cita { grid-area: cita; margin-bottom: 24px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); font-weight: 500; line-height: 1.5; letter-spacing: -0.025em; color: var(--navy); text-wrap: pretty; }
.tc-encabezado { display: contents; }
.tc-avatar {
  grid-area: avatar;
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--navy-700), var(--navy-900));
}
.tc-avatar img { position: absolute; inset: 7px; width: 30px; height: 30px; object-fit: contain; }
.tc-iniciales { font-size: 13px; font-weight: 700; color: #fff; }
.tc-encabezado h3 { grid-area: nombre; align-self: end; font-size: 1rem; letter-spacing: -0.03em; }
.tc-ig { grid-area: ig; color: var(--tinta-3); }
.tc-ig svg { width: 18px; height: 18px; }
.tc-rubro { grid-area: rubro; align-self: start; font-size: 13px; color: var(--tinta-3); }

/* ---------------------------------------------------------------------
   Inversión
   --------------------------------------------------------------------- */
.inversion {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 64px;
  padding: clamp(28px, 5vw, 60px);
  border-radius: var(--radio-xl);
  background: radial-gradient(70% 90% at 0% 100%, rgba(111, 184, 242, 0.35), transparent 65%), linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(219, 242, 252, 0.55));
}
.inversion-texto h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.inversion-texto p { margin-top: 16px; color: var(--tinta-2); max-width: 36ch; }
.inversion-partes { display: grid; gap: 26px; }
.inversion-partes dt { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.045em; }
.inversion-partes dd { margin-top: 4px; color: var(--tinta-2); }
.inversion-prueba { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--linea); color: var(--tinta-2); }
.inversion-prueba strong { color: var(--navy); font-weight: 700; }
.inversion-prueba svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(180deg, #4d88f5, var(--cobalto)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.faq-encabezado { position: sticky; top: 120px; align-self: start; }
.faq-encabezado p { margin-top: 18px; color: var(--tinta-2); }
.faq-encabezado a { color: var(--cobalto); font-weight: 600; }
.lista-faq { border-top: 1px solid var(--linea); }
.faq-item { border-bottom: 1px solid var(--linea); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icono {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--linea);
  transition: transform 0.6s var(--ease-out), background-color 0.3s, color 0.3s;
}
.faq-item[open] .faq-icono { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq-item p { padding: 0 58px 24px 0; color: var(--tinta-2); max-width: 62ch; }

/* ---------------------------------------------------------------------
   Contacto + pie
   --------------------------------------------------------------------- */
.seccion-contacto { padding: var(--seccion) 10px 10px; }
.contacto-lienzo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radio-xl);
  color: #fff;
  background: linear-gradient(0deg, #0a3a86 0%, #0b2f66 40%, var(--navy-900) 100%);
}
.contacto-horizonte {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -75vh;
  width: max(150vw, 1500px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, transparent 88%, rgba(111, 184, 242, 0.35) 96%, rgba(111, 184, 242, 0) 100%);
  pointer-events: none;
}
.contacto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.contacto-texto h2 em { color: var(--cielo); }
.contacto-texto p { margin-top: 20px; color: rgba(219, 242, 252, 0.78); max-width: 42ch; }
.contacto-datos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.contacto-datos li a { display: inline-flex; padding: 8px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); transition: box-shadow 0.3s; }
.contacto-datos li a:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.contacto-datos a { color: #fff; font-weight: 600; text-decoration-color: rgba(255, 255, 255, 0.3); }
.contacto-datos a:hover { text-decoration-color: #fff; }

.panel-formulario { padding: clamp(20px, 3.4vw, 40px); border-radius: var(--radio-l); }

.fila-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grupo-campo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.grupo-campo label,
.grupo-campo .etiqueta { font-size: 13.5px; font-weight: 600; color: rgba(219, 242, 252, 0.85); }

.panel-formulario input[type='text'],
.panel-formulario input[type='tel'],
.panel-formulario input[type='email'],
.panel-formulario select,
.panel-formulario textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 15.5px;
  color: #fff;
  caret-color: var(--cielo);
  background: rgba(4, 27, 56, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s var(--ease-out), background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.panel-formulario select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dbf2fc' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.panel-formulario select option { color: var(--navy); }
.panel-formulario textarea { min-height: 110px; resize: vertical; }
.panel-formulario ::placeholder { color: rgba(219, 242, 252, 0.6); }
.panel-formulario input:focus,
.panel-formulario select:focus,
.panel-formulario textarea:focus { outline: none; background-color: rgba(4, 27, 56, 0.5); box-shadow: inset 0 0 0 1.5px var(--cielo), 0 0 0 4px rgba(111, 184, 242, 0.18); }

.chips-rubro { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opcion { position: relative; cursor: pointer; }
.chip-opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip-opcion span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(219, 242, 252, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.3s var(--ease-out), color 0.3s, box-shadow 0.3s;
}
.chip-opcion:hover span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.chip-opcion input:checked + span { background: linear-gradient(180deg, #fff, #eef7fd); color: var(--navy); box-shadow: inset 0 1px 0 #fff, 0 4px 12px -4px rgba(0, 0, 0, 0.4); }
.chip-opcion input:focus-visible + span { outline: 2px solid var(--cielo); outline-offset: 2px; }

.ayuda { font-size: 12.5px; color: rgba(219, 242, 252, 0.6); }
.error-campo { display: none; font-size: 13px; color: #ffb4b4; }
.con-error .error-campo { display: block; }
.con-error .ayuda { display: none; }
.con-error input { box-shadow: inset 0 0 0 1.5px #ff8a8a !important; }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-extra { margin: 4px 0 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: background-color 0.4s var(--ease-out); }
.form-extra[open] { background: rgba(4, 27, 56, 0.22); }
.form-extra summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.form-extra summary::-webkit-details-marker { display: none; }
.form-extra-opcional { font-weight: 300; font-style: italic; color: rgba(219, 242, 252, 0.6); }
.form-extra summary svg { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 0.5s var(--ease-out); }
.form-extra[open] summary svg { transform: rotate(180deg); }
.form-extra summary:focus-visible { outline: 2px solid var(--cielo); outline-offset: 2px; border-radius: 16px; }
.form-extra-cuerpo { padding: 2px 16px 2px; }
.pie-formulario { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.enlace-mail { font-size: 14px; color: rgba(219, 242, 252, 0.78); }
.enlace-mail:hover { color: #fff; }

#boton-enviar .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(7, 45, 89, 0.2); border-top-color: var(--navy); animation: girar 0.7s linear infinite; }
#boton-enviar.cargando .spinner { display: block; }
#boton-enviar:disabled { opacity: 0.7; cursor: progress; }
@keyframes girar { to { transform: rotate(360deg); } }

.form-oculto { display: none; }
.exito { display: none; text-align: center; padding: 30px 10px; }
.exito.visible { display: block; animation: aparecer 0.8s var(--ease-out); }
.marca-check { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.marca-check svg { width: 28px; height: 28px; fill: none; stroke: var(--cobalto); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.exito h3 { margin-top: 20px; font-size: 1.6rem; }
.exito p { margin: 10px auto 0; max-width: 40ch; color: rgba(219, 242, 252, 0.8); }
.acciones-exito { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pie { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; padding-block: 28px 34px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.pie .marca { font-size: 15px; }
.pie .marca img { width: 24px; height: 24px; }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pie-enlaces a { font-size: 14px; color: rgba(219, 242, 252, 0.72); text-decoration: none; }
.pie-enlaces a:hover { color: #fff; }
.pie-legal { font-size: 13px; color: rgba(219, 242, 252, 0.5); }

/* ---------------------------------------------------------------------
   WhatsApp flotante: píldora de vidrio navy con el ícono en seal
   --------------------------------------------------------------------- */
.whatsapp-flotante {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(11, 60, 116, 0.86), rgba(4, 27, 56, 0.92));
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(4, 27, 56, 0.18), 0 18px 36px -14px rgba(4, 27, 56, 0.7);
  transform: translateY(16px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.7s var(--ease-out), opacity 0.5s var(--ease-out);
}
.whatsapp-flotante::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.35));
  -webkit-mask: var(--mascara-borde);
  -webkit-mask-composite: xor;
  mask: var(--mascara-borde);
  mask-composite: exclude;
}
.whatsapp-flotante.visible { transform: none; opacity: 1; pointer-events: auto; }
.whatsapp-flotante:hover { transform: translateY(-2px); }
.wa-icono {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: linear-gradient(180deg, #fff, var(--seal));
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(7, 45, 89, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s var(--ease-out);
}
.wa-icono svg { width: 22px; height: 22px; }
.whatsapp-flotante:hover .wa-icono { transform: rotate(-8deg) scale(1.04); }
.wa-texto { padding: 0 16px 0 10px; font-size: 14px; font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; }

.aviso-cookies {
  position: fixed;
  z-index: 60;
  left: 20px;
  bottom: 20px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px 14px 20px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--tinta-2);
  box-shadow: inset 0 1px 0 #fff, var(--sombra-2);
}
.aviso-cookies[hidden] { display: none; }
.aviso-cookies a { color: var(--navy); }
.aviso-cookies .boton { --alto: 40px; padding-inline: 16px; font-size: 13.5px; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
  .cabecera { grid-template-columns: 1fr auto; padding-inline: 24px; top: 18px; }
  .nav-pill, .nav-cta { display: none; }
  .boton-menu { display: grid; }

  /* barra de vidrio detrás del header al pasar sobre fondo claro */
  .cabecera::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -6px 12px;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(243, 250, 254, 0.64));
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 1px 0 #fff, var(--sombra-1);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
  }
  .cabecera.sobre-claro::before { opacity: 1; }
  /* sobre el fondo oscuro del contacto: la misma barra, en navy */
  .cabecera.compacto:not(.sobre-claro)::before { opacity: 1; background: linear-gradient(160deg, rgba(11, 60, 116, 0.82), rgba(4, 27, 56, 0.78)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), var(--sombra-1); }
  .cabecera.compacto:not(.sobre-claro) .boton-menu { background: transparent; box-shadow: none; }
  .cabecera.compacto:not(.sobre-claro) .boton-menu::before { opacity: 0; }
  body.menu-abierto .cabecera::before { opacity: 0; }
  .cabecera.sobre-claro .boton-menu { background: transparent; box-shadow: none; }
  .cabecera.sobre-claro .boton-menu::before { opacity: 0; }

  .medida, .faq, .contacto, .inversion { grid-template-columns: 1fr; }
  .medida-texto, .faq-encabezado { position: static; }
  .proceso { grid-template-columns: 1fr; gap: 26px; }
  .grilla-confianza { grid-template-columns: 1fr; }
  .wa-texto { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 8px; }
  .hero-lienzo { min-height: calc(100svh - 16px); border-radius: 24px; }
  .hero-contenido { padding: 112px 20px 230px; }
  .hero-chips { gap: 16px; font-size: 12.5px; margin-bottom: 24px; }
  .hero-chips .hero-chip--extra { display: none; }
  .hero-titulo { font-size: clamp(1.85rem, 8.9vw, 3.2rem); }
  .hero-acciones { flex-direction: column; align-self: stretch; gap: 10px; }
  .hero-acciones .boton { width: 100%; }
  .hero-horizonte { top: 77%; width: 520vw; }
  .hero-pie { bottom: 22px; }
  .hero-clientes { gap: 28px; padding-right: 28px; }
  .hero-clientes li { font-size: 14px; }
  .cliente-logo { width: 30px; height: 30px; }
  .cliente-logo img { width: 22px; height: 22px; }

  .carrusel-escena { height: 576px; }
  .tarjeta-producto { height: 540px; }
  .tp-cuerpo { padding: 16px 16px 14px; }
  .tp-tags { flex-wrap: nowrap; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 82%, transparent); mask: linear-gradient(90deg, #000 82%, transparent); }
  .carrusel-flecha { display: none; }
  .carrusel-punto { padding: 0 6px; }
  .carrusel-punto[aria-selected='true'] { padding-right: 12px; }

  .bento { grid-template-columns: 1fr; }
  .bento-item--grande, .bento-item--ancho { grid-column: auto; }
  .bento-item { min-height: 0; }
  .bento-item h3 { margin-top: 20px; }
  .bento-item--ancho { flex-direction: column; align-items: flex-start; gap: 0; }
  .bento-item--ancho h3 { margin-top: 20px; }

  .fila-campos { grid-template-columns: 1fr; gap: 0; }
  .pie-formulario { flex-direction: column-reverse; align-items: stretch; }
  .pie-formulario .boton { width: 100%; }
  .seccion-contacto { padding-inline: 8px; padding-bottom: 8px; }
  .contacto-lienzo { border-radius: 24px; }
  .faq-item p { padding-right: 0; }
  .tarjeta-confianza { padding: 22px; }
  .aviso-cookies { left: 12px; right: 80px; bottom: 16px; }
  .whatsapp-flotante { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .menu-saas { grid-template-columns: 1fr; }
  .menu-pie { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
  .js .revelar, .js .hero-in { opacity: 1 !important; transform: none !important; filter: none !important; }
  .loader { display: none; }
  .hero-marquesina-pista { animation: none; }
}
