/* ==========================================================================
   Pauta — site.css
   Paleta y recursos según el Manual de Identidad (MIC Pauta, 2026):
   blanco, azul #57c3dc, gris #c6c6c7 y negro · Inter Tight · guías azules
   verticales y cuadrado como indicador.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --blue: #57c3dc;
  --grey: #c6c6c7;
  --grey-text: #6e6e70;
  --mark: 13px;
  --text-2: rgba(0, 0, 0, .7);
  --blue-tint: rgba(87, 195, 220, .09);
  --line: var(--grey);
  --guide: var(--blue);

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(1.9rem, 5vw, 3.5rem);
  --gx: max(.45rem, calc((100vw - var(--wrap)) / 2 + var(--gutter) - 1.9rem));
  --header-h: 5rem;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.15rem, 1.07rem + .4vw, 1.4rem);
  --step-2: clamp(1.35rem, 1.2rem + .8vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 3vw, 4.2rem);
  --step-5: clamp(2.7rem, 1.5rem + 6vw, 6.9rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--blue); color: var(--black); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--black); color: var(--white); padding: .75rem 1rem; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Cuadrado: indicador de la marca */
.sq { display: inline-block; width: .5rem; height: .5rem; background: var(--blue); flex: none; }

/* Guías azules verticales: estructura permanente */
.guided { position: relative; }
.guided::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--gx); width: var(--mark);
  border-left: 1px solid var(--guide); border-right: 1px solid var(--guide);
  pointer-events: none;
}

/* Rótulos azules: caja alta, tras el cuadrado */
.label {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3;
  color: var(--blue);
}
.label-light { color: var(--blue); }

/* Logo oficial (SVG del manual; el color del texto hereda currentColor) */
.logo { height: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.3rem; border: 1px solid var(--black);
  font-size: .95rem; font-weight: 500; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-ink { background: var(--black); color: var(--white); }
.btn-ink:hover { background: var(--blue); border-color: var(--blue); color: var(--black); }
.btn-ink:hover .sq { background: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-light:hover { background: var(--blue); border-color: var(--blue); }
.btn-light:hover .sq { background: var(--white); }
.btn-sm { padding: .6rem 1rem; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: 0 0 3px; background: none; border: 0; border-bottom: 1px solid var(--blue);
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: gap .25s var(--ease), border-color .2s;
}
.link-arrow:hover { gap: .7rem; border-color: currentColor; }

/* ---------- Section heads (numerados, subtítulo en gris) ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 56rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title, .section-sub {
  margin: 0; font-size: var(--step-3); font-weight: 500; line-height: 1.12; letter-spacing: -.025em;
}
.section-sub { color: var(--grey-text); font-weight: 400; }
.section-intro { max-width: 40rem; margin: 1.5rem 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--text-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blue);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; color: var(--black); }
.brand .logo { height: 2.9rem; width: auto; }
.main-nav { position: relative; display: none; gap: 2.25rem; }
.main-nav a { padding: .6rem 0; font-size: .95rem; text-decoration: none; transition: color .2s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); }
.nav-ind {
  position: absolute; left: 0; bottom: 0; height: 1px; width: var(--w, 0);
  transform: translateX(var(--l, 0)); background: var(--blue);
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0;
}
.main-nav.has-active .nav-ind { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-cta { display: none; }

.lang-switch { display: flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--grey-text); }
.lang-switch a { padding: .35rem .1rem; color: var(--grey-text); text-decoration: none; transition: color .2s; }
.lang-switch a:hover, .lang-switch a[aria-current] { color: var(--black); }
.lang-switch-light, .lang-switch-light a { color: #6b6b6b; }
.lang-switch-light a:hover, .lang-switch-light a[aria-current] { color: var(--white); }

.menu-btn {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem;
  background: var(--black); color: var(--white); border: 0; cursor: pointer;
}
.menu-btn svg, .menu-close svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.4; }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (max-width: 380px) { .brand .logo { height: 2.1rem; } .header-actions { gap: .8rem; } }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--black); color: var(--white); overflow-y: auto;
  opacity: 0; transition: opacity .25s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--blue); }
.menu-logo { color: var(--white); }
.menu-logo .logo { height: 1.9rem; width: auto; }
.menu-close { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--white); color: var(--black); border: 0; cursor: pointer; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: .9rem; padding: .7rem 0;
  font-size: clamp(2rem, 10vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid #262626;
}
.menu-links a span { color: var(--blue); }
.menu-foot { margin-top: auto; padding-bottom: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; color: var(--grey); }
.menu-foot a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; overflow: clip; }
.hero-grid {
  position: relative; display: grid; align-content: center; gap: 3.5rem;
  min-height: calc(100svh - var(--header-h) - 3.4rem);
  padding-block: clamp(4rem, 9vw, 7rem);
}
.hero-copy { min-width: 0; }
.hero-title {
  max-width: 14.5ch; margin: .25rem 0 0;
  font-size: var(--step-5); font-weight: 500; line-height: 1.04; letter-spacing: -.04em;
}
.hero-title .dot { color: var(--blue); }
.hero-sub { max-width: 34rem; margin: 2rem 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }

/* Indicador que recorre la guía hasta la línea corregida */
.guide-mark {
  position: absolute; z-index: 2; top: 0; left: var(--gx);
  width: var(--mark); height: var(--mark); background: var(--blue);
  opacity: 0; transform: translateY(var(--my, 0));
  transition: transform .8s var(--ease), opacity .5s;
}
.guide-mark.is-on { opacity: 1; }

/* Corrección en vivo */
.nw { white-space: nowrap; }
.fx { position: relative; display: inline-block; }
.fx-m { position: absolute; inset: 0; pointer-events: none; }
.js .hero-title .fx:not(.is-fixed) { color: transparent; }
.js .fx-m::before {
  content: attr(data-w); position: absolute; top: 0; left: -.06em; padding: 0 .06em;
  line-height: inherit; color: var(--black);
  background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 60% / 0 max(2px, .035em);
  transition: background-size .6s var(--ease), opacity .5s var(--ease), transform .6s var(--ease), color .4s;
}
.js .fx-m::after {
  content: attr(data-r); position: absolute; left: 50%; bottom: 67%;
  font-size: .3em; line-height: 1; color: var(--blue);
  opacity: 0; transform: translate(-50%, .4em);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.fx.is-marking .fx-m::before { background-size: 100% max(2px, .035em); color: var(--grey); }
.fx.is-marking .fx-m::after { opacity: 1; transform: translate(-50%, 0); }
.fx.is-fixed .fx-m::before { opacity: 0; transform: translateY(.18em); }
.fx.is-fixed .fx-m::after { opacity: 0; transform: translate(-50%, .9em); }
.fx.is-fixed { animation: fx-in 1.4s var(--ease) both; }
@keyframes fx-in {
  0% { opacity: 0; transform: translateY(-.28em); color: var(--blue); }
  45% { opacity: 1; transform: none; color: var(--blue); }
  100% { opacity: 1; transform: none; color: var(--black); }
}

/* Control de cambios */
.proof-log { display: none; align-self: end; width: 19rem; font-size: .92rem; }
.proof-log .label { margin-bottom: .75rem; }
.pl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pl-list li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.pl-w { color: var(--grey); text-decoration: line-through; text-decoration-color: var(--blue); text-decoration-thickness: 1px; }
.pl-r::before { content: "→"; margin-right: .6rem; color: var(--grey); }
.pl-foot { margin: .75rem 0 0; color: var(--grey-text); font-size: .85rem; }
.js .proof-log [data-log-item] { opacity: 0; transition: opacity .5s; }
.js .proof-log [data-log-item].is-in { opacity: 1; }
.js .proof-log .pl-r { opacity: 0; transition: opacity .5s; }
.js .proof-log .is-ok .pl-r { opacity: 1; }
.js .proof-log [data-log-foot] { opacity: 0; transition: opacity .6s; }
.js .proof-log [data-log-foot].is-in { opacity: 1; }
@media (min-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .proof-log { display: block; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--blue); }
.marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.js .marquee-track { animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; align-items: center; gap: 1.6rem; padding: 1rem 0 1rem 1.6rem;
  font-size: var(--step-1); letter-spacing: -.01em; white-space: nowrap;
}
.marquee-track li::after { content: ""; width: .4em; height: .4em; background: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc-grid { display: grid; column-gap: 4rem; border-top: 1px solid var(--line); }
.svc { padding: 2rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.svc-demo { display: grid; place-items: center; height: 10rem; padding: 1.25rem; margin-bottom: 1.75rem; overflow: hidden; background: var(--blue-tint); }
.svc h3 { margin: 0 0 .6rem; font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.15; }
.svc p { margin: 0; max-width: 46ch; color: var(--text-2); }
@media (min-width: 800px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

/* demo: corrección */
.demo-fix p { margin: 0; font-size: var(--step-2); letter-spacing: -.015em; line-height: 1.3; text-align: center; color: var(--black); }
.demo-fix del, .demo-fix ins { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; text-decoration: none; line-height: 1.3; }
.demo-fix del { position: relative; max-width: 7em; transition: max-width .6s var(--ease), opacity .4s, color .4s; }
.demo-fix del::after {
  content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 1.5px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
.demo-fix ins { max-width: 0; margin-left: 0; color: var(--blue); transition: max-width .7s var(--ease), margin .5s, color .8s; }
.demo-fix[data-step="1"] del, .demo-fix[data-step="2"] del { color: var(--grey); }
.demo-fix[data-step="1"] del::after, .demo-fix[data-step="2"] del::after { transform: scaleX(1); }
.demo-fix[data-step="2"] ins { max-width: 7em; margin-left: .28em; }
.demo-fix[data-step="3"] del { max-width: 0; opacity: 0; }
.demo-fix[data-step="3"] ins { max-width: 7em; color: var(--black); }

/* demo: traducción */
.demo-translate { gap: 1rem; align-content: center; }
.tr-stack { position: relative; width: 100%; height: 1.25em; font-size: var(--step-3); font-weight: 500; letter-spacing: -.03em; text-align: center; }
.tr-word { position: absolute; inset: 0; opacity: 0; transform: translateY(35%); transition: opacity .5s, transform .7s var(--ease); }
.tr-word.is-on { opacity: 1; transform: none; }
.tr-word.was { opacity: 0; transform: translateY(-35%); }
.tr-codes { display: flex; justify-content: center; gap: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--grey-text); }
.tr-codes span { display: inline-flex; align-items: center; gap: .4rem; transition: color .3s; }
.tr-codes span.is-on { color: var(--blue); }

/* demo: tokens */
.demo-tokens { align-content: center; gap: .9rem; }
.tok-line { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; margin: 0; font-size: var(--step-1); }
.tok { padding: .08em .35em; background: rgba(87, 195, 220, .28); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .4s var(--ease); }
.tok:nth-child(2n) { background: rgba(198, 198, 199, .45); }
.tok.on { opacity: 1; transform: none; }
.tok-count { margin: 0; text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--grey-text); }
.tok-count span { color: var(--blue); }

/* demo: checklist */
.demo-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.demo-check li { display: flex; align-items: center; gap: .7rem; color: var(--grey-text); transition: color .3s; }
.demo-check .box { position: relative; width: .95rem; height: .95rem; border: 1px solid currentColor; flex: none; transition: background-color .25s, border-color .25s; }
.demo-check li.on { color: var(--black); }
.demo-check li.on .box { background: var(--blue); border-color: var(--blue); }

/* ---------- Process ---------- */
.process { padding-top: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.step { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--blue); }
.step h3 { margin: 0 0 .5rem; font-size: var(--step-1); letter-spacing: -.015em; line-height: 1.25; }
.step p { margin: 0; color: var(--text-2); max-width: 36ch; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- Lab ---------- */
.lab { --guide: rgba(255, 255, 255, .45); background: var(--black); color: var(--white); }
.lab :focus-visible { outline-color: var(--white); }
.lab .section-sub { color: #8c8c8d; }
.lab-grid { display: grid; gap: 4rem; align-items: center; }
.app-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.5rem; align-items: center;
  padding: 2rem 0; border-top: 1px solid #333; border-bottom: 1px solid #333;
}
.app-icon img { width: 80px; height: 80px; border-radius: 22%; }
.app-meta h3 { margin: 0; font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.15; }
.app-meta h3 a { text-decoration: none; }
.app-meta h3 a:hover { color: var(--blue); }
.app-meta p { margin: .4rem 0 0; color: var(--grey); }
.app-meta .app-tags { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.app-meta .app-tags .os { text-transform: none; }
.app-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: .75rem; }
.lab-privacy { display: inline-block; margin-top: 1.25rem; font-size: .85rem; color: #8c8c8d; text-decoration-color: #444; text-underline-offset: 4px; }
.lab-privacy:hover { color: var(--white); }
.lab-visual { margin: 0; display: flex; justify-content: center; }
.shot { width: 100%; height: auto; border-radius: clamp(14px, 2vw, 22px); }

/* iPhone con las capturas reales en fundido */
.iphone {
  width: min(340px, 78vw); padding: 11px; border-radius: 54px;
  background: #1c1c1e; outline: 1px solid #3a3a3c;
}
.iphone-screen { position: relative; overflow: hidden; border-radius: 44px; aspect-ratio: 1179 / 2556; background: #f2f2f2; }
.iphone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iphone-next { animation: iphone-fade 10s var(--ease) infinite; }
@keyframes iphone-fade {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .iphone-next { display: none; } }
@media (min-width: 1000px) { .lab-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 6rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3.5rem; }
.channels { list-style: none; margin: 0; padding: 0; max-width: 30rem; border-top: 1px solid var(--line); }
.channel { display: grid; gap: .25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.channel-label { font-size: .85rem; color: var(--grey-text); }
.channel-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.channel-value { font-size: var(--step-2); letter-spacing: -.02em; text-decoration: none; transition: color .2s; }
.channel-value:hover { color: var(--blue); }
.copy-btn {
  padding: .35rem .7rem; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  font-size: .8rem; font-weight: 500; transition: border-color .2s, background-color .2s;
}
.copy-btn:hover { border-color: var(--black); }
.copy-btn.is-done { background: var(--blue); border-color: var(--blue); }

.form-card { position: relative; align-self: start; }
.contact-form { display: grid; gap: 1.3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: .85rem .95rem; border: 1px solid var(--line); border-radius: 0; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--black); transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9a9a9b; }
.field input:hover, .field textarea:hover { border-color: #9a9a9b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c92a2a; }
.consent { position: relative; display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input { position: absolute; left: 0; top: .1rem; width: 1.1rem; height: 1.1rem; margin: 0; opacity: 0; cursor: pointer; }
.consent-box { width: 1.1rem; height: 1.1rem; margin-top: .12rem; flex: none; border: 1px solid var(--black); transition: background-color .2s, border-color .2s; }
.consent input:checked + .consent-box { background: var(--blue); border-color: var(--blue); }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--black); outline-offset: 2px; }
.consent a { text-decoration-color: var(--blue); text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: .3rem; }
.form-status { margin: 0; font-size: .9rem; }
.form-status.is-error { color: #b42318; }
.btn-submit[aria-busy="true"] { pointer-events: none; opacity: .75; }
.btn-submit[aria-busy="true"] .sq { animation: blink .9s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.form-done { display: grid; justify-items: start; gap: .5rem; min-height: 24rem; align-content: center; }
.form-done:focus { outline: none; }
.done-text { margin: 0; font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.3; }
.form-done .link-arrow { margin-top: 1.5rem; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; } }

/* ---------- Footer ---------- */
.site-footer { --guide: rgba(255, 255, 255, .35); background: var(--black); color: var(--white); padding-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 2.25rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { text-decoration: none; color: #d9d9d9; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-col-end { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.to-top { font-size: .9rem; }
.footer-mark { display: block; margin-top: clamp(3.5rem, 8vw, 6rem); color: var(--white); }
.footer-mark .logo { width: min(100%, 52rem); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem); padding: 1.25rem 0 1.5rem; border-top: 1px solid #262626;
  font-size: .85rem; color: #8c8c8d;
}

/* ---------- Dársena ---------- */
.d-hero { padding-block: clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.d-hero-grid { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.d-title-row { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.6rem); }
.d-icon { width: clamp(64px, 8vw, 92px); height: auto; aspect-ratio: 1; border-radius: 22%; }
.d-hero h1 { margin: 0; font-size: var(--step-5); line-height: .95; letter-spacing: -.045em; }
.d-kicker { display: block; margin-top: .5rem; font-size: var(--step-1); font-weight: 400; letter-spacing: -.01em; line-height: 1.2; color: var(--grey-text); }
.d-lead { max-width: 32rem; margin: 2rem 0 0; font-size: var(--step-1); line-height: 1.5; color: var(--text-2); }
.d-req { margin: 1rem 0 0; font-size: .9rem; color: var(--grey-text); }
.shots {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 22rem); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { scroll-snap-align: start; }
@media (min-width: 900px) { .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 2rem; overflow: visible; } }

.feat-grid { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 3.5rem; border-top: 1px solid var(--line); }
.feat { padding: 1.75rem 0 2rem; border-bottom: 1px solid var(--line); }
.feat-ico { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--black); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin: 1rem 0 .45rem; font-size: var(--step-1); letter-spacing: -.015em; }
.feat p { margin: 0; color: var(--text-2); }
@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

.d-action { --guide: var(--white); background: var(--blue); }
.d-action :focus-visible { outline-color: var(--black); }
.d-action-grid { display: grid; gap: 2rem 5rem; align-items: start; }
.d-action .section-head { margin-bottom: 0; }
.d-action-body { max-width: 34rem; margin: 1.5rem 0 0; font-size: var(--step-1); line-height: 1.5; }
.flow { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--white); }
.flow li { display: flex; align-items: baseline; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--white); font-size: var(--step-1); line-height: 1.3; }
.flow-n { flex: none; font-weight: 700; }
@media (min-width: 1000px) { .d-action-grid { grid-template-columns: 1fr 1fr; } }

.trial { margin: 1.5rem 0 0; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; border-top: 1px solid var(--line); }
.plan { padding: 1.75rem 0 2rem; border-bottom: 1px solid var(--line); }
.plan-name { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan-price { margin: .75rem 0 0; font-size: var(--step-4); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.plan-per { margin: .5rem 0 0; color: var(--grey-text); }
.plan-note { margin: 1.25rem 0 0; color: var(--text-2); }
.plan-note + .plan-note { margin-top: .4rem; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan { border-bottom: 0; } }

.faq-grid { display: grid; gap: 1rem 5rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; padding: 1.3rem 3rem 1.3rem 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 500; letter-spacing: -.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%);
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq p { max-width: 60ch; margin: 0; padding: 0 0 1.4rem; color: var(--text-2); }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }

.d-cta { padding-block: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.d-cta-inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.d-cta h2 { margin: 0; max-width: 14ch; font-size: var(--step-4); line-height: 1.02; letter-spacing: -.035em; }
.d-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* ---------- Legal ---------- */
.legal { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.legal-grid { display: grid; gap: 2.5rem; }
.legal-head { grid-column: 1 / -1; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal-head h1 { margin: 0; font-size: var(--step-4); line-height: 1.02; letter-spacing: -.035em; }
.legal-updated { margin: .9rem 0 0; font-size: .9rem; color: var(--grey-text); }
.legal-toc p { margin: 0 0 .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; }
.legal-toc a { display: block; padding: .4rem 0 .4rem .9rem; border-left: 1px solid var(--line); font-size: .92rem; color: var(--text-2); text-decoration: none; transition: border-color .2s, color .2s; }
.legal-toc a:hover, .legal-toc a.is-active { border-color: var(--blue); color: var(--black); }
.prose { max-width: 46rem; font-size: 1.0625rem; line-height: 1.7; }
.prose-intro { margin-top: 0; font-size: var(--step-1); line-height: 1.5; }
.prose section { padding-top: 1.25rem; }
.prose h2 { margin: 1.5rem 0 .75rem; font-size: var(--step-2); letter-spacing: -.02em; line-height: 1.2; }
.prose p, .prose li { color: var(--text-2); }
.prose a { text-decoration-color: var(--blue); text-underline-offset: 3px; }
.prose a:hover { color: var(--blue); }
.prose ul { list-style: none; padding: 0; display: grid; gap: .9rem; }
.prose li { position: relative; padding-left: 1.3rem; }
.prose li::before { content: ""; position: absolute; left: 0; top: .66em; width: .45rem; height: .45rem; background: var(--blue); }
.prose strong { color: var(--black); font-weight: 600; }
.owner { display: grid; margin: 1.25rem 0 0; border-top: 1px solid var(--line); }
.owner div { display: grid; gap: .15rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.owner dt { font-size: .85rem; color: var(--grey-text); }
.owner dd { margin: 0; }
.legal-back { margin-top: 3rem; }
@media (min-width: 640px) { .owner div { grid-template-columns: 9rem 1fr; align-items: baseline; } }
@media (min-width: 1000px) {
  .legal-grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- 404 ---------- */
.nf { display: grid; min-height: 65vh; align-items: center; padding-block: 5rem; }
.nf-inner { max-width: 48rem; }
.nf-code { margin: 0; font-size: clamp(6rem, 20vw, 13rem); font-weight: 500; line-height: .9; letter-spacing: -.06em; }
.nf-strike { position: relative; color: var(--grey); }
.nf-strike::after { content: ""; position: absolute; left: -4%; right: -4%; top: 55%; height: max(2px, .025em); background: var(--blue); }
.nf-fix { display: inline-block; font-size: .3em; vertical-align: top; color: var(--blue); margin: 0 .05em; }
.nf h1 { margin: 1.5rem 0 .75rem; font-size: var(--step-3); letter-spacing: -.025em; }
.nf p { margin: 0 0 .5rem; max-width: 40rem; color: var(--text-2); }
.nf-gl { color: var(--grey-text) !important; }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s);
  animation: reveal-fallback 0s 2.5s forwards;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-title .fx { color: inherit; }
  .fx-m, .guide-mark { display: none; }
  .js .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track li[aria-hidden] { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .menu, .marquee, .site-footer, .legal-toc, .form-card, .guided::before { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}