/* ==========================================================
   WEBEARTE — estilos
   Oscuro, tipografía gigante, movimiento con peso.
   ========================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #131315;
  --bg-3: #1b1b1e;
  --fg: #f4f1ec;
  --mute: rgba(244, 241, 236, 0.56);
  --soft: rgba(244, 241, 236, 0.32);
  --line: rgba(255, 255, 255, 0.09);
  --accent: #ff4d2e;
  --accent-ink: #160604;

  --sans: "General Sans", "Satoshi", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --gut: clamp(20px, 4vw, 56px);
  --max: 1680px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Grano de película ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); } 60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); }
.cursor__ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.cursor__label { font-size: 13px; font-weight: 500; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .5s var(--ease); white-space: nowrap; }
.cursor.is-view .cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255, 255, 255, .7); }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- Cabecera ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  pointer-events: none;
  transition: transform .8s var(--ease);
}
.top > * { pointer-events: auto; }
.top.is-hidden { transform: translateY(-120%); }

.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__mark { width: 34px; height: 34px; transition: transform .9s var(--ease); }
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__word { font-size: 13px; font-weight: 500; letter-spacing: 0.38em; text-transform: uppercase; }

.top__right { display: flex; gap: 10px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  background: rgba(40, 40, 44, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .6s var(--ease), background .6s var(--ease);
}
.pill:hover { background: rgba(60, 60, 66, 0.7); }
.pill:active { transform: scale(.97); }
.pill--accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.pill--accent:hover { background: #ff6a4f; }

.burger { position: relative; width: 16px; height: 10px; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 8.5px; }
.menu-open .burger i:nth-child(1) { top: 4.25px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 4.25px; transform: rotate(-45deg); }
.menu-btn__txt { display: grid; overflow: hidden; height: 1.3em; }
.menu-btn__txt span { grid-area: 1 / 1; transition: transform .7s var(--ease); }
.menu-btn__txt span + span { transform: translateY(110%); }
.menu-open .menu-btn__txt span:first-child { transform: translateY(-110%); }
.menu-open .menu-btn__txt span + span { transform: translateY(0); }

/* ---------- Menú a pantalla completa ---------- */
.menu {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gut) 36px;
  background: rgba(11, 11, 12, 0.86);
  -webkit-backdrop-filter: blur(36px); backdrop-filter: blur(36px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s var(--ease-io);
  pointer-events: none;
}
.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { list-style: none; }
.menu__links li { overflow: hidden; }
.menu__links a {
  display: inline-flex; align-items: baseline; gap: 18px;
  font-size: clamp(52px, 10vw, 150px); font-weight: 500; line-height: 0.98; letter-spacing: -0.045em;
  transform: translateY(105%);
  transition: transform 1s var(--ease), color .4s var(--ease);
}
.menu__links a sup { font-size: 14px; letter-spacing: 0; color: var(--soft); font-weight: 400; }
.menu__links a:hover { color: var(--accent); }
.menu-open .menu__links a { transform: translateY(0); }
.menu-open .menu__links li:nth-child(1) a { transition-delay: .18s; }
.menu-open .menu__links li:nth-child(2) a { transition-delay: .24s; }
.menu-open .menu__links li:nth-child(3) a { transition-delay: .30s; }
.menu-open .menu__links li:nth-child(4) a { transition-delay: .36s; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between; color: var(--mute); font-size: 15px; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s; }
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__foot b { display: block; color: var(--fg); font-weight: 500; margin-bottom: 4px; }

/* ---------- Telón entre páginas ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 85; pointer-events: none;
  background: var(--accent);
  transform: translateY(100%);
  display: grid; place-items: center;
}
.curtain svg { width: 64px; height: 64px; color: var(--accent-ink); }
.curtain.is-in { transition: transform .75s var(--ease-io); transform: translateY(0); }
.curtain.is-out { transform: translateY(0); animation: curtainOut .9s var(--ease-io) .05s forwards; }
@keyframes curtainOut { to { transform: translateY(-100%); } }

/* ---------- Pantalla de carga (solo inicio) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 88; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px var(--gut);
}
.loader__row { display: flex; justify-content: space-between; color: var(--mute); font-size: 14px; }
.loader__num { font-size: clamp(110px, 26vw, 400px); font-weight: 500; letter-spacing: -0.06em; line-height: .8; font-variant-numeric: tabular-nums; }
.loader__bar { height: 2px; background: var(--line); overflow: hidden; margin-top: 18px; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.loader.is-done { transition: transform 1.1s var(--ease-io); transform: translateY(-100%); }
html.no-loader .loader { display: none; }

/* ---------- Arranque: nombre letra a letra y logo iluminado ---------- */
.intro { position: fixed; inset: 0; z-index: 88; background: #000; display: grid; place-items: center; cursor: pointer; transition: opacity .8s var(--ease-io); }
.intro.s5 { opacity: 0; pointer-events: none; }
.intro__word { position: absolute; font-size: clamp(22px, 2.6vw, 38px); font-weight: 400; letter-spacing: .62em; margin-right: -.62em; text-transform: uppercase; white-space: nowrap; }
.intro__word span { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(6px); transition: opacity .6s var(--ease-out), filter .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.intro.s1 .intro__word span { opacity: 1; filter: none; transform: none; }
.intro.s2 .intro__word span { opacity: 0; filter: blur(6px); transition-duration: .6s; transition-delay: calc(var(--i) * 30ms); }
.intro__mark { position: relative; width: clamp(110px, 12vw, 170px); aspect-ratio: 1; opacity: 0; transform: scale(.72) rotate(-14deg); filter: drop-shadow(0 0 6px rgba(255, 110, 80, .9)) drop-shadow(0 0 26px rgba(255, 60, 90, .55)); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out); }
.intro__mark svg { width: 100%; height: 100%; overflow: visible; }
.intro.s3 .intro__mark { opacity: 1; transform: none; filter: drop-shadow(0 0 10px rgba(255, 110, 80, 1)) drop-shadow(0 0 46px rgba(255, 50, 90, .75)) drop-shadow(0 0 110px rgba(255, 77, 46, .4)); }
.intro.s4 .intro__mark { opacity: 0; transform: scale(1.7); transition: opacity .8s var(--ease-io), transform .9s var(--ease-io); }
.intro__ring { position: absolute; inset: 0; border-radius: 30%; box-shadow: 0 0 0 2px rgba(255, 90, 80, .8), 0 0 30px rgba(255, 60, 90, .6), inset 0 0 30px rgba(255, 60, 90, .4); opacity: 0; transform: scale(1); }
.intro.s4 .intro__ring { animation: ring 1.4s var(--ease-out) forwards; }
.intro.s4 .intro__ring:nth-of-type(2) { animation-delay: .14s; }
.intro.s4 .intro__ring:nth-of-type(3) { animation-delay: .28s; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.6); } }
.intro__skip { position: absolute; bottom: 26px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .28); }

/* ---------- Animaciones de entrada ---------- */
.rv { opacity: 0; transform: translateY(56px); filter: blur(8px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv[data-d="1"] { transition-delay: .08s; } .rv[data-d="2"] { transition-delay: .16s; }
.rv[data-d="3"] { transition-delay: .24s; } .rv[data-d="4"] { transition-delay: .32s; }

.split .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split .ln > span { display: inline-block; transform: translateY(110%) rotate(3deg); transform-origin: left top; transition: transform 1.3s var(--ease); }
.split.in .ln > span { transform: none; }
.split.in .ln:nth-child(2) > span { transition-delay: .09s; }
.split.in .ln:nth-child(3) > span { transition-delay: .18s; }
.split.in .ln:nth-child(4) > span { transition-delay: .27s; }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.mega { font-size: clamp(64px, 13.5vw, 250px); font-weight: 500; line-height: .86; letter-spacing: -0.055em; }
.h1 { font-size: clamp(48px, 8.4vw, 150px); font-weight: 500; line-height: .92; letter-spacing: -0.05em; }
.h2 { font-size: clamp(40px, 5.8vw, 100px); font-weight: 500; line-height: .95; letter-spacing: -0.045em; }
.h3 { font-size: clamp(26px, 2.6vw, 42px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.4; color: var(--mute); letter-spacing: -0.01em; max-width: 38ch; }
.lead b { color: var(--fg); font-weight: 500; }
.muted { color: var(--mute); }

.sec { padding-block: clamp(110px, 14vw, 220px); position: relative; }
.sec--tight { padding-block: clamp(80px, 9vw, 140px); }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(48px, 6vw, 96px); }

/* ---------- Botón isla (botón dentro de botón) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 16px;
  height: 60px; padding: 0 8px 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 500;
  background: var(--fg); color: var(--bg);
  transition: transform .6s var(--ease), background .6s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); border-radius: inherit; transform: translateY(101%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--accent-ink); }
.btn:active { transform: scale(.97); }
.btn__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .08); transition: transform .7s var(--ease); }
.btn:hover .btn__ico { transform: translate(3px, -2px) scale(1.06) rotate(-45deg); }
.btn__ico svg { width: 18px; height: 18px; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost .btn__ico { background: rgba(255, 255, 255, .08); }

.link-u { position: relative; display: inline-flex; gap: 8px; align-items: center; }
.link-u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .7s var(--ease); }
.link-u:hover::after { transform: scaleX(1); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-bottom: clamp(36px, 5vw, 64px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg canvas { width: 100%; height: 100%; }
.hero__glow { position: absolute; z-index: 0; width: 70vw; height: 70vw; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 46, .22), transparent 62%); filter: blur(20px); pointer-events: none; }

/* Vídeo a lo ancho en la parte de arriba; el titular queda debajo */
.hero__film { position: absolute; top: 0; left: 0; right: 0; height: 76%; z-index: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.hero__film video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; animation: filmIn 2.4s var(--ease-out) both; }
@keyframes filmIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.hero__film ~ .hero__bg { display: none; }
.hero__film ~ .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, transparent 16%, transparent 52%, rgba(11, 11, 12, .9) 76%, var(--bg) 100%); }
@media (max-width: 860px) {
  .hero__film { height: 54%; }
  .hero__film video { object-position: 44% 40%; }
}
.stage { position: absolute; inset: 0; z-index: 1; perspective: 1600px; display: grid; place-items: center; pointer-events: none; }
.stage { place-items: start end; padding: 9vh 3vw 0 0; }
.stage__rig { position: relative; width: min(980px, 66vw); aspect-ratio: 16 / 9; transform-style: preserve-3d; transform: rotateX(var(--rx, 18deg)) rotateY(var(--ry, -18deg)) rotateZ(4deg); transition: transform 1.4s var(--ease-out); }
.hero .mega { font-size: clamp(50px, 7.2vw, 140px); }

.dev { position: absolute; transform-style: preserve-3d; }
.dev img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.laptop { width: 74%; left: 6%; top: 6%; transform: translateZ(0); animation: float1 9s var(--ease-io) infinite alternate; }
.laptop__screen { aspect-ratio: 16 / 10; border-radius: 14px; padding: 9px; background: linear-gradient(160deg, #2b2b2f, #0e0e10); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 60px 120px -30px rgba(0, 0, 0, .9); }
.laptop__screen > div { width: 100%; height: 100%; border-radius: 7px; overflow: hidden; background: #000; }
.laptop__base { height: 14px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(#3a3a3f, #18181b); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); }

.phone { width: 21%; aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #303035, #0d0d0f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 100px -20px rgba(0, 0, 0, .95); }
.phone > div { width: 100%; height: 100%; border-radius: 27px; overflow: hidden; background: #000; position: relative; }
.phone > div::before { content: ""; position: absolute; top: 9px; left: 50%; width: 32%; height: 18px; transform: translateX(-50%); border-radius: 20px; background: #000; z-index: 2; }
.phone--a { right: 2%; top: 22%; transform: translateZ(140px) rotate(-4deg); animation: float2 7s var(--ease-io) infinite alternate; }
.phone--b { left: -4%; top: 44%; width: 17%; transform: translateZ(220px) rotate(6deg); animation: float3 8s var(--ease-io) infinite alternate; }

@keyframes float1 { to { transform: translateZ(0) translateY(-14px); } }
@keyframes float2 { to { transform: translateZ(140px) rotate(-2deg) translateY(-26px); } }
@keyframes float3 { to { transform: translateZ(220px) rotate(4deg) translateY(18px); } }

.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(11, 11, 12, .45) 0%, transparent 22%, transparent 38%, rgba(11, 11, 12, .8) 62%, var(--bg) 100%), linear-gradient(90deg, rgba(11, 11, 12, .75), transparent 55%); }
.hero__content { position: relative; z-index: 3; }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 3vw, 44px); flex-wrap: wrap; }
.hero__meta .lead { max-width: 44ch; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: var(--mute); font-size: 14px; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--fg), transparent); animation: drip 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.rotator { display: inline-grid; vertical-align: top; overflow: hidden; clip-path: inset(0 -0.1em); height: 1em; padding-bottom: .12em; box-sizing: content-box; }
.rotator > span { grid-area: 1 / 1; color: var(--accent); transform: translateY(150%); transition: transform 1s var(--ease); }
.rotator > span.on { transform: none; }
.rotator > span.off { transform: translateY(-150%); }

/* ---------- Imagen que sube, se va al fondo y deja pasar otras (como Fantasy) ---------- */
.recede { position: relative; height: 360vh; }
.recede__pin { position: sticky; top: 0; height: 100dvh; overflow: hidden; }
.recede__intro { position: absolute; z-index: 3; left: var(--gut); top: 16vh; max-width: 20em; font-size: clamp(24px, 2.6vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; will-change: transform, opacity; }
.recede__card { position: absolute; z-index: 3; inset: 6vh 3vw; border-radius: 14px; overflow: hidden; background: #000; will-change: transform; transform-origin: 50% 50%; }
.recede__card img { width: 100%; height: 100%; object-fit: cover; }
.recede__card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); }
/* Tres columnas de borde a borde, como Fantasy: 30% · 37% · 30% con 1,2vw de separación */
.recede__col { position: absolute; z-index: 2; top: 0; display: flex; flex-direction: column; gap: 1.2vw; will-change: transform; }
.recede__col--l { left: 0; width: 30.2vw; }
.recede__col--c { left: 31.4vw; width: 37.2vw; }
.recede__col--r { left: 69.8vw; width: 30.2vw; }
.tile { position: relative; flex: none; border-radius: 10px; overflow: hidden; background: #0f0f11; }
.tile--scene img { width: 100%; height: 100%; object-fit: cover; }
.tile--screen { display: grid; place-items: center; padding: 6% 7%; background: radial-gradient(120% 100% at 50% 0%, #1b1b1f, #0d0d0f); }
.tile--screen img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.tile--phone { display: grid; place-items: center; background: radial-gradient(120% 100% at 50% 0%, #1b1b1f, #0d0d0f); }
.tile--phone .phone { position: relative; height: 86%; width: auto; }
.tile--slot { background: transparent; }
.recede__text::before { content: ""; position: absolute; z-index: -1; inset: -60% -30%; background: radial-gradient(closest-side, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55) 55%, transparent); pointer-events: none; }
.recede__text { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(30vw, 420px); transform: translate(-50%, -50%); text-align: center; font-size: clamp(20px, 2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; opacity: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .8); }
@media (max-width: 860px) {
  .recede { height: 360vh; }
  .recede__text { width: 70vw; }
}

/* ---------- Manifiesto: palabras que se encienden ---------- */
.manifesto { font-size: clamp(32px, 4.6vw, 78px); font-weight: 500; line-height: 1.06; letter-spacing: -0.04em; max-width: 20ch; }
.manifesto .w { opacity: .14; transition: opacity .5s var(--ease); }
.manifesto .w.lit { opacity: 1; }
.manifesto em { color: var(--accent); }

/* ---------- Cinta ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(38px, 6vw, 96px); font-weight: 500; letter-spacing: -0.045em; white-space: nowrap; }
.marquee__item .o { color: transparent; -webkit-text-stroke: 1px rgba(244, 241, 236, .55); }
.marquee__item svg { width: .55em; height: .55em; color: var(--accent); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Trabajos ---------- */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2vw, 32px); }
.work { grid-column: span 6; display: block; }
.work--xl { grid-column: span 12; }
.work--lg { grid-column: span 7; }
.work--sm { grid-column: span 5; margin-top: clamp(0px, 10vw, 180px); }
.work__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--bg-2); isolation: isolate; }
.work--xl .work__media { aspect-ratio: 21 / 10; }
.work__media > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: top; transition: transform 1.6s var(--ease), filter 1.2s var(--ease); }
.work:hover .work__media > img { transform: scale(1.05); filter: brightness(.75); }
.work__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .55)); }
.work__phone { position: absolute; z-index: 2; right: 5%; bottom: -18%; width: 22%; transform: rotate(-6deg) translateY(0); transition: transform 1.2s var(--ease); }
.work--xl .work__phone { width: 13%; }
.work:hover .work__phone { transform: rotate(-2deg) translateY(-12%); }
.work__phone.phone { position: absolute; }
.work__info { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 20px; }
.work__title { font-size: clamp(24px, 2.3vw, 38px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.work__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--mute); white-space: nowrap; }
.work__desc { color: var(--mute); margin-top: 6px; max-width: 46ch; }

/* Parallax con la propia barra de scroll (sin JavaScript) */
@supports (animation-timeline: view()) {
  .px { animation: px linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes px { from { transform: translateY(-5%); } to { transform: translateY(5%); } }
}

/* ---------- Servicios en filas ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { position: relative; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 24px; padding: clamp(28px, 3.4vw, 52px) 0; border-bottom: 1px solid var(--line); isolation: isolate; overflow: hidden; }
.svc__row::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.svc__row:hover::before { transform: scaleY(1); }
.svc__row:hover { color: var(--accent-ink); }
.svc__n { font-size: 14px; color: var(--soft); transition: color .5s; }
.svc__row:hover .svc__n, .svc__row:hover .svc__d { color: var(--accent-ink); }
.svc__t { font-size: clamp(36px, 5.6vw, 100px); font-weight: 500; letter-spacing: -0.05em; line-height: .95; transition: transform .9s var(--ease); }
.svc__row:hover .svc__t { transform: translateX(22px); }
.svc__d { max-width: 30ch; color: var(--mute); font-size: 16px; text-align: right; transition: color .5s; }
.svc__arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; transform: rotate(-45deg); transition: transform .8s var(--ease); margin-left: 24px; }
.svc__row:hover .svc__arrow { transform: rotate(0); }
.svc__end { display: flex; align-items: center; }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step { position: relative; padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.step__in { height: 100%; padding: 30px 28px 34px; border-radius: 20px; background: var(--bg-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 70px; transition: background .7s var(--ease); }
.step:hover .step__in { background: var(--bg-3); }
.step__n { font-size: 15px; color: var(--accent); font-weight: 500; }
.step h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 10px; }
.step p { color: var(--mute); font-size: 16px; }

/* ---------- Banda de demostración IA ---------- */
.ai-band { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.chat-demo { padding: 7px; border-radius: 30px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.chat-demo__in { border-radius: 24px; background: linear-gradient(170deg, #17171a, #0f0f11); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-height: 430px; }
.chat-demo__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.av { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ff9a85, var(--accent) 55%, #8a1d0a); flex: none; box-shadow: 0 0 24px rgba(255, 77, 46, .45); }
.chat-demo__head b { font-weight: 500; display: block; }
.chat-demo__head small { color: var(--mute); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.chat-demo__head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.msg { max-width: 82%; padding: 13px 17px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.msg.show { opacity: 1; transform: none; }
.msg--bot { background: rgba(255, 255, 255, .06); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.typing { display: inline-flex; gap: 4px; padding: 16px 18px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Aplicaciones (escaparate) ---------- */
.apps-show { position: relative; display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 80px); border-radius: 28px; background: radial-gradient(110% 90% at 30% 0%, #3a2238, var(--bg-2) 70%); overflow: hidden; }
.apps-show .laptop { position: relative; width: 100%; left: 0; top: 0; animation: none; }
.slides { position: relative; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 4s var(--ease-out); }
.slides img.on { opacity: 1; transform: none; }
.apps-show__phones { display: flex; gap: 14px; justify-content: center; }
.apps-show__phones .phone { position: relative; width: 46%; }
.apps-show__phones .phone:first-child { transform: translateY(-8%) rotate(-3deg); animation: float2b 7s var(--ease-io) infinite alternate; }
.apps-show__phones .phone:last-child { transform: translateY(8%) rotate(3deg); animation: float3b 8s var(--ease-io) infinite alternate; }
@keyframes float2b { to { transform: translateY(-12%) rotate(-1deg); } }
@keyframes float3b { to { transform: translateY(4%) rotate(1deg); } }
.apps-show__info { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 22px; flex-wrap: wrap; }

.apps-gal { display: grid; grid-template-columns: 1fr 1fr .42fr; gap: clamp(14px, 2vw, 24px); align-items: center; padding-bottom: clamp(60px, 8vw, 120px); }
.apps-gal figure { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.apps-gal figure img { width: 100%; }
.apps-gal .phone { position: relative; width: 100%; }
.apps-gal__cap { grid-column: 1 / -1; color: var(--mute); }
@media (max-width: 860px) { .apps-gal { grid-template-columns: 1fr; } .apps-gal .phone { width: 60%; margin: 0 auto; } }

/* ---------- Galería de asistentes animados ---------- */
.bots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); padding-bottom: clamp(70px, 9vw, 130px); }
.bot-card { position: relative; padding: 26px 24px 24px; border-radius: 24px; background: linear-gradient(170deg, #18181b, #0f0f11); box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.bot-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 77, 46, .45), 0 30px 60px -30px rgba(255, 77, 46, .45); }
.bot-card__face { width: 110px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #1a1a1d; box-shadow: 0 0 0 3px var(--accent), 0 0 40px rgba(255, 77, 46, .35); margin-bottom: 18px; }
.bot-card__face video { width: 100%; height: 100%; object-fit: cover; }
.bot-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 18px; }
.bot-card__head b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.bot-card__head span { color: var(--mute); font-size: 14px; }
.bot-card__badge { position: absolute; top: 22px; right: 22px; font-family: var(--sans); font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--mute); }
.bot-card__q, .bot-card__a { max-width: 90%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.bot-card__q { margin-left: auto; margin-bottom: 8px; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; width: fit-content; }
.bot-card__a { background: rgba(255, 255, 255, .07); border-bottom-left-radius: 5px; }
.bots__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 34px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 77, 46, .22), transparent 60%), #111113; box-shadow: inset 0 0 0 1px var(--line); }
.bots__cta .lead { max-width: 46ch; }
@media (max-width: 1000px) { .bots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bots { grid-template-columns: 1fr; } }

/* ---------- Así nace tu web: portátil 3D que se abre y una web que se construye ---------- */
.build { position: relative; height: 420vh; }
.build__pin { position: sticky; top: 0; height: 100dvh; overflow: hidden; display: grid; grid-template-columns: .8fr 1.6fr; align-items: center; gap: clamp(20px, 4vw, 70px); padding: 0 var(--gut); }
.build__steps { list-style: none; display: grid; gap: 6px; }
.build__steps li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--line); font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--soft); transition: color .5s var(--ease); }
.build__steps li span { position: absolute; left: 0; top: 18px; font-size: 13px; letter-spacing: 0; }
.build__steps li small { display: block; max-height: 0; overflow: hidden; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--mute); transition: max-height .6s var(--ease), margin .6s var(--ease); }
.build__steps li.on { color: var(--fg); }
.build__steps li.on span { color: var(--accent); }
.build__steps li.on small { max-height: 3em; margin-top: 6px; }
.build__steps li.done { color: var(--mute); }

.buildv { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 0 0 1px var(--line), 0 50px 120px -40px rgba(0, 0, 0, .9); }
.buildv video { width: 100%; height: 100%; object-fit: cover; }
.buildv::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px 30px var(--bg); border-radius: inherit; }

@media (max-width: 860px) {
  .build { height: 440vh; }
  .build__pin { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .build__text .h2 { font-size: 38px; margin: 12px 0 14px !important; }
  .build__steps li { padding: 8px 0 8px 36px; font-size: 18px; }
  .build__steps li span { top: 11px; }
  .build__steps li small { display: none; }
}

/* ---------- Agentes de IA: llamada a la acción ---------- */
.ai-cta { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; padding-block: clamp(100px, 12vw, 160px); margin-bottom: clamp(60px, 8vw, 120px); }
.ai-cta__bg { position: absolute; inset: 0; }
.ai-cta__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; transform: scale(1.6); transform-origin: 0% 60%; } /* ampliado desde la izquierda: el móvil del fondo queda fuera de la pantalla */
.ai-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .7) 45%, rgba(11, 11, 12, .25) 75%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.ai-cta__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.ai-cta__points { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 36px 0 40px; color: var(--mute); font-size: 15px; }
.ai-cta__points b { display: block; color: var(--fg); font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.ai-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-cta__btns .btn::before { background: var(--accent); }
.ai-cta__btns .btn:first-child { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(255, 77, 46, .5); animation: cta-pulse 2.4s infinite; }
.ai-cta__btns .btn:first-child::before { background: var(--fg); }
@keyframes cta-pulse { 70% { box-shadow: 0 0 0 18px rgba(255, 77, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0); } }
.ai-cta__side { position: relative; }
.maxi { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; position: relative; z-index: 2; }
.maxi__face { width: clamp(120px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 4px var(--accent), 0 0 60px rgba(255, 77, 46, .55); animation: maxi-bob 4s var(--ease-io) infinite alternate; }
.maxi__face video { width: 100%; height: 100%; object-fit: cover; }
@keyframes maxi-bob { to { transform: translateY(-8px); } }
.maxi__bubble { position: relative; margin-bottom: 0; padding: 14px 18px; border-radius: 18px 18px 18px 4px; background: var(--fg); color: var(--bg); font-size: 15.5px; line-height: 1.4; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); animation: bubble-in 1s var(--ease-out) both; }
.ai-cta__side.in .maxi__bubble { animation-delay: .6s; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.ai-cta .chat-demo { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ai-cta .chat-demo__in { min-height: 360px; background: #111113; }
.ai-cta .chat-demo { background: #0d0d0f; }

/* ---------- Gran llamada final + pie ---------- */
.cta { position: relative; padding: clamp(120px, 14vw, 220px) 0 0; overflow: hidden; }
.cta__eyebrow { margin-bottom: 30px; }
.cta__big { display: block; font-size: clamp(84px, 21vw, 380px); font-weight: 500; letter-spacing: -0.07em; line-height: .8; white-space: nowrap; transition: color .6s var(--ease); }
.cta__big:hover { color: var(--accent); }
.cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; margin-top: clamp(40px, 5vw, 70px); }
.magnet { display: inline-block; will-change: transform; transition: transform .8s var(--ease-out); }
.orb { width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; text-align: center; font-weight: 500; font-size: 17px; line-height: 1.2; transition: transform .8s var(--ease); }
.orb:hover { transform: scale(1.06); }

.foot { margin-top: clamp(90px, 10vw, 150px); padding: 30px 0 36px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; font-size: 15px; color: var(--mute); }
.foot b { display: block; color: var(--fg); font-weight: 500; margin-bottom: 10px; }
.foot a { display: block; width: max-content; transition: color .4s; }
.foot a:hover { color: var(--fg); }
.foot .logo { display: inline-flex; color: var(--fg); }
.foot__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--soft); }

/* ---------- Cabecera de página interior ---------- */
.phead { padding-block: clamp(150px, 17vw, 260px) clamp(60px, 7vw, 110px); }
.phead .eyebrow { margin-bottom: 28px; }
.phead__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 36px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .05); color: var(--mute); transition: background .5s var(--ease), color .5s var(--ease); }
.filters button.on, .filters button:hover { background: var(--fg); color: var(--bg); }
.work.is-off { display: none; }

/* ---------- Caso de estudio ---------- */
.case-hero { position: relative; height: 100dvh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
.case-hero__img { position: absolute; inset: 0; }
.case-hero__img img, .case-hero__img video { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.15); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.case-hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(11, 11, 12, .45) 0%, transparent 25%, transparent 45%, rgba(11, 11, 12, .75) 75%, var(--bg)), linear-gradient(90deg, rgba(11, 11, 12, .65), transparent 55%); }
.case-hero__c { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(36px, 5vw, 70px); }
.case-hero__c .eyebrow { margin-bottom: 18px; }

.case-intro { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 120px); }
.meta { display: grid; gap: 26px; align-content: start; }
.meta div { border-top: 1px solid var(--line); padding-top: 14px; }
.meta small { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.meta span { font-size: 17px; }
.case-intro .h2 { max-width: 18ch; }
.case-intro .lead { margin-top: 30px; max-width: 52ch; }

.objs { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 5vw, 90px); counter-reset: o; }
.objs li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 30px 0; border-top: 1px solid var(--line); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.02em; line-height: 1.25; }
.objs li::before { counter-increment: o; content: "0" counter(o); font-size: 14px; color: var(--accent); padding-top: .35em; letter-spacing: 0; }

.showcase { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(40px, 7vw, 120px) clamp(20px, 6vw, 110px); background: radial-gradient(120% 90% at 50% 0%, var(--tint, #2a1a12), var(--bg-2) 70%); }
.showcase .laptop { position: relative; width: 100%; left: 0; top: 0; animation: none; }
.showcase .laptop__screen > div { position: relative; }
.scroller img { width: 100%; height: auto; object-fit: initial; animation: tour calc(var(--n) * 3.2s) cubic-bezier(.65, 0, .35, 1) infinite alternate; will-change: transform; }
.showcase:hover .scroller img { animation-play-state: paused; }
@keyframes tour { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(calc((1 - var(--n)) / var(--n) * 100%)); } }
.showcase__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(255, 59, 59, 0); } }

.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2vw, 30px); }
.feat { padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.feat__in { height: 100%; border-radius: 20px; background: var(--bg-2); padding: clamp(28px, 3vw, 44px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.feat__k { display: block; font-size: 14px; color: var(--accent); margin-bottom: 60px; }
.feat h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 12px; }
.feat p { color: var(--mute); max-width: 44ch; }

.gal { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; }
.gal figure { border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.gal figure img { width: 100%; height: 100%; object-fit: cover; }
.gal__tall { grid-row: span 2; }
.gal__phones { display: flex; gap: clamp(16px, 2vw, 28px); justify-content: center; padding: clamp(30px, 5vw, 80px) 0; }
.gal__phones .phone { position: relative; width: min(300px, 42vw); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fact { border-top: 1px solid var(--line); padding-top: 24px; }
.fact__n { font-size: clamp(64px, 8vw, 140px); font-weight: 500; letter-spacing: -0.06em; line-height: .9; }
.fact__n sup, .fact__n small { font-size: .35em; letter-spacing: -0.02em; color: var(--accent); vertical-align: top; }
.fact p { color: var(--mute); margin-top: 14px; max-width: 28ch; }

.next { position: relative; display: block; overflow: hidden; border-radius: 28px; isolation: isolate; min-height: 70vh; padding: clamp(30px, 4vw, 60px); }
.next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -2; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.next::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .3), rgba(11, 11, 12, .9)); transition: background 1s var(--ease); }
.next:hover img { transform: scale(1); }
.next__c { position: absolute; left: clamp(30px, 4vw, 60px); right: clamp(30px, 4vw, 60px); bottom: clamp(30px, 4vw, 60px); }
.next__c .mega { margin-top: 14px; }

/* ---------- Servicios (página) ---------- */
.sv-block { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 130px); padding: clamp(80px, 9vw, 150px) 0; border-top: 1px solid var(--line); }
.sv-block__side { position: sticky; top: 120px; align-self: start; }
.sv-block__n { font-size: 15px; color: var(--accent); display: block; margin-bottom: 20px; }
.sv-list { list-style: none; }
.sv-list li { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -0.015em; }
.sv-list li span { color: var(--soft); font-size: 15px; letter-spacing: 0; text-align: right; }
.sv-for { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; font-size: clamp(21px, 2vw, 30px); letter-spacing: -0.025em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--mute); max-width: 62ch; padding-bottom: 30px; font-size: 18px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 130px); }
.contact__side { display: grid; gap: 34px; align-content: start; }
.contact__side b { display: block; font-weight: 500; margin-bottom: 4px; }
.contact__side a, .contact__side span { color: var(--mute); }
.form { display: grid; gap: 34px; }
.field { position: relative; }
.field label { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg); font: inherit; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.02em; padding: 6px 0 16px; outline: none; transition: border-color .5s var(--ease); resize: none; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 241, 236, .2); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 50px; padding: 0 22px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease); }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.chips label:active span { transform: scale(.96); }
.form__note { font-size: 14px; color: var(--soft); }
.form__ok { display: none; padding: 20px 24px; border-radius: 16px; background: rgba(61, 220, 132, .1); color: #8ff0bb; }
.form__ok.show { display: block; }

/* ---------- Asistente flotante ---------- */
.bot { position: fixed; right: 22px; bottom: 22px; z-index: 75; }
.bot__btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 9px; border-radius: 999px; background: rgba(28, 28, 31, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 40px -10px rgba(0, 0, 0, .6); font-weight: 500; font-size: 15px; transition: transform .6s var(--ease); }
.bot__btn:hover { transform: translateY(-3px); }
.bot__btn .av { width: 44px; height: 44px; }
.av--maxi { overflow: hidden; background: #1a1a1d; box-shadow: 0 0 0 2px var(--accent), 0 0 20px rgba(255, 77, 46, .45); }
.av--maxi video { width: 100%; height: 100%; object-fit: cover; }
.bot__btn { padding-left: 7px; }
.bot__panel { position: absolute; right: 0; bottom: 74px; width: min(380px, calc(100vw - 32px)); border-radius: 26px; padding: 6px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -20px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); transform-origin: bottom right; transform: scale(.85) translateY(20px); opacity: 0; pointer-events: none; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.bot.open .bot__panel { transform: none; opacity: 1; pointer-events: auto; }
.bot__in { border-radius: 21px; background: rgba(16, 16, 18, .96); display: flex; flex-direction: column; height: min(520px, 70dvh); overflow: hidden; }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.bot__head b { font-weight: 500; display: block; }
.bot__head small { color: var(--mute); font-size: 12.5px; }
.bot__close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.bot__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.bot__log .msg { max-width: 88%; font-size: 15px; }
.bot__quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 18px 12px; }
.bot__quick button { font-size: 13px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); transition: background .4s; }
.bot__quick button:hover { background: rgba(255, 255, 255, .14); }
.bot__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.bot__form input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .06); color: var(--fg); font: inherit; font-size: 15px; padding: 0 18px; outline: none; }
.bot__form button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .svc__d { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .top { padding: 16px var(--gut); }
  .top__cta { display: none; }
  .works { grid-template-columns: 1fr; }
  .work, .work--xl, .work--lg, .work--sm { grid-column: auto; margin-top: 0; }
  .work--xl .work__media, .work__media { aspect-ratio: 4 / 3.4; }
  .work--xl .work__phone, .work__phone { width: 28%; }
  .work__info { flex-direction: column; gap: 10px; }
  .work__tags { justify-content: flex-start; }
  .svc__row { grid-template-columns: 1fr auto; }
  .svc__n { display: none; }
  .svc__arrow { width: 44px; height: 44px; margin-left: 0; }
  .ai-band, .case-intro, .contact, .sv-block, .apps-show, .ai-cta__in { grid-template-columns: 1fr; }
  .apps-show__phones .phone { width: 40%; }
  .ai-cta__bg { bottom: auto; height: 62vh; }
  .ai-cta__bg video { object-position: 70% 50%; }
  .ai-cta__bg::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 12, .55) 35%, rgba(11, 11, 12, .92) 75%, var(--bg) 100%); }
  .maxi__face { width: 96px; }
  .sv-block__side { position: static; }
  .objs, .feats, .facts { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; }
  .gal__tall { grid-row: auto; }
  .stage { place-items: start center; padding: 13vh 0 0; }
  .stage__rig { width: 135vw; transform: rotateX(16deg) rotateY(-14deg) rotateZ(4deg); }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .showcase { padding: 30px 14px; border-radius: 20px; }
  .bot__btn span:not(.av) { display: none; }
  .bot__btn { padding: 0 9px; }
  .menu__foot { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step__in { gap: 40px; }
  .foot { grid-template-columns: 1fr; }
  .sv-list li { flex-direction: column; gap: 4px; }
  .sv-list li span { text-align: left; }
  .btn { height: 56px; }
}

/* Los efectos se mantienen aunque el sistema tenga las animaciones desactivadas: son parte del diseño. */

/* ---------- Botón flotante de WhatsApp (colores de la marca) ---------- */
.wa-float { position: fixed; z-index: 75; right: 22px; bottom: 92px; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 15px; font-weight: 500; box-shadow: 0 16px 36px -10px rgba(255, 77, 46, .6); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float span { display: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -10px rgba(255, 77, 46, .75); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255, 77, 46, .55); animation: cta-pulse 2.6s infinite; pointer-events: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .wa-float { width: 58px; height: 58px; padding: 0; justify-content: center; bottom: 90px; } .wa-float span { display: none; } .wa-float svg { width: 28px; height: 28px; } }

/* ==========================================================
   Botones de idioma y tema
   ========================================================== */
.pill--icon { width: 46px; padding: 0; justify-content: center; }
.pill--icon b { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.pill--icon svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-sun { display: block; }
[data-theme="light"] .theme-btn .i-moon { display: none; }
.logo__mark .logo__w { stroke: var(--bg); }
@media (max-width: 860px) { .pill--icon { width: 42px; height: 42px; } .top__right { gap: 6px; } }

/* ==========================================================
   TEMA CLARO
   Las secciones con vídeo o foto de fondo siguen oscuras: son las "bandas de cine" de la web.
   ========================================================== */
[data-theme="light"] {
  --bg: #f5f1ea;
  --bg-2: #ebe5db;
  --bg-3: #e2dacd;
  --fg: #16130f;
  --mute: rgba(22, 19, 15, .62);
  --soft: rgba(22, 19, 15, .4);
  --line: rgba(22, 19, 15, .12);
  --accent: #e8411f;
  --accent-ink: #fff;
  color-scheme: light;
}
[data-theme="light"] body { background: var(--bg); }

/* Bandas que se quedan oscuras */
[data-theme="light"] :is(.intro, .hero, .recede, .build, .ai-cta, .case-hero, .next, .menu, .bot__panel, .apps-show) {
  --bg: #0b0b0c; --bg-2: #131315; --bg-3: #1b1b1e; --fg: #f4f1ec;
  --mute: rgba(244, 241, 236, .56); --soft: rgba(244, 241, 236, .32); --line: rgba(255, 255, 255, .09);
  --accent: #ff4d2e; --accent-ink: #160604;
  color: var(--fg);
}
[data-theme="light"] :is(.hero, .recede, .build, .ai-cta, .case-hero) { background: var(--bg); }
[data-theme="light"] .ai-cta { margin-bottom: 0; }
[data-theme="light"] .menu { background: rgba(11, 11, 12, .9); }

/* Cabecera: píldoras claras sobre fondo claro */
[data-theme="light"] .pill { background: rgba(255, 255, 255, .72); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(22, 19, 15, .08), 0 8px 24px -12px rgba(22, 19, 15, .3); }
[data-theme="light"] .pill:hover { background: #fff; }
[data-theme="light"] .menu-open .pill { background: rgba(40, 40, 44, .55); color: #f4f1ec; }
[data-theme="light"] .logo { padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(22, 19, 15, .08); }
[data-theme="light"] .foot .logo { padding: 0; background: none; box-shadow: none; }

/* Piezas que usaban colores oscuros fijos */
[data-theme="light"] .tag, [data-theme="light"] .filters button { background: rgba(22, 19, 15, .06); }
[data-theme="light"] .btn--ghost { background: rgba(22, 19, 15, .05); }
[data-theme="light"] .btn--ghost .btn__ico, [data-theme="light"] .btn__ico { background: rgba(255, 255, 255, .14); }
[data-theme="light"] .btn--ghost .btn__ico { background: rgba(22, 19, 15, .08); }
[data-theme="light"] .marquee__item .o { -webkit-text-stroke: 1px rgba(22, 19, 15, .5); }
[data-theme="light"] .cursor__ring { border-color: rgba(22, 19, 15, .35); }
[data-theme="light"] .cursor.is-link .cursor__ring { border-color: rgba(22, 19, 15, .7); }
[data-theme="light"] .grain { opacity: .035; }
[data-theme="light"] .chips span { background: rgba(255, 255, 255, .6); }
[data-theme="light"] .step { background: rgba(22, 19, 15, .03); }
[data-theme="light"] .step__in, [data-theme="light"] .feat__in { background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -30px rgba(22, 19, 15, .4); }
[data-theme="light"] .step:hover .step__in { background: #fffdf9; }
[data-theme="light"] .bot-card { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -30px rgba(22, 19, 15, .35); }
[data-theme="light"] .bot-card__a { background: rgba(22, 19, 15, .06); }
[data-theme="light"] .bot-card__badge { background: rgba(22, 19, 15, .06); }
[data-theme="light"] .bot-card__face { background: #1a1a1d; }
[data-theme="light"] .bots__cta { background: radial-gradient(120% 140% at 0% 0%, rgba(232, 65, 31, .14), transparent 60%), #fff; }
[data-theme="light"] .showcase { background: radial-gradient(120% 90% at 50% 0%, var(--tint, #2a1a12), #131315 70%); }
[data-theme="light"] .work__media, [data-theme="light"] .gal figure { background: var(--bg-2); }
[data-theme="light"] .work__phone.phone, [data-theme="light"] .gal__phones .phone, [data-theme="light"] .apps-gal .phone { box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 40px 80px -30px rgba(22, 19, 15, .45); }
[data-theme="light"] .apps-gal figure { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -35px rgba(22, 19, 15, .4); }
[data-theme="light"] .svc__row:hover { color: #fff; }
[data-theme="light"] .svc__row:hover .svc__n, [data-theme="light"] .svc__row:hover .svc__d { color: #fff; }
[data-theme="light"] .field input::placeholder, [data-theme="light"] .field textarea::placeholder { color: rgba(22, 19, 15, .28); }
[data-theme="light"] .form__ok { background: rgba(40, 160, 90, .12); color: #1d7a45; }
[data-theme="light"] .bot__btn { background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(22, 19, 15, .08), 0 20px 40px -14px rgba(22, 19, 15, .35); }
[data-theme="light"] .orb { color: #fff; }

/* Transición suave al cambiar de tema */
html.theme-anim, html.theme-anim * { transition: background-color .5s ease, color .5s ease, border-color .5s ease !important; }

@media (max-width: 480px) { .logo__word { font-size: 11px; letter-spacing: .22em; } .logo { gap: 10px; } [data-theme="light"] .logo { padding-right: 12px; } }

@media (max-width: 600px) { .wa-float { width: 50px; height: 50px; right: 14px; bottom: 76px; } .wa-float svg { width: 26px; height: 26px; } .bot { right: 14px; bottom: 14px; } .bot__btn { height: 50px; } .bot__btn .av { width: 38px; height: 38px; } }

/* ---------- Precios ---------- */
.pack { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding: clamp(30px, 4vw, 56px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 77, 46, .22), transparent 55%), var(--bg-2); box-shadow: inset 0 0 0 1px rgba(255, 77, 46, .35); margin-bottom: clamp(40px, 6vw, 80px); }
.pack .h2 { margin: 14px 0 16px; }
.pack__price { display: grid; gap: 8px; justify-items: start; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 77, 46, .45), 0 30px 60px -30px rgba(255, 77, 46, .4); }
.plan--hot { box-shadow: inset 0 0 0 2px var(--accent); }
.plan__badge { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.plan .plan__badge { position: absolute; top: -12px; left: 24px; }
.plan__name { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.plan__for { color: var(--mute); font-size: 15px; margin: 6px 0 22px; }
.plan__price { font-size: clamp(40px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan__price small { display: block; font-size: 13px; letter-spacing: 0; color: var(--mute); font-weight: 400; margin-bottom: 4px; }
.plan__month { color: var(--accent); font-weight: 500; margin-top: 8px; }
.plan__was { color: var(--mute); text-decoration: line-through; font-size: 15px; }
.plan__note { color: var(--mute); font-size: 14px; margin-bottom: 10px; }
.plan__list { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; font-size: 15px; color: var(--mute); }
.plan__list li { padding-left: 24px; position: relative; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.plan__cta { margin-top: auto; color: var(--fg); font-weight: 500; font-size: 15px; }
.plan__cta:hover { color: var(--accent); }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto auto; gap: 26px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 4px; }
.row p { color: var(--mute); font-size: 15px; max-width: 60ch; }
.row b { font-size: 26px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.row b small { font-size: 13px; color: var(--mute); font-weight: 400; letter-spacing: 0; }
.prices__note { margin-top: 30px; color: var(--soft); font-size: 14px; max-width: 80ch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .plans, .plans--3, .pack { grid-template-columns: 1fr; } .plan { margin-top: 10px; } .row { grid-template-columns: 1fr auto; } .row .plan__cta { grid-column: 1 / -1; } }

/* ---------- Páginas legales ---------- */
.legal { max-width: 860px; padding-bottom: clamp(80px, 10vw, 140px); }
.legal h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--mute); font-size: 16.5px; line-height: 1.65; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.legal b { color: var(--fg); font-weight: 500; }
.legal a { color: var(--accent); }
.legal-table { overflow-x: auto; margin: 18px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--mute); }
.legal th { color: var(--fg); font-weight: 500; }
.legal-fecha { margin-top: 50px; font-size: 14px !important; color: var(--soft) !important; }
.legal-en { margin-top: 18px; color: var(--soft); font-size: 14px; }
html:not([lang="en"]) .legal-en { display: none; }
.legal-dato--falta { color: #ff9a4d; background: rgba(255, 154, 77, .12); padding: 0 6px; border-radius: 6px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__links a { display: inline; width: auto; }

/* ---------- Aviso de cookies ---------- */
.cookies { position: fixed; z-index: 80; left: 22px; bottom: 22px; width: min(440px, calc(100vw - 110px)); padding: 20px 22px; border-radius: 20px; background: rgba(22, 22, 25, .96); color: #f4f1ec; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .7); font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cookies.on { opacity: 1; transform: none; }
.cookies b { font-weight: 600; }
.cookies a { color: #ff7a5c; text-decoration: underline; }
.cookies__btns { display: flex; gap: 8px; margin-top: 14px; }
.cookies__btns button { flex: 1; height: 42px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .1); color: #f4f1ec; transition: background .3s; }
.cookies__btns button:hover { background: rgba(255, 255, 255, .18); }
.cookies__btns .cookies__ok { background: #ff4d2e; color: #160604; }
.cookies__btns .cookies__ok:hover { background: #ff6a4f; }
@media (max-width: 600px) { .cookies { left: 12px; right: 12px; bottom: 12px; width: auto; } .cookies.on ~ .wa-float, .cookies.on ~ .bot { opacity: 0; pointer-events: none; } }

/* ---------- Casilla de privacidad del formulario ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--mute); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--fg); text-decoration: underline; }

/* ---------- Cómo se paga ---------- */
.pay { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: stretch; margin-top: 36px; }
.pay__item { padding: 18px 20px; border-radius: 18px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.pay__item b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.pay__item span { color: var(--mute); font-size: 14px; }
.pay__methods { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.pay__chip { padding: 9px 16px; border-radius: 999px; background: rgba(255, 77, 46, .12); color: var(--fg); font-size: 14px; font-weight: 500; white-space: nowrap; }
@media (max-width: 900px) { .pay { grid-template-columns: 1fr; } .pay__methods { flex-direction: row; flex-wrap: wrap; } }
