/* =========================================================
   Pop Up · estilos (rediseño editorial, 11/11/2026)
   Marca: bermellón #F04D2D, tinta #261613, blanco. Azul solo para «próximamente».
   Archivo variable (ancho 62–125 %). Movimiento: ease-out fuerte, sin rebotes.
   Todo el contenido se ve sin JS; el JS solo lo enriquece.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marca */
  --pop: #F04D2D;
  --pop-strong: #D23C1A;               /* bermellón para fondos con texto blanco (contraste 4,8:1) */
  --pop-ink: oklch(0.53 0.19 33);      /* bermellón oscurecido para texto pequeño sobre blanco */
  --pop-soft: oklch(0.955 0.025 33);
  --pop-calm: #D76549;                /* bermellón suavizado para el fondo de «¿Hablamos de tu web?» (mismo contraste que --pop) */
  --ink: #261613;
  --ink-2: oklch(0.38 0.022 30);
  --muted: oklch(0.5 0.018 30);
  --white: #FFFFFF;
  --mist: oklch(0.975 0.007 33);
  --line: oklch(0.9 0.012 30);
  --night: oklch(0.17 0.022 30);
  --on-ink: oklch(0.82 0.016 30);
  --line-ink: oklch(0.34 0.025 30);
  /* Solo para servicios que aún no se pueden contratar */
  --mar: oklch(0.45 0.09 240);
  --mar-soft: oklch(0.955 0.02 240);
  --mar-line: oklch(0.74 0.06 240);

  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 120ms; --t-fast: 180ms; --t-ui: 280ms; --t-slow: 560ms;

  /* Capas */
  --z-nav: 50; --z-mcta: 60; --z-sheet: 90; --z-tip: 100;

  /* Medidas */
  --wrap: 1280px;
  --gut: clamp(18px, 4.4vw, 56px);
  --nav-h: 64px;
  --r-s: 8px; --r-m: 12px; --r-l: 18px;
  --sec: clamp(88px, 11vw, 160px);

  --logo-dot: var(--pop);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%; font-size: 1.0625rem; line-height: 1.55;
  font-variant-numeric: tabular-nums; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--pop); color: var(--white); }

.sr { 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 { position: absolute; left: 12px; top: -60px; z-index: var(--z-tip); background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; transition: top var(--t-fast) var(--ease-out); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.logo { width: auto; height: 26px; aspect-ratio: 3737 / 892; color: var(--ink); overflow: visible; }

/* ---------- Tipos ---------- */
.h2 {
  font-size: clamp(2.15rem, 1.15rem + 3.6vw, 4.4rem);
  font-stretch: 125%; font-weight: 850; line-height: .98; letter-spacing: -0.03em;
  text-wrap: balance; max-width: 15ch;
}
.h2--wide { max-width: 21ch; }
.lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); max-width: 50ch; text-wrap: pretty; }
.lead strong { color: var(--ink); font-weight: 700; }
.head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5.5vw, 76px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 6vw; } }

/* ---------- Botones ---------- */
.btn {
  --btn-dot: var(--pop);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-stretch: 108%; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-press) var(--ease-out);
  -webkit-user-select: none; user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--pop { background: var(--pop-strong); color: var(--white); }
.btn--line { background: transparent; color: currentColor; border-color: currentColor; }
.btn--blue { background: transparent; color: var(--mar); border-color: var(--mar-line); }
/* Flecha que avanza (botones principales) */
.btn--arrow i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--pop); flex: none; transition: transform var(--t-ui) var(--ease-out); }
.btn--pop.btn--arrow i { background: var(--ink); }
.btn--arrow i::after { content: ""; position: absolute; left: 8px; top: 9px; width: 7px; height: 7px; border-top: 2.2px solid var(--white); border-right: 2.2px solid var(--white); transform: rotate(45deg); }
.btn--arrow { padding-right: 12px; }
@media (hover: hover) {
  .btn--ink:hover { background: var(--night); }
  .btn--pop:hover { background: var(--ink); color: var(--white); }
  .btn--pop.btn--arrow:hover i { background: var(--pop); }
  .btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
  .btn--blue:hover { background: var(--mar); color: var(--white); border-color: var(--mar); }
  .btn--arrow:hover i { transform: translateX(4px); }
}

.soon { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; border: 1.5px dashed var(--mar); color: var(--mar); font-size: .75rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }

/* =========================================================
   CABECERA · siempre visible, toma la paleta de la sección de debajo
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-h);
  --nav-bg: var(--white); --nav-fg: var(--ink); --nav-line: none; --logo-dot: var(--pop);
  color: var(--nav-fg); transition: color 420ms var(--ease-out);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--nav-bg); box-shadow: var(--nav-line);
  transition: background-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.nav.is-scrolled { --nav-line: 0 1px 0 var(--line); }
.nav[data-tone="light"] { --nav-bg: var(--white); }
.nav[data-tone="mist"]  { --nav-bg: var(--mist); }
.nav[data-tone="pop"]   { --nav-bg: var(--pop-calm); --logo-dot: var(--white); --nav-line: none; }
.nav[data-tone="mar"]   { --nav-bg: var(--mar-soft); --logo-dot: var(--mar); }
.nav[data-tone="dark"]  { --nav-bg: var(--ink); --nav-fg: var(--white); }
.nav[data-tone="night"] { --nav-bg: var(--night); --nav-fg: var(--white); }
.nav.is-scrolled[data-tone="dark"], .nav.is-scrolled[data-tone="night"] { --nav-line: 0 1px 0 var(--line-ink); }
.nav .logo { color: var(--nav-fg); transition: color 420ms var(--ease-out); }
.nav__in { height: 100%; padding-inline: clamp(16px, 2vw, 32px); display: flex; align-items: center; gap: 24px; }
.nav__logo { display: block; padding: 6px 0; margin-right: auto; }
.nav__logo .logo { height: 28px; }
.nav__links { display: none; gap: 30px; }
.nav__links a { position: relative; font-weight: 600; font-stretch: 104%; font-size: .98rem; text-decoration: none; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); } }
.nav__cta { display: none; min-height: 42px; padding: 0 18px; font-size: .95rem; transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out), transform var(--t-press) var(--ease-out); }
.nav[data-tone="dark"] .nav__cta, .nav[data-tone="night"] .nav__cta { background: var(--pop-strong); color: var(--white); }
.nav[data-tone="pop"] .nav__cta { background: var(--ink); }
.nav__burger { width: 48px; height: 48px; margin-right: -10px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; }
.nav__burger i { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--nav-fg); transition: background-color 420ms var(--ease-out); }
.nav__burger i:last-child { width: 16px; justify-self: end; }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1000px) {
  .nav__in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav__logo { justify-self: start; margin-right: 0; }
  .nav__links { display: flex; }
  .nav__cta { grid-column: 3; justify-self: end; }
  .nav__burger { display: none; }
}
/* Logo: el punto entra saltando al cargar */
.nav__logo { --dot-y: 0px; }
html.js .nav__logo { --dot-y: 210px; }
html.js.logo-popped .nav__logo { --dot-y: 0px; }
@media (hover: hover) { html.js.logo-popped .nav__logo:hover { --dot-y: -90px; } }

/* Menú móvil */
.sheet { position: fixed; inset: 0; z-index: var(--z-sheet); background: var(--ink); color: var(--white); clip-path: inset(0 0 100% 0); transition: clip-path 460ms var(--ease-sheet); overflow-y: auto; }
.sheet.is-open { clip-path: inset(0 0 0 0); }
.sheet__in { min-height: 100%; padding: 96px var(--gut) 40px; display: flex; flex-direction: column; gap: 32px; }
.sheet nav { display: grid; gap: 2px; }
.sheet nav a { font-size: clamp(2rem, 9vw, 2.8rem); font-stretch: 122%; font-weight: 850; letter-spacing: -0.02em; text-decoration: none; padding: 4px 0; opacity: 0; transform: translateY(14px); transition: opacity 360ms var(--ease-out), transform 460ms var(--ease-out); }
.sheet.is-open nav a { opacity: 1; transform: none; }
.sheet.is-open nav a:nth-child(2) { transition-delay: 40ms; } .sheet.is-open nav a:nth-child(3) { transition-delay: 80ms; }
.sheet.is-open nav a:nth-child(4) { transition-delay: 120ms; } .sheet.is-open nav a:nth-child(5) { transition-delay: 160ms; }
.sheet.is-open nav a:nth-child(6) { transition-delay: 200ms; }
.sheet .btn { align-self: flex-start; }
.sheet__where { color: var(--on-ink); font-size: .95rem; }
.sheet__close { position: absolute; top: calc((var(--nav-h) - 48px) / 2); right: calc(clamp(16px, 2vw, 32px) - 10px); width: 48px; height: 48px; border: 0; background: transparent; display: grid; place-content: center; }
.sheet__close i { grid-area: 1 / 1; width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transform: rotate(45deg); }
.sheet__close i + i { transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(36px, 7vh, 88px)) 0 clamp(64px, 9vh, 110px); overflow: clip; }
.hero__in {
  width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gut);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 72px); align-items: center;
}
@media (min-width: 1000px) {
  .hero { min-height: min(100svh, 980px); display: flex; align-items: center; }
  .hero__in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); padding-inline: clamp(32px, 5vw, 80px); }
}
.hero__copy { position: relative; z-index: 2; container-type: inline-size; }
.hero__where { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 650; color: var(--ink-2); margin-bottom: clamp(18px, 2.6vw, 30px); }
.hero__where i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--pop); flex: none; }
.hero__where i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--pop); opacity: 0; animation: ping 2.6s var(--ease-out) infinite 1.2s; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.hero__title {
  font-size: min(5.75rem, calc((100vw - 2 * var(--gut)) / 7.4)); font-size: min(5.75rem, 13.6cqi);
  font-stretch: 125%; font-weight: 880; line-height: .94; letter-spacing: -0.035em;
}
@media (max-width: 999px) { .hero__title { font-stretch: 112%; font-size: min(5.75rem, 15cqi); } }
.hl { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.hl__in { display: inline-block; white-space: nowrap; }
.hl--pop .hl__in { color: var(--pop); }
.ch { display: inline-block; translate: 0 calc(var(--lift, 0) * -0.14em); transition: translate 380ms var(--ease-out); }
.hero__lead { margin-top: clamp(22px, 3vw, 32px); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3.4vw, 38px); }

/* =========================================================
   SHOWCASE 3D DE SERVICIOS (portada)
   Tres tarjetas en abanico 3D: una al frente, dos detrás a los lados.
   Se cambian con flechas, puntos, teclado, clic en una tarjeta lateral o arrastrando.
   ========================================================= */
.sh { position: relative; width: 100%; max-width: 640px; justify-self: center; container-type: inline-size; display: grid; }
.sh__stage {
  --cw: 56cqi; --ch: calc(var(--cw) * 1.32); --side: 33cqi;
  position: relative; height: calc(var(--ch) + 24px); perspective: 1600px; perspective-origin: 50% 40%;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none;
  transform-style: preserve-3d;
}
.sh__stage.is-drag { cursor: grabbing; }
@container (max-width: 520px) { .sh__stage { --cw: 74cqi; --side: 44cqi; } }

.shc {
  --x: 0px; --z: 0px; --ry: 0deg; --s: 1; --o: 1;
  position: absolute; left: 50%; top: 12px; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2);
  container-type: inline-size; border-radius: 22px;
  transform: translate3d(calc(var(--x) + var(--dx, 0px)), 0, var(--z)) rotateY(var(--ry)) scale(var(--s));
  opacity: var(--o);
  transition: transform 1150ms cubic-bezier(0.65, 0, 0.35, 1), opacity 900ms cubic-bezier(0.65, 0, 0.35, 1), filter 900ms var(--ease-out), box-shadow 900ms var(--ease-out);
  will-change: transform;
}
.sh__stage.is-drag .shc { transition: none; }
.shc[data-pos="0"] { z-index: 3; box-shadow: 0 50px 80px -50px oklch(0.22 0.028 30 / .55); }
.shc[data-pos="1"], .shc[data-pos="-1"] { z-index: 1; --z: -220px; --s: .86; --o: .62; filter: saturate(.6); cursor: pointer; }
.shc[data-pos="1"] { --x: var(--side); --ry: -34deg; }
.shc[data-pos="-1"] { --x: calc(var(--side) * -1); --ry: 34deg; }
@media (hover: hover) { .shc[data-pos="1"]:hover, .shc[data-pos="-1"]:hover { --o: .85; filter: none; } }
.shc:not([data-pos="0"]) .shc__cta { pointer-events: none; }

.shc__in {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3cqi;
  padding: 7cqi; border-radius: inherit; overflow: hidden;
  transform: rotateX(var(--trx, 0deg)) rotateY(var(--try, 0deg)); transition: transform 600ms var(--ease-out);
}
.shc__top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.shc__n { font-size: max(13px, 4.2cqi); font-weight: 850; font-stretch: 112%; letter-spacing: .02em; }
.shc__plans { font-size: max(11px, 3.4cqi); font-weight: 700; padding: .8cqi 2.6cqi; border-radius: 999px; }
.shc__vis { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.shc__name { font-size: max(24px, 10cqi); font-stretch: 122%; font-weight: 880; letter-spacing: -0.025em; line-height: .98; }
.shc__txt { font-size: max(14px, 4.3cqi); line-height: 1.4; max-width: 30ch; }
.shc__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 1.6cqi 1.6cqi 1.6cqi 4.4cqi; border-radius: 999px; font-weight: 750; font-size: max(14px, 4cqi); text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.shc__cta i { position: relative; width: max(26px, 8cqi); height: max(26px, 8cqi); border-radius: 50%; flex: none; transition: transform var(--t-ui) var(--ease-out); }
.shc__cta i::after { content: ""; position: absolute; left: 34%; top: 37%; width: 26%; height: 26%; border-top: 2.2px solid currentColor; border-right: 2.2px solid currentColor; transform: rotate(45deg); }
.shc__cta:active { transform: scale(.97); }
@media (hover: hover) { .shc__cta:hover i { transform: translateX(4px); } }

/* 01 · Diseño web: blanca */
.shc--web { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.shc--web .shc__n { color: var(--pop); }
.shc--web .shc__plans { background: var(--mist); color: var(--ink-2); }
.shc--web .shc__vis { background: var(--mist); }
.shc--web .shc__txt { color: var(--ink-2); }
.shc--web .shc__cta { background: var(--ink); color: var(--white); }
.shc--web .shc__cta i { background: var(--pop); color: var(--white); }
.v-web { width: 84%; border-radius: 10px; background: var(--white); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 22px 34px -26px oklch(0.22 0.028 30 / .55); display: grid; }
.v-bar { display: flex; align-items: center; gap: 1.4cqi; padding: 2cqi 3cqi; border-bottom: 1px solid var(--line); background: var(--mist); }
.v-bar i { width: 2cqi; height: 2cqi; border-radius: 50%; background: var(--line); }
.v-bar em { margin-left: 1.6cqi; font-style: normal; font-size: max(9px, 2.8cqi); font-weight: 650; color: var(--muted); }
.v-page { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3cqi; padding: 4cqi; }
.v-txt { display: flex; flex-direction: column; gap: 1.8cqi; }
.v-txt b { font-size: max(13px, 5.6cqi); font-stretch: 122%; font-weight: 880; line-height: 1; letter-spacing: -0.02em; }
.v-txt small { height: 1.6cqi; border-radius: 3px; background: var(--line); }
.v-txt small.s { width: 66%; }
.v-txt em { align-self: flex-start; margin-top: 1cqi; font-style: normal; font-size: max(9px, 2.6cqi); font-weight: 750; padding: 1.2cqi 3cqi; border-radius: 999px; background: var(--pop); color: var(--white); }
.v-img { position: relative; border-radius: 8px; background: var(--pop-soft); overflow: hidden; }
.v-img i { position: absolute; width: 46%; aspect-ratio: 1; right: 16%; top: 18%; border-radius: 50%; background: var(--pop); }
.v-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqi; padding: 0 4cqi 4cqi; }
.v-cards i { height: 9cqi; border-radius: 6px; background: var(--mist); }

/* 01 · Diseño web: alguien busca, sale la web y se abre (WECAN, demo de diseño) */
.v-g { position: relative; width: 100%; height: 100%; padding: 4.6cqi; display: flex; flex-direction: column; gap: 3cqi; overflow: hidden; }
.v-gbar { display: flex; align-items: center; gap: 2cqi; height: 10cqi; padding: 0 3.6cqi; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 20px -14px oklch(0.22 0.028 30 / .5); font-size: max(11px, 3.8cqi); font-weight: 600; color: var(--ink); }
.v-mag { position: relative; width: 3.4cqi; height: 3.4cqi; border: 2px solid var(--muted); border-radius: 50%; flex: none; }
.v-mag::after { content: ""; position: absolute; right: -1.6cqi; bottom: -1.4cqi; width: 1.8cqi; height: 2px; background: var(--muted); transform: rotate(45deg); }
.v-q { white-space: nowrap; overflow: hidden; }
.v-caret { width: 2px; height: 4.6cqi; background: var(--pop); flex: none; }
html.js .v-caret { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.v-res { display: grid; gap: 2.4cqi; }
.v-res li { display: grid; gap: .8cqi; padding: 2.6cqi 3.2cqi; border-radius: 3cqi; background: var(--white); border: 1px solid var(--line); }
.v-res small { font-size: max(9px, 2.8cqi); color: var(--muted); }
.v-res b { font-size: max(11px, 3.8cqi); color: oklch(0.45 0.09 240); font-weight: 750; line-height: 1.2; }
.v-res span { font-size: max(9px, 2.8cqi); color: var(--ink-2); }
.v-res li i { height: 1.8cqi; border-radius: 3px; background: var(--mist); }
.v-res li i.s { width: 60%; }
.v-hit { position: relative; transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out); }
.v-site { position: absolute; inset: 3cqi; border-radius: 3cqi; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 26px 40px -28px oklch(0.22 0.028 30 / .6); display: flex; flex-direction: column; }
.v-site .v-bar { flex: none; }
.v-site img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: top left; }
.v-cursor { position: absolute; left: 70%; top: 74%; width: 5cqi; height: 6cqi; opacity: 0; pointer-events: none;
  background: var(--ink); clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 58% 94%, 40% 56%, 74% 56%); }
.v-demo { position: absolute; right: 4cqi; bottom: 3cqi; z-index: 3; padding: .6cqi 2.4cqi; border-radius: 999px; background: oklch(0.22 0.028 30 / .78); color: var(--white); font-size: max(9px, 2.6cqi); font-weight: 700; }

/* Escenas (main.js pone data-step): sin JS se ve la web abierta */
.v-res li, .v-res .v-li { opacity: 0; transform: translateY(8px); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.v-res > :nth-child(2) { transition-delay: 90ms; } .v-res > :nth-child(3) { transition-delay: 180ms; }
.v-site { opacity: 0; transform: translateY(14%) scale(.96); transition: opacity 520ms var(--ease-out), transform 760ms var(--ease-out); }
.v-g[data-step="results"] .v-res > *, .v-g[data-step="hit"] .v-res > *, .v-g[data-step="site"] .v-res > * { opacity: 1; transform: none; }
.v-g[data-step="hit"] .v-hit { border-color: var(--pop); box-shadow: 0 0 0 2px var(--pop); transform: scale(1.02); }
.v-g[data-step="hit"] .v-cursor { opacity: 1; left: 58%; top: 34%; transition: left 700ms var(--ease-out), top 700ms var(--ease-out), opacity 200ms; }
.v-g .v-cursor { transition: left 700ms var(--ease-out), top 700ms var(--ease-out), opacity 300ms; }
.v-g[data-step="site"] .v-site { opacity: 1; transform: none; }
.v-g[data-step="site"] .v-site img { animation: site-pan 6s ease-in-out both; }
@keyframes site-pan { from { transform: scale(1.12); transform-origin: 30% 20%; } to { transform: scale(1); transform-origin: 30% 20%; } }
html:not(.js) .v-site, .v-g:not([data-step]) .v-site { opacity: 1; transform: none; }

/* 02 · Pasarelas de pago: bermellón */
.shc--pay { background: var(--pop); color: var(--white); }
.shc--pay .shc__n { color: var(--ink); }
.shc--pay .shc__plans { background: oklch(1 0 0 / .2); color: var(--white); }
.shc--pay .shc__vis { background: oklch(0.58 0.19 33); }
.shc--pay .shc__cta { background: var(--white); color: var(--ink); }
.shc--pay .shc__cta i { background: var(--ink); color: var(--white); }
.v-pay { position: relative; width: 82%; display: grid; justify-items: center; gap: 4cqi; }
.v-card { position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 12px; background: var(--ink); color: var(--white); padding: 6cqi; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4cqi; box-shadow: 0 26px 40px -24px oklch(0 0 0 / .6); transform: rotate(-6deg); }
.v-chip { position: absolute; top: 6cqi; left: 6cqi; width: 11cqi; height: 8.4cqi; border-radius: 2cqi; background: oklch(0.82 0.1 85); }
.v-num { font-size: max(10px, 3.6cqi); letter-spacing: .1em; font-weight: 700; }
.v-exp { font-size: max(9px, 2.8cqi); color: var(--on-ink); }
.v-ok { display: inline-flex; align-items: center; gap: 1.6cqi; padding: 1.6cqi 4cqi 1.6cqi 2.6cqi; border-radius: 999px; background: var(--white); color: var(--ink); font-size: max(11px, 3.6cqi); font-weight: 800; box-shadow: 0 14px 24px -16px oklch(0 0 0 / .5); }
.v-ok svg { width: max(12px, 4cqi); height: max(12px, 4cqi); fill: none; stroke: var(--pop); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* 02 · Pagos: la tarjeta paga, se procesa y sale la pantalla verde de compra hecha */
.v-pay2 { position: relative; width: 100%; height: 100%; overflow: hidden; }
.vp-checkout { position: absolute; right: 6%; top: 10%; width: 50%; display: grid; gap: 2.2cqi; padding: 4cqi; border-radius: 3.4cqi; background: var(--white); color: var(--ink); box-shadow: 0 20px 34px -22px oklch(0 0 0 / .55); }
.vp-checkout small { font-size: max(9px, 2.8cqi); font-weight: 700; color: var(--muted); }
.vp-line { display: grid; gap: 1.2cqi; }
.vp-line i { height: 1.6cqi; border-radius: 3px; background: var(--mist); }
.vp-line i.s { width: 60%; }
.vp-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.6cqi; border-top: 1px dashed var(--line); }
.vp-total b { font-size: max(10px, 3cqi); }
.vp-total strong { font-size: max(13px, 4.6cqi); font-stretch: 112%; font-weight: 880; }
.vp-btn { display: block; text-align: center; padding: 2cqi; border-radius: 999px; background: var(--ink); color: var(--white); font-size: max(10px, 3.2cqi); font-weight: 800; transition: background-color 300ms var(--ease-out), transform 200ms var(--ease-out); }
.v-pay2 .v-card { position: absolute; left: 6%; top: 22%; width: 46%; aspect-ratio: 1.586; padding: 4cqi; border-radius: 2.6cqi; transform: rotate(-8deg); transition: transform 1000ms var(--ease-out), opacity 400ms var(--ease-out); z-index: 2; }
.v-pay2 .v-chip { top: 4cqi; left: 4cqi; width: 8cqi; height: 6cqi; }
.v-pay2 .v-num { font-size: max(9px, 2.8cqi); }
.v-pay2 .v-exp { font-size: max(8px, 2.3cqi); }
.vp-proc { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3cqi; background: oklch(0.22 0.028 30 / .82); color: var(--white); font-size: max(11px, 3.4cqi); font-weight: 700; opacity: 0; transition: opacity 300ms var(--ease-out); }
.vp-proc i { width: 9cqi; height: 9cqi; border-radius: 50%; border: 1cqi solid oklch(1 0 0 / .25); border-top-color: var(--white); animation: spin 900ms linear infinite; }
.vp-ok { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqi; text-align: center; background: oklch(0.6 0.15 152); color: var(--white); opacity: 0; transition: opacity 360ms var(--ease-out); }
.vp-check { display: grid; place-items: center; width: 16cqi; height: 16cqi; border-radius: 50%; background: var(--white); transform: scale(.4); transition: transform 600ms var(--ease-out); }
.vp-check svg { width: 60%; height: 60%; fill: none; stroke: oklch(0.6 0.15 152); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 500ms var(--ease-out) 250ms; }
.vp-ok b { font-size: max(15px, 5.6cqi); font-stretch: 116%; font-weight: 880; letter-spacing: -0.01em; }
.vp-ok small { font-size: max(10px, 3cqi); font-weight: 650; opacity: .92; }
/* Pasos (main.js pone data-step): la tarjeta entra hacia «Pagar», procesa y sale el verde */
.v-pay2[data-step="swipe"] .v-card, .v-pay2[data-step="proc"] .v-card { transform: translate(52%, 26%) rotate(0deg) scale(.82); }
.v-pay2[data-step="swipe"] .vp-btn { background: var(--pop); transform: scale(.96); }
.v-pay2[data-step="proc"] .vp-proc { opacity: 1; }
.v-pay2[data-step="ok"] .vp-ok, html:not(.js) .vp-ok { opacity: 1; }
.v-pay2[data-step="ok"] .vp-check, html:not(.js) .vp-check { transform: scale(1); }
.v-pay2[data-step="ok"] .vp-check svg, html:not(.js) .vp-check svg { stroke-dashoffset: 0; }

@container (max-width: 300px) { .vp-line { display: none; } .vp-checkout { top: 8%; gap: 1.8cqi; padding: 3.4cqi; } }
/* 03 · Adaptada a móvil: tinta */
.shc--mob { background: var(--ink); color: var(--white); }
.shc--mob .shc__n { color: var(--pop); }
.shc--mob .shc__plans { background: oklch(1 0 0 / .1); color: var(--on-ink); }
.shc--mob .shc__vis { background: var(--night); }
.shc--mob .shc__txt { color: var(--on-ink); }
.shc--mob .shc__cta { background: var(--pop-strong); color: var(--white); }
.shc--mob .shc__cta i { background: var(--ink); color: var(--white); }
.v-mob { position: relative; width: 100%; height: 100%; }
.v-phone { position: absolute; left: 26%; top: 9%; width: 32%; aspect-ratio: 9 / 18; padding: 1.4cqi; border-radius: 5cqi; background: oklch(0.3 0.025 30); box-shadow: 0 24px 40px -24px oklch(0 0 0 / .8); }
.v-phone--b { left: auto; right: 14%; top: 22%; width: 27%; transform: rotate(8deg); }
.v-scr { display: flex; flex-direction: column; gap: 1.6cqi; width: 100%; height: 100%; padding: 3.4cqi 2.4cqi; border-radius: 3.8cqi; background: var(--white); }
.v-notch { align-self: center; width: 34%; height: 1.6cqi; border-radius: 999px; background: var(--ink); margin-bottom: 1cqi; }
.v-scr b { height: 3.2cqi; width: 78%; border-radius: 3px; background: var(--ink); }
.v-scr small { height: 1.4cqi; border-radius: 2px; background: var(--line); }
.v-scr small.s { width: 66%; }
.v-hero { flex: 1; border-radius: 2.4cqi; background: var(--pop-soft); }
.v-scr em { height: 5cqi; border-radius: 999px; background: var(--pop); }

/* 03 · Móvil: alguien busca desde el teléfono, sale Pop Up y se abre nuestra web */
.v-phone--solo { left: 50%; top: 6%; width: 70%; margin-left: -35%; aspect-ratio: 9 / 19; padding: 1.6cqi; border-radius: 7cqi; transform: none; }
.v-pscr { position: relative; display: flex; flex-direction: column; gap: 2cqi; width: 100%; height: 100%; padding: 3cqi 2.6cqi; border-radius: 5.6cqi; background: var(--white); overflow: hidden; color: var(--ink); }
.v-pscr .v-notch { flex: none; }
.v-g--ph .v-gbar { height: 9cqi; padding: 0 3cqi; gap: 1.6cqi; font-size: max(11px, 3.7cqi); }
.v-g--ph .v-mag { width: 3.2cqi; height: 3.2cqi; }
.v-g--ph .v-caret { height: 4.2cqi; }
.v-g--ph .v-res { display: grid; gap: 1.8cqi; }
.v-li { display: grid; gap: .6cqi; padding: 2cqi 2.4cqi; border-radius: 2.4cqi; background: var(--white); border: 1px solid var(--line); }
.v-g--ph .v-res small { font-size: max(9px, 2.8cqi); }
.v-g--ph .v-res b { font-size: max(11px, 3.8cqi); }
.v-g--ph .v-res span { font-size: max(9px, 2.8cqi); }
.v-li i { display: block; height: 1.4cqi; border-radius: 3px; background: var(--mist); }
.v-li i.s { width: 60%; }
.v-g--ph .v-site { inset: 0; border: 0; border-radius: inherit; box-shadow: none; }
.v-g--ph .v-site img { object-position: top center; }
.v-keys { position: absolute; left: 0; right: 0; top: 27%; display: grid; gap: 1.2cqi; padding: 2.4cqi; background: oklch(0.9 0.012 30); border-top: 1px solid var(--line); transform: translateY(110%); opacity: 0; transition: transform 420ms var(--ease-out), opacity 300ms var(--ease-out); }
.v-keys i { height: 3.4cqi; border-radius: 1cqi; background: repeating-linear-gradient(90deg, var(--white) 0 12%, transparent 12% 14%); }
.v-g--ph[data-step="type"] .v-keys { transform: none; opacity: 1; }
.v-g--ph .v-cursor { clip-path: none; width: 7cqi; height: 7cqi; border-radius: 50%; background: oklch(0.645 0.205 33 / .25); border: 2px solid var(--pop); left: 60%; top: 80%; }
.v-g--ph[data-step="hit"] .v-cursor { left: 52%; top: 20%; }
.v-g--ph[data-step="site"] .v-site img { animation: phone-scroll 6s ease-in-out both; }
@keyframes phone-scroll { from { transform: translateY(0); } to { transform: translateY(-14%); } }

/* Ligero movimiento de los gráficos de la tarjeta del frente */
@keyframes sh-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2.6cqi; } }
@keyframes sh-float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 2.2cqi; } }
.hero.is-off .shc * { animation-play-state: paused !important; }

/* Navegación */

/* Entrada: el abanico sube y se abre */
html.js .sh__stage { animation: sh-in 1100ms var(--ease-out) 300ms both; }
@keyframes sh-in { from { opacity: 0; transform: translateY(40px) rotateX(10deg); } }

/* Barra de navegador de las capturas de proyectos */
.mk__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: var(--mist); border-bottom: 1px solid var(--line); }
.mk__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }


/* Entrada del hero (solo con JS) */
html.js .hero__where { animation: fade-up 700ms var(--ease-out) 60ms both; }
html.js .hl__in { animation: line-rise 950ms var(--ease-out) both; animation-delay: calc(140ms + var(--i, 0) * 100ms); }
html.js .hl:nth-child(2) .hl__in { --i: 1; }
html.js .hl:nth-child(3) .hl__in { --i: 2; }
html.js .hero__lead { animation: fade-up 760ms var(--ease-out) 520ms both; }
html.js .hero__ctas { animation: fade-up 760ms var(--ease-out) 620ms both; }
@keyframes line-rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }

/* =========================================================
   SERVICIOS Y TARIFAS
   ========================================================= */
.pricing { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.facts { display: grid; gap: 10px; margin-top: 24px; }
.facts li { position: relative; padding-left: 21px; color: var(--ink-2); }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--pop); }
.facts b { color: var(--ink); font-weight: 750; }

.pricing__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pricing__ask { font-weight: 700; font-stretch: 108%; }

/* Control segmentado */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; border: 0; background: transparent; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); transition: color var(--t-ui) var(--ease-out); }
.seg button[aria-checked="true"] { color: var(--white); }
.seg__ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--sw, 0); border-radius: 999px; background: var(--ink); transform: translateX(var(--sx, 0)); transition: transform 420ms var(--ease-out), width 420ms var(--ease-out); }
html:not(.js) .seg button[aria-checked="true"] { background: var(--ink); }

.plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 600px) and (max-width: 959px) { .plan { padding: 30px 34px; } .plan__cost { grid-template-columns: 1fr 1fr; } .plan__block + .plan__block { border-top: 0; border-left: 1px dashed var(--line); padding-left: 24px; } .plan--rec .plan__block + .plan__block { border-left-color: var(--line-ink); } .plan__for { min-height: 0; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--r-l);
  background: var(--white); border: 1px solid var(--line);
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out);
}
@media (hover: hover) { .plan:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 24px 40px -32px oklch(0.22 0.028 30 / .5); } }
.plan__name { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); font-stretch: 125%; font-weight: 850; letter-spacing: -0.02em; line-height: 1; }
.plan__for { color: var(--ink-2); font-size: .98rem; min-height: 3em; margin-top: 8px; }
.plan__cost { display: grid; gap: 0; margin: 22px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan__block { display: grid; gap: 2px; padding: 16px 0; container-type: inline-size; }
.plan__block + .plan__block { border-top: 1px dashed var(--line); }
.plan__label { font-size: .86rem; font-weight: 700; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__from { font-size: .95rem; font-weight: 650; color: var(--ink-2); }
.plan__num { font-size: clamp(2.2rem, 1.7rem + 1.6vw, 3rem); font-stretch: 120%; font-weight: 880; letter-spacing: -0.03em; line-height: 1.05; }
.plan__fee { font-size: 1.6rem; font-stretch: 116%; font-weight: 850; letter-spacing: -0.02em; line-height: 1.1; color: var(--pop-ink); }
.plan__price small { font-size: 1rem; font-weight: 650; color: var(--ink-2); }
.plan__unit { font-size: .9rem; color: var(--ink-2); }
/* El precio nunca se parte: a plazos («6 × 116,50 €») se ajusta al ancho de la tarjeta */
.plan__num { white-space: nowrap; }
.plan.is-plazo .plan__num { font-size: min(2.6rem, 14.5cqi); }
.plan__num.is-swap, .plan__unit.is-swap { animation: swap 380ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.plan__list { display: grid; gap: 10px; margin-bottom: 22px; }
.plan__list li { position: relative; padding-left: 22px; font-size: .98rem; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--pop); }
.plan__list b { font-weight: 750; }
.plan__note { font-size: .86rem; color: var(--muted); margin: -8px 0 18px; }
.plan__cta { margin-top: auto; width: 100%; }
.plan__badge { position: absolute; top: -13px; left: clamp(24px, 2.4vw, 32px); padding: 4px 12px; border-radius: 999px; background: var(--pop-strong); color: var(--white); font-size: .8rem; font-weight: 750; }
/* Recomendado: tinta */
.plan--rec { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan--rec .plan__for, .plan--rec .plan__unit, .plan--rec .plan__price small, .plan--rec .plan__from { color: var(--on-ink); }
.plan--rec .plan__label { color: var(--on-ink); }
.plan--rec .plan__fee { color: var(--pop); }
.plan--rec .plan__cost, .plan--rec .plan__block + .plan__block { border-color: var(--line-ink); }
@media (hover: hover) { .plan--rec:hover { border-color: var(--pop); } }
.plan--rec :focus-visible { outline-color: var(--white); }
.term { padding: 0; border: 0; background: none; text-decoration: none; font-weight: 650; }
.pricing__tax { margin-top: 18px; font-size: .92rem; color: var(--ink-2); }

/* Comparativa con checks */
.cmp { margin-top: clamp(56px, 7vw, 96px); }
.cmp__title { font: inherit; }
.cmp__toggle {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1.5px solid var(--ink); border-radius: var(--r-l); background: var(--white); text-align: left;
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), border-radius var(--t-ui) var(--ease-out);
}
.cmp__toggle span { flex: 1; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); font-stretch: 120%; font-weight: 850; letter-spacing: -0.015em; line-height: 1.1; }
.cmp__toggle small { font-size: .9rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.cmp__toggle i { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--pop); flex: none; transition: transform 420ms var(--ease-out), background-color var(--t-ui) var(--ease-out); }
.cmp__toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -4.5px; border-right: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(45deg); }
@media (hover: hover) { .cmp__toggle:hover { background: var(--mist); } }
.cmp.is-open .cmp__toggle i { transform: rotate(180deg); background: var(--ink); }
.cmp__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease-out); }
.cmp__inner { overflow: hidden; min-height: 0; }
.cmp__inner .cmp__scroll { margin-top: 14px; }
.cmp.is-open .cmp__body { grid-template-rows: 1fr; }
html:not(.js) .cmp__body { grid-template-rows: 1fr; }
html:not(.js) .cmp__toggle small, html:not(.js) .cmp__toggle i { display: none; }
.cmp__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); -webkit-overflow-scrolling: touch; }
.cmp__table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.cmp__table th, .cmp__table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp__table tbody tr:last-child th, .cmp__table tbody tr:last-child td { border-bottom: 0; }
.cmp__table tbody th { text-align: left; font-weight: 650; color: var(--ink-2); position: sticky; left: 0; background: var(--white); z-index: 1; }
.cmp__table thead th { font-size: 1.05rem; font-weight: 850; font-stretch: 112%; background: var(--mist); }
.cmp__table thead th:first-child { background: var(--mist); position: sticky; left: 0; z-index: 2; }
.cmp__table thead th em { display: block; margin: 6px auto 0; width: fit-content; padding: 2px 10px; border-radius: 999px; background: var(--pop-strong); color: var(--white); font-style: normal; font-size: .72rem; font-weight: 750; }
.cmp__table .is-rec { background: var(--pop-soft); }
.cmp__table thead .is-rec { background: var(--ink); color: var(--white); }
.cmp__money td { font-weight: 850; font-stretch: 112%; font-size: 1.1rem; }
@media (hover: hover) { .cmp__table tbody tr:hover th, .cmp__table tbody tr:hover td:not(.is-rec) { background: var(--mist); } }
.ck { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pop); vertical-align: middle; }
.ck::after { content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white); transform: rotate(-45deg); }
.nx { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--line); vertical-align: middle; }
.cmp__fine { margin-top: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
  .cmp__table { min-width: 0; table-layout: fixed; font-size: .8rem; }
  .cmp__table th, .cmp__table td { padding: 10px 5px; }
  .cmp__table thead th:first-child, .cmp__table tbody th { width: 34%; padding-left: 10px; }
  .cmp__table tbody th { position: static; font-size: .8rem; line-height: 1.3; }
  .cmp__table thead th { font-size: .8rem; line-height: 1.2; }
  .cmp__table thead th em { display: none; }
  .cmp__money td { font-size: .85rem; }
  .ck { width: 20px; height: 20px; }
  .ck::after { width: 8px; height: 4px; border-width: 2px; }
  .cmp__table .soon { font-size: .52rem; padding: 1px 4px; letter-spacing: -0.01em; }
  .cmp__table td { overflow-wrap: anywhere; }
}
/* Los checks entran uno a uno al llegar */
html.js .cmp:not(.is-open) .ck { transform: scale(.4); opacity: 0; }
html.js .cmp.is-open .ck { transition-delay: 220ms; }
html.js .cmp .ck { transition: transform 420ms var(--ease-out), opacity 300ms var(--ease-out); }

/* Condiciones */
.terms { margin-top: clamp(56px, 7vw, 96px); }
.terms__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-stretch: 120%; font-weight: 850; letter-spacing: -0.015em; margin-bottom: 20px; }
.terms__list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; }
@media (min-width: 700px) { .terms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.terms__list > div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.terms__list dt { font-weight: 750; }
.terms__list dd { color: var(--ink-2); font-size: .97rem; }

/* =========================================================
   MANTENIMIENTO
   ========================================================= */
.care { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: var(--sec) 0; background: var(--ink); color: var(--white); border-radius: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0 0; }
.care .lead { color: var(--on-ink); margin-top: 22px; }
.care__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 980px) { .care__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 6vw; } }
.care__list { display: grid; margin-top: 36px; counter-reset: c; }
.care__list li { counter-increment: c; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 8px; padding: 16px 0; border-top: 1px solid var(--line-ink); }
.care__list li::before { content: counter(c, decimal-leading-zero); grid-row: span 2; font-size: .85rem; font-weight: 700; color: var(--on-ink); padding-top: 3px; }
.care__list b { font-size: 1.15rem; font-stretch: 112%; font-weight: 800; }
.care__list span { color: var(--on-ink); }
.care__list strong { color: var(--white); font-weight: 700; }
.care__list .is-key b { color: var(--pop); }
.care__art { display: grid; place-items: center; }
.st { width: min(100%, 420px); padding: 22px; border-radius: var(--r-l); background: var(--white); color: var(--ink); display: grid; gap: 16px; box-shadow: 0 40px 70px -40px oklch(0 0 0 / .7); }
.st__top { display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; }
.st__top b { font-weight: 800; }
.st__live { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: oklch(0.5 0.13 150); }
.st__live i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.st__rows { display: grid; border-top: 1px solid var(--line); }
.st__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.st__rows em { font-style: normal; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.st__rows em::before { content: ""; width: 12px; height: 7px; border-left: 2.2px solid var(--pop); border-bottom: 2.2px solid var(--pop); transform: rotate(-45deg) translateY(-2px); }
html.js .care__art .st__rows li { opacity: 0; transform: translateX(-10px); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
html.js .care__art.is-in .st__rows li { opacity: 1; transform: none; }
html.js .care__art.is-in .st__rows li:nth-child(2) { transition-delay: 120ms; }
html.js .care__art.is-in .st__rows li:nth-child(3) { transition-delay: 240ms; }
html.js .care__art.is-in .st__rows li:nth-child(4) { transition-delay: 360ms; }
/* Tarjeta «cambio pedido → hecho» (ciclo de 6 s) */
.ed { display: grid; gap: 10px; padding: 16px 18px 18px; border-radius: var(--r-m); background: var(--ink); color: var(--white); }
.ed__top { display: flex; align-items: center; justify-content: space-between; }
.ed__top small { font-size: .82rem; color: var(--on-ink); font-weight: 650; }
.ed__top i { width: 8px; height: 8px; border-radius: 50%; background: var(--pop); }
.ed__txt { font-size: 1.2rem; font-stretch: 114%; font-weight: 800; line-height: 1.15; }
.ed__bar { display: block; height: 5px; border-radius: 999px; background: var(--night); overflow: hidden; }
.ed__bar i { display: block; height: 100%; border-radius: inherit; background: var(--pop); transform-origin: left; }
.ed__ok { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .82rem; font-weight: 800; }
.ed__ok svg { width: 13px; height: 13px; fill: none; stroke: var(--pop); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html.js .ed__bar i { animation: ed-bar 6s var(--ease-io) infinite; }
html.js .ed__ok { animation: ed-ok 6s var(--ease-out) infinite; }
html.js .ed__txt { animation: ed-txt 6s linear infinite; }
.care.is-off .ed__bar i, .care.is-off .ed__ok, .care.is-off .ed__txt { animation-play-state: paused; }
@keyframes ed-bar { 0% { transform: scaleX(0); opacity: 1; } 42%, 90% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes ed-ok { 0%, 44% { opacity: 0; transform: translateY(4px) scale(.94); } 52%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes ed-txt { 0% { opacity: 0; } 6%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* =========================================================
   PROYECTOS
   ========================================================= */
.work { padding: var(--sec) 0; }
.work__disclaimer { padding: 16px 18px; border-radius: var(--r-m); background: var(--pop-soft); color: var(--ink); font-weight: 600; max-width: 52ch; }
.work__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px) 32px; }
@media (min-width: 900px) { .work__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case--wide { grid-column: 1 / -1; } }
.case { display: grid; gap: 22px; }
.case__media { position: relative; padding: clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px) 0; border-radius: var(--r-l); background: var(--mist); overflow: hidden; aspect-ratio: 16 / 11; }
.case--wide .case__media { aspect-ratio: 16 / 8; }
@media (max-width: 899px) { .case--wide .case__media { aspect-ratio: 16 / 11; } }
.case__desk { width: 84%; border-radius: 10px 10px 0 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 30px 60px -40px oklch(0.22 0.028 30 / .55); transition: transform 700ms var(--ease-out); }
.case--wide .case__desk { width: 70%; }
.case__desk img, .case__desk video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--mist); }
.case__phone { position: absolute; right: clamp(14px, 4%, 48px); bottom: clamp(-60px, -6%, -20px); width: 24%; padding: 5px; border-radius: 20px; background: var(--ink); box-shadow: 0 30px 50px -28px oklch(0.22 0.028 30 / .6); transition: transform 700ms var(--ease-out); }
.case--wide .case__phone { width: 17%; right: 8%; }
.case__phone img, .case__phone video { display: block; border-radius: 15px; width: 100%; height: auto; aspect-ratio: 500 / 900; object-fit: cover; object-position: top; background: var(--ink); }
@media (hover: hover) {
  .case:hover .case__desk { transform: translateY(-8px); }
  .case:hover .case__phone { transform: translateY(-16px) rotate(-2deg); }
}
.case__info { display: grid; gap: 6px; }
@media (min-width: 900px) { .case--wide .case__info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: 32px; } .case--wide .case__notes { grid-column: 2; grid-row: 1 / span 2; } }
.case__kind { font-size: .9rem; font-weight: 650; color: var(--pop-ink); }
.case__name { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); font-stretch: 125%; font-weight: 850; letter-spacing: -0.025em; line-height: 1; }
.case__notes { display: grid; gap: 6px; margin-top: 8px; color: var(--ink-2); }
.case__notes li { padding-left: 18px; position: relative; }
.case__notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--pop); }
.work__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.work__cta p { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-stretch: 120%; font-weight: 850; letter-spacing: -0.02em; }

/* =========================================================
   CÓMO TRABAJAMOS
   ========================================================= */
.how { padding: var(--sec) 0; background: var(--mist); }
.steps { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; --p: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.steps li { position: relative; display: grid; gap: 8px; padding: 26px 0 26px 64px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps li { padding: 64px 0 0; border-top: 0; } }
.steps__n { position: absolute; left: 0; top: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); font-weight: 850; font-stretch: 112%; transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out); z-index: 1; }
@media (min-width: 900px) { .steps__n { top: 0; } }
.steps li.is-on .steps__n, .steps li.is-done .steps__n { background: var(--pop-strong); border-color: var(--pop-strong); color: var(--white); }
.steps li.is-on .steps__n { box-shadow: 0 0 0 7px var(--pop-soft); }
.steps__n { transition: background-color 420ms var(--ease-out), color 420ms var(--ease-out), border-color 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
.steps li > b, .steps li > span:last-child { transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out); }
html.js .steps li:not(.is-on):not(.is-done) > b, html.js .steps li:not(.is-on):not(.is-done) > span:last-child { opacity: .62; transform: translateY(8px); }
html:not(.js) .steps__n { background: var(--pop-strong); border-color: var(--pop-strong); color: var(--white); }
.steps b { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-stretch: 114%; font-weight: 820; line-height: 1.15; }
.steps li > span:last-child { color: var(--ink-2); max-width: 32ch; }
.steps strong { color: var(--ink); font-weight: 750; }
/* Línea que avanza paso a paso (la geometría la pone el JS: --lx, --ly, --ll) */
html.js .steps::before, html.js .steps::after { content: ""; position: absolute; left: var(--lx, 22px); top: var(--ly, 44px); width: 2px; height: var(--ll, 0px); background: var(--line); }
html.js .steps::after { background: var(--pop); transform-origin: top; transform: scaleY(var(--p)); transition: transform 700ms var(--ease-out); }
@media (min-width: 900px) {
  html.js .steps::before, html.js .steps::after { width: var(--ll, 0px); height: 2px; margin-top: -1px; }
  html.js .steps::after { transform-origin: left; transform: scaleX(var(--p)); }
}
.how__cta { margin-top: clamp(44px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
/* La demo gratis es el botón protagonista */
.demo-cta {
  position: relative; min-height: 78px; padding: 14px 14px 14px 30px; gap: 22px;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); text-align: left;
  box-shadow: 0 22px 44px -22px oklch(0.6 0.2 33 / .75);
}
.demo-cta__txt { display: grid; gap: 4px; line-height: 1.1; }
.demo-cta__txt b { font-weight: 850; font-stretch: 112%; letter-spacing: -0.01em; }
.demo-cta__txt small { font-size: .6em; font-weight: 600; letter-spacing: 0; }
.demo-cta.btn--arrow i { width: 46px; height: 46px; }
.demo-cta.btn--arrow i::after { left: 16px; top: 18px; width: 9px; height: 9px; }
.demo-cta__tag {
  position: absolute; top: -13px; right: 18px; padding: 5px 11px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase;
  transform: rotate(6deg); box-shadow: 0 6px 14px -8px oklch(0.22 0.028 30 / .8);
}
@media (max-width: 559px) { .demo-cta { width: 100%; justify-content: space-between; padding-left: 22px; } }
/* Un latido al aparecer (tres veces) y la pegatina que se balancea: llama la atención sin molestar */
html.js .how__cta.is-in .demo-cta { animation: demo-ping 1.8s var(--ease-out) .5s 3; }
html.js .how__cta.is-in .demo-cta__tag { animation: demo-tag 1.8s var(--ease-out) .5s 3; }
@keyframes demo-ping { 0% { box-shadow: 0 22px 44px -22px oklch(0.6 0.2 33 / .75), 0 0 0 0 oklch(0.64 0.2 33 / .45); } 100% { box-shadow: 0 22px 44px -22px oklch(0.6 0.2 33 / .75), 0 0 0 22px oklch(0.64 0.2 33 / 0); } }
@keyframes demo-tag { 0%, 100% { transform: rotate(6deg); } 15% { transform: rotate(-4deg) scale(1.08); } 30% { transform: rotate(9deg); } 45% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { html.js .how__cta.is-in .demo-cta, html.js .how__cta.is-in .demo-cta__tag { animation: none; } }

/* =========================================================
   NOSOTROS
   ========================================================= */
.team { padding: var(--sec) 0; }
.team__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 76px); }
/* Escritorio: título a la izquierda y texto a la derecha; el mapa, debajo y a todo el ancho */
@media (min-width: 900px) {
  .team__copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 6vw; align-items: end; }
  .team__copy .h2 { grid-row: span 2; }
  .team__copy .lead { margin-top: 0; }
}
.team .lead { margin-top: 22px; }
.near { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 32px; }
.near li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.near b { font-weight: 800; font-stretch: 110%; }
.near span { color: var(--ink-2); font-size: .93rem; }
.team__map { position: relative; width: 100%; justify-self: center; }
.map__island { width: 100%; height: auto; }
.map__fill { fill: var(--mist); }
.map__line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
html.js .team__map .map__line { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
html.js .team__map.is-in .map__line { stroke-dashoffset: 0; }
/* Avión del mapa: reactor regional blanco con verde #168B28, lima #A6D82D y azul #3999CE (sin marcas) */
.map__fly { opacity: 0; transition: opacity 600ms var(--ease-out); }
.map__fly.is-on { opacity: 1; }
.map__plane path, .map__plane circle { stroke: var(--ink); stroke-width: .32; stroke-linejoin: round; }
.map__plane .pl-body, .map__plane .pl-white { fill: #FFFFFF; }
.map__plane .pl-white { stroke: none; }
.map__plane .pl-green { fill: #168B28; }
.map__plane .pl-lime { fill: #A6D82D; }
.map__plane .pl-blue { fill: #3999CE; }
.map__plane .pl-dark { fill: #1d2a33; stroke: none; }
.map__plane .pl-red { fill: #e2382c; stroke: none; }
.map__plane .pl-nav { fill: #2fbf4a; stroke: none; }
.map__plane-shadow * { fill: var(--ink); stroke: none; }
.map__trail { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: .45; transition: opacity 1.6s var(--ease-out); }
.map__trail.is-old { opacity: 0; }
.map__fill { transition: fill 700ms var(--ease-out); }
.map__fill.is-visit { fill: var(--pop-soft); }

/* =========================================================
   PRÓXIMAMENTE (azul: lo que aún no se puede contratar)
   ========================================================= */
.soon-sec { padding: var(--sec) 0; background: var(--mar-soft); overflow: clip; }
.soon-sec .h2 { color: var(--ink); }
.soon-sec .lead strong { color: var(--mar); }
.soon-stage { position: relative; overflow-x: clip; }   /* las cintas acaban justo donde acaban las tarjetas */
.soon-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .soon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Fuera de las cintas: lo que ya se puede contratar */
.soon-avail {
  margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; align-items: center;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--white); border: 2px solid var(--ink);
}
@media (min-width: 760px) { .soon-avail { grid-template-columns: minmax(0, 1fr) auto; } }
.soon-avail__info { display: grid; gap: 10px; justify-items: start; }
.soon-avail__flag { padding: 4px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.soon-avail h3 { font-size: 1.6rem; font-stretch: 122%; font-weight: 850; letter-spacing: -0.02em; line-height: 1.05; }
.soon-avail__info p { color: var(--ink-2); max-width: 52ch; }
.soon-avail__buy { display: grid; gap: 4px; justify-items: start; }
@media (min-width: 760px) { .soon-avail__buy { justify-items: end; text-align: right; } }
.soon-avail__price { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); font-stretch: 120%; font-weight: 880; letter-spacing: -0.03em; line-height: 1; }
.soon-avail__note { font-size: .88rem; color: var(--ink-2); }
.soon-avail__cta { margin-top: 10px; }
.sp { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-l); background: var(--white); outline: 2px dashed var(--mar-line); outline-offset: -2px; }
.sp__flag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--mar); color: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp h3 { font-size: 1.6rem; font-stretch: 122%; font-weight: 850; letter-spacing: -0.02em; line-height: 1.05; }
.sp__opts { display: grid; border-top: 1px solid var(--mar-soft); }
.sp__opts li { padding: 11px 0; border-bottom: 1px solid var(--mar-soft); color: var(--ink-2); }
.sp__note { font-size: .88rem; color: var(--ink-2); }
.sp__cta { margin-top: auto; align-self: flex-start; }
/* Cinta amarilla de «cerrado por obras»: se desenrolla al llegar y el texto corre despacio */
.tape {
  position: absolute; left: -14vw; right: -14vw; z-index: 3; height: clamp(40px, 3.4vw, 50px);
  display: flex; align-items: center; overflow: hidden; pointer-events: none;
  background: #FFD21A; color: var(--ink); border-block: 3px solid var(--ink);
  box-shadow: 0 14px 26px -16px oklch(0.22 0.028 30 / .55);
}
.tape--a { top: 44%; transform: rotate(-3deg); }
.tape--b { top: 60%; transform: rotate(2.2deg); }
.tape__track { display: flex; width: max-content; animation: tape-run 38s linear infinite; }
.tape--b .tape__track { animation-direction: reverse; animation-duration: 44s; }
.tape__track span { white-space: nowrap; font-size: clamp(.95rem, .8rem + .45vw, 1.2rem); font-weight: 900; font-stretch: 125%; letter-spacing: .06em; }
@keyframes tape-run { to { transform: translateX(-50%); } }
html.js .tape { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
html.js .tape--b { clip-path: inset(0 0 0 100%); transition-delay: .35s; }
html.js .soon-grid.is-in ~ .tape { clip-path: inset(0 0 0 0); }
@media (max-width: 699px) { .tape--a { top: 22%; } .tape--b { top: 71%; } }
@media (prefers-reduced-motion: reduce) { .tape__track { animation: none; } html.js .tape { clip-path: none; transition: none; } }

/* =========================================================
   PREGUNTAS
   ========================================================= */
.faq { padding: var(--sec) 0; }
.faq__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 960px) { .faq__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; } .faq__side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.faq__side { container-type: inline-size; }
.faq__side .h2 { font-size: min(13cqi, clamp(2.15rem, 1.15rem + 3.6vw, 4.4rem)); }
.faq__side .lead { margin: 20px 0 28px; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item h3 { font: inherit; }
.acc__item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; background: none; text-align: left; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); font-weight: 700; font-stretch: 106%; }
.acc__item button i { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); flex: none; transition: background-color var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
.acc__item button i::before, .acc__item button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform var(--t-ui) var(--ease-out), background-color var(--t-ui) var(--ease-out); }
.acc__item button i::after { transform: rotate(90deg); }
.acc__item.is-open button i { background: var(--pop); transform: rotate(180deg); }
.acc__item.is-open button i::before, .acc__item.is-open button i::after { background: var(--white); }
.acc__item.is-open button i::after { transform: rotate(0deg); }
@media (hover: hover) { .acc__item button:hover i { background: var(--pop-soft); } .acc__item.is-open button:hover i { background: var(--pop); } }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out); }
.acc__body > div { overflow: hidden; }
.acc__body p { padding: 0 52px 24px 0; color: var(--ink-2); max-width: 60ch; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
html:not(.js) .acc__body { grid-template-rows: 1fr; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: var(--sec) 0; background: var(--pop-calm); color: var(--ink); }
/* Al saltar a #contacto, la sección empieza en lo alto de la pantalla (debajo de la cabecera, que también se pone naranja): sin franja de otro color */
/* Al saltar a una sección, empieza justo en lo alto de la pantalla (bajo la cabecera, que toma su color): sin franja de la sección anterior */
main > section[id] { scroll-margin-top: calc(-1 * (var(--nav-h) + 16px)); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 980px) { .contact__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; } .contact__copy { position: sticky; top: calc(var(--nav-h) + 40px); } }
.contact__copy { container-type: inline-size; }
.contact__title { font-size: min(5.4rem, 13.6cqi); font-stretch: 125%; font-weight: 880; letter-spacing: -0.035em; line-height: .95; text-wrap: balance; color: var(--white); }
.contact__lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); max-width: 38ch; font-weight: 550; }
.contact__ways { display: grid; margin-top: 34px; border-top: 1.5px solid oklch(0.22 0.028 30 / .25); }
.contact__ways li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1.5px solid oklch(0.22 0.028 30 / .25); }
.contact__ways span { font-weight: 650; }
.contact__ways a, .contact__ways b { font-weight: 800; text-align: right; }
.contact__ways li { align-items: center; }
.contact__ways span small { display: block; font-size: .82rem; font-weight: 600; opacity: .8; }
.contact__ways a { text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact__ways a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.cw { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 12px; }
.cw__wa { padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .82rem; transition: background-color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .cw__wa:hover { background: var(--night); text-decoration: none !important; } }
[data-cfg].is-pending { display: inline-flex; padding: 0 10px; border-radius: 999px; border: 1.5px dashed currentColor; font-weight: 700; text-decoration: none; opacity: .85; }
.contact :focus-visible { outline-color: var(--ink); }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 40px 70px -46px oklch(0.22 0.028 30 / .7); }
.form__row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field > span { font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--white); font-size: 1rem; transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--pop-soft); }
.field [aria-invalid="true"] { border-color: var(--pop-ink); box-shadow: 0 0 0 3px var(--pop-soft); }
.form__hint { font-size: .85rem; color: var(--muted); margin-top: -4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form__err { min-height: 1.4em; color: var(--pop-ink); font-weight: 700; font-size: .95rem; }
.form__send { justify-self: start; }
.form__send.is-busy { pointer-events: none; opacity: .7; }
.form__send.is-busy i { animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__done { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-m); background: var(--mist); border: 1px solid var(--line); animation: fade-up 500ms var(--ease-out); }
.form__done:focus { outline: none; }
.form__done-title { font-weight: 850; font-stretch: 112%; font-size: 1.1rem; }
.form__msg { margin: 0; white-space: pre-wrap; font: inherit; font-size: .93rem; color: var(--ink-2); padding: 12px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); }
.form__done-note { font-size: .9rem; }
.form__done .btn { justify-self: start; min-height: 42px; }

/* =========================================================
   PIE
   ========================================================= */
.foot { background: var(--night); color: var(--white); padding: clamp(64px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot :focus-visible { outline-color: var(--white); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; } }
.logo--foot { height: 40px; color: var(--white); }
.foot__brand p { margin-top: 18px; color: var(--on-ink); max-width: 36ch; }
.foot__col { display: grid; align-content: start; gap: 8px; }
.foot__col a { text-decoration: none; color: var(--on-ink); width: fit-content; }
.foot__col p { color: var(--on-ink); }
@media (hover: hover) { .foot__col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; } }
.foot__h { color: var(--white) !important; font-weight: 800; margin-bottom: 4px; }
.foot__bottom { display: grid; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-ink); font-size: .88rem; color: var(--on-ink); }
@media (min-width: 900px) { .foot__bottom { grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; } }
.foot__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__bottom a { text-decoration: none; }
.foot__bottom nav a { display: inline-flex; align-items: center; min-height: 28px; }   /* objetivo táctil ≥ 24 px (WCAG 2.2) */
@media (hover: hover) { .foot__bottom a:hover { color: var(--white); } }
.pend { display: inline-block; padding: 0 8px; border-radius: 999px; border: 1.5px dashed var(--line-ink); }

/* Barra fija en móvil */
.mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-mcta); display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 20px; border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: 0 18px 40px -18px oklch(0.22 0.028 30 / .7); transform: translateY(140%); transition: transform 460ms var(--ease-out); }
.mcta.is-on { transform: none; }
.mcta__alt { order: -1; margin-right: auto; font-weight: 700; text-decoration: none; }
.mcta__main { min-height: 44px; }
@media (min-width: 760px) { .mcta { display: none; } }

/* Explicación de «cambio» */
.pop-tip { position: fixed; left: var(--tipx, 0); top: var(--tipy, 0); z-index: var(--z-tip); width: min(280px, calc(100vw - 24px)); padding: 12px 14px; border-radius: var(--r-m); background: var(--ink); color: var(--white); font-size: .9rem; line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); pointer-events: none; }
.pop-tip.is-in { opacity: 1; transform: none; }

/* =========================================================
   APARICIONES (solo con JS; sin JS todo se ve)
   ========================================================= */
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(20px); }
html.js [data-reveal] { transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out), clip-path 900ms var(--ease-out); }
html.js [data-reveal="clip"] { clip-path: inset(-14% -40% -18% -40%); }
html.js [data-reveal="clip"]:not(.is-in) { opacity: 1; clip-path: inset(0 0 100% 0); transform: translateY(.3em); }
html.js [data-reveal="stagger"]:not(.is-in) { opacity: 1; transform: none; }
html.js [data-reveal="stagger"] > * { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-reveal="stagger"]:not(.is-in) > * { opacity: 0; transform: translateY(22px); }
html.js .plans[data-reveal="stagger"].is-in > .plan { transition-delay: calc(var(--i, 0) * 70ms), 0ms, 0ms; }

/* =========================================================
   MOVIMIENTO REDUCIDO: menos y más suave, no cero
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .hl__in, html.js .sh__stage { animation-name: fade; }
  .shc { transition: opacity 300ms var(--ease-out); }
  .shc__in { transform: none !important; }
  .shc *, .hero__where i::after, .st__live i { animation: none !important; }
  html.js .ed__bar i, html.js .ed__ok, html.js .ed__txt { animation: none; }
  html.js [data-reveal]:not(.is-in), html.js [data-reveal="stagger"]:not(.is-in) > * { transform: none; }
  html.js [data-reveal="clip"]:not(.is-in) { clip-path: none; opacity: 0; transform: none; }
  html.js .team__map .map__line { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .ch { translate: none !important; }
  .case__desk, .case__phone, .plan, .cmp .ck, .cmp__body, .cmp__toggle i { transition: none; }
}

/* Impresión mínima */
@media print {
  .nav, .sheet, .mcta, .hero__art, .form, .care__art { display: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* =========================================================
   INTRO (intro.js): «p●p» con las p macizas gana volumen; la O es una pelota de ping-pong.
   Una raqueta la golpea contra cada p y el impacto le abre el hueco; la pelota vuelve a la O,
   sube «up» y la pelota pasa a ser la O del logo de la cabecera. Tinta, bermellón y blanco.
   ========================================================= */
.intro { display: none; position: fixed; inset: 0; z-index: 200; background: #FFFFFF; transition: background-color 650ms var(--ease-out); }
html.intro-on { overflow: hidden; }
html.intro-on .intro { display: block; animation: intro-guard .4s ease 13s forwards; }
.intro canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; }
.intro.is-3d canvas { opacity: 1; }
.intro__logo {
  position: absolute; left: 50%; top: 50%; width: calc(min(78vw, 900px) * 2183 / 3737); height: auto; aspect-ratio: 2183 / 892;
  transform: translate(-50%, -50%); overflow: visible; color: var(--ink); --logo-dot: var(--pop); --dot-y: 0px;
  animation: intro-logo-in 600ms var(--ease-out) both; transition: opacity 260ms linear;
}
.intro.is-3d .intro__logo { opacity: 0; }
.intro__logo--full { display: none; width: min(78vw, 900px); aspect-ratio: 3737 / 892; }
html.intro-still .intro__logo { display: none; }
html.intro-still .intro__logo--full { display: block; }
.intro__ball { position: absolute; left: 0; top: 0; width: 100px; height: 100px; border-radius: 50%; background: var(--pop); display: none; transform-origin: 0 0; will-change: transform; }
.intro.is-revealing { background-color: rgba(255, 255, 255, 0); pointer-events: none; }
.intro.is-revealing canvas, .intro.is-revealing .intro__logo { opacity: 0; transition: opacity 520ms var(--ease-out); }
.intro.is-leaving { opacity: 0; transition: opacity 420ms var(--ease-out); }
html.intro-docking .nav__logo { --logo-dot: transparent; }
.intro__skip {
  position: absolute; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white);
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  opacity: 0; transform: translateY(6px); animation: intro-skip-in 400ms var(--ease-out) 700ms forwards;
}
.intro.is-revealing .intro__skip, .intro.is-leaving .intro__skip { opacity: 0 !important; transition: opacity 200ms linear; }
@media (hover: hover) { .intro__skip:hover { background: var(--night); } }
@keyframes intro-logo-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.965); } }
@keyframes intro-skip-in { to { opacity: 1; transform: none; } }
@keyframes intro-guard { to { opacity: 0; visibility: hidden; } }

/* Confirmación del formulario: botones de WhatsApp y copiar */
.form__done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
