/* ═══════════════════════════════════════════════════════════
   ynspec — landing (tema claro)
   Blanco + papel + azul de marca · tinta para el texto
   Inter Tight + JetBrains Mono · punto cuadrado de marca
   ═══════════════════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --paper: #f6f5f1;
  --paper-2: #eeece6;
  --ink: #0e1014;
  --ink-2: #2b2f37;
  --muted: #5e626c;
  --soft: #82868f;
  --line: #e7e5df;
  --line-2: #d6d4cd;
  --blue: #3346ff;
  --blue-600: #2334e0;
  --blue-50: #eef0ff;
  --blue-100: #dde1ff;
  --amber: #ffb020;
  --amber-ink: #9a5b00;
  --amber-50: #fff3d6;

  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(20px, 5vw, 56px);
  --max: 1240px;
  --sec: clamp(84px, 10vw, 152px);

  --r-xl: clamp(26px, 3vw, 36px);
  --r-lg: clamp(22px, 2.4vw, 28px);
  --r-md: 20px;
  --r-sm: 12px;

  --sh-1: 0 1px 2px rgba(14, 16, 20, 0.04), 0 8px 24px rgba(14, 16, 20, 0.06);
  --sh-2: 0 2px 6px rgba(14, 16, 20, 0.05), 0 28px 64px rgba(14, 16, 20, 0.12);
  --sh-blue: 0 14px 34px rgba(51, 70, 255, 0.32);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scrollbar-color: var(--line-2) transparent;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

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

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
blockquote,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
strong,
b {
  font-weight: 600;
}
img {
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ───────── primitivas ───────── */

.sq {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--blue);
}
.sq--amber {
  background: var(--amber);
}
.sq--pulse {
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.6);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 176, 32, 0);
  }
}

.dot {
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.07em;
  background: var(--blue);
}
.dot--amber {
  background: var(--amber);
}

.g {
  color: var(--soft);
}

.ico {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
  transition: transform 0.6s var(--ease-out);
}

.arrow {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease-out);
}
a:hover > .arrow {
  transform: translateX(4px);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
}
.pill--amber {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.pill--gray {
  background: var(--paper-2);
  color: var(--muted);
}

i.ok,
i.x {
  flex: none;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--blue) center / 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
}
i.ok--w {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233346ff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E");
}
i.x {
  border-radius: 50%;
  background-color: var(--paper-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%238b8f99' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3.4 3.4l5.2 5.2M8.6 3.4l-5.2 5.2'/%3E%3C/svg%3E");
}

.logo {
  display: inline-flex;
  flex: none;
  color: var(--ink);
  --logo-dot: var(--blue);
}
.logo svg {
  display: block;
  width: 88px;
  height: 21px;
}
.logo--sm svg {
  width: 76px;
  height: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: currentColor;
}

/* botones */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s,
    box-shadow 0.4s,
    transform 0.5s var(--ease-out);
  will-change: transform;
}
.btn--sm {
  padding: 9px 16px;
  font-size: 14px;
}
.btn--lg {
  padding: 17px 28px;
  font-size: 17px;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.32) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.btn--primary:hover {
  background: var(--blue-600);
  box-shadow: var(--sh-blue);
}
.btn--primary:hover::before {
  transform: translateX(120%);
}
.btn:hover > .arrow {
  transform: translateX(4px);
}
.btn--white {
  background: #fff;
  color: var(--blue);
}
.btn--white:hover {
  box-shadow: 0 16px 40px rgba(14, 16, 20, 0.28);
}
.btn--glass {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}
.ico--sm {
  width: 18px;
  height: 18px;
}
/* dos etiquetas apiladas en la misma celda: el botón no cambia de ancho al alternarlas */
.swap {
  display: inline-grid;
  justify-items: center;
}
.swap > * {
  grid-area: 1 / 1;
  transition:
    opacity 0.25s,
    transform 0.4s var(--ease-out);
}
.swap__b {
  opacity: 0;
  transform: translateY(8px);
}
.is-done .swap__a {
  opacity: 0;
  transform: translateY(-8px);
}
.is-done .swap__b {
  opacity: 1;
  transform: none;
}
/* sobre fondo azul el foco de teclado va en blanco */
.usp :focus-visible,
.contact__card :focus-visible {
  outline-color: #fff;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-block: 9px;
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
}
.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 22px;
  bottom: 6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease-out);
}
.link:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

/* ───────── animación de entrada ───────── */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease-out) var(--d, 0ms),
    transform 1s var(--ease-out) var(--d, 0ms),
    translate 0.5s var(--ease-out),
    box-shadow 0.5s var(--ease-out);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .intro {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.1s var(--ease-out) var(--d, 0ms),
    transform 1.1s var(--ease-out) var(--d, 0ms);
}
.js .is-ready .intro {
  opacity: 1;
  transform: none;
}

/* palabras (data-split) */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.04em 0.18em;
  margin: -0.1em -0.04em -0.18em;
}
.w > span {
  display: inline-block;
  transform: translateY(118%);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i) * 38ms + var(--base, 0ms));
}
.is-in .w > span {
  transform: none;
}
.js [data-split] .dot {
  transform: scale(0);
  transition: transform 0.7s var(--ease-out) 0.85s;
}
.js [data-split].is-in .dot {
  transform: none;
}

/* palabras (data-scrub) */
.sw {
  opacity: 0.14;
  transition:
    opacity 0.4s linear,
    color 0.4s linear;
}
.sw.is-on {
  opacity: 1;
}

[data-spot] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
[data-spot]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(51, 70, 255, 0.09), transparent 65%);
}
[data-spot]:hover::before {
  opacity: 1;
}

/* ───────── progreso + NAV ───────── */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding-inline: 14px;
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1260px;
  height: 58px;
  margin-inline: auto;
  padding: 0 9px 0 22px;
  border: 1px solid rgba(14, 16, 20, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    0 1px 2px rgba(14, 16, 20, 0.03),
    0 6px 24px rgba(14, 16, 20, 0.05);
  transition:
    background-color 0.4s,
    box-shadow 0.4s;
}
.nav.is-stuck .nav__bar {
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 2px rgba(14, 16, 20, 0.05),
    0 14px 40px rgba(14, 16, 20, 0.1);
}
.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.75vw, 26px);
}
.nav__links a {
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}
.nav__indicator {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0;
  transform-origin: 0 50%;
  transform: translateX(var(--x, 0px)) scaleX(var(--w, 0));
  transition:
    transform 0.6s var(--ease-out),
    opacity 0.3s;
}
.nav__indicator.is-on {
  opacity: 1;
}
.nav__cta {
  margin-left: auto;
}
.nav__links + .nav__cta {
  margin-left: 0;
}
.nav__burger {
  display: none;
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.7px;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.5s var(--ease-out),
    top 0.5s var(--ease-out);
}
.nav__burger span:first-child {
  top: 16px;
}
.nav__burger span:last-child {
  top: 23px;
}
.menu-open .nav__burger span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}
.menu-open .nav__burger span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 96px var(--pad) 28px;
  background:
    radial-gradient(90% 50% at 80% 110%, var(--blue-100), transparent 70%),
    #fff;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition:
    opacity 0.4s,
    visibility 0s 0.4s;
}
.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s,
    visibility 0s;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}
.menu__links a span {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: var(--blue);
}
.menu-open .menu__links a {
  opacity: 1;
  transform: none;
}
.menu-open .menu__links a:nth-child(1) { transition-delay: 0.05s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: 0.09s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: 0.13s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: 0.17s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: 0.21s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: 0.25s; }
.menu-open .menu__links a:nth-child(7) { transition-delay: 0.29s; }
.menu-open .menu__links a:nth-child(8) { transition-delay: 0.33s; }
.menu-open .menu__links a:nth-child(9) { transition-delay: 0.37s; }
.menu__cta {
  width: 100%;
}

/* ───────── rejilla decorativa de marca ───────── */

.gridlines {
  position: absolute;
  inset: 0;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  pointer-events: none;
}
.gridlines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 16, 20, 0.07) 30%, rgba(14, 16, 20, 0.07) 70%, transparent 100%);
}
.gridlines i:nth-child(1) { left: var(--pad); }
.gridlines i:nth-child(2) { left: calc(var(--pad) + (100% - 2 * var(--pad)) * 0.25); }
.gridlines i:nth-child(3) { left: calc(var(--pad) + (100% - 2 * var(--pad)) * 0.5); }
.gridlines i:nth-child(4) { left: calc(var(--pad) + (100% - 2 * var(--pad)) * 0.75); }
.gridlines i:nth-child(5) { left: calc(100% - var(--pad)); }
.gridlines b {
  position: absolute;
  left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--c) * 0.25 - 6px);
  top: var(--y);
  width: 13px;
  height: 13px;
  background:
    linear-gradient(rgba(14, 16, 20, 0.3), rgba(14, 16, 20, 0.3)) center / 100% 1px no-repeat,
    linear-gradient(rgba(14, 16, 20, 0.3), rgba(14, 16, 20, 0.3)) center / 1px 100% no-repeat;
}

/* ───────── HERO ───────── */

.hero {
  position: relative;
  padding: clamp(124px, 17vh, 176px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% -8%, rgba(51, 70, 255, 0.1), transparent 70%),
    #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 88%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-1);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(42px, 6.9vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.hero__line {
  display: block;
}
.hero__line--g {
  color: var(--soft);
  --base: 160ms;
}
.hero__sub {
  max-width: 720px;
  margin-top: 26px;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.42;
  color: var(--muted);
  text-wrap: pretty;
}
.hero__sub strong {
  color: var(--ink);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 34px;
}

/* composición ilustrativa (diseñada en px fijos y escalada con --s) */
.stage {
  --dw: 1180;
  --dh: 620;
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: calc(var(--dh) * var(--s, 1) * 1px);
  margin-top: clamp(52px, 6vw, 84px);
  text-align: left;
  translate: 0 calc(var(--sp, 0) * -22px);
  scale: calc(1 + var(--sp, 0) * 0.035);
  transform-origin: 50% 0;
}
.stage__glow {
  position: absolute;
  inset: -10% -8% -6%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 56% at 50% 56%, rgba(51, 70, 255, 0.22), transparent 70%),
    radial-gradient(28% 40% at 10% 72%, rgba(255, 176, 32, 0.2), transparent 70%),
    radial-gradient(34% 44% at 92% 40%, rgba(51, 70, 255, 0.16), transparent 70%);
  filter: blur(28px);
}
.stage__inner {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--dw) * 1px);
  height: calc(var(--dh) * 1px);
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
}
.layer {
  position: absolute;
  transform: translate3d(calc(var(--px, 0) * var(--depth, 0) * 1px), calc(var(--py, 0) * var(--depth, 0) * 1px), 0);
  will-change: transform;
}
.js .layer {
  opacity: 0;
  translate: 0 56px;
  scale: 0.965;
  transition:
    opacity 1.2s var(--ease-out) var(--d, 0ms),
    translate 1.5s var(--ease-out) var(--d, 0ms),
    scale 1.5s var(--ease-out) var(--d, 0ms);
}
.js .is-ready .layer {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
/* Geometría sobre un lienzo de 1180 px: el teléfono (0–248) tapa entera la barra lateral
   de la ventana (60–250) y la tarjeta de presupuesto (864–1180) solo pisa su margen derecho. */
.layer--win {
  left: 60px;
  top: 0;
  z-index: 1;
  --depth: 10;
  --d: 460ms;
}
.layer--phone {
  left: 0;
  top: 96px;
  z-index: 3;
  --depth: 26;
  --d: 640ms;
}
.layer--quote {
  right: 0;
  top: 150px;
  z-index: 3;
  --depth: 20;
  --d: 760ms;
}
.layer--fa {
  left: 330px;
  top: -22px;
  z-index: 4;
  --depth: 34;
  --d: 980ms;
}
.layer--fb {
  right: 196px;
  bottom: 62px;
  z-index: 4;
  --depth: 30;
  --d: 1080ms;
}
.bob {
  animation: bob 7s ease-in-out infinite alternate;
}
.layer--quote .bob {
  animation-duration: 8.5s;
  animation-delay: -3s;
}
.layer--fa .bob {
  animation-duration: 6s;
  animation-delay: -1.5s;
}
.layer--fb .bob {
  animation-duration: 6.6s;
  animation-delay: -4s;
}
@keyframes bob {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(6px);
  }
}

.win {
  width: 828px;
  height: 540px;
  border: 1px solid rgba(14, 16, 20, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 2px 6px rgba(14, 16, 20, 0.04),
    0 44px 110px rgba(14, 16, 20, 0.16);
  overflow: hidden;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 44px;
  padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf8;
}
.win__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0ded7;
}
.win__bar span {
  margin: 0 auto 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.win__body {
  display: grid;
  grid-template-columns: 190px 1fr;
  height: calc(100% - 44px);
}
.win__side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: #fbfaf8;
}
.win__org {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 14px;
  font-size: 13px;
  font-weight: 600;
}
.win__org i {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--blue);
}
.win__side b {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.win__side b::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 1.6px solid currentColor;
  border-radius: 4px;
  opacity: 0.55;
}
.win__side b.is-on {
  background: var(--blue-50);
  color: var(--blue);
}
.win__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px 24px;
}
.win__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.win__h em {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpis--4 {
  grid-template-columns: repeat(4, 1fr);
}
.kpi {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
}
.kpi small {
  display: block;
  font-size: 11.5px;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.kpi.is-warn strong {
  color: var(--amber-ink);
}
.win .kpi strong {
  font-size: 26px;
}

.chart {
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.chart__t {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 84px;
  margin-top: 10px;
}
.chart__bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--blue-100);
  transform-origin: 50% 100%;
}
.chart__bars span.is-on {
  background: var(--blue);
}
.js .chart__bars span {
  scale: 1 0;
  transition: scale 0.9s var(--ease-out);
  transition-delay: calc(1000ms + var(--i) * 70ms);
}
.js .is-ready .chart__bars span {
  scale: 1 1;
}
.chart__x {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.chart__x span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--soft);
}

.rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.rows li:first-child {
  border-top: 0;
}
.rows li > span {
  min-width: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rows small {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.phone {
  width: 248px;
  height: 504px;
  padding: 7px;
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 44px 90px rgba(14, 16, 20, 0.3);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 42px 14px 14px;
  border-radius: 35px;
  background: #fff;
  overflow: hidden;
}
.phone__screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 62px;
  height: 17px;
  margin-left: -31px;
  border-radius: 999px;
  background: var(--ink);
}
.phone__t {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.phone__s {
  margin-top: -7px;
  font-size: 11px;
  color: var(--muted);
}
.checks-mini {
  display: grid;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--paper);
}
.checks-mini li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.checks-mini i.ok {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background-size: 9px;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.thumbs span {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, #ebe9e2, #d9d7cf);
}
.thumbs span:nth-child(2) {
  background: linear-gradient(135deg, var(--blue-100), #c5cbff);
}
.thumbs span:nth-child(3) {
  background: linear-gradient(135deg, #fff0cc, #ffdf99);
}
.sign {
  position: relative;
  height: 58px;
  margin-top: 6px;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
}
.sign small {
  position: absolute;
  left: 10px;
  top: -8px;
  padding: 0 5px;
  background: #fff;
  font-size: 9.5px;
  color: var(--soft);
}
.sign svg {
  position: absolute;
  left: 14px;
  top: 9px;
  width: calc(100% - 28px);
  height: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js .sign path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease) 1.6s;
}
.js .is-ready .sign path {
  stroke-dashoffset: 0;
}
.phone__btn {
  display: grid;
  place-items: center;
  height: 38px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.quote {
  width: 316px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(14, 16, 20, 0.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(14, 16, 20, 0.18);
}
.quote__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quote__top small {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.quote__t {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.quote ul {
  margin-top: 12px;
}
.quote li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}
.quote li span:last-child {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.quote__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1.5px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.quote__total b {
  font-size: 25px;
  letter-spacing: -0.03em;
}
.quote__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}
.quote__btn .arrow {
  width: 14px;
  height: 14px;
}
.float {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px 10px 11px;
  border: 1px solid rgba(14, 16, 20, 0.06);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(14, 16, 20, 0.16);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.float .sq {
  margin-inline: 4px 2px;
}
.stage__cap {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ───────── MARQUEE ───────── */

.marquees {
  display: grid;
  gap: clamp(8px, 1.2vw, 16px);
  padding-block: clamp(12px, 2vw, 28px) clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  --mg: clamp(20px, 2.8vw, 40px);
  display: flex;
  align-items: center;
  gap: var(--mg);
  width: max-content;
  animation: marquee 64s linear infinite;
}
.marquee--rev .marquee__track {
  animation-direction: reverse;
  animation-duration: 90s;
}
@media (hover: hover) {
  .marquees:hover .marquee__track {
    animation-play-state: paused;
  }
}
.marquee span {
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(14, 16, 20, 0.2);
}
.marquee span:nth-of-type(even) {
  color: rgba(14, 16, 20, 0.4);
}
.marquee--sm span {
  font-size: clamp(19px, 2.3vw, 30px);
  letter-spacing: -0.03em;
}
.marquee i {
  flex: none;
  width: clamp(6px, 0.65vw, 9px);
  height: clamp(6px, 0.65vw, 9px);
  background: var(--blue);
}
.marquee--sm i {
  background: var(--amber);
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - var(--mg) / 2));
  }
}

/* ───────── SECCIONES ───────── */

.section {
  --card: var(--paper);
  position: relative;
  padding-block: var(--sec);
}
.section--paper {
  --card: #fff;
  background: var(--paper);
}

.head {
  max-width: 960px;
  margin: 0 auto clamp(40px, 5vw, 68px);
  text-align: center;
}
.head--wide {
  max-width: 1120px;
}
.head .h2,
.cmp-head .h2 {
  margin-top: 18px;
}
.h2 {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h2--xl {
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.046em;
  color: var(--soft);
}
.h2--xl .hl {
  color: var(--ink);
}
.h2--md {
  font-size: clamp(30px, 4vw, 52px);
}
.h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.sub {
  max-width: 700px;
  margin: 22px auto 0;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}
.sub strong {
  color: var(--ink);
}
.kicker {
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.statement {
  max-width: 19em;
  margin-inline: auto;
  font-size: clamp(28px, 4.2vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-align: center;
  text-wrap: balance;
}
.statement--gap {
  margin-top: clamp(64px, 8vw, 120px);
}
.statement--xl {
  max-width: 14.5em;
  margin-top: 22px;
  font-size: clamp(34px, 5.8vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.046em;
}
.statement .hl .sw.is-on {
  color: var(--blue);
}

/* problema */
.pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pain {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 24px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--card);
}
/* solo con puntero real: en táctil el :hover se queda «pegado» tras el toque */
@media (hover: hover) {
  .pain:hover,
  .benefit:hover,
  .case:hover {
    translate: 0 -4px;
    box-shadow: var(--sh-2);
  }
  .pain:hover .ico-box,
  .benefit:hover .ico-box {
    transform: scale(1.08) rotate(-4deg);
  }
}
.pain h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.024em;
}
.pain p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* calculadora */
.calc {
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(20px, 3.2vw, 44px);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-1);
}
.calc__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.calc__head .h3 {
  margin-bottom: 10px;
}
.tabs {
  position: relative;
  display: flex;
  max-width: 100%;
  padding: 5px;
  border-radius: 999px;
  background: var(--paper);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--w, 0px);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(51, 70, 255, 0.3);
  transform: translateX(var(--x, 0px));
}
/* la primera colocación no se anima; solo los cambios de pestaña */
.tabs.is-live .tabs__pill {
  transition:
    transform 0.55s var(--ease-out),
    width 0.55s var(--ease-out);
}
.tabs__btn {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s;
}
.tabs__btn:hover {
  color: var(--ink);
}
.tabs__btn.is-active {
  color: #fff;
}
.calc__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.calc__how {
  display: flex;
  gap: 12px;
  min-height: 82px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.calc__how .ico {
  flex: none;
  margin-top: 1px;
  color: var(--blue);
}
.field {
  display: block;
  margin-top: 24px;
}
.field__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  color: var(--ink-2);
}
.field output {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 34px;
  margin: 2px 0 0;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue) var(--p, 50%), var(--line) var(--p, 50%));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(51, 70, 255, 0.28);
  transition: transform 0.25s var(--ease-out);
}
.range:hover::-webkit-slider-thumb,
.range:active::-webkit-slider-thumb {
  transform: scale(1.12);
}
.range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
}
.range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(51, 70, 255, 0.28);
}
.calc__out {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--blue-50), #f8f9ff 60%, #fff);
}
.calc__k {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.calc__big {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: -10px;
}
.calc__big span {
  font-size: clamp(92px, 11vw, 156px);
  font-weight: 600;
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.calc__big small {
  padding-bottom: 8px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
}
.bars {
  display: grid;
  gap: 14px;
}
.bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 12px;
  align-items: baseline;
}
.bar__l {
  font-size: 14.5px;
  color: var(--ink-2);
}
.bar__v {
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.bar__t {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.07);
  overflow: hidden;
}
.bar__t i {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
  transition: width 0.7s var(--ease-out);
}
.bar--blue .bar__t i {
  background: var(--blue);
}
.bar--blue .bar__v {
  color: var(--blue);
}
.calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 16, 20, 0.09);
}
.calc__v {
  display: block;
  margin-top: 6px;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc__note {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* diferencia */
.usp {
  padding: clamp(28px, 5vw, 72px);
  border-radius: clamp(28px, 3.4vw, 44px);
  background: var(--blue);
  color: #fff;
}
.usp::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.24), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(14, 16, 20, 0.3), transparent 65%);
}
.usp[data-spot]::before,
.contact__card[data-spot]::before {
  background: radial-gradient(540px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.17), transparent 65%);
}
.usp__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}
.usp__t {
  max-width: 15.5em;
  margin-top: clamp(18px, 2.2vw, 28px);
  font-size: clamp(32px, 5.1vw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.046em;
  text-wrap: balance;
}
.usp__d {
  max-width: 720px;
  margin-top: clamp(18px, 2.2vw, 28px);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.85);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 64px);
}
.pillars li {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.pillars .num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.72);
}
.pillars h3 {
  margin-top: 12px;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.026em;
}
.pillars p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cmp-head {
  margin-top: clamp(80px, 10vw, 144px);
  margin-bottom: clamp(40px, 4.4vw, 60px);
  text-align: center;
}
.cmp {
  --cp: clamp(14px, 2.2vw, 28px);
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  padding: 14px var(--cp);
  border-radius: var(--r-xl);
  background: var(--paper);
}
.cmp::before {
  content: '';
  position: absolute;
  top: -14px;
  bottom: -14px;
  right: var(--cp);
  width: calc((100% - 2 * var(--cp)) * 1.45 / 3.8);
  border: 1.5px solid var(--blue);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow:
    0 2px 6px rgba(14, 16, 20, 0.04),
    0 30px 70px rgba(51, 70, 255, 0.18);
}
.cmp__row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1.45fr;
}
.cmp__row + .cmp__row {
  border-top: 1px solid var(--line);
}
.cmp__row > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  font-size: 16.5px;
  line-height: 1.35;
}
.cmp__row > .cmp__k {
  padding-left: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.cmp__them {
  color: var(--muted);
}
.cmp__us {
  position: relative;
  z-index: 1;
  font-weight: 600;
  color: var(--ink);
}
.cmp__row + .cmp__row .cmp__us {
  box-shadow: inset 0 1px 0 var(--line);
}
.cmp__row--head > div {
  padding-block: 20px 18px;
  font-size: 15px;
  font-weight: 600;
}
.cmp__row--head .cmp__them {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--ink-2);
}
.cmp__row--head small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

/* beneficios */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) clamp(26px, 2.8vw, 38px);
  border-radius: var(--r-lg);
  background: var(--card);
}
.benefit h3 {
  padding-top: clamp(36px, 4.4vw, 60px);
  font-size: clamp(22px, 2.1vw, 27px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.benefit p {
  max-width: 360px;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* método */
.spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-step {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--paper);
}
.spec-step__bar {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(14, 16, 20, 0.08);
  overflow: hidden;
}
.spec-step__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.spec-step__tag {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-step__letter {
  margin-top: 6px;
  font-size: clamp(84px, 9vw, 128px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--ink);
  transition: color 0.7s var(--ease-out);
}
.spec-step__letter .dot {
  transition: transform 0.7s var(--ease-out);
}
.js .spec-step:not(.is-on) .spec-step__letter {
  color: var(--line-2);
}
.js .spec-step:not(.is-on) .spec-step__letter .dot {
  transform: scale(0);
}
.spec-step h3 {
  margin-top: 14px;
  font-size: clamp(20px, 1.8vw, 23px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.026em;
}
.spec-step__p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}
.spec-step dl {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
}
.spec-step dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.spec-step dt {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
}
.spec-step dd {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}

/* resultado: antes / después */
.ba {
  position: relative;
  height: clamp(440px, 40vw, 540px);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-2);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba__layer {
  position: absolute;
  inset: 0;
}
.ba__after {
  display: grid;
  place-items: center;
  padding: 64px clamp(16px, 6vw, 96px) 30px;
  background:
    radial-gradient(60% 70% at 88% 108%, var(--blue-100), transparent 70%),
    #fff;
}
.ba__before {
  background:
    repeating-linear-gradient(135deg, rgba(14, 16, 20, 0.028) 0 2px, transparent 2px 14px),
    var(--paper-2);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-1);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.ba__tag--r {
  left: auto;
  right: 18px;
  background: var(--blue);
  box-shadow: var(--sh-blue);
  color: #fff;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: var(--blue);
}
.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 2px 6px rgba(14, 16, 20, 0.08),
    0 14px 34px rgba(14, 16, 20, 0.22);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out);
}
.ba:hover .ba__handle span,
.ba__handle:focus-visible span {
  transform: translate(-50%, -50%) scale(1.08);
}
.ba__handle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ba__cap,
.xp__cap {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.ui {
  width: 100%;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.ui__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.ui__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
}
.ui .kpis {
  padding: 14px 16px 4px;
}
.ui .rows {
  padding: 6px 18px 10px;
}

.mess {
  position: absolute;
  inset: 0;
}
.note {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(168px, 18.5vw, 240px);
  padding: 11px 14px 13px;
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 2px 4px rgba(14, 16, 20, 0.06),
    0 14px 30px rgba(14, 16, 20, 0.13);
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--ink-2);
  transform: rotate(var(--r));
}
.note small {
  display: block;
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--soft);
}
.note--wa {
  background: #e7f7ec;
}
.note--xl {
  background: #e9f4eb;
  font-family: var(--mono);
  font-size: 12.5px;
}
.note--post {
  width: clamp(140px, 14vw, 176px);
  border-radius: 3px;
  background: #ffe27a;
  font-weight: 600;
  color: #3b3206;
}
.note--post small {
  color: #7a6a1c;
}
.note--err {
  background: #ffe9e6;
  color: #a1271c;
}
.note--err small {
  color: #c26258;
}

.gets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 72px);
}
.gets__col {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: #fff;
}
.gets__t {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.checks,
.outcomes {
  margin-top: 18px;
}
.checks li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--muted);
}
.checks i {
  margin-top: 2px;
}
.checks b {
  color: var(--ink);
}
.outcomes li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-out);
}
@media (hover: hover) {
  .outcomes li:hover {
    padding-left: 10px;
  }
}
.outcomes span {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.024em;
}
.outcomes small {
  font-size: 15px;
  color: var(--muted);
  text-align: right;
}

/* propósito */
.purpose {
  text-align: center;
  overflow: hidden;
}
.purpose .wrap {
  position: relative;
}
.purpose .sub {
  margin-top: clamp(24px, 3vw, 36px);
}

/* casos de aplicación */
.sectors {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.sectors__group {
  min-width: 0;
}
.sectors__label {
  margin-bottom: 10px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
}
.sectors__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
/* salto forzado tras el 5.º chip: dos filas equilibradas de 5; el margen negativo anula el gap de la línea vacía */
.sectors__brk {
  flex-basis: 100%;
  height: 0;
  margin-top: -8px;
}
.chip {
  flex: none;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .chip:hover {
    border-color: var(--ink-2);
    transform: translateY(-1px);
  }
}
.chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(51, 70, 255, 0.3);
  color: #fff;
}
.xp {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: clamp(22px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-2);
}
.xp__info,
.xp__visual {
  min-width: 0;
}
/* el fundido va en los hijos: en móvil .xp__info pasa a display:contents y no genera caja */
.xp__info > :not(.btn),
.xp__visual {
  transition:
    opacity 0.26s ease,
    transform 0.5s var(--ease-out);
}
.xp.is-swapping .xp__info > :not(.btn) {
  opacity: 0;
  transform: translateY(8px);
}
.xp.is-swapping .xp__visual {
  opacity: 0;
  transform: translateY(14px) scale(0.985);
}
.xp__more {
  display: flex;
  width: fit-content;
  margin-top: 18px;
}
.xp__more[hidden] {
  display: none;
}
.xp__sector {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}
.xp__pain {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--muted);
}
.xp__pain b {
  display: block;
  margin-bottom: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.xp__name {
  margin-top: 20px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.044em;
}
.xp__desc {
  margin-top: 12px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.48;
  color: var(--ink-2);
}
.flow {
  display: grid;
  margin: 24px 0 28px;
}
.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.5s;
}
.flow li span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition:
    background-color 0.5s,
    color 0.5s,
    box-shadow 0.5s;
}
.flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 37px;
  bottom: -9px;
  width: 2px;
  background: var(--line);
  transition: background-color 0.5s;
}
.flow li.is-done {
  color: var(--ink-2);
}
.flow li.is-done span {
  background: var(--blue-50);
  color: var(--blue);
}
.flow li.is-done::after {
  background: var(--blue-100);
}
.flow li.is-on {
  color: var(--ink);
}
.flow li.is-on span {
  background: var(--blue);
  box-shadow: 0 6px 14px rgba(51, 70, 255, 0.3);
  color: #fff;
}
.xp__visual {
  padding: clamp(16px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 90% at 90% 100%, var(--blue-100), transparent 70%),
    var(--paper);
}
.mock {
  border: 1px solid rgba(14, 16, 20, 0.08);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf8;
}
.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0ded7;
}
.mock__bar span {
  min-width: 0;
  margin-left: 8px;
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__body {
  padding: 18px 20px 12px;
}
.mock__h {
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -0.026em;
}
.mock .kpis {
  margin-top: 14px;
}
.mock .rows {
  margin-top: 10px;
}
/* enlace destacado a la landing de un producto propio */
.spot {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 9px 18px 9px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2);
}
.spot .pill {
  flex: none;
}
.spot .arrow {
  color: var(--blue);
}
@media (hover: hover) {
  .spot:hover {
    border-color: var(--blue);
    box-shadow: var(--sh-1);
    color: var(--ink);
  }
}
.also {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
}
.also__t {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.also__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
}
.also__list li {
  padding: 8px 14px;
  border: 1px dashed var(--line-2);
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* dudas */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  background: var(--card);
}
.case__obj {
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.028em;
}
.case__obj span {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--blue);
}
.case blockquote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 16.5px;
  line-height: 1.52;
  color: var(--ink-2);
}
.case__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  margin-top: auto;
  padding-top: 26px;
}
.case__who div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.case__who b {
  font-size: 15px;
}
.case__who div span {
  font-size: 14px;
  color: var(--muted);
}
.case .tag {
  background: #fff;
}
.cases__note {
  max-width: 640px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* para quién */
.sit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sit__card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: var(--r-xl);
  background: #fff;
}
.sit__tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}
.sit__card--b .sit__tag {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.sit__card h3 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.sit__lead {
  margin-top: 12px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.42;
  color: var(--muted);
}
.sit__list {
  margin-top: 22px;
}
.sit__list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
.sit__list i {
  margin-top: 1px;
}
.sit__for {
  margin-top: auto;
  padding-top: 26px;
}
.sit__for p {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.minis {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.minis a {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition:
    background-color 0.25s,
    color 0.25s;
}
@media (hover: hover) {
  .minis a:hover {
    background: var(--blue);
    color: #fff;
  }
}
.notfor {
  margin-top: 16px;
  padding: clamp(22px, 2.8vw, 36px);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-xl);
}
.notfor__t {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.notfor ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 18px;
}
.notfor li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.42;
  color: var(--muted);
}
.notfor i {
  margin-top: 1px;
}

/* quién está detrás */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.portrait {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
/* el recorte va en la <img>: un clip-path en el propio observado anula su IntersectionObserver */
.js .portrait.reveal {
  opacity: 1;
  transform: none;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition:
    transform 1.8s var(--ease-out),
    clip-path 1.4s var(--ease-out);
}
.js .portrait:not(.is-in) img {
  transform: scale(1.14);
  clip-path: inset(0 0 100% 0);
}
.js .portrait.is-in img {
  clip-path: inset(0 0 0 0);
}
@media (hover: hover) {
  .portrait:hover img {
    transform: scale(1.06);
  }
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(14, 16, 20, 0.62));
}
.portrait figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.js .portrait figcaption {
  opacity: 0;
  transition: opacity 0.8s 0.7s;
}
.js .portrait.is-in figcaption {
  opacity: 1;
}
.bio__name {
  margin-top: 14px;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.046em;
}
.bio__role {
  margin-top: 14px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--muted);
}
.bio__p {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(17px, 1.3vw, 18.5px);
  line-height: 1.56;
  color: var(--ink-2);
}
.bio__facts {
  max-width: 680px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.bio__facts li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.42;
}
.bio__facts span {
  padding-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}

/* faq */
.faq {
  max-width: 880px;
  margin-inline: auto;
  padding: 6px clamp(20px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: #fff;
}
.faq__item + .faq__item {
  border-top: 1px solid var(--line);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.024em;
  text-align: left;
  transition: color 0.3s;
}
.faq__q:hover {
  color: var(--blue);
}
.faq__q i {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper);
  transition: background-color 0.35s;
}
.faq__q i::before,
.faq__q i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition:
    transform 0.6s var(--ease-out),
    background-color 0.35s;
}
.faq__q i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__q[aria-expanded='true'] i {
  background: var(--blue);
}
.faq__q[aria-expanded='true'] i::before,
.faq__q[aria-expanded='true'] i::after {
  background: #fff;
}
.faq__q[aria-expanded='true'] i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.faq__a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.6s;
}
.faq__q[aria-expanded='true'] + .faq__a {
  grid-template-rows: 1fr;
}
.faq__q[aria-expanded='true'] + .faq__a > div {
  visibility: visible;
  transition-delay: 0s;
}
.faq__a p {
  max-width: 700px;
  padding-bottom: 26px;
  font-size: 17px;
  line-height: 1.56;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.45s,
    transform 0.6s var(--ease-out);
}
.faq__q[aria-expanded='true'] + .faq__a p {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}
.no-js .faq__a {
  grid-template-rows: 1fr;
}
.no-js .faq__a > div {
  visibility: visible;
}
.no-js .faq__a p {
  opacity: 1;
  transform: none;
}

/* contacto */
.contact {
  padding: clamp(20px, 3vw, 40px) clamp(12px, 2vw, 28px) clamp(12px, 2vw, 24px);
}
.contact__card {
  max-width: 1480px;
  margin-inline: auto;
  padding: clamp(56px, 9vw, 128px) clamp(22px, 6vw, 96px) clamp(40px, 6vw, 80px);
  border-radius: clamp(28px, 4vw, 56px);
  background: var(--blue);
  color: #fff;
  text-align: center;
}
.contact__card::after {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 20% 20%, rgba(255, 255, 255, 0.28), transparent 70%),
    radial-gradient(45% 55% at 85% 90%, rgba(14, 16, 20, 0.36), transparent 70%),
    radial-gradient(30% 40% at 80% 10%, rgba(125, 140, 255, 0.55), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(4%, -3%, 0) rotate(4deg) scale(1.06);
  }
}
.contact__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  font-weight: 500;
}
.contact__title {
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(72px, 15vw, 216px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.056em;
}
.contact__desc {
  max-width: 640px;
  margin: clamp(22px, 3vw, 36px) auto 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.88);
}
.contact__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 15.5px;
  font-weight: 500;
}
.promises li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* footer */
.footer {
  font-size: 14px;
  color: var(--muted);
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-block: 28px 36px;
}
.footer a:not(.logo) {
  transition: color 0.25s;
}
/* sectores con página propia: fila de enlaces sobre el pie */
.footer__sect {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-block: 26px 0;
  border-top: 1px solid var(--line);
}
.footer__sect-h {
  font-weight: 600;
  color: var(--ink);
}
.footer__sect [aria-current='page'] {
  color: var(--ink);
}
.footer a:not(.logo):hover {
  color: var(--ink);
}

/* overflow:hidden sigue siendo desplazable por script o por foco (scrollIntoView mueve su
   contenido); clip recorta igual sin crear contenedor de scroll. hidden queda de reserva.
   Va al final de las reglas base para ganar a los overflow:hidden de cada componente. */
@supports (overflow: clip) {
  [data-spot],
  .hero,
  .purpose,
  .ba {
    overflow: clip;
  }
}

/* ───────── RESPONSIVE ───────── */

@media (max-width: 1180px) {
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav__bar {
    padding-left: 20px;
    gap: 10px;
  }
  .nav__links + .nav__cta {
    margin-left: auto;
  }
  .pains,
  .spec {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases {
    grid-template-columns: repeat(2, 1fr);
  }
  .notfor ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* por debajo de 900 px los cinco primeros chips ya no caben en una línea: se deja el salto natural */
@media (max-width: 899px) {
  .sectors__brk {
    display: none;
  }
}

@media (max-width: 960px) {
  .calc__body,
  .gets,
  .xp,
  .sit,
  .about {
    grid-template-columns: 1fr;
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .portrait {
    max-width: 420px;
  }
  .bio__facts li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .purpose .gridlines b {
    display: none;
  }

  /* casos: una columna con la pantalla de ejemplo entre la descripción y los pasos */
  .xp {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .xp__info {
    display: contents;
  }
  .xp__sector {
    order: 1;
    align-self: flex-start;
  }
  .xp__pain {
    order: 2;
  }
  .xp__name {
    order: 3;
  }
  .xp__desc {
    order: 4;
  }
  .xp__visual {
    order: 5;
    margin-top: 24px;
  }
  .flow {
    order: 6;
  }
  .xp__info > .btn {
    order: 7;
    align-self: flex-start;
  }
  .xp__more {
    order: 8;
  }

  /* comparativa en tarjetas */
  .cmp {
    padding: 4px var(--cp);
  }
  .cmp::before,
  .cmp__row--head {
    display: none;
  }
  .cmp__row {
    grid-template-columns: 1fr;
    padding-block: 18px;
  }
  .cmp__row > div {
    padding: 7px 4px;
    font-size: 16px;
  }
  .cmp__row > .cmp__k {
    padding: 0 4px 6px;
  }
  .cmp__row > .cmp__us,
  .cmp__row + .cmp__row > .cmp__us {
    margin-top: 6px;
    padding: 12px 14px;
    border: 1.5px solid var(--blue);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(51, 70, 255, 0.14);
  }
  .cmp__us::after {
    content: 'ynspec';
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--blue);
  }

  .ba {
    height: 560px;
  }
  .ba__after {
    padding-inline: 12px;
  }
  .ui .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .ui .rows li:nth-child(n + 4) {
    display: none;
  }
  .note {
    width: 168px;
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding-top: 116px;
  }
  .hero .gridlines b {
    display: none;
  }
  .hero__cta {
    flex-direction: column;
  }

  /* composición móvil: teléfono + presupuesto */
  .stage {
    --dw: 440;
    --dh: 530;
  }
  .layer--win {
    display: none;
  }
  .layer--phone {
    left: 8px;
    top: 0;
  }
  .layer--quote {
    top: 176px;
  }
  .quote {
    width: 236px;
    padding: 16px 18px 18px;
  }
  /* el aviso corto flota a la derecha del teléfono; el largo, sobre su borde inferior */
  .layer--fa {
    left: 60px;
    top: auto;
    bottom: 10px;
  }
  .layer--fb {
    right: 0;
    top: 112px;
    bottom: auto;
  }

  .pains,
  .benefits,
  .spec {
    grid-template-columns: 1fr;
  }
  .pains,
  .benefits {
    gap: 10px;
  }
  .pain,
  .benefit {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .benefit {
    flex-wrap: wrap;
  }
  .benefit h3 {
    flex: 1;
    padding-top: 10px;
  }
  .benefit p {
    flex-basis: 100%;
    max-width: none;
    margin-top: -4px;
  }
  .pain .ico-box,
  .benefit .ico-box {
    width: 44px;
    height: 44px;
  }

  .tabs {
    justify-content: flex-start;
    width: calc(100% + 16px);
    margin-inline: -8px;
  }
  .calc__row {
    grid-template-columns: 1fr;
  }
  .calc__how {
    min-height: 0;
  }

  .sectors__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(var(--pad) * -1);
    padding: 4px var(--pad) 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .sectors__row::-webkit-scrollbar {
    display: none;
  }
  .sectors__label {
    margin-bottom: 6px;
  }
  .xp__info > .btn {
    align-self: stretch;
  }
  .spot {
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 20px;
  }
  .spot .arrow {
    margin-top: 1px;
  }
  .mock .rows small,
  .ui .rows small {
    display: none;
  }
  .mock .rows li,
  .ui .rows li {
    grid-template-columns: 1fr auto;
  }
  /* en pantallas estrechas el texto de la fila parte en dos líneas en vez de truncarse */
  .mock .rows li > span,
  .ui .rows li > span {
    white-space: normal;
    line-height: 1.25;
  }
  .xp {
    padding: 18px;
  }
  .xp__visual {
    padding: 12px;
  }
  .mock__bar i {
    display: none;
  }
  .mock__bar span {
    margin-left: 0;
  }
  .mock__body {
    padding: 16px 14px 10px;
  }
  .mock .kpis {
    gap: 6px;
  }
  .mock .kpi {
    padding: 10px;
  }
  .mock .kpi small {
    min-height: 2.4em;
    font-size: 11px;
    white-space: normal;
  }
  .cases {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--pad) * -1);
    padding: 4px var(--pad) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .cases::-webkit-scrollbar {
    display: none;
  }
  .case {
    flex: 0 0 84%;
    min-height: 340px;
    scroll-snap-align: center;
  }
  /* las tarjetas fuera del carrusel horizontal no intersecan hasta deslizar: aquí no se ocultan */
  .js .case.reveal {
    opacity: 1;
    transform: none;
  }
  .ui .kpi small {
    white-space: normal;
  }

  .notfor ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .outcomes li {
    flex-direction: column;
    gap: 3px;
  }
  .outcomes small {
    text-align: left;
  }
  .contact__btns .btn {
    width: 100%;
  }
  .promises {
    flex-direction: column;
    align-items: center;
  }
  .footer__in {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 340px) {
  .nav__cta {
    display: none;
  }
  .nav__burger {
    margin-left: auto;
  }
}

/* pantallas táctiles (móvil y tableta): áreas de pulsación ≥ 38 px */
@media (pointer: coarse) {
  .btn--sm {
    padding-block: 11px;
  }
  .logo {
    padding-block: 10px;
  }
  .minis {
    gap: 8px;
  }
  .minis a {
    padding: 10px 13px;
  }
  .range {
    height: 40px;
  }
  .footer a:not(.logo) {
    display: inline-block;
    padding-block: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal,
  .js .intro,
  .js .layer,
  .w > span {
    opacity: 1;
    transform: none;
    translate: none;
    scale: none;
  }
  .sw {
    opacity: 1;
  }
  .marquee__track {
    animation: none;
  }
  .stage {
    translate: none;
    scale: none;
  }
}
