/* Inicio */

/* hero */
.intro { position: relative; background: var(--bg); }
.hero {
  position: sticky; top: 0; z-index: 0;
  height: calc(100dvh - 44px); min-height: 620px;
  display: grid; place-items: center;
  overflow: hidden; background: var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 1;
  background: linear-gradient(to top, var(--bg) 6%, transparent);
  pointer-events: none;
}
.field { position: absolute; inset: 0; overflow: hidden; perspective: 900px; pointer-events: none; }
.tile {
  position: absolute; left: 0; top: 0;
  width: var(--w); container-type: inline-size;
  opacity: 0; will-change: transform, opacity;
  text-align: left;
}
.tile-ph {
  aspect-ratio: var(--r);
  border-radius: clamp(9px, 7cqw, 15px);
  box-shadow: 0 20px 34px -22px rgb(14 37 51 / .36);
}
.tile .pc { box-shadow: 0 0 0 1px var(--line), 0 22px 36px -22px rgb(14 37 51 / .4); }

.hero-in {
  position: relative; z-index: 2;
  width: min(100%, 980px);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 0;
  text-align: center;
}
.hero-kicker { color: var(--ink); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero h1 .ln > span { display: inline-block; }
.hero-sub { max-width: 34em; margin: var(--s-5) auto var(--s-6); font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.38; color: var(--ink-2); text-wrap: balance; }
.js-anim [data-hero-in] { visibility: hidden; }

/* escenario: del sitio a las campañas */
.stage {
  position: relative; z-index: 1;
  height: 100dvh; min-height: 640px;
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + 44px) var(--gutter) 14px;
  background: var(--mist);
  border-radius: 40px 40px 0 0;
  overflow: hidden;
}
.stage-copy { flex: none; width: min(100%, 980px); text-align: center; }
.stage-title { display: grid; font-size: clamp(2rem, 4.2vw, 3.75rem); }
.stage-sub { display: grid; margin-top: var(--s-2); color: var(--ink-2); font-size: clamp(1rem, 1.35vw, 1.1875rem); }
.st-line, .st-sub { grid-area: 1 / 1; }
.js-anim .st-line:not(:first-child), .js-anim .st-sub:not(:first-child) { visibility: hidden; }
.stage-box { position: relative; flex: 1; min-height: 0; width: min(100%, 1180px); margin-top: var(--s-5); display: grid; place-items: center; }
.stage-note { flex: none; margin-top: var(--s-3); font-size: .8125rem; color: var(--ink-2); text-align: center; }

.browser {
  position: relative;
  width: min(100%, calc((100dvh - 320px) * 1.62));
  aspect-ratio: 16 / 10;
  border-radius: var(--r-card);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -56px rgb(14 37 51 / .5);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding-inline: 14px; background: var(--card); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.browser-url {
  display: flex; align-items: center; justify-content: center; gap: .35em;
  flex: 1; max-width: 300px; height: 24px; margin-inline: auto; padding-inline: .8em;
  border-radius: 999px; background: var(--mist); color: var(--ink-2); font-size: .75rem;
  overflow: hidden; white-space: nowrap;
}
.browser-url .ic { width: 1em; height: 1em; }
.site {
  position: relative; height: calc(100% - 38px);
  container-type: size;
  display: grid; grid-template-rows: auto 1fr 31%;
  background: #fff; color: #1D1D1F;
  overflow: hidden;
}
.site-nav { display: flex; align-items: center; gap: 2.2cqw; padding: 1.5cqw 2.4cqw; font-size: 1.35cqw; }
.site-nav b { margin-right: auto; font: 400 2.1cqw var(--serif); letter-spacing: -.02em; }
.site-hero { display: flex; align-items: flex-end; padding: 2.4cqw; --p: 70% 56%; }
.site-h { max-width: 62%; font: 400 5.4cqw/1.02 var(--serif); letter-spacing: -.03em; color: #fff; text-shadow: 0 1px 24px rgb(4 40 60 / .4); }
.site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9cqw; padding: .9cqw; }
.site-block { border-radius: 1cqw; --p: 50% 60%; }
.scan {
  position: absolute; inset: 0 0 auto; height: 24%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, #4FD8CB 34%, transparent));
  border-bottom: 2px solid #4FD8CB;
  opacity: 0; pointer-events: none;
}
.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: .3em;
  padding: .36em .75em .36em .55em;
  border-radius: 999px; background: #fff; color: #1D1D1F;
  font-size: clamp(.625rem, 1.3cqw, .875rem); font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgb(14 37 51 / .5);
}
.chip .ic { width: 1.1em; height: 1.1em; color: #0B7676; }
.chip-1 { left: 2.4%; top: 37%; }
.chip-2 { right: 6%; top: 20%; }
.chip-3 { left: 26%; bottom: 7%; }
.chip-4 { right: 12%; bottom: 20%; }
.js-anim .chip { visibility: hidden; }

.board {
  position: absolute; inset: 0;
  display: grid; align-items: center; justify-content: center;
  grid-template-columns: minmax(0, 30fr) minmax(0, 24fr) minmax(0, 34fr) minmax(0, 26fr);
  column-gap: clamp(.75rem, 1.6vw, 1.25rem);
  width: min(100%, calc((100dvh - 300px) * 2.5));
  margin-inline: auto;
}
.slot { position: relative; container-type: inline-size; }
.slot-col { display: grid; gap: clamp(.75rem, 1.6vw, 1.25rem); }
.slot-tag { margin-top: .55em; font-size: .8125rem; font-weight: 500; color: var(--ink-2); text-align: center; }
.js-anim .board .slot { visibility: hidden; }

/* plataformas */
.platforms { position: relative; z-index: 2; padding-block: clamp(5rem, 8vw, 8rem); background: var(--bg); text-align: center; }
.platforms-h { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 3.6vw, 3.25rem); margin-top: var(--s-7); color: var(--ink-2); }
.logos svg { width: 30px; height: 30px; fill: currentColor; transition: color .25s var(--out), transform .3s var(--spring); }
.logos li:hover svg { color: var(--ink); transform: translateY(-2px); }

/* lo esencial */
.highlights { position: relative; z-index: 2; padding-block: var(--sec); background: var(--mist); }
.hl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.hl-track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding-inline: var(--pad); padding-block: 4px;
  scrollbar-width: none;
}
.hl-track::-webkit-scrollbar { display: none; }
.hl-card {
  position: relative; flex: 0 0 min(900px, 86vw); height: clamp(520px, 68vh, 660px);
  display: flex; flex-direction: column;
  border-radius: var(--r-card); background-color: var(--card);
  scroll-snap-align: start; overflow: hidden;
}
.hl-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hl-text { position: relative; z-index: 1; max-width: 38em; padding: clamp(1.75rem, 3vw, 2.5rem); }
.hl-text h3, .hl-bottom h3, .report h3 { font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.08; letter-spacing: -.03em; }
.hl-text p, .hl-bottom p, .report p { max-width: 36em; margin-top: var(--s-3); color: var(--ink-2); }
.hl-text-light h3, .hl-text-light p, .hl-bottom h3, .hl-bottom p { color: #fff; }

/* tres piezas con la misma promesa */
.trio { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr 1.05fr; align-items: end; gap: 0; padding-inline: clamp(1rem, 3vw, 2.5rem); }
.trio-c { container-type: inline-size; position: relative; transition: transform .9s var(--spring); }
.trio-tag { position: absolute; left: 50%; top: -1.9em; translate: -50% 0; padding: .2em .8em; border-radius: 999px; background: var(--mist); font-size: .8125rem; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .5s var(--out) .3s; }
.hl-card.is-on .trio-tag { opacity: 1; }
.trio-mail { z-index: 1; margin-bottom: 18%; transform: translateX(10%) rotate(-1deg); }
.trio-ad { z-index: 2; margin-bottom: -26%; }
.trio-ad .pc-ad > p { padding: .1em .8em .7em; font-weight: 500; }
.trio-post { z-index: 1; margin-bottom: 2%; transform: translateX(-10%) rotate(1deg); }
.hl-card.is-on .trio-mail { transform: translateX(3%) rotate(-3deg); }
.hl-card.is-on .trio-post { transform: translateX(-3%) rotate(3deg); }
.pc-story { aspect-ratio: 4/5; color: #fff; --z: auto 120%; --p: 74% 54%; display: flex; align-items: flex-end; }
.pc-story::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgb(9 30 44 / .78), transparent); }
.pc-story p { position: relative; z-index: 1; padding: .9em 1em; font: 400 1.32em/1.08 var(--serif); letter-spacing: -.02em; }

/* equipo */
.hl-team > img { object-position: 50% 30%; }
.hl-scrim-bottom { position: absolute; inset: 38% 0 0; background: linear-gradient(to top, rgb(14 37 51 / .9) 12%, transparent); }
.hl-bottom { position: relative; z-index: 1; margin-top: auto; padding: clamp(1.75rem, 3vw, 2.5rem); }
.hl-bottom p { color: rgb(255 255 255 / .92); }

/* recorrido de un contacto */
.hl-path { background-color: var(--navy); }
.hl-path .hl-text p { color: #C4D0D6; }
.journey { position: relative; flex: 1; min-height: 0; margin: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem); }
.journey-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.j-base, .j-prog { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.j-base { stroke: rgb(255 255 255 / .16); stroke-dasharray: 3 7; }
.j-prog { stroke: #4FD8CB; stroke-linecap: round; }
.j-dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #4FD8CB; box-shadow: 0 0 0 6px rgb(79 216 203 / .22); }
.j-steps li {
  position: absolute; width: max-content; max-width: 34%;
  padding: .55em .9em; border-radius: 14px; background: rgb(255 255 255 / .08);
  color: #fff; font-size: .9375rem; line-height: 1.25;
  transition: background-color .35s var(--out), color .35s var(--out), transform .4s var(--spring);
}
.j-steps b { display: block; font-weight: 500; }
.j-steps small { color: #C4D0D6; font-size: .8125rem; transition: color .35s var(--out); }
.j-steps li.is-on { background: #fff; color: #1D1D1F; transform: translateY(-3px); }
.j-steps li.is-on small { color: #5B6670; }

/* revisión del sitio */
.audit { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.5rem); padding: 0 clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem); }
.audit-site { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--card); }
.audit-page { position: relative; flex: 1; --p: 60% 50%; }
.pin {
  position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #1D1D1F; color: #fff; font-size: .8125rem; font-weight: 600;
  box-shadow: 0 0 0 5px rgb(255 255 255 / .34);
  transition: background-color .4s var(--out) var(--d, 0s), color .4s var(--out) var(--d, 0s);
}
.pin-1 { left: 12%; top: 16%; --d: .5s; }
.pin-2 { left: 56%; top: 42%; --d: 1.2s; }
.pin-3 { left: 26%; top: 72%; --d: 1.9s; }
.hl-card.is-on .pin { background: #4FD8CB; color: #06201F; }
.audit-list { display: flex; flex-direction: column; justify-content: center; gap: .625rem; }
.audit-list li { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 16px; background: var(--mist); font-size: .9688rem; font-weight: 500; }
.a-n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: .75rem; font-weight: 600; transition: background-color .4s var(--out) var(--d, 0s), color .4s var(--out) var(--d, 0s); }
.audit-list li:nth-child(1) { --d: .5s; }
.audit-list li:nth-child(2) { --d: 1.2s; }
.audit-list li:nth-child(3) { --d: 1.9s; }
.hl-card.is-on .a-n { background: var(--accent); color: var(--on-accent); }
.a-flip { position: relative; display: grid; flex: 1; overflow: hidden; }
.a-bad, .a-ok { grid-area: 1 / 1; transition: transform .5s var(--spring) var(--d, 0s), opacity .35s var(--out) var(--d, 0s); }
.a-ok { transform: translateY(110%); opacity: 0; color: var(--accent); }
.hl-card.is-on .a-bad { transform: translateY(-110%); opacity: 0; }
.hl-card.is-on .a-ok { transform: none; opacity: 1; }

/* reporte */
.hl-report > img { object-position: 0% 40%; }
.report { position: absolute; right: clamp(1rem, 2.4vw, 1.75rem); top: 50%; translate: 0 -50%; width: min(44%, 400px); padding: clamp(1.25rem, 2.4vw, 1.75rem); border-radius: 22px; background: rgb(255 255 255 / .94); color: #1D1D1F; }
.report h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.report p { color: #55555A; margin-top: var(--s-2); }
.rep { margin-top: var(--s-4); display: grid; gap: .5rem; font-size: .9063rem; line-height: 1.3; }
.rep li { padding: .6rem .8rem; border-radius: 12px; background: #F1EFEB; transform: translateY(10px); opacity: 0; transition: transform .6s var(--spring) var(--d, 0s), opacity .5s var(--out) var(--d, 0s); }
.rep li:nth-child(2) { --d: .14s; }
.rep li:nth-child(3) { --d: .28s; }
.hl-card.is-on .rep li { transform: none; opacity: 1; }
.rep b { display: block; color: #0B7676; font-weight: 600; font-size: .8125rem; }

.hl-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: var(--s-6); }
.hl-dots { display: flex; align-items: center; gap: 10px; height: 44px; padding-inline: 20px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: color-mix(in srgb, var(--ink) 36%, transparent); overflow: hidden; transition: width .45s var(--spring); }
.dot::before { content: ""; position: absolute; inset: -18px -5px; }
.dot i { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.dot.is-on { width: 44px; overflow: hidden; }
.hl-pause { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); transition: transform .18s var(--spring); }
.hl-pause:active { transform: scale(.94); }
.hl-pause .ic-play { display: none; }
.hl-pause[aria-pressed="true"] .ic-pause { display: none; }
.hl-pause[aria-pressed="true"] .ic-play { display: block; }

/* tres puertas */
.doors { position: relative; z-index: 2; padding-block: var(--sec) 0; background: var(--bg); }
.doors h2 { max-width: 16em; margin-bottom: var(--s-7); }
.doors-row { display: flex; gap: 10px; height: min(78dvh, 760px); padding-inline: clamp(.5rem, 1.2vw, 1rem); }
.door {
  position: relative; flex: 1 1 0; min-width: 0; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; background: var(--navy);
  transition: flex-grow .85s var(--spring);
}
.door.is-on { flex-grow: 2.7; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--out); }
.door.is-on img { scale: 1.04; }
.door-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(8 18 26 / .86) 8%, rgb(8 18 26 / .12) 62%); }
.door-in { position: absolute; left: clamp(1.25rem, 2.6vw, 2.25rem); bottom: clamp(1.25rem, 2.6vw, 2.25rem); width: min(30rem, calc(100vw - 6rem)); display: grid; justify-items: start; gap: .35rem; }
.door-for { font-size: 1rem; font-weight: 500; opacity: .92; }
.door-name { font-size: clamp(2.25rem, 3.9vw, 3.75rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.door-what, .door-go { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--out), transform .6s var(--spring); }
.door-what { max-width: 26em; color: rgb(255 255 255 / .92); }
.door-go { display: inline-flex; align-items: center; gap: .5em; margin-top: .6rem; padding: .65em 1.1em; border-radius: 999px; background: #fff; color: #1D1D1F; font-size: .9375rem; font-weight: 500; }
.door-go .ic { width: 1em; height: 1em; transition: transform .3s var(--spring); }
.door:hover .door-go .ic { transform: translateX(3px); }
.door.is-on .door-what, .door.is-on .door-go { opacity: 1; transform: none; transition-delay: .18s; }

/* frase */
.phrase { position: relative; z-index: 2; padding-block: var(--sec); background: var(--bg); }
.phrase-text { font-size: clamp(2.1rem, 5.4vw, 5.25rem); font-weight: 500; line-height: 1.14; letter-spacing: -.035em; text-wrap: pretty; }
.phrase-text .w { display: inline-block; }
.pm {
  display: inline-block; width: 1.9em; height: .82em; margin-inline: .06em; vertical-align: -.06em; border-radius: 999px;
  background: var(--im) var(--p, 50% 50%) / cover no-repeat;
}

/* cómo funciona */
.how {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(2rem, 5vw, 5rem);
  min-height: 100dvh; padding: calc(var(--nav-h) + 40px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 40px;
  background: var(--navy); color: #F3F4F3;
}
.how h2 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); }
.how-list { position: relative; margin-top: var(--s-6); display: grid; gap: .25rem; }
.how-step { padding: .7rem 0 .7rem 1.25rem; box-shadow: inset 2px 0 0 rgb(255 255 255 / .14); color: rgb(255 255 255 / .5); transition: color .4s var(--out), box-shadow .4s var(--out); }
.how-step b { font-size: clamp(1.25rem, 1.9vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; }
.how-step p { display: grid; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; color: #C4D0D6; font-size: 1rem; transition: max-height .5s var(--spring), opacity .35s var(--out), margin .4s var(--spring); }
.how-step.is-on { color: #fff; box-shadow: inset 2px 0 0 #4FD8CB; }
.how-step.is-on p { max-height: 5em; margin-top: .25rem; opacity: 1; }
.device {
  --ink: #1D1D1F; --ink-2: #5B6670; --card: #FFFFFF; --mist: #F1EFEB; --accent: #0B7676; --bg: #FFFFFF; --line: rgb(29 29 31 / .12); --on-accent: #fff;
  position: relative; aspect-ratio: 5 / 4; width: 100%; max-height: calc(100dvh - 160px); border-radius: var(--r-card); background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 50px 90px -50px rgb(0 0 0 / .7);
}
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 3.4vw, 3rem); opacity: 0; visibility: hidden; transform: translateY(18px) scale(.985); transition: opacity .4s var(--out), transform .6s var(--spring), visibility .4s; }
.scr.is-on { opacity: 1; visibility: visible; transform: none; }
.scr-url { align-items: center; gap: var(--s-4); background: #F1EFEB; }
.scr-cap { color: var(--ink-2); }
.scr-input { display: flex; align-items: center; gap: .6rem; width: min(100%, 440px); height: 64px; padding-inline: 1.25rem; border-radius: 999px; background: #fff; font-size: clamp(1.125rem, 1.9vw, 1.5rem); box-shadow: 0 0 0 2px var(--accent); }
.scr-input i { width: 2px; height: 1.2em; margin-left: -.35rem; background: var(--accent); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.scr-btn { padding: .8em 1.5em; border-radius: 999px; background: var(--accent); color: #fff; font-size: .9375rem; font-weight: 500; }
.scr-read { flex-direction: row; align-items: stretch; gap: var(--s-4); padding: clamp(1rem, 2.4vw, 1.75rem); }
.scr-page { position: relative; flex: 1.1; border-radius: 16px; overflow: hidden; --p: 70% 50%; }
.scr-scan { position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(to bottom, transparent, rgb(79 216 203 / .4)); border-bottom: 2px solid #4FD8CB; animation: scan 2.8s var(--spring) infinite alternate; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(240%); } }
.scr-found { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.scr-found li { padding: .75rem .9rem; border-radius: 14px; background: #F1EFEB; font-size: .9375rem; line-height: 1.25; opacity: 0; transform: translateX(14px); transition: opacity .4s var(--out) var(--d, 0s), transform .6s var(--spring) var(--d, 0s); }
.scr-found li:nth-child(2) { --d: .3s; }
.scr-found li:nth-child(3) { --d: .6s; }
.scr.is-on .scr-found li { opacity: 1; transform: none; }
.scr-found b { display: block; color: var(--accent); font-size: .8125rem; font-weight: 600; }
.scr-doc { margin-bottom: var(--s-4); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; }
.scr-plan ol { display: grid; gap: .625rem; counter-reset: p; }
.scr-plan li { counter-increment: p; display: grid; grid-template-columns: 2.1rem 1fr; column-gap: .75rem; padding: .85rem 1rem; border-radius: 14px; background: #F1EFEB; }
.scr-plan li::before { content: counter(p); grid-row: span 2; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: .875rem; }
.scr-plan b { font-weight: 500; }
.scr-plan li span { color: var(--ink-2); font-size: .9063rem; line-height: 1.3; }
.scr-cfg { background: #F1EFEB; }
.switches { padding: 6px 18px; border-radius: var(--r-tile); background: var(--card); }
.switches li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 12px; font-size: .9688rem; }
.switches li + li { border-top: 1px solid var(--line); }
.switches i { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgb(29 29 31 / .18); transition: background-color .3s var(--out) var(--d, 0s); }
.switches i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(14 37 51 / .3); transition: transform .34s var(--spring) var(--d, 0s); }
.scr.is-on .switches i { background: var(--accent); }
.scr.is-on .switches i::after { transform: translateX(16px); }
.switches li:nth-child(2) i { --d: .16s; }
.switches li:nth-child(3) i { --d: .32s; }
.switches li:nth-child(4) i { --d: .48s; }
.switches li:nth-child(5) i { --d: .64s; }
.scr-live { flex-direction: row; align-items: center; gap: 12px; padding: clamp(1rem, 2.4vw, 1.75rem); background: #0B1A22; }
.live { position: relative; flex: 1; border-radius: 16px; overflow: hidden; background: #fff; color: #1D1D1F; font-size: .875rem; opacity: 0; transform: translateY(30px); transition: opacity .5s var(--out) var(--d, 0s), transform .7s var(--spring) var(--d, 0s); }
.live-2 { --d: .16s; margin-top: -8%; }
.live-3 { --d: .32s; }
.scr.is-on .live { opacity: 1; transform: none; }
.live > div { aspect-ratio: 4/5; --p: 50% 60%; }
.live b { display: block; padding: .6em .75em .7em; font-weight: 500; line-height: 1.2; }
.live-tag { position: absolute; left: 8px; top: 8px; z-index: 1; display: inline-flex; align-items: center; gap: .35em; padding: .25em .65em .25em .5em; border-radius: 999px; background: #fff; font-size: .75rem; font-weight: 600; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0B7676; }

@media (max-width: 1023px) {
  .how { grid-template-columns: 1fr; align-content: center; gap: var(--s-5); }
  .how-list { margin-top: var(--s-4); display: grid; }
  .how-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .3s var(--out), visibility .3s; }
  .how-step.is-on { opacity: 1; visibility: visible; }
  .device { order: -1; aspect-ratio: 4 / 3; }
  .audit { grid-template-columns: 1fr; }
  .audit-site { min-height: 150px; }
  .report { position: relative; right: auto; top: auto; translate: none; width: auto; margin: auto var(--s-3) var(--s-3); }
  .hl-report > img { object-position: 20% 30%; }
  .doors-row { flex-direction: column; height: auto; }
  .door, .door.is-on { flex: none; height: 62vw; min-height: 340px; }
  .door-what, .door-go { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .hl-head { flex-direction: column; align-items: flex-start; }
  .hl-card { height: 560px; }
  .trio { grid-template-columns: 1fr 1fr; padding-inline: .75rem; }
  .trio-mail { display: none; }
  .trio-ad { margin-bottom: -30%; }
  .trio-post { transform: translateX(-4%) rotate(1deg); }
  .journey-line, .j-dot { display: none; }
  .journey { display: flex; align-items: flex-end; }
  .j-steps { display: grid; gap: .4rem; width: 100%; }
  .j-steps li { position: relative; left: auto !important; top: auto !important; max-width: none; width: auto; }
  .audit-list li { padding: .6rem .8rem; font-size: .875rem; }
  .rep { display: none; }
  .door, .door.is-on { height: 96vw; }
  .phrase-text { line-height: 1.2; }
  .scr-read { flex-direction: column; }
  .scr-found li { padding: .45rem .7rem; font-size: .8125rem; }
  .scr-plan li { padding: .55rem .7rem; }
  .scr-plan li span { font-size: .8125rem; }
  .scr-doc { margin-bottom: .6rem; }
  .switches li { padding-block: 7px; font-size: .875rem; }
  .how { padding-top: calc(var(--nav-h) + 26px); }
}

/* sin motion: todo visible y sin fijar */
html:not(.js-anim) .how { min-height: 0; }
html:not(.js-anim) .how-step { color: #fff; opacity: 1; visibility: visible; grid-area: auto; }
html:not(.js-anim) .how-step p { max-height: 5em; margin-top: .25rem; opacity: 1; }

/* cierre */
.final { position: relative; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; background: var(--bg); text-align: center; }
.final-in { position: relative; z-index: 2; width: min(100%, 860px); padding: var(--sec) var(--gutter); }
.final h2 { font-size: clamp(3rem, 7vw, 7rem); line-height: 1; letter-spacing: -.045em; }
.final .lead { margin: var(--s-5) auto var(--s-6); }


@media (max-width: 767px) {
  .hero { height: calc(100dvh - 32px); min-height: 640px; }
  .hero-sub { margin-bottom: var(--s-5); }
  .stage { border-radius: 28px 28px 0 0; padding-top: calc(var(--nav-h) + 22px); }
  .stage-box { margin-top: var(--s-4); }
  .browser { width: 100%; aspect-ratio: 5 / 4.4; border-radius: 20px; }
  .site-h { font-size: 8cqw; max-width: 80%; }
  .site-nav { font-size: 2.6cqw; gap: 3cqw; padding: 2.4cqw 3.2cqw; }
  .site-nav b { font-size: 3.8cqw; }
  .chip { font-size: .6875rem; }
  .chip-1 { top: 27%; }
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); grid-auto-rows: min-content; row-gap: .7rem; width: 100%; align-content: center; }
  .slot-col { grid-column: 1 / 3; }
  .slot-col-end { display: none; }
  .slot-tag { display: none; }
}

/* sin motion: todo visible y sin fijar */
html:not(.js-anim) .hero { position: relative; }
html:not(.js-anim) .stage { height: auto; overflow: visible; border-radius: 40px 40px 0 0; padding-bottom: var(--s-8); }
html:not(.js-anim) .stage-title, html:not(.js-anim) .stage-sub { display: block; }
html:not(.js-anim) .st-line, html:not(.js-anim) .st-sub { display: block; }
html:not(.js-anim) .st-line + .st-line { margin-top: .2em; }
html:not(.js-anim) .stage-box { display: block; flex: none; }
html:not(.js-anim) .browser { width: min(100%, 760px); margin-inline: auto; }
html:not(.js-anim) .board { position: relative; width: 100%; margin-top: var(--s-7); }
html:not(.js-anim) .scan { display: none; }
