/* ==========================================================
   Paltech Software — landing
   Paleta oficial: #2F3B1C · #4B3D18 · #AECE6A · #FFFFFF
   Verde de fondo de marca: #68872B
   Tipografía de marca: Transducer → sustituto web Archivo variable
   (ancho 125 para títulos, como el logotipo; ancho 100 para texto)
   Lenguaje visual: la palta y sus capas. Círculos, anillos y el
   contraste oliva/lima en lugar de tarjetas, pills y gradientes.
   ========================================================== */

:root {
  --olive: #2f3b1c;
  --olive-deep: #1d2511;
  --olive-ink: #151b0c;
  --brown: #4b3d18;
  --lime: #aece6a;
  --lime-soft: #c9e09a;
  --lime-wash: #e6f0cf;
  --green: #68872b;
  --green-deep: #4f671c;
  --white: #ffffff;
  --cream: #f4f6ec;
  --cream-2: #e3e9d2;
  --ink: #1f2712;
  --muted: #535d47;
  --line: rgba(47, 59, 28, .16);
  --line-dark: rgba(174, 206, 106, .22);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.3rem, 1.25rem + 4.1vw, 4.1rem);
  --fs-h2: clamp(1.85rem, 1.2rem + 2.5vw, 3.1rem);
  --fs-h2-xl: clamp(2rem, 1.05rem + 3.6vw, 3.9rem);
  --fs-h3: clamp(1.25rem, 1.02rem + .9vw, 1.65rem);
  --fs-lead: clamp(1.02rem, .96rem + .28vw, 1.16rem);

  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(52px, 8.5vw, 120px);

  /* Movimiento: una sola familia de curvas y tiempos */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .2s;
  --t-med: .45s;
  --t-slow: .9s;

  --focus: var(--green-deep);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--olive); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.nav, .hero, .trust, .section--dark, .techstrip, .footer, .mobile-cta, .scratch, .qa { --focus: var(--lime); }
.section--lime { --focus: var(--olive); }

/* ---------- Tipografía ---------- */
.display, .h2, .h3, .brand__name, .brand__sub, .product__name, .systems__tab-name, .scratch__title {
  font-family: var(--font);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
}
.display {
  font-size: var(--fs-display);
  line-height: .98;
  font-weight: 860;
  letter-spacing: -.022em;
  color: var(--white);
  text-wrap: balance;
}
.display em {
  font-style: normal;
  color: var(--lime);
  white-space: nowrap;
  background: linear-gradient(var(--brown), var(--brown)) left 0 bottom .02em / 100% .11em no-repeat;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  font-weight: 820;
  letter-spacing: -.018em;
  color: var(--olive);
  text-wrap: balance;
}
.h2--xl { font-size: var(--fs-h2-xl); line-height: 1; font-weight: 860; }
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 36em; text-wrap: pretty; }
.kicker {
  font-size: .86rem; font-weight: 700; letter-spacing: .01em;
  color: var(--green-deep); margin-bottom: 14px;
}
.kicker--lime { color: var(--lime); }

/* Cabeceras de sección: tres variantes para no repetir el mismo ritmo */
.head { margin-bottom: clamp(32px, 5vw, 64px); }
.head--split { display: grid; gap: 16px 64px; }
.head--split .lead { align-self: end; }
.head--stack { max-width: 1040px; }
.head--stack .lead { margin-top: 22px; }
.head--light .h2 { color: var(--white); }
.head--light .lead { color: rgba(255, 255, 255, .8); }
@media (min-width: 900px) {
  .head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .head--stack .lead { margin-left: clamp(0px, 30%, 360px); }
}

/* ---------- Botones y links ---------- */
.btn {
  --bg: var(--lime); --fg: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 750 1rem/1.1 var(--font);
  font-stretch: 108%;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.btn span { display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--lime:hover { background: var(--lime-soft); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--dark { --bg: var(--olive); --fg: var(--white); }
.btn--dark:hover { background: var(--olive-ink); }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: .92rem; border-radius: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 750; color: var(--olive); text-decoration: none;
  border-bottom: 2px solid var(--lime); padding-bottom: 2px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.link-arrow span { transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover { border-color: var(--olive); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { width: 30px; height: auto; }
.brand__word { display: flex; flex-direction: column; line-height: .9; }
.brand__name { font-weight: 900; font-size: 1.24rem; }
.brand__sub { font-weight: 800; font-size: .58rem; letter-spacing: .34em; color: var(--lime); padding-left: 1px; margin-top: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--olive-deep);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line-dark); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) {
  color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .95rem;
  position: relative; padding: 6px 0; transition: color var(--t-fast);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--lime);
  transform: scale(0); transition: transform var(--t-fast) var(--ease-out);
}
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: var(--white); }
.nav__links a.is-current::after { transform: scale(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--olive-deep);
  color: var(--white);
  padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 3.5vw, 44px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(190px, 220px);
  grid-template-areas: "copy stage legend";
  align-items: center;
}
.hero__copy { grid-area: copy; padding: 12px clamp(24px, 3vw, 44px) 12px 0; }
.hero__kicker { font-size: .9rem; font-weight: 650; color: var(--lime); margin-bottom: 18px; }
.hero .display { font-size: clamp(2.2rem, .6rem + 3.9vw, 3.5rem); }
.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(1.02rem, .96rem + .22vw, 1.12rem);
  color: rgba(255, 255, 255, .8);
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__for { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: .9rem; }
.hero__for-label { font-weight: 700; color: var(--lime); }
.hero__for ul { display: flex; flex-wrap: wrap; gap: 2px 0; color: rgba(255, 255, 255, .72); }
.hero__for li:not(:last-child)::after { content: "/"; margin: 0 .55em; color: rgba(174, 206, 106, .5); }

/* Palta: escenario (SVG de respaldo o canvas 3D) */
.layers__stage {
  grid-area: stage;
  position: relative;
  align-self: stretch;
  min-height: 440px;
}
.layers__svg {
  position: absolute; left: 50%; top: 50%;
  height: 74%; width: auto; max-width: 100%;
  transform: translate(-50%, -50%);
  transition: opacity .6s var(--ease-out);
}
.layers__svg [data-layer] { transition: opacity var(--t-med), filter var(--t-med); }
.layers__tags g { transition: opacity var(--t-med); }
.layers[data-active]:not([data-active=""]) .layers__svg [data-layer] { opacity: .22; }
.layers.layers[data-active="reglas"] .layers__svg [data-layer="reglas"],
.layers.layers[data-active="nucleo"] .layers__svg [data-layer="nucleo"],
.layers.layers[data-active="integraciones"] .layers__svg [data-layer="integraciones"],
.layers.layers[data-active="infra"] .layers__svg [data-layer="infra"] { opacity: 1; filter: drop-shadow(0 0 6px rgba(174, 206, 106, .6)); }

/* El canvas desborda el escenario (sobre todo a la izquierda) para que la vista
   explotada tenga aire; avocado3d.js recentra la cámara sobre el escenario. */
.layers__canvas, .layers__pins {
  position: absolute; top: -6%; bottom: -6%; left: -26%; right: -4%;
  width: auto; height: auto;
  pointer-events: none;
}
.layers__canvas { width: 130%; height: 112%; opacity: 0; transition: opacity .6s var(--ease-out); }
.layers.is-3d .layers__canvas { opacity: 1; }
.layers.is-3d .layers__svg { opacity: 0; }

/* Números flotantes sobre el modelo 3D (siguen a cada capa) */
.layers__pin {
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%; display: grid; place-items: center;
  font: 800 .74rem/1 var(--font);
  background: var(--olive-deep); color: var(--lime);
  box-shadow: 0 0 0 1.5px var(--lime);
  opacity: 0; transition: opacity var(--t-med), background-color var(--t-fast), color var(--t-fast);
  will-change: transform;
}
.layers.pins-on .layers__pin { opacity: .9; }
.layers.pins-on .layers__pin.is-on { background: var(--lime); color: var(--olive); opacity: 1; }

/* Leyenda: la clave de la palta */
.layers__legend { grid-area: legend; position: relative; z-index: 1; }
.layers__title { font-size: .84rem; font-weight: 700; color: var(--lime); padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line-dark); }
.layers__legend li { position: relative; padding: 10px 0 10px 14px; }
.layers__legend li::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px;
  background: var(--lime); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-med) var(--ease-out);
}
.layers__legend li.is-on::before, .layers__legend li.is-tour::before { transform: scaleY(1); }
.layers__legend button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 2px 0; margin: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: var(--white);
}
.layers__legend .n {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 800 .78rem/1 var(--font);
  color: var(--lime); box-shadow: inset 0 0 0 1.5px var(--lime);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.layers__legend strong { font-weight: 750; font-size: .98rem; line-height: 1.22; transition: color var(--t-fast); }
.layers__legend li.is-on .n, .layers__legend li.is-tour .n { background: var(--lime); color: var(--olive); }
.layers__legend li.is-on strong, .layers__legend li.is-tour strong { color: var(--lime); }
.layers__desc { display: grid; grid-template-rows: 1fr; }
.layers__desc p { overflow: hidden; color: rgba(255, 255, 255, .64); font-size: .85rem; line-height: 1.42; padding: 4px 0 0 36px; transition: color var(--t-fast); }
.layers__legend li.is-on .layers__desc p { color: rgba(255, 255, 255, .9); }

/* ---------- Franja de confianza ---------- */
.trust { background: var(--olive); color: var(--white); }
.trust__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 40px; padding-block: 18px; }
.trust__lead { font-size: .86rem; font-weight: 700; color: var(--lime); }
.trust__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust__list li + li { border-left: 1px solid var(--line-dark); }
.trust__list a { display: flex; flex-direction: column; padding: 4px 22px; text-decoration: none; line-height: 1.3; }
.trust__list strong { font-weight: 800; font-size: 1rem; transition: color var(--t-fast); }
.trust__list strong span { color: var(--lime); font-weight: 600; display: inline-block; transition: transform var(--t-fast) var(--ease-out); }
.trust__list a > span { font-size: .84rem; color: rgba(255, 255, 255, .7); }
.trust__list a:hover strong { color: var(--lime); }
.trust__list a:hover strong span { transform: translate(2px, -2px); }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--olive); color: var(--white); }
.section--lime { background: var(--lime); color: var(--olive); }

/* ---------- Qué resolvemos: lista editorial, no tarjetas ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.pain { position: relative; padding-top: 20px; }
.pain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--olive); transform-origin: left;
}
.pain h3 {
  font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: 1.2rem; font-weight: 800; line-height: 1.2; color: var(--olive);
  margin-bottom: 10px; text-wrap: balance;
}
.pain p { font-size: .97rem; color: var(--muted); text-wrap: pretty; }
.pain__fix { display: block; position: relative; margin-top: 10px; padding-left: 1.5em; color: var(--ink); font-weight: 600; }
.pain__fix::before { content: "→"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.pain--cta::before { background: var(--lime); height: 4px; }
.pain--cta .link-arrow { margin-top: 14px; }

/* ---------- Comparación ---------- */
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .92rem; font-weight: 750; color: var(--muted); border-bottom: 2px solid var(--olive); padding-top: 22px; }
.compare tbody th { font-weight: 800; color: var(--olive); width: 22%; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.compare td { color: var(--muted); }
.compare .compare__us {
  background: var(--lime); color: var(--olive); font-weight: 650;
  border-bottom-color: rgba(47, 59, 28, .14);
  transition: background-color .6s var(--ease-out);
}
.compare thead .compare__us { color: var(--olive); font-weight: 850; border-radius: 16px 16px 0 0; border-bottom-color: var(--olive); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:last-child .compare__us { border-radius: 0 0 16px 16px; }
.compare__switch { display: none; }
.compare__note { margin-top: 24px; font-weight: 650; color: var(--olive); }

/* ---------- Sistemas: pestañas + capturas reales ---------- */
.systems__tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.systems__tabs [role="tab"] {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px 18px 0; border: 0; background: none; cursor: pointer; text-align: left;
}
.systems__tabs [role="tab"]::after {
  content: ""; position: absolute; left: 0; right: 18px; bottom: -1px; height: 3px;
  background: var(--olive); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.systems__tabs [aria-selected="true"]::after { transform: scaleX(1); }
.systems__tab-name { font-size: clamp(1.05rem, .8rem + 1.1vw, 1.55rem); font-weight: 830; line-height: 1.1; color: rgba(47, 59, 28, .7); transition: color var(--t-fast); }
.systems__tab-role { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.systems__tabs [role="tab"]:hover .systems__tab-name, .systems__tabs [aria-selected="true"] .systems__tab-name { color: var(--olive); }

.product {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
}
.product:focus-visible { outline-offset: 8px; }
.product__stage {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green);
  border-radius: var(--radius);
  padding: clamp(18px, 3.4vw, 48px) clamp(14px, 3vw, 44px) 0;
  display: flex; align-items: flex-end;
}
@media (min-width: 961px) {
  .product__stage { position: sticky; top: 92px; }
}
.product__stage::before {
  /* el corazón de la palta asomando detrás de la captura */
  content: ""; position: absolute; z-index: -1;
  width: 44%; aspect-ratio: 1; right: -9%; top: -20%;
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 0 0 clamp(18px, 3vw, 34px) var(--lime);
  opacity: .9;
}
.browser {
  margin: 0; width: 100%;
  border-radius: 12px 12px 0 0; overflow: hidden;
  background: var(--white);
  box-shadow: 0 -1px 0 rgba(21, 27, 12, .1), 0 24px 60px -20px rgba(21, 27, 12, .55);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef1e6; border-bottom: 1px solid var(--cream-2); }
.browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #cdd5bd; flex: none; }
.browser__bar span {
  margin-left: 8px; flex: 0 1 260px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: .72rem; color: var(--muted); background: var(--white); border-radius: 6px; padding: 3px 10px;
}
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.product__body { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.product__name { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.3rem); font-weight: 860; line-height: 1.02; color: var(--olive); letter-spacing: -.015em; }
.product__role { font-weight: 650; color: var(--green-deep); margin-top: -8px; text-wrap: balance; }
.product h4 { font-size: .84rem; font-weight: 750; color: var(--olive); margin-bottom: 6px; }
.product__block p { color: var(--ink); font-size: .97rem; }
.product__feats { border-top: 1px solid var(--line); }
.product__feats li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink); line-height: 1.45; }
.product__more summary { display: none; }
.product__more-body { display: flex; flex-direction: column; gap: 18px; }
.product__fit { background: var(--lime-wash); border-radius: var(--radius-sm); padding: 16px 18px; }
.product__fit h4 { color: var(--green-deep); }
.product__fit p { font-size: .95rem; color: var(--ink); }
.product__link {
  align-self: flex-start; display: inline-flex; gap: .4em;
  font-weight: 750; color: var(--olive); text-decoration: none;
  border-bottom: 2px solid var(--lime); padding-bottom: 2px;
  transition: border-color var(--t-fast);
}
.product__link span { transition: transform var(--t-fast) var(--ease-out); }
.product__link:hover { border-color: var(--olive); }
.product__link:hover span { transform: translate(2px, -2px); }

/* Cambio de pestaña: la captura entra con un leve zoom, el texto aparece después */
.product.is-entering .browser { animation: shot-in .6s var(--ease-out) both; }
.product.is-entering .product__body { animation: fade-in .5s .08s var(--ease-out) both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }

.no-js .product + .product { margin-top: 56px; }

.systems__foot {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(36px, 5vw, 64px);
}
.systems__note { color: var(--muted); max-width: 40em; padding-left: 18px; border-left: 4px solid var(--lime); }
.systems__note strong { color: var(--olive); }
.scratch { background: var(--olive); color: var(--white); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.scratch__kicker { font-size: .84rem; font-weight: 700; color: var(--lime); margin-bottom: 8px; }
.scratch__title { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 820; line-height: 1.12; margin-bottom: 10px; text-wrap: balance; }
.scratch p { color: rgba(255, 255, 255, .8); font-size: .95rem; margin-bottom: 18px; }

/* ---------- IA ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ai-grid__head { margin-bottom: 0; position: sticky; top: 108px; }
.ai-grid__head .lead { margin-top: 18px; }
.ai__note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .74); font-size: .94rem; }
.ai__note strong { color: var(--lime); font-weight: 700; }
.ai { border-top: 1px solid var(--line-dark); }
.ai__item {
  display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 8px 28px;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
}
.ai__item h3 {
  font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: 1.12rem; font-weight: 800; line-height: 1.22; color: var(--lime); text-wrap: balance;
}
.ai__item p { font-size: .97rem; color: rgba(255, 255, 255, .8); }
.ai__q { quotes: "«" "»"; color: var(--white); font-weight: 650; }

/* ---------- Cómo trabajamos: cada paso suma una capa ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px;
  background: var(--line); transform-origin: left;
}
.steps::after { background: var(--olive); transition: transform 1.6s var(--ease-in-out); }
.step { position: relative; display: flex; flex-direction: column; }
.step__mark {
  position: relative; z-index: 1;
  width: 54px; height: 66px; box-sizing: content-box;
  padding-right: 14px; margin-bottom: 20px;
  background: var(--cream); overflow: visible;
}
.m-ghost { fill: none; stroke: var(--olive); stroke-opacity: .28; stroke-width: 3; }
.m-pit { fill: var(--brown); }
.m-ring { fill: var(--lime); }
.m-pulp { fill: var(--white); stroke: var(--olive); stroke-opacity: .2; stroke-width: 3; }
.m-skin { fill: var(--olive); stroke: var(--white); stroke-width: 7; stroke-linejoin: round; paint-order: stroke; }
.m-new { transform-box: view-box; transform-origin: 70.09px 99.4px; transition: transform .7s var(--ease-out), opacity .4s; }
.step h3 {
  font-stretch: 112%; font-variation-settings: "wdth" 112;
  font-size: 1.16rem; font-weight: 800; line-height: 1.2; color: var(--olive); margin-bottom: 8px;
}
.step p { font-size: .96rem; color: var(--muted); }
.step .step__label { margin-top: 16px; font-size: .8rem; font-weight: 750; color: var(--green-deep); }
.step__out { margin-top: 4px; }
.step__out li { position: relative; padding-left: 14px; font-size: .9rem; color: var(--ink); line-height: 1.4; margin-top: 4px; }
.step__out li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--olive); }

/* Calidad: el recorrido que hace cada cambio antes de salir */
.qa {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  background: var(--olive); color: var(--white);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4.5vw, 56px);
}
.qa .h3 { color: var(--white); margin-bottom: 14px; }
.qa__copy p:not(.kicker) { color: rgba(255, 255, 255, .8); }
.qa__copy strong { color: var(--lime); font-weight: 700; }
.gate__title { font-size: .84rem; font-weight: 700; color: var(--lime); margin-bottom: 14px; }
.gate ol { position: relative; }
.gate ol::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -14px; width: 2px; background: var(--line-dark); }
.gate li { position: relative; padding: 0 0 16px 30px; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: baseline; }
.gate li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime); box-shadow: inset 0 0 0 2px var(--lime);
  transition: background-color .3s, transform .4s var(--ease-out);
}
.gate strong { font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; font-size: 1rem; }
.gate span { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.gate small { grid-column: 1 / -1; color: rgba(255, 255, 255, .58); font-size: .8rem; line-height: 1.4; margin-top: 1px; }
.gate__end {
  position: relative; padding: 6px 0 0 30px; font-weight: 800; color: var(--lime);
  font-stretch: 112%; font-variation-settings: "wdth" 112;
}
.gate__end::before {
  content: ""; position: absolute; left: -3px; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 5px rgba(174, 206, 106, .2);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 6vw, 96px); align-items: start; }
.faq__title { position: sticky; top: 108px; }
.faq__list { border-top: 2px solid var(--olive); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 700; font-size: 1.03rem; line-height: 1.35; color: var(--olive);
  transition: color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; margin-top: -1px;
  background: var(--green-deep); border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out);
}
.faq__item summary::before { transform: rotate(90deg); }
.faq__item[open] summary::before { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--green-deep); }
.faq__item p { padding: 0 44px 20px 0; color: var(--muted); text-wrap: pretty; }
.faq__item::details-content {
  block-size: 0; overflow: clip;
  transition: block-size var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .lead { color: var(--olive); margin-top: 18px; }
.contact__subtitle { margin-top: 30px; font-size: 1rem; font-weight: 800; }
.contact__steps { margin-top: 12px; display: grid; gap: 10px; counter-reset: next; }
.contact__steps li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-weight: 600; font-size: .96rem; counter-increment: next; line-height: 1.45; }
.contact__steps li::before {
  content: counter(next); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--olive); color: var(--lime); font: 800 .75rem/1 var(--font);
}
.contact__alt { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.contact__alt p { width: 100%; font-size: .92rem; }
.contact__email { font-weight: 800; font-size: 1.1rem; text-decoration: none; border-bottom: 2px solid var(--olive); overflow-wrap: anywhere; }
.contact__email:hover { border-bottom-color: var(--white); }

.form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3.4vw, 38px);
  display: grid; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--olive); }
.form input:not([type="radio"]), .form textarea {
  font: 400 1rem/1.45 var(--font);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #8d9382;
  background: var(--cream);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(174, 206, 106, .5); }
.form [aria-invalid="true"] { border-color: #a4441c; background: #fdf3ee; }
.form__options { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__options legend { font-size: .88rem; font-weight: 700; color: var(--olive); margin-bottom: 8px; padding: 0; }
.form__options label { display: inline-flex; font-weight: 600; cursor: pointer; }
.form__options input { position: absolute; opacity: 0; pointer-events: none; }
.form__options span {
  position: relative;
  padding: 9px 13px 9px 33px; border-radius: 10px; font-size: .88rem; line-height: 1.3;
  border: 1.5px solid rgba(47, 59, 28, .28); background: var(--cream); color: var(--olive);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.form__options span::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--olive); transition: box-shadow var(--t-fast), background-color var(--t-fast);
}
.form__options label:hover span { border-color: var(--green); }
.form__options input:checked + span { background: var(--olive); color: var(--white); border-color: var(--olive); }
.form__options input:checked + span::before { background: var(--brown); box-shadow: 0 0 0 3px var(--lime); }
.form__options input:focus-visible + span { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.form__opt { font-weight: 500; color: var(--muted); }
.form__hint { font-size: .82rem; color: var(--muted); margin-top: -4px; }
.form__hint a, .form__note a { color: var(--olive); font-weight: 700; overflow-wrap: anywhere; }
.form__note { font-size: .86rem; color: var(--muted); min-height: 1.3em; }
.form__note:empty { min-height: 0; margin-top: -16px; }
.form__note.is-error { color: #a4441c; font-weight: 600; }

/* ---------- Stack (franja compacta) ---------- */
.techstrip { background: var(--olive); color: var(--white); padding: 26px 0; }
.techstrip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; }
.techstrip__title { font-size: .86rem; font-weight: 700; color: var(--lime); }
.techstrip__list { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tech { display: inline-flex; align-items: center; gap: 7px; }
.tech__icon {
  width: 16px; height: 16px; flex: none;
  background: var(--lime-soft);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.tech__name { font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .84); line-height: 1.2; }

/* ---------- Footer ---------- */
.footer { background: var(--olive-ink); color: rgba(255, 255, 255, .68); padding: 52px 0 26px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer .brand__name { font-size: 1.1rem; }
.footer__tag { font-size: .92rem; max-width: 22em; }
.footer__col h2 { font-size: .84rem; font-weight: 700; color: var(--lime); margin-bottom: 12px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a { text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--white); }
.footer__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__copy { font-size: .8rem; }

/* ---------- CTA persistente (mobile) ---------- */
.mobile-cta { display: none; }

/* ==========================================================
   Movimiento con propósito (solo con JS y sin reduced-motion)
   - Problemas: la regla de cada ítem se dibuja, el texto aparece.
   - Comparación: la columna Paltech se "llena" fila por fila.
   - Pasos: la línea avanza y cada palta suma su capa.
   - Calidad: los controles se encienden uno a uno.
   ========================================================== */
.anim [data-anim="pains"] .pain::before { transform: scaleX(0); transition: transform .8s var(--ease-out); }
.anim [data-anim="pains"] .pain > * { opacity: 0; transition: opacity .6s var(--ease-out); }
.anim [data-anim="pains"].is-in .pain::before { transform: none; }
.anim [data-anim="pains"].is-in .pain > * { opacity: 1; }
.anim [data-anim="pains"] .pain:nth-child(2)::before, .anim [data-anim="pains"] .pain:nth-child(2) > * { transition-delay: .08s; }
.anim [data-anim="pains"] .pain:nth-child(3)::before, .anim [data-anim="pains"] .pain:nth-child(3) > * { transition-delay: .16s; }
.anim [data-anim="pains"] .pain:nth-child(4)::before, .anim [data-anim="pains"] .pain:nth-child(4) > * { transition-delay: .24s; }
.anim [data-anim="pains"] .pain:nth-child(5)::before, .anim [data-anim="pains"] .pain:nth-child(5) > * { transition-delay: .32s; }
.anim [data-anim="pains"] .pain:nth-child(6)::before, .anim [data-anim="pains"] .pain:nth-child(6) > * { transition-delay: .40s; }

.anim [data-anim="compare"]:not(.is-in) tbody .compare__us { background-color: transparent; }
.anim [data-anim="compare"] tbody tr:nth-child(2) .compare__us { transition-delay: .12s; }
.anim [data-anim="compare"] tbody tr:nth-child(3) .compare__us { transition-delay: .24s; }
.anim [data-anim="compare"] tbody tr:nth-child(4) .compare__us { transition-delay: .36s; }

.anim [data-anim="steps"]:not(.is-in)::after { transform: scaleX(0); }
.anim [data-anim="steps"]:not(.is-in) .m-new { transform: scale(0); opacity: 0; }
.anim [data-anim="steps"] .step:nth-child(1) .m-new { transition-delay: .1s; }
.anim [data-anim="steps"] .step:nth-child(2) .m-new { transition-delay: .5s; }
.anim [data-anim="steps"] .step:nth-child(3) .m-new { transition-delay: .9s; }
.anim [data-anim="steps"] .step:nth-child(4) .m-new { transition-delay: 1.3s; }

.anim [data-anim="gate"]:not(.is-in) li::before { background: var(--olive); transform: scale(.7); }
.anim [data-anim="gate"]:not(.is-in) .gate__end::before { transform: scale(.4); box-shadow: 0 0 0 0 rgba(174, 206, 106, 0); }
.anim [data-anim="gate"] li:nth-child(1)::before { transition-delay: .2s; }
.anim [data-anim="gate"] li:nth-child(2)::before { transition-delay: .5s; }
.anim [data-anim="gate"] li:nth-child(3)::before { transition-delay: .8s; }
.anim [data-anim="gate"] li:nth-child(4)::before { transition-delay: 1.1s; }
.anim [data-anim="gate"] .gate__end::before { transition-delay: 1.45s; }

/* Hero: el subrayado de "ya funciona" se traza una vez al cargar */
.anim .display em { animation: underline-in 1s .35s var(--ease-out) both; }
@keyframes underline-in { from { background-size: 0% .11em; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 961px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 270px) 190px; }
  .layers__desc p { font-size: .82rem; }
  .hero__ctas .btn { padding-inline: 18px; }
}

@media (max-width: 1080px) {
  .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .ai__item { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "stage legend"; column-gap: 24px; }
  .hero__copy { padding-right: 0; }
  .layers__stage { min-height: 420px; margin-top: 12px; }
  .layers__canvas, .layers__pins { left: -6%; right: -14%; width: 120%; }
  .qa, .contact, .faq, .ai-grid { grid-template-columns: 1fr; }
  .ai-grid__head, .faq__title { position: static; }
  .product, .systems__foot { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__list a { padding-inline: 0 16px; }
  .trust__list li + li a { padding-left: 16px; }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 20px;
    background: var(--olive-deep);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out), visibility var(--t-fast);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { left: auto; right: 0; bottom: 50%; margin: 0 0 -3px; }
  .nav__links .btn { margin-top: 16px; }
  .nav__links .btn + .btn { margin-top: 10px; }

  /* CTA persistente */
  .footer { padding-bottom: 96px; }
  .mobile-cta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--olive-deep);
    border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .35s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1 1 auto; min-height: 48px; padding: 12px 18px; }
}

/* Comparación en pantallas chicas: Paltech contra una alternativa a la vez */
@media (max-width: 760px) {
  .compare__switch {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 14px;
  }
  .compare__switch-label { width: 100%; font-size: .84rem; font-weight: 700; color: var(--olive); }
  .compare__switch button {
    flex: 1 1 0; min-height: 44px; padding: 8px 10px; border-radius: 10px; cursor: pointer;
    border: 1.5px solid var(--line); background: var(--white); color: var(--olive);
    font-size: .88rem; font-weight: 700; line-height: 1.2;
    transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  }
  .compare__switch button[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--white); }
  .compare table, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare thead th:first-child { display: none; }
  .compare th, .compare td { padding: 12px 12px; font-size: .9rem; line-height: 1.45; }
  .compare thead th { padding-top: 12px; font-size: .84rem; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 0 6px; border-bottom: 0; font-size: .98rem; }
  .compare tbody td { border-bottom: 1px solid var(--line); }
  .compare td:not(.compare__us) { padding-left: 0; }
  .compare thead th:not(.compare__us) { padding-left: 0; }
  .compare tbody tr:last-child td { border-bottom: 0; }
  .compare .compare__us { border-radius: 0; }
  .compare thead .compare__us { border-radius: 12px 12px 0 0; }
  .compare tbody tr:last-child .compare__us { border-radius: 0 0 12px 12px; }
  html:not(.no-js) .compare[data-vs="enlatado"] [data-col="cero"],
  html:not(.no-js) .compare[data-vs="cero"] [data-col="enlatado"] { display: none; }
  .no-js .compare__switch { display: none; }
  .no-js .compare tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero__ctas { gap: 8px; margin-top: 24px; }
  .hero__ctas .btn { flex: 1 1 auto; padding-inline: 12px; font-size: .94rem; }
  .display em { white-space: normal; }
  .hero__for { margin-top: 24px; font-size: .86rem; }

  /* Leyenda en mobile: acordeón, solo se despliega la capa activa */
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "stage" "legend"; }
  .layers__stage { min-height: 310px; margin-top: 4px; }
  .layers__canvas, .layers__pins { left: -4%; right: -4%; top: -4%; bottom: -4%; width: 108%; height: 108%; }
  .layers__legend { margin-top: 4px; }
  .layers__legend li { padding: 0; border-bottom: 1px solid rgba(174, 206, 106, .12); }
  .layers__legend li:last-child { border-bottom: 0; }
  .layers__legend li::before { display: none; }
  .layers__legend button { min-height: 46px; padding: 8px 0; }
  .layers__desc { grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
  .layers__legend li.is-on .layers__desc { grid-template-rows: 1fr; }
  .layers__desc p { padding: 0 0 0 36px; }
  .layers__legend li.is-on .layers__desc p { padding-bottom: 12px; }

  .trust__inner { padding-block: 16px; gap: 8px; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__list li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .trust__list a, .trust__list li + li a { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 0; }

  .pains { grid-template-columns: 1fr; gap: 28px; }
  .pain { padding-top: 16px; }
  .pain h3 { font-size: 1.12rem; margin-bottom: 6px; }
  .pain p { font-size: .94rem; }
  .pain__fix { margin-top: 6px; }

  .systems__tabs [role="tab"] { padding: 10px 10px 14px 0; }
  .systems__tabs [role="tab"]::after { right: 10px; }
  .systems__tab-role { display: none; }
  .product { gap: 22px; }
  .product__body { gap: 14px; }
  .product__stage { padding: 16px 14px 0; border-radius: 16px; }
  .product__stage::before { width: 70%; right: -24%; top: -30%; }
  .browser { border-radius: 8px 8px 0 0; }
  .browser__bar { height: 24px; padding: 0 9px; gap: 4px; }
  .browser__bar i { width: 6px; height: 6px; }
  .browser__bar span { font-size: .64rem; padding: 2px 8px; }
  .product__feats li { padding: 7px 0; font-size: .9rem; }
  .product__more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .product__more summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 48px; padding: 10px 0; cursor: pointer; list-style: none;
    font-weight: 750; font-size: .95rem; color: var(--olive);
  }
  .product__more summary::-webkit-details-marker { display: none; }
  .product__more summary::after {
    content: ""; flex: none; width: 9px; height: 9px; margin: -4px 4px 0 0;
    border-right: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep);
    transform: rotate(45deg); transition: transform var(--t-med) var(--ease-out);
  }
  .product__more[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .product__more-body { gap: 14px; padding-bottom: 16px; }
  .product__more::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete; }
  .product__more[open]::details-content { block-size: auto; }

  .ai__item { padding: 20px 0; gap: 6px; }
  .ai__item p { font-size: .94rem; }

  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .steps::before, .steps::after { display: block; left: 21px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: top; }
  .anim [data-anim="steps"]:not(.is-in)::after { transform: scaleY(0); }
  .step { padding-left: 62px; min-height: 60px; }
  .step__mark { position: absolute; left: 0; top: 0; width: 44px; height: 54px; padding: 0 0 6px; margin: 0; }
  .step h3 { font-size: 1.08rem; }
  .step p { font-size: .94rem; }
  .step .step__label { margin-top: 10px; }

  .gate small { font-size: .78rem; }

  .faq__item summary { padding: 15px 36px 15px 0; font-size: .98rem; }
  .faq__item p { padding: 0 0 16px; font-size: .95rem; }

  .contact__subtitle { margin-top: 24px; }
  .contact__alt { margin-top: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .form__options span { font-size: .85rem; padding: 8px 11px 8px 30px; }
  .form__options span::before { left: 10px; }

  .techstrip { padding: 22px 0; }
  .techstrip__list { gap: 10px 18px; }

  .footer { padding-top: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer__bottom { margin-top: 26px; }
}

@media (max-width: 480px) {
  /* En teléfonos los títulos de sección usan un ancho algo menor: misma familia, menos líneas */
  .h2, .h2--xl { font-stretch: 114%; font-variation-settings: "wdth" 114; }
  .h2--xl { font-size: 2.05rem; }
  .systems__tab-extra { display: none; }
  .systems__tab-name { font-size: 1.02rem; font-stretch: 100%; font-variation-settings: "wdth" 100; font-weight: 800; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
