/* ═══ AURA · fondo vivo de manchas azules sobre blanco ════════════════
   Cuatro manchas desenfocadas que se desplazan muy despacio y una capa de
   grano encima. Va detrás de todo y no captura el puntero.
   ═══════════════════════════════════════════════════════════════════ */

.aura {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aura span {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.42;
  will-change: transform;
}
.aura span:nth-child(1) {
  width: 46%; aspect-ratio: 1; top: -12%; left: 6%;
  background: radial-gradient(circle, oklch(80% 0.075 250 / .8), transparent 68%);
  animation: aura-a 13s ease-in-out infinite alternate;
}
.aura span:nth-child(2) {
  width: 38%; aspect-ratio: 1; top: 22%; right: 2%;
  background: radial-gradient(circle, oklch(85% 0.055 232 / .75), transparent 68%);
  animation: aura-b 16s ease-in-out infinite alternate;
}
.aura span:nth-child(3) {
  width: 42%; aspect-ratio: 1; bottom: -14%; left: 24%;
  background: radial-gradient(circle, oklch(78% 0.085 258 / .7), transparent 70%);
  animation: aura-c 14s ease-in-out infinite alternate;
}
.aura span:nth-child(4) {
  width: 26%; aspect-ratio: 1; top: 44%; left: 38%;
  background: radial-gradient(circle, oklch(88% 0.05 205 / .6), transparent 70%);
  animation: aura-d 18s ease-in-out infinite alternate;
}
@keyframes aura-a { to { transform: translate3d(14%, 22%, 0) scale(1.18); } }
@keyframes aura-b { to { transform: translate3d(-18%, 16%, 0) scale(0.86); } }
@keyframes aura-c { to { transform: translate3d(12%, -20%, 0) scale(1.14); } }
@keyframes aura-d { to { transform: translate3d(-14%, -12%, 0) scale(1.3); } }

/* el grano es lo que le da el acabado de la referencia */
.aura::after {
  content: ""; position: absolute; inset: -60%;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) { .aura span { animation: none; } }

/* ═══════════════════════════════════════════════════════════════════════
   QP STUDIO · secciones
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══ HERO ═════════════════════════════════════════════════════════════ */

.ridges {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex; flex-direction: column;
  padding-block: clamp(2.6rem, 7vh, 4.8rem) 0;
  overflow: hidden;
  text-align: center;
}
.hero__copy { position: relative; z-index: 2; max-width: 62rem; }
.hero .kicker--sub { margin-bottom: clamp(1.2rem, 2.6vw, 1.8rem); }

.hero__title {
  font-family: var(--display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 30rem;
  margin: clamp(1.2rem, 2.4vw, 1.7rem) auto 0;
  font-size: var(--fs-sm); line-height: 1.6;
  color: var(--ink-2); text-wrap: pretty;
}
.hero__cta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-top: clamp(1.6rem, 3vw, 2.2rem);
}
.ridges--hero { height: min(50%, 440px); z-index: 1; }

@media (max-width: 620px) {
  .hero { min-height: min(94svh, 720px); }
  .ridges--hero { height: 46%; }
}

/* ═══ BANDA · el coste. Foto a sangre y una frase directa. ════════════ */

.band {
  position: relative;
  min-height: clamp(440px, 62vh, 640px);
  display: grid; align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(0.62);
}
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, oklch(26% 0.03 255 / .82), oklch(26% 0.03 255 / .5) 62%, oklch(26% 0.03 255 / .72));
}
.band__in { position: relative; z-index: 2; }
.band__title { max-width: 22ch; }

.band__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  margin-top: clamp(2rem, 3.6vw, 3rem);
}
.bandc {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  border: 1px solid oklch(100% 0 0 / .16);
  border-radius: var(--r-lg);
  background: oklch(100% 0 0 / .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
@media (hover: hover) {
  .bandc:hover { border-color: oklch(100% 0 0 / .34); background: oklch(100% 0 0 / .1); }
}
.bandc__n {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--blue-sky);
  margin-bottom: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.bandc h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: oklch(98% 0.004 250);
  margin-bottom: 0.5rem;
  text-wrap: balance;
}
.bandc p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: oklch(76% 0.014 250);
  text-wrap: pretty;
}


/* ═══ NUESTRO TRABAJO · webs en órbita ════════════════════════════════
   Sin JS es una rejilla normal. motion.js añade .is-orbiting y a partir
   de ahí coloca cada tarjeta con un solo transform por fotograma.
   ═══════════════════════════════════════════════════════════════════ */

.orbit {
  position: relative;
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
  overflow: hidden;
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
  isolation: isolate;
}
.orbit__links {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  overflow: visible;
}
.orbit__links line {
  stroke: var(--blue);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: 0.22;
}

/* rejilla de reserva (sin JS) */
.orbit__field {
  position: relative;
  z-index: 2;
  width: 100%; max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2rem;
  z-index: 2;
}
.orbit__core { grid-column: 1 / -1; text-align: center; }

/* modo órbita */
.orbit__field.is-orbiting {
  --vuelta: 54s;
  display: block;
  padding-inline: 0;
  height: var(--field-h, 700px);
  width: var(--field-w, 100%);
  margin-inline: auto;
}
/* Órbita circular por rotación anidada. El brazo gira, la tarjeta gira lo
   mismo al revés y así se mantiene derecha. Es exacta por construcción:
   ángulos repartidos a partes iguales, sin sorpresas de arco.

   Todo son animaciones CSS, o sea que corren en el compositor y el scroll
   no las afecta lo más mínimo. */
.is-orbiting .orb {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  animation: gira var(--vuelta, 54s) linear infinite;
  animation-delay: calc(var(--vuelta, 54s) / -8 * var(--i));
}
.is-orbiting .orb__fix {
  position: absolute;
  left: 0; top: calc(var(--radio, 340px) * -1);
  translate: -50% -50%;
  animation: gira var(--vuelta, 54s) linear infinite reverse;
  animation-delay: calc(var(--vuelta, 54s) / -8 * var(--i));
}
@keyframes gira { to { rotate: 360deg; } }

.is-orbiting .wcard {
  width: var(--cw, 176px);
  animation:
    profundidad var(--vuelta, 54s) linear infinite,
    capa var(--vuelta, 54s) linear infinite;
  animation-delay: calc(var(--vuelta, 54s) / -8 * var(--i));
}

/* arriba pasa por detrás y pequeña; abajo, de frente y grande */
@keyframes profundidad {
  0%   { scale: 0.7;  opacity: 0.45; }
  50%  { scale: 1.04; opacity: 1; }
  100% { scale: 0.7;  opacity: 0.45; }
}
@keyframes capa {
  0%, 24.99%  { z-index: 2; }
  25%, 74.99% { z-index: 7; }
  75%, 100%   { z-index: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .is-orbiting .orb,
  .is-orbiting .orb__fix,
  .is-orbiting .wcard { animation: none; }
  .is-orbiting .orb { rotate: calc(var(--i) * 45deg); }
  .is-orbiting .orb__fix { rotate: calc(var(--i) * -45deg); }
}

.is-orbiting .orbit__core {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: min(27rem, 56vw);
  z-index: 5;
}

.orbit__core p {
  margin: 0.9rem auto 1.5rem;
  max-width: 24rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-wrap: pretty;
}

.wcard__cap {
  margin-top: 0.45rem; text-align: center;
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-3);
}

.win__body { position: relative; }
.win__body--photo {
  aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(to top, oklch(14% 0.02 250 / .86), oklch(14% 0.02 250 / .05) 62%),
    var(--img);
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.06);
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 3px; padding: 8px;
}
.win__body--photo b {
  font-family: var(--display); font-weight: 800;
  font-size: 0.6rem; letter-spacing: -0.025em;
  color: oklch(99% 0 0); line-height: 1.1;
}
.win__body--photo u {
  align-self: flex-start;
  padding: 2px 7px; border-radius: 99px;
  background: oklch(99% 0 0); color: oklch(20% 0.02 250);
  font-size: 0.48rem; font-weight: 600; text-decoration: none;
}
.win__body--ui {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: center;
  gap: 6px; padding: 12px;
}
.win__body--grid {
  aspect-ratio: 4 / 3;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px;
}
.win__body--grid i {
  border-radius: 4px;
  background-image: var(--img);
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.05);
}
.win__body--panel {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: center;
  gap: 7px; padding: 10px 11px;
}
.panel__row { display: flex; align-items: baseline; justify-content: space-between; }
.panel__row b { font-size: 0.46rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: oklch(72% 0.02 250); }
.panel__row i { font-family: var(--display); font-style: normal; font-weight: 800; font-size: 0.82rem; letter-spacing: -0.03em; color: var(--t-00); }
.panel__row--sm i { font-size: 0.62rem; color: var(--blue-sky); }
.panel__chart { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.panel__chart u {
  flex: 1; height: var(--v); border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--blue-lift), var(--blue));
}
.panel__chart u:last-child { background: linear-gradient(180deg, var(--blue-sky), var(--blue-lift)); }

.win__body--dash {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: 12px;
}
.win__body--dash .spark {
  display: block; height: 30px; border-radius: 4px;
  background:
    linear-gradient(to top, oklch(56% 0.215 258 / .3), transparent),
    repeating-linear-gradient(90deg, transparent 0 9px, oklch(100% 0 0 / .06) 9px 10px);
  border-bottom: 1.5px solid var(--blue-sky);
}

/* ═══ NUESTROS SERVICIOS · cintas 3D ══════════════════════════════════ */

.ribbons {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.sec--serv {
  background: var(--night);
  color: var(--t-30);
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.sec--serv__in { position: relative; z-index: 2; }
.sec--serv .h2 { margin-bottom: clamp(2rem, 3.5vw, 3rem); }

.serv__intro {
  max-width: 52ch;
  margin: -0.6rem 0 clamp(2rem, 3.4vw, 2.8rem);
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: oklch(74% 0.015 250);
  text-wrap: pretty;
}

.servs { border-top: 1px solid oklch(100% 0 0 / .13); }
.serv {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.35rem 1.5rem;
  padding: clamp(1.3rem, 2.2vw, 1.8rem) 0;
  border-bottom: 1px solid oklch(100% 0 0 / .13);
  position: relative;
}
/* el fondo del hover es una capa aparte: antes se animaba el padding y al
   pasar el ratón mientras se hacía scroll la fila se movía y saltaba */
.serv::before {
  content: ""; position: absolute;
  inset: 0 -1.1rem;
  border-radius: 10px;
  background: oklch(100% 0 0 / .05);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .serv:hover::before { opacity: 1; }
  .serv:hover h3 { color: var(--t-00); }
}
.serv h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--t-10);
  transition: color var(--t) var(--ease);
}
.serv p { font-size: var(--fs-sm); color: oklch(70% 0.02 250); text-wrap: pretty; }

@media (max-width: 720px) {
  .serv { grid-template-columns: minmax(0, 1fr); }
  .serv p { grid-column: 1; }
}

/* ═══ ANTES Y DESPUÉS ═════════════════════════════════════════════════ */

.sec--demo {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, var(--paper), var(--blue-wash) 55%, var(--paper));
}
.demo__head { text-align: center; }
.demo__sub {
  text-align: center; color: var(--ink-2);
  font-size: var(--fs-sm);
  margin: 0.7rem auto clamp(1.8rem, 3vw, 2.6rem);
}

.ba { --pos: 50%; max-width: 1000px; margin-inline: auto; }
.ba__frame {
  position: relative;
  aspect-ratio: 16 / 10.2;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 36px 80px -44px oklch(19% 0.022 250 / .55);
  touch-action: pan-y; cursor: ew-resize; user-select: none;
}
/* cada panel aislado: si no, los z-index de dentro de la maqueta del
   taller se colaban por encima de la web antigua y se veían las dos a la
   vez, superpuestas */
.ba__pane { position: absolute; inset: 0; isolation: isolate; }
.ba__pane--new { z-index: 1; }
.ba__pane--old { z-index: 2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos); width: 2px; margin-left: -1px;
  background: oklch(99% 0 0);
  box-shadow: 0 0 14px oklch(0% 0 0 / .45);
  z-index: 5;
}
.ba__grip {
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: oklch(99% 0 0);
  box-shadow: 0 6px 18px -4px oklch(19% 0.022 250 / .5);
  display: grid; place-items: center;
  transition: scale var(--t) var(--ease);
}
.ba__grip svg {
  width: 18px; height: 18px; fill: none;
  stroke: oklch(25% 0.01 250); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ba__handle:hover .ba__grip, .ba__handle:focus-visible .ba__grip { scale: 1.12; }
.ba.is-dragging .ba__grip { scale: 0.94; }

.ba__tag {
  position: absolute; top: 0.8rem; z-index: 4;
  padding: 0.24rem 0.68rem; border-radius: 99px;
  font-family: var(--display);
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ba__tag {
  transition: opacity var(--t) var(--ease), scale var(--t) var(--ease);
}
.ba__tag.is-off { opacity: 0; scale: 0.9; }
.ba__tag--old { left: 0.8rem; background: oklch(30% 0.01 60); color: oklch(94% 0.005 60); }
.ba__tag--new { right: 0.8rem; background: oklch(99% 0 0); color: oklch(20% 0.01 250); }

/* ── DESPUÉS: hero de taller. Cero azul: negro, blanco y ámbar. ─────── */

.shop {
  position: absolute; inset: 0;
  overflow: hidden;
  container-type: inline-size;
  background: #14120f;
  font-family: var(--sans);
  --amber: #f0a03c;
}
.shop__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.1) brightness(0.46);
}
.shop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(85deg, rgba(12,10,8,.94) 12%, rgba(12,10,8,.55) 62%, rgba(12,10,8,.7));
}
.shop > *:not(.shop__bg) { position: relative; z-index: 2; }

.shop__nav {
  display: flex; align-items: center; gap: 1.7cqw;
  padding: 2.8cqw 3.4cqw;
}
.shop__nav b {
  font-family: var(--display); font-weight: 800;
  letter-spacing: 0.06em; font-size: 1.7cqw;
  color: #fff;
}
.shop__nav u {
  text-decoration: none; color: rgba(255,255,255,.62);
  font-size: 1.25cqw; letter-spacing: 0.02em;
}
.shop__nav u:first-of-type { margin-left: auto; }
.shop__btn {
  padding: 0.85cqw 1.9cqw;
  border-radius: 2px;
  background: var(--amber);
  color: #17130d;
  font-family: var(--display);
  font-weight: 700; font-size: 1.2cqw;
  letter-spacing: 0.02em; white-space: nowrap;
}
.shop__btn--big { padding: 1.35cqw 2.8cqw; font-size: 1.45cqw; }

.shop__hero { padding: 3.2cqw 3.4cqw 0; max-width: 66%; }
.shop__kick {
  font-size: 1.05cqw; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.8cqw;
}
.shop h4 {
  font-family: var(--display);
  font-size: 5.2cqw; font-weight: 900;
  line-height: 0.94; letter-spacing: -0.04em;
  color: #fff; text-transform: uppercase;
  margin-bottom: 1.9cqw;
}
.shop__lead {
  color: rgba(255,255,255,.72);
  font-size: 1.4cqw; line-height: 1.55; max-width: 36ch;
}
.shop__ctas { display: flex; align-items: center; gap: 2.2cqw; margin-top: 2.9cqw; }
.shop__link {
  color: #fff; font-weight: 600; font-size: 1.25cqw;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 0.3cqw;
}
.shop__strip {
  position: absolute; left: 3.4cqw; right: 3.4cqw; bottom: 3cqw;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
}
.shop__strip i {
  display: block; padding: 1.7cqw 0 0;
  font-style: normal;
  border-right: 1px solid rgba(255,255,255,.14);
}
.shop__strip i:last-child { border-right: 0; }
.shop__strip b {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: 2.5cqw; letter-spacing: -0.04em; line-height: 1;
  color: #fff;
}
.shop__strip u {
  display: block; text-decoration: none;
  font-size: 1.02cqw; color: rgba(255,255,255,.55);
  margin-top: 0.6cqw; letter-spacing: 0.04em;
}

/* ── ANTES: 2013 ────────────────────────────────────────────────────── */

.fakeold {
  position: absolute; inset: 0;
  overflow: hidden; container-type: inline-size;
  background: #e9e9e2;
  font-family: "Times New Roman", Times, serif;
  color: #1a1a1a; font-size: 1.5cqw; line-height: 1.35;
  filter: saturate(0.2);
}
.fakeold__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2cqw 2.6cqw;
  background: linear-gradient(#5878a8, #2d4a72);
  color: #fff; border-bottom: 0.4cqw solid #c9a227;
}
.fakeold__logo { font-weight: 700; font-size: 2.5cqw; text-shadow: 0.15cqw 0.15cqw 0 rgba(0,0,0,.4); }
.fakeold__hits { font-family: "Courier New", monospace; font-size: 1.2cqw; background: #12233a; padding: 0.5cqw 1cqw; border: 0.15cqw inset #7f9bc4; }
.fakeold__menu { padding: 1.1cqw 2.6cqw; background: #ccd6e4; border-bottom: 0.15cqw solid #97a7bd; font-size: 1.4cqw; color: #113; }
.fakeold__body { padding: 2.6cqw; }
.fakeold__body h4 { font-size: 2.7cqw; color: #8a1010; text-align: center; text-decoration: underline; margin-bottom: 2cqw; font-weight: 700; }
.fakeold__body p { margin-bottom: 1.5cqw; text-align: justify; }
.fakeold__btn {
  display: inline-block; margin-top: 0.8cqw; padding: 0.9cqw 2.4cqw;
  background: linear-gradient(#8fd35a, #3f7a19); border: 0.2cqw outset #6ba832;
  color: #fff; font-weight: 700; font-size: 1.5cqw;
  text-shadow: 0.1cqw 0.1cqw 0 rgba(0,0,0,.45);
}
.fakeold__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2cqw 2.6cqw; background: #2d4a72; color: #cfd8e6;
  font-size: 1.1cqw; text-align: center;
}

@media (max-width: 620px) {
  .ba__frame { aspect-ratio: 4 / 5; }
  .shop__hero { max-width: 100%; }
  .shop__nav u { display: none; }
  .shop__nav b { font-size: 3.4cqw; }
  .shop__btn { font-size: 2.4cqw; padding: 1.6cqw 3.2cqw; }
  .shop__btn--big { font-size: 2.9cqw; padding: 2.6cqw 4.6cqw; }
  .shop__kick { font-size: 2.1cqw; }
  .shop h4 { font-size: 9cqw; }
  .shop__lead { font-size: 2.9cqw; }
  .shop__link { font-size: 2.6cqw; }
  .shop__strip b { font-size: 4.4cqw; }
  .shop__strip u { font-size: 1.9cqw; }
  .fakeold { font-size: 3cqw; }
  .fakeold__logo { font-size: 4.4cqw; }
  .fakeold__hits { display: none; }
  .fakeold__menu { font-size: 2.5cqw; }
  .fakeold__body h4 { font-size: 5cqw; }
  .fakeold__btn { font-size: 3cqw; }
  .fakeold__foot { font-size: 2.2cqw; }
  .ba__grip { width: 38px; height: 38px; }
}

/* ═══ TUYA DE VERDAD · cintas 3D ══════════════════════════════════════ */

.sec--tuya {
  background: var(--night);
  color: var(--t-30);
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.tuya {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.2rem, 5vw, 4.5rem);
}
.tuya__list { margin-top: clamp(1.8rem, 3vw, 2.4rem); }
.tuya__list li { padding: 1.1rem 0; border-top: 1px solid oklch(100% 0 0 / .13); }
.tuya__list li:last-child { border-bottom: 1px solid oklch(100% 0 0 / .13); }
.tuya__list b {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -0.028em;
  color: var(--t-00); margin-bottom: 0.2rem;
}
.tuya__list span { font-size: var(--fs-sm); color: oklch(70% 0.02 250); }

.tuya__cta {
  margin-top: clamp(1.8rem, 3vw, 2.4rem);
  box-shadow: 0 14px 34px -16px oklch(0% 0 0 / .7);
}

.editor { position: relative; }
.editor__win {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid oklch(100% 0 0 / .16);
  box-shadow: 0 40px 90px -40px oklch(0% 0 0 / .8);
  transform: perspective(1200px)
             rotateY(calc(-7deg + var(--mx) * 5deg))
             rotateX(calc(2deg + var(--my) * -4deg));
  transition: transform 900ms var(--ease);
}
.editor__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.95rem; }
.editor__block { display: flex; flex-direction: column; gap: 7px; }
.editor__block.is-editing {
  position: relative;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  background: var(--blue-wash);
}
.editor__tag {
  position: absolute; top: -9px; left: 10px;
  padding: 1px 7px; border-radius: 99px;
  background: var(--blue); color: oklch(99% 0 0);
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.editor__block p {
  font-family: var(--display); font-weight: 700;
  font-size: 1rem; letter-spacing: -0.025em; color: var(--ink);
}
.editor__block p b { color: var(--blue); }
.caret {
  display: inline-block; width: 2px; height: 1em;
  margin-left: 2px; vertical-align: -0.15em;
  background: var(--blue);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.editor__row { display: flex; gap: 0.5rem; }
.editor__btn {
  padding: 0.5rem 0.95rem; border-radius: 99px;
  background: var(--ink); color: var(--paper);
  font-size: 0.74rem; font-weight: 600;
}
.editor__btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.editor__cursor {
  position: absolute; right: 22%; bottom: 26%;
  width: 16px; height: 16px;
  border-radius: 50% 50% 50% 2px;
  background: var(--blue);
  box-shadow: 0 0 0 4px oklch(56% 0.215 258 / .25);
  animation: point 5s var(--ease-q) infinite;
}
@keyframes point {
  0%, 100% { transform: translate(0, 0); }
  35%      { transform: translate(-46px, -104px); }
  55%      { transform: translate(-46px, -104px) scale(0.8); }
  75%      { transform: translate(18px, -30px); }
}

@media (max-width: 900px) {
  .tuya { grid-template-columns: 1fr; }
  .editor__win { transform: none; }
}

/* ═══ EL ESTUDIO ══════════════════════════════════════════════════════ */

.sec--me { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.me {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(2rem, 5vw, 4rem);
  /* que las dos columnas acaben rectas por abajo */
  align-items: end;
}
.me__frame {
  position: relative; display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--t-10);
  filter: grayscale(1) contrast(1.04);
}
.me__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: scale 900ms var(--ease);
}
@media (hover: hover) { .me__shot:hover .me__frame img { scale: 1.03; } }
.me__shot figcaption {
  margin-top: 0.8rem; font-size: var(--fs-xs);
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3);
}

.me__lead {
  margin-top: 1.3rem;
  font-size: var(--fs-lead); line-height: 1.62;
  color: var(--ink-2); max-width: 38rem; text-wrap: pretty;
}
.me__quote {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  padding-left: clamp(1.1rem, 2vw, 1.6rem);
  border-left: 2px solid var(--blue);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.4; color: var(--ink);
  max-width: 32rem;
}

@media (max-width: 860px) {
  .me { grid-template-columns: 1fr; }
  .me__shot { max-width: 260px; }
}

/* ═══ PREGUNTAS FRECUENTES ═══════════════════════════════════════════
   Dos columnas: a la izquierda el título y una salida a contacto, a la
   derecha las preguntas como tarjetas sueltas sobre el aura, en vez de
   una caja blanca cerrada.
   ═══════════════════════════════════════════════════════════════════ */

.sec--faq {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.sec--faq .shell { position: relative; z-index: 1; }

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__aside { position: sticky; top: 6.5rem; }
.faq__aside p {
  margin: 1rem 0 1.6rem;
  max-width: 26ch;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-wrap: pretty;
}

.faq { display: flex; flex-direction: column; gap: 0.6rem; }

.faq__item {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: oklch(100% 0 0 / .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease),
              box-shadow var(--t-slow) var(--ease);
}
.faq__item[open] {
  border-color: var(--blue);
  background: oklch(100% 0 0);
  box-shadow: 0 20px 44px -28px oklch(56% 0.215 258 / .45);
}
@media (hover: hover) {
  .faq__item:not([open]):hover { border-color: var(--t-30); background: oklch(100% 0 0); }
}

.faq__item summary {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem clamp(1.2rem, 2.6vw, 1.7rem);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__n {
  flex: 0 0 auto;
  font-family: var(--display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--t-30);
  font-variant-numeric: tabular-nums;
  transition: color var(--t) var(--ease);
}
.faq__item[open] .faq__n { color: var(--blue); }

.faq__q {
  flex: 1 1 auto;
  font-family: var(--display);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}

/* el signo pasa de más a menos */
.faq__item summary::after {
  content: ""; flex: 0 0 auto;
  position: relative;
  width: 15px; height: 15px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 100% 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 100% no-repeat;
  transition: rotate var(--t-slow) var(--ease), background-size var(--t) var(--ease);
}
.faq__item[open] summary::after {
  rotate: 180deg;
  background-size: 100% 2px, 0 100%;
}

.faq__item p {
  padding: 0 clamp(1.2rem, 2.6vw, 1.7rem) 1.4rem;
  padding-left: calc(clamp(1.2rem, 2.6vw, 1.7rem) + 2.4rem);
  max-width: 62ch;
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq__aside .h2 br { display: none; }
}

/* ═══ FINAL · solo el contacto ═══════════════════════════════════════ */

.sec--final {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

/* el contacto, que aparece cuando ya estamos dentro de la pantalla */
.finale__panel {
  position: relative; z-index: 3;
  width: 100%;
  opacity: var(--panel);
  pointer-events: none;
  will-change: opacity;
}
.finale__panel.is-live { pointer-events: auto; }
.finale__in { position: relative; z-index: 1; text-align: center; }

.finale__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 800; line-height: 0.98; letter-spacing: -0.042em;
  color: var(--ink);
  margin-bottom: clamp(1.3rem, 2.4vw, 1.9rem);
}
.finale__title .soft { color: var(--t-40); }

.form { max-width: 30rem; margin-inline: auto; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.field { margin-bottom: 0.7rem; }
.field label {
  display: block; margin-bottom: 0.35rem;
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea {
  width: 100%; padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: oklch(100% 0 0);
  color: var(--ink); font-size: var(--fs-sm); resize: vertical;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--t-40); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px oklch(56% 0.215 258 / .15);
}
.field.is-bad input, .field.is-bad textarea { border-color: oklch(58% 0.19 28); }
.field.is-bad::after {
  content: attr(data-msg); display: block; margin-top: 0.3rem;
  font-size: var(--fs-xs); color: oklch(50% 0.19 28);
}
.form .btn { margin-top: 0.35rem; }
.form__alt { margin-top: 0.85rem; text-align: center; font-size: var(--fs-sm); color: var(--ink-2); }
.form__alt a {
  color: var(--blue); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid oklch(56% 0.215 258 / .4);
}
.form__alt a:hover { border-bottom-color: var(--blue); }
.form__status:not(:empty) {
  margin-top: 0.8rem; padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm); background: var(--blue-wash);
  font-size: var(--fs-sm); color: var(--ink); text-align: center;
}

@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* la órbita también en móvil, más pequeña y con el texto más estrecho */
@media (max-width: 620px) {
  .orbit__field.is-orbiting { --vuelta: 46s; }
  .is-orbiting .orbit__core { width: 56vw; }
  .is-orbiting .orbit__core .h2 { font-size: 1.65rem; }
  .is-orbiting .orbit__core p { font-size: 0.8rem; margin: 0.6rem auto 1rem; }
  .is-orbiting .orbit__core .btn { padding: 0.6rem 1.1rem; font-size: 0.8rem; }
  .wcard__cap { font-size: 0.5rem; letter-spacing: 0.06em; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MÓVIL · simplificar y centrar
   En pantallas pequeñas se cae todo a una columna centrada, se quitan los
   adornos que no aportan y se reducen los bloques que pesan.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 620px) {
  /* todo a una columna y centrado: estética simple y simétrica */
  .band__in, .band__title, .band__lead,
  .sec--serv__in, .tuya__copy, .me__copy { text-align: center; }
  .band__title, .band__lead, .serv__intro { max-width: none; margin-inline: auto; }

  .band { min-height: 0; padding-block: clamp(3rem, 9vw, 4rem); }
  .bandc { text-align: center; }

  /* servicios: número encima del título, sin rejilla de tres columnas */
  .serv {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.3rem;
    text-align: center;
  }
  .serv p { grid-column: 1; max-width: 34ch; margin-inline: auto; }
  
  /* la maqueta del editor sobra en móvil: ocupa mucho y no se lee */
  .editor { display: none; }
  .tuya { gap: 0; }

  /* el estudio, centrado y con el retrato arriba */
  .me { justify-items: center; text-align: center; }
  .me__shot { max-width: 210px; }
  .me__quote {
    border-left: 0;
    border-top: 2px solid var(--blue);
    padding: 1.1rem 0 0;
    margin-inline: auto;
  }
  .me__lead { margin-inline: auto; }

  /* preguntas frecuentes: alineadas a la izquierda para poder leerlas */
  .faq__item summary { font-size: 0.98rem; text-align: left; }
  .faq__item p { font-size: 0.86rem; }

  /* la órbita, más compacta: menos aire y tarjetas más grandes */
  .wcard__cap { display: none; }
  .orbit { padding-block: clamp(1.6rem, 5vw, 2.4rem); }
  .is-orbiting .orbit__core { width: 74vw; }
  .is-orbiting .orbit__core .h2 { font-size: 1.8rem; }
  .is-orbiting .orbit__core p { font-size: 0.84rem; }
}

@media (max-width: 420px) {
  /* en pantallas muy estrechas el comparador se apila mejor en vertical */
  .ba__frame { aspect-ratio: 3 / 4; }
}


/* botón fantasma para las secciones oscuras */
.btn--ghost-inv {
  border-color: oklch(100% 0 0 / .3);
  color: var(--t-00);
  background: oklch(100% 0 0 / .04);
}
@media (hover: hover) {
  .btn--ghost-inv:hover { border-color: oklch(100% 0 0 / .7); background: oklch(100% 0 0 / .1); }
}

/* ── Solo escritorio / solo móvil ──────────────────────────────────── */
.solo-mov { display: none; }
@media (max-width: 620px) {
  .solo-esc { display: none; }
  .solo-mov { display: inline; }
}

/* ── Tarjetas de la banda: desplegables solo en móvil ──────────────── */
.bandc summary {
  display: flex; align-items: baseline; gap: 0.7rem;
  list-style: none;
  cursor: default;
}
.bandc summary::-webkit-details-marker { display: none; }
.bandc summary h3 { margin: 0; }
.bandc .bandc__n { margin: 0; }

@media (max-width: 620px) {
  .bandc { padding: 0; }
  .bandc summary {
    cursor: pointer;
    padding: 1.1rem 1.2rem;
    align-items: center;
    justify-content: flex-start;
  }
  .bandc summary::after {
    content: ""; margin-left: auto; flex: 0 0 auto;
    width: 9px; height: 9px;
    border-right: 2px solid var(--blue-sky);
    border-bottom: 2px solid var(--blue-sky);
    rotate: 45deg; translate: 0 -2px;
    transition: rotate var(--t) var(--ease);
  }
  .bandc[open] summary::after { rotate: -135deg; translate: 0 2px; }
  .bandc p { padding: 0 1.2rem 1.2rem; text-align: left; }
  .bandc h3 { text-align: left; }
}


/* la columna de la derecha en Gestión: botón arriba y maqueta debajo */
.tuya__side { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.tuya__side .editor { width: 100%; }
.tuya__cta { margin-top: 0; }

@media (max-width: 900px) {
  .tuya__side { align-items: center; }
}
