/* ==========================================================
   MEXALI v2 — Hoja de estilos
   Paleta del manual de identidad: rojo MEXALI, grafito y gris papel.
   Secciones alternan oscuro / claro.
   ========================================================== */
:root {
  --red: #E8393B;
  --red-hot: #FF4B3E;
  --red-deep: #B8232A;
  --night: #0B0B0C;
  --night-2: #141416;
  --night-3: #1D1D20;
  --paper: #F1F0EC;
  --paper-2: #E6E5E0;
  --ink: #121212;
  --muted: #6B6A66;
  --muted-d: #8E8D88;
  --line: rgba(18, 18, 18, .1);
  --line-d: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .055);
  --wa: #25D366;

  --f: "Montserrat", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --wrap: 1360px;
  --gut: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 17px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #000; color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ——— Marca ——— */
.iso { display: inline-block; width: 34px; height: 30px; background: var(--red); -webkit-mask: url("../isologo.png") center / contain no-repeat; mask: url("../isologo.png") center / contain no-repeat; }
.iso-sm { width: 18px; height: 16px; }
.wordmark { display: inline-flex; align-items: center; font-weight: 200; letter-spacing: .42em; font-size: 17px; line-height: 1; color: #fff; }
.wordmark svg { width: .8em; height: .98em; margin-right: .42em; }

/* ——— Tipografía de sección ——— */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232, 57, 59, .18); }
.eyebrow-dark { color: var(--muted-d); }
.eyebrow-light { color: rgba(255, 255, 255, .85); }
.eyebrow-light::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.h2 { font-weight: 200; font-size: clamp(2.2rem, 4.1vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; margin-top: 18px; }
.h2 b { font-weight: 700; }
.h2-dark { color: #fff; }
.h2-dark b { color: var(--red); }
.h2-light { color: #fff; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: clamp(48px, 6vw, 80px); }
.head-note { max-width: 420px; color: var(--muted); font-size: 16px; }
.head-note-dark { color: var(--muted-d); }

/* ——— Botones ——— */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; min-height: 58px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15.5px; letter-spacing: .01em; transition: background .3s, color .3s, box-shadow .3s; will-change: transform; }
.btn-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 18px 40px -14px rgba(232, 57, 59, .9); }
.btn-red .btn-arrow { background: #fff; color: var(--red); }
.btn-red:hover { background: var(--red-hot); box-shadow: 0 22px 60px -10px rgba(255, 75, 62, 1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark .btn-arrow { background: var(--red); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { min-height: 72px; font-size: 18px; padding-left: 34px; }
.btn-lg .btn-arrow { width: 56px; height: 56px; }
.btn-play { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.btn-play .play { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: 12px; color: var(--red); background: rgba(255, 255, 255, .04); transition: background .3s, border-color .3s; }
.btn-play:hover .play { background: var(--red); color: #fff; border-color: var(--red); }
.btn-wa { background: var(--wa); color: #06210f; padding: 0 30px; }
.btn-wa:hover { background: #2fe076; }

/* ——— Navegación ——— */
.nav { position: fixed; z-index: 90; top: 22px; left: 0; right: 0; padding: 0 calc(var(--gut) + 10px); display: flex; align-items: center; justify-content: space-between; pointer-events: none; transition: top .4s var(--ease); }
.nav > * { pointer-events: auto; }
.nav-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 16px 10px 12px; border-radius: 999px; transition: background .4s; }
.nav.scrolled { top: 14px; }
.nav.scrolled .nav-brand { background: rgba(14, 14, 16, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-pill { position: relative; display: flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(20, 20, 22, .55); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.nav-pill a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .3s; white-space: nowrap; }
.nav-pill a:hover { color: #fff; }
.nav-pill a.active { color: #fff; }
.nav-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--red); box-shadow: 0 6px 20px -6px rgba(232, 57, 59, .9); transition: transform .5s var(--ease), width .5s var(--ease); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 22px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.arrow-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.nav-cta:hover .arrow-dot { transform: rotate(45deg); }

/* ——— Cursor ——— */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; opacity: 0; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(232, 57, 59, .9); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red); }
.cursor.is-link { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(232, 57, 59, .12); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red); }
.cursor-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; } }

/* ——— Preloader ——— */
.loader { position: fixed; inset: 0; z-index: 400; background: var(--night); display: grid; place-items: center; align-content: center; gap: 22px; transition: clip-path 1s var(--ease); clip-path: inset(0 0 0 0); }
.loader.done { clip-path: inset(0 0 100% 0); }
.loader-iso { width: 96px; height: 84px; background: var(--red); -webkit-mask: url("../isologo.png") center / contain no-repeat; mask: url("../isologo.png") center / contain no-repeat; animation: isoIn 1.2s var(--ease) both; filter: drop-shadow(0 0 30px rgba(232, 57, 59, .7)); }
.loader-word { color: #fff; font-weight: 200; font-size: 20px; letter-spacing: .6em; padding-left: .6em; animation: wordIn 1.2s .2s var(--ease) both; }
.loader-count { position: absolute; right: 40px; bottom: 32px; font-family: var(--mono); color: var(--muted-d); font-size: 13px; }
@keyframes isoIn { from { transform: scale(.4) rotate(-120deg); opacity: 0; } }
@keyframes wordIn { from { letter-spacing: 1.4em; opacity: 0; } }

/* ═════════ HERO ═════════ */
.hero {
  position: relative; margin: 12px; border-radius: 34px; overflow: hidden;
  min-height: calc(100vh - 24px); min-height: calc(100svh - 24px);
  background: radial-gradient(120% 90% at 75% 40%, #2a0e0f 0%, #140b0c 35%, var(--night) 70%);
  color: #fff; isolation: isolate;
}
.dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -120px; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgba(232, 57, 59, .42), rgba(232, 57, 59, .08) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 40px; padding: 130px clamp(28px, 4.5vw, 72px) 110px; min-height: inherit; max-width: 1560px; margin: 0 auto; }
.chip-label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid rgba(232, 57, 59, .45); background: rgba(232, 57, 59, .08); font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #f3c9c9; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232, 57, 59, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 57, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 57, 59, 0); } }
.hero-title { margin: 28px 0 28px; font-weight: 200; font-size: clamp(3rem, 5.9vw, 6.6rem); line-height: .94; letter-spacing: -.035em; text-transform: uppercase; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .indent { padding-left: .9em; }
.hero-title b { font-weight: 800; color: var(--red); text-shadow: 0 0 60px rgba(232, 57, 59, .45); }
.ch { display: inline-block; transition: font-weight .25s, color .25s; }
.hero-sub { max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .72); font-weight: 300; }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; align-items: center; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 46px; font-size: 13.5px; color: rgba(255, 255, 255, .6); line-height: 1.45; }
.hero-proof strong { color: #fff; font-weight: 600; }
.proof-thumbs { display: flex; }
.proof-thumbs img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top left; border: 2px solid var(--night); margin-left: -12px; }
.proof-thumbs img:first-child { margin-left: 0; }

/* Escena 3D */
.hero-stage { position: relative; height: min(68vh, 660px); min-height: 520px; }
.hero-stage > * { position: absolute; will-change: transform; }
.orbit { left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.orbit-1 { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
.orbit-2 { width: 400px; height: 400px; margin: -200px 0 0 -200px; border-style: dashed; border-color: rgba(232, 57, 59, .25); animation: spin 40s linear infinite; }
.orbit-1::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
@keyframes spin { to { rotate: 360deg; } }
.logo3d { left: 50%; top: 50%; width: 400px; height: 350px; margin: -185px 0 0 -200px; perspective: 1100px; }
.logo3d-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.logo3d-inner .ly { position: absolute; inset: 0; -webkit-mask: url("../isologo.png") center / contain no-repeat; mask: url("../isologo.png") center / contain no-repeat; backface-visibility: visible; }
.logo3d-floor { left: 10%; right: 10%; bottom: -70px; height: 60px; position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 57, 59, .55), transparent); filter: blur(14px); }

.fcard { border-radius: 18px; padding: 14px 16px; color: #fff; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); font-size: 13px; }
.fc-head { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); font-size: 12.5px; }
.fc-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 11px; }
.fc-ico.ga { background: #F9AB00; color: #5b3a00; }
.fc-ico.meta { background: #0866FF; color: #fff; font-weight: 700; }
.fc-up { margin-left: auto; color: #5be38c; font-family: var(--mono); font-size: 11.5px; }
.fc-big { font-size: 34px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-top: 6px; }
.fc-foot { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-top: 8px; }
.spark { width: 170px; height: 42px; margin-top: 4px; }
.fc-ga { left: -4%; top: 0; width: 210px; }
.fc-google { right: -4%; top: 4%; width: 250px; }
.g-search { display: flex; align-items: center; gap: 8px; background: #fff; color: #202124; border-radius: 999px; padding: 7px 12px; font-size: 12.5px; }
.g-search span { font-weight: 700; color: #4285F4; }
.g-result { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: rgba(232, 57, 59, .18); border: 1px solid rgba(232, 57, 59, .5); }
.g-pos { width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.g-result b { display: block; font-size: 13px; } .g-result small { color: rgba(255, 255, 255, .6); font-size: 11.5px; }
.fc-wa { right: -2%; bottom: 2%; display: flex; gap: 12px; align-items: center; width: 290px; }
.wa-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.wa-ico svg { width: 20px; }
.fc-wa b { display: block; font-size: 13.5px; } .fc-wa small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.fc-meta { left: -6%; bottom: 8%; width: 220px; }
.avatars { display: flex; align-items: center; margin-top: 10px; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #1b1213; margin-left: -8px; background: linear-gradient(135deg, #f7b7a3, #b0544e); }
.avatars i:nth-child(1) { margin-left: 0; background: linear-gradient(135deg, #e9c9a1, #8a5a3b); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #9fb6e8, #3d4e8a); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #c7e8a1, #4f7a3b); }
.avatars em { font-style: normal; margin-left: 10px; font-weight: 600; }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 26px; padding: 0 110px 0 clamp(28px, 4.5vw, 72px); display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.scroll-cue { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .3); position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ═════════ CINTA ═════════ */
.ticker { overflow: hidden; padding: 34px 0 10px; }
.ticker-track { display: flex; align-items: center; gap: 44px; width: max-content; will-change: transform; }
.ticker span { font-size: clamp(22px, 2.6vw, 38px); font-weight: 200; letter-spacing: -.02em; white-space: nowrap; color: #2a2a2a; }
.ticker i { width: 22px; height: 19px; background: var(--red); -webkit-mask: url("../isologo.png") center / contain no-repeat; mask: url("../isologo.png") center / contain no-repeat; flex: none; }

/* ═════════ SECCIONES BASE ═════════ */
.sec { position: relative; padding: clamp(100px, 12vw, 170px) 0; }
.sec-light { background: var(--paper); }
.sec-dark { background: var(--night); color: #fff; }

/* Proximidad: borde que se ilumina cuando el cursor se acerca */
[data-prox] { position: relative; --mx: 50%; --my: 50%; --prox: 0; }
[data-prox]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 57, 59, calc(var(--prox) * 1)), rgba(232, 57, 59, 0) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

/* ═════════ SERVICIOS ═════════ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.svc { position: relative; display: block; height: clamp(460px, 38vw, 560px); border-radius: 26px; overflow: hidden; background: var(--night); color: #fff; text-decoration: none; transform-style: preserve-3d; will-change: transform; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6); }
.svc > img, .svc > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.75); }
.svc:hover > img, .svc:hover > video { transform: scale(1.0); filter: saturate(1) brightness(.85); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 11, 12, .1) 20%, rgba(11, 11, 12, .92) 78%); }
.svc-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px; }
.svc-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.svc h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 16px; }
.svc ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 7px; }
.svc li { font-size: 14px; color: rgba(255, 255, 255, .75); padding-left: 18px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.svc-more { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); transition: background .3s; }
.svc:hover .svc-more { background: var(--red); border-color: var(--red); }
.svc.star { box-shadow: 0 0 0 1.5px var(--red), 0 40px 80px -30px rgba(232, 57, 59, .55); }
.svc-badge { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 13px; border-radius: 999px; background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 8px 24px -6px rgba(232, 57, 59, .9); }

/* ═════════ PROYECTOS ═════════ */
.projects { position: relative; overflow: hidden; background: var(--night); color: #fff; border-radius: 34px; margin: 0 12px; }
.proj-pin { display: flex; align-items: center; height: 100vh; min-height: 680px; padding-left: clamp(28px, 4.5vw, 72px); gap: 0; }
.proj-intro { flex: 0 0 340px; position: relative; z-index: 2; }
.proj-viewport { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent 0, #000 80px); mask: linear-gradient(90deg, transparent 0, #000 80px); }
.proj-note { margin-top: 22px; color: var(--muted-d); font-size: 16px; }
.proj-progress { margin-top: 40px; height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.proj-progress span { display: block; height: 100%; width: 0; background: var(--red); }
.proj-hint { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.proj-hint span { color: var(--red); }
.proj-track { display: flex; gap: 70px; align-items: center; will-change: transform; padding: 0 6vw 0 80px; }
.proj { flex: 0 0 min(58vw, 96vh); }
.proj-device { display: block; border-radius: 18px; overflow: hidden; background: #1a1a1c; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(232, 57, 59, .35); transform-style: preserve-3d; will-change: transform; text-decoration: none; }
.device-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #222225; }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3c3c40; }
.device-bar i:first-child { background: var(--red); }
.device-bar span { margin-left: 12px; font-family: var(--mono); font-size: 12px; color: #a9a8a3; background: #151517; padding: 4px 14px; border-radius: 6px; }
.device-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.device-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.device-screen img.on { opacity: 1; transform: scale(1); }
.proj-info { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6px 40px; margin-top: 30px; align-items: start; }
.proj-meta { grid-column: 1 / -1; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.proj h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; }
.proj-info > p:not(.proj-meta) { color: #b5b4ae; font-size: 15.5px; }
.proj-tags { grid-column: 2; list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proj-tags li { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #d8d7d2; }
.proj-end { flex: 0 0 auto; display: grid; gap: 22px; justify-items: start; padding-right: 6vw; }
.proj-end p { font-size: clamp(36px, 4vw, 64px); font-weight: 200; letter-spacing: -.04em; }

/* ═════════ CÓMO FUNCIONA ═════════ */
.explain-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 100px); }
.stage-wrap { position: relative; }
.scene-box { position: sticky; top: 110px; height: min(74vh, 620px); border-radius: 30px; background: radial-gradient(90% 80% at 70% 20%, #2a1213, var(--night) 60%); color: #fff; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .6); }
.scene { position: absolute; inset: 0; padding: 46px; display: flex; flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; }
.scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.scene-tabs { position: absolute; left: 46px; bottom: 30px; display: flex; gap: 8px; z-index: 2; }
.scene-tabs button { width: 26px; height: 6px; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .2); cursor: pointer; transition: width .4s var(--ease), background .3s; padding: 0; }
.scene-tabs button.on { width: 56px; background: var(--red); }

/* Escena SEO */
.sc-search { display: flex; align-items: center; gap: 12px; background: #fff; color: #202124; border-radius: 999px; padding: 16px 24px; font-size: 19px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.sc-search .g { font-weight: 800; font-size: 22px; background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { width: 2px; height: 22px; background: #202124; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sc-results { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.sc-results li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); transition: transform 1s var(--ease); }
.sc-results li i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .1); flex: none; display: grid; place-items: center; font-style: normal; }
.r-other b { display: block; width: 220px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .16); }
.r-other small { display: block; width: 140px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 8px; }
.r-you { background: rgba(232, 57, 59, .16) !important; border-color: rgba(232, 57, 59, .6) !important; box-shadow: 0 20px 50px -20px rgba(232, 57, 59, .7); }
.r-you i { background: var(--red) !important; }
.r-you b { display: block; font-size: 15px; } .r-you small { color: rgba(255, 255, 255, .65); }
.sc-badge { align-self: flex-start; margin-top: 22px; padding: 8px 14px; border-radius: 999px; background: rgba(91, 227, 140, .12); color: #7cf0a6; font-size: 13px; font-weight: 600; border: 1px solid rgba(91, 227, 140, .3); }

/* Escena GA4 */
.store { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; }
.store-door { position: relative; height: 170px; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .15); border-bottom: 3px solid var(--red); display: grid; place-items: center; }
.store-door span { font-family: var(--mono); letter-spacing: .3em; font-size: 13px; color: rgba(255, 255, 255, .7); }
.walkers { position: absolute; inset: 0; pointer-events: none; }
.w { position: absolute; bottom: 8px; font-size: 18px; color: var(--red); animation: walk 3.2s linear infinite; }
.w::after { content: attr(data-src); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.w2 { animation-delay: .8s; color: #E1306C; } .w3 { animation-delay: 1.6s; color: var(--wa); } .w4 { animation-delay: 2.4s; color: #0866FF; }
@keyframes walk { 0% { left: -12%; opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 85% { left: 46%; opacity: 0; } 100% { left: 46%; opacity: 0; } }
.store { position: relative; }
.counter { text-align: right; }
.counter small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.counter b { font-size: 56px; font-weight: 200; letter-spacing: -.04em; }
.src-bars { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.src-bars li { display: grid; grid-template-columns: 90px 1fr 56px; gap: 14px; align-items: center; font-size: 14px; }
.src-bars i { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.src-bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: 6px; background: linear-gradient(90deg, var(--red-deep), var(--red-hot)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s .3s var(--ease); }
.scene.on .src-bars i::after { transform: scaleX(1); }
.src-bars b { font-family: var(--mono); font-weight: 400; text-align: right; }

/* Escena Meta */
.meta-flow { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 10px; }
.mini-web { position: relative; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 10px; }
.mw-bar { height: 8px; width: 40%; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.mw-hero { height: 90px; border-radius: 10px; margin: 10px 0; background: linear-gradient(135deg, rgba(232, 57, 59, .6), rgba(232, 57, 59, .1)); }
.mw-lines i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 7px; }
.mw-lines i:last-child { width: 60%; }
.visitor { position: absolute; right: -12px; top: -14px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); }
.flow-line { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px); }
.flow-line small { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.flow-dot { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; animation: flow 2.4s var(--ease) infinite; }
@keyframes flow { to { left: calc(100% - 12px); } }
.phone { width: 210px; justify-self: center; border-radius: 30px; padding: 10px; background: #000; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ph-top { font-weight: 700; font-size: 14px; padding: 6px 8px 10px; font-style: italic; }
.ph-post { border-radius: 16px; overflow: hidden; background: #121212; }
.ph-user { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 12px; }
.ph-user small { margin-left: auto; color: rgba(255, 255, 255, .5); font-size: 10.5px; }
.ph-img { height: 150px; background: url("../work/foto-producto.webp") center / cover; }
.ph-cta { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 12.5px; font-weight: 600; background: var(--red); }

/* Escena Ads */
.ads-flow { display: flex; align-items: center; gap: 14px; }
.ads-step { flex: 1; border-radius: 18px; padding: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ads-step b { display: block; font-size: 34px; font-weight: 300; letter-spacing: -.03em; margin-top: 12px; }
.ads-step small { color: rgba(255, 255, 255, .6); font-size: 13px; }
.ads-step.hot { background: rgba(232, 57, 59, .18); border-color: rgba(232, 57, 59, .6); box-shadow: 0 20px 50px -20px rgba(232, 57, 59, .7); }
.ads-ico { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-weight: 700; }
.ads-step.hot .ads-ico { background: var(--red); }
.ads-arrow { color: rgba(255, 255, 255, .4); font-size: 20px; }
.ads-verdict { margin-top: 26px; padding: 22px 24px; border-radius: 18px; background: #fff; color: var(--ink); }
.ads-verdict p { font-size: 14px; color: var(--muted); }
.ads-verdict b { font-size: 42px; font-weight: 300; letter-spacing: -.04em; color: var(--red); }
.ads-verdict small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Escena WhatsApp */
.chat { border-radius: 22px; padding: 26px; background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23ffffff10'/%3E%3C/svg%3E"); display: grid; gap: 16px; font-family: system-ui, sans-serif; }
.bubble { justify-self: end; position: relative; max-width: 340px; padding: 8px 10px 22px; border-radius: 12px 2px 12px 12px; background: #005c4b; color: #e9edef; font-size: 14px; }
.b-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(233, 237, 239, .55); margin-bottom: 4px; }
.bubble u { color: #53bdeb; display: block; padding: 2px 2px; }
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: rgba(233, 237, 239, .6); }
.og { border-radius: 8px; overflow: hidden; background: #025144; margin-bottom: 4px; }
.og img { width: 100%; aspect-ratio: 1.91; object-fit: cover; }
.og div { padding: 8px 10px; display: grid; gap: 2px; }
.og b { font-size: 13.5px; } .og small { font-size: 12.5px; color: rgba(233, 237, 239, .75); } .og em { font-style: normal; font-size: 12px; color: rgba(233, 237, 239, .55); }

/* Pasos de lectura */
.steps-read { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .6s var(--ease); padding: 20px 0; }
.step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 70px; }
.step:last-child { min-height: 60vh; }
.step.on { opacity: 1; }
.tech { display: inline-flex; align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding: 6px 12px; border-radius: 999px; background: rgba(232, 57, 59, .1); }
.step h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.035em; line-height: 1.12; margin: 18px 0 16px; }
.step p { color: #3d3d3a; font-size: 17px; }
.gain { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gain b { color: var(--red); }

/* ═════════ ESTUDIO ═════════ */
.studio { border-radius: 34px; margin: 0 12px; overflow: hidden; }
.brand-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.brand { border-radius: 24px; overflow: hidden; background: var(--night-3); }
.b1 { grid-column: span 7; } .b2 { grid-column: span 5; } .b3 { grid-column: span 5; } .b4 { grid-column: span 7; }
.brand-img { height: clamp(300px, 28vw, 440px); overflow: hidden; }
.brand-img img { width: 100%; height: 118%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand:hover .brand-img img { scale: 1.05; }
.brand figcaption { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 22px; }
.brand figcaption b { font-weight: 600; font-size: 17px; }
.brand figcaption span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--muted-d); text-transform: uppercase; }

.reel { padding: clamp(100px, 10vw, 150px) 0 0; }
.reel-frame { position: relative; width: 72%; margin: 0 auto; height: 88vh; border-radius: 34px; overflow: hidden; will-change: width, border-radius; }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); }
.reel-copy { position: absolute; z-index: 1; left: clamp(28px, 4vw, 64px); bottom: clamp(28px, 4vw, 60px); }
.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.credit { border-radius: 22px; padding: 26px; background: var(--glass); border: 1px solid var(--line-d); }
.c-date { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.credit h3 { font-size: 24px; font-weight: 300; letter-spacing: -.03em; margin: 10px 0 8px; }
.credit p { font-size: 14px; color: var(--muted-d); }
.c-link { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--red); }

.photo-rows { padding: clamp(110px, 11vw, 160px) 0 40px; overflow: hidden; }
.photo-head { margin-bottom: 50px; }
.row { display: flex; gap: 18px; width: max-content; will-change: transform; margin-bottom: 18px; }
.row img { height: clamp(240px, 22vw, 340px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
.row[data-row="1"] { margin-left: -30vw; }

/* ═════════ PROCESO ═════════ */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 60px; }
.tl-line { position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.tl-line span { display: block; height: 100%; width: 0; background: var(--red); }
.tl-step { border-radius: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .25); }
.tl-n { position: absolute; top: -60px; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; transition: background .4s, border-color .4s, color .4s; }
.tl-step { position: relative; }
.tl-step.lit .tl-n { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(232, 57, 59, .15); }
.tl-step h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.tl-step p { font-size: 15px; color: var(--muted); }

/* ═════════ COTIZADOR ═════════ */
.quote-sec { padding: 0 12px clamp(90px, 10vw, 140px); background: var(--paper); }
.quote-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 4vw, 70px); padding: clamp(40px, 5vw, 80px); border-radius: 34px; background: radial-gradient(80% 120% at 0% 0%, #ff5a4c 0%, var(--red) 45%, var(--red-deep) 100%); color: #fff; }
.quote-card::before { content: ""; position: absolute; width: 640px; height: 560px; left: -160px; bottom: -220px; background: rgba(0, 0, 0, .12); -webkit-mask: url("../isologo.png") center / contain no-repeat; mask: url("../isologo.png") center / contain no-repeat; pointer-events: none; }
.quote-side { position: relative; display: flex; flex-direction: column; }
.summary { margin-top: 40px; border-radius: 22px; padding: 22px 24px; background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.sum-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 12px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14.5px; animation: sumIn .5s var(--ease); }
.summary li span { color: rgba(255, 255, 255, .7); }
.summary li b { font-weight: 600; }
.summary li.empty { display: block; color: rgba(255, 255, 255, .75); }
@keyframes sumIn { from { opacity: 0; transform: translateX(-10px); } }
.quote-direct { margin-top: auto; padding-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.quote-direct a { color: #fff; font-weight: 600; }

.quiz { position: relative; background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(28px, 3vw, 44px); box-shadow: 0 50px 100px -40px rgba(80, 0, 0, .7); min-height: 560px; display: flex; flex-direction: column; }
.quiz-top { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.quiz-step-label { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.quiz-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--paper-2); overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 16.6%; background: var(--red); border-radius: 2px; transition: width .6s var(--ease); }
.q { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.q.on { display: block; animation: qIn .6s var(--ease); }
@keyframes qIn { from { opacity: 0; transform: translateX(30px); } }
.q legend { font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; padding: 0; }
.q-help { font-size: 14px; color: var(--muted); margin-top: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-flex; padding: 13px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 500; transition: all .25s var(--ease); background: #fff; }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.opts-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opts-cards span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; border-radius: 18px; padding: 18px; height: 100%; }
.o-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-style: normal; font-size: 18px; color: var(--red); transition: background .25s, color .25s; }
.opts-cards b { font-size: 16px; font-weight: 600; }
.opts-cards small { font-size: 13px; color: var(--muted); }
.opts-cards input:checked + span { background: var(--ink); }
.opts-cards input:checked + span small { color: rgba(255, 255, 255, .65); }
.opts-cards input:checked + span .o-ico { background: var(--red); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 15px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); background: #fff; }
.q-error { margin-top: 16px; color: var(--red-deep); font-weight: 600; font-size: 14px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 30px; }
.q-back { background: none; border: 0; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; padding: 10px 0; }
.q-back:disabled { opacity: .3; cursor: default; }

/* ═════════ FAQ ═════════ */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 110px); }
.faq-list details { border-radius: 20px; background: #fff; border: 1px solid var(--line); margin-bottom: 12px; transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .3); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 70px 22px 26px; position: relative; font-weight: 600; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-weight: 300; font-size: 22px; color: var(--red); transition: rotate .4s var(--ease), background .3s, color .3s; }
.faq-list details[open] summary::after { rotate: 45deg; background: var(--red); color: #fff; }
.faq-list details p { padding: 0 26px 24px; color: var(--muted); }

/* ═════════ PIE ═════════ */
.foot { position: relative; margin: 0 12px 12px; border-radius: 34px; overflow: hidden; background: radial-gradient(90% 70% at 50% 110%, #3a1213, var(--night) 60%); color: #fff; padding: clamp(80px, 9vw, 130px) clamp(28px, 4.5vw, 72px) 30px; isolation: isolate; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.foot-cta { font-weight: 200; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.foot-cta b { font-weight: 700; color: var(--red); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 50px 0; }
.foot-cols a, .foot-cols p { display: block; font-size: 15px; color: #cfcec9; text-decoration: none; margin-bottom: 8px; }
.foot-cols a:hover { color: var(--red); }
.foot-cols p a { display: inline; color: #fff; }
.f-label { font-family: var(--mono); font-size: 11.5px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d) !important; margin-bottom: 16px !important; }
.giant { font-weight: 100; font-size: 21.5vw; line-height: .8; letter-spacing: -.02em; text-align: center; color: rgba(255, 255, 255, .08); user-select: none; margin: 10px -20px 0; white-space: nowrap; }
.giant .ch { transition: font-weight .3s, color .3s; }
.foot-legal { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted-d); padding-top: 26px; letter-spacing: .06em; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .45); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ——— Aparición ——— */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-js [data-reveal], .no-motion [data-reveal] { opacity: 1; transform: none; }

/* ═════════ Pantallas medianas y celular (versión base; se afinará) ═════════ */
@media (max-width: 1180px) {
  .nav-pill a { padding: 9px 11px; font-size: 12.5px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-stage { height: 560px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .explain-grid { grid-template-columns: 1fr; }
  .scene-box { top: 90px; height: 480px; z-index: 2; }
  .quote-card, .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-pill { display: none; }
  .head-row, .foot-top { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .hero-title .line { white-space: normal; }
  .hero-stage { transform: scale(.7); height: 440px; margin: -40px -60px; }
  .projects .proj-pin { height: auto; flex-direction: column; align-items: stretch; padding: 90px 20px; }
  .proj-intro { flex: none; }
  .proj-viewport { overflow: visible; -webkit-mask: none; mask: none; }
  .proj-track { flex-direction: column; padding: 0; gap: 60px; }
  .proj { flex: none; width: 100%; }
  .proj-info { grid-template-columns: 1fr; }
  .proj-tags { grid-column: 1; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand { grid-column: auto !important; }
  .reel-frame { width: 92%; height: 60vh; }
  .credits, .timeline, .foot-cols { grid-template-columns: 1fr; }
  .tl-line { display: none; }
  .tl-n { position: static; margin-bottom: 14px; }
  .timeline { padding-top: 0; }
  .opts-cards, .fields { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .meta-flow { grid-template-columns: 1fr; }
  .flow-line { display: none; }
  .scene { padding: 26px; }
  .step { min-height: 50vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
