/* =========================================================
   LA Digital Lab — styles.css
   Paleta tomada del logo: azul marino, cian/turquesa, dorado
   ========================================================= */
:root {
  --navy-950: #00041f;
  --navy-900: #020a2a;
  --navy-800: #071640;
  --navy-700: #0c2457;
  --cyan: #2af5f1;
  --sky: #00b2ee;
  --blue: #0a84d6;
  --gold: #d4ad5f;
  --gold-deep: #b08d49;
  --white: #ffffff;
  --paper: #f5f8fc;
  --line: #e3e9f2;
  --ink: #0b1533;
  --ink-2: #44506b;
  --ink-3: #7a86a0;

  --grad: linear-gradient(100deg, var(--sky) 0%, var(--cyan) 45%, var(--gold) 100%);
  --grad-btn: linear-gradient(100deg, #00a6e6 0%, #19d9e0 100%);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11,21,51,.04), 0 12px 32px -12px rgba(11,21,51,.14);
  --shadow-lg: 0 2px 4px rgba(11,21,51,.04), 0 30px 60px -20px rgba(11,21,51,.25);
  --ease: cubic-bezier(.2,.7,.1,1);
  --nav-h: 76px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--f-display); margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
::selection { background: var(--cyan); color: var(--navy-900); }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 48px); }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }

/* ---------- Splash (doble red de seguridad: CSS 4.5s + JS) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; background: var(--navy-950);
  display: grid; place-items: center; align-content: center; gap: 28px;
  animation: splashOut .6s ease 4.5s forwards;
}
.splash.is-done { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.splash__logo { width: 120px; height: auto; filter: drop-shadow(0 0 24px rgba(42,245,241,.55)); animation: pulse 1.6s ease-in-out infinite; }
.splash__bar { width: 140px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0%{transform:translateX(-100%)} 100%{transform:translateX(260%)} }
@keyframes pulse { 50% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(42,245,241,.8)); } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }
html:not(.js) .splash { display: none; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
  color: var(--white);
}
.nav.is-solid { background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.nav__brand img { width: 40px; height: auto; filter: drop-shadow(0 0 10px rgba(42,245,241,.35)); }
.nav__brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
.nav__links a:not(.nav__cta) { position: relative; opacity: .82; transition: opacity .2s; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:not(.nav__cta):hover { opacity: 1; }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 18px; border-radius: 999px; border: 1.5px solid currentColor; transition: background .25s, color .25s, border-color .25s; }
.nav__cta:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy-900); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Botones ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; font-family: var(--f-body);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  transform: translate(var(--mx), var(--my));
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad-btn); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(0,178,238,.7); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(42,245,241,.75); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn--outline:hover { border-color: var(--sky); color: var(--blue); }
.btn--block { width: 100%; }

/* ---------- Eyebrows ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); font-weight: 500; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--dark { color: var(--cyan); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(42,245,241,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(42,245,241,0); } 100% { box-shadow: 0 0 0 0 rgba(42,245,241,0); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 90px;
  background: radial-gradient(120% 90% at 70% 40%, #0a2363 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white); overflow: hidden; display: flex; align-items: center; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -12vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(0,178,238,.22), transparent 60%); z-index: -1; filter: blur(20px); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, transparent, rgba(0,4,31,.6)); z-index: -1; }
.hero__inner { width: min(1200px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(44px, 7vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: 1.0; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1s var(--ease); }
.js .hero.is-in .hero__title .line > span { transform: none; }
.js .hero.is-in .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
.js .hero.is-in .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
.hero__title em { font-style: normal; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: rgba(255,255,255,.72); max-width: 540px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero__meta b { font-family: var(--f-display); color: var(--white); font-size: 20px; margin-right: 6px; }
.js .hero__copy > :not(.hero__title) { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .hero.is-in .hero__copy > :not(.hero__title) { opacity: 1; transform: none; }
.js .hero.is-in .hero__lead { transition-delay: .35s; }
.js .hero.is-in .hero__actions { transition-delay: .45s; }
.js .hero.is-in .hero__meta { transition-delay: .55s; }

.hero__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; --rx: 0deg; --ry: 0deg; perspective: 900px; }
.hero__logo { width: 62%; height: auto; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s var(--ease); filter: drop-shadow(0 0 30px rgba(42,245,241,.5)) drop-shadow(0 0 70px rgba(0,178,238,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(42,245,241,.18); }
.orbit--1 { inset: 6%; animation: spin 40s linear infinite; }
.orbit--2 { inset: 18%; border-color: rgba(212,173,95,.22); border-style: dashed; animation: spin 60s linear infinite reverse; }
.orbit--1::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.orbit--2::before { content: ""; position: absolute; bottom: -4px; left: 30%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: rgba(10,30,80,.55); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; white-space: nowrap; animation: float 7s ease-in-out infinite; }
.chip__k { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(42,245,241,.14); color: var(--cyan); font-family: var(--f-mono); font-size: 13px; }
.chip__k--gold { background: rgba(212,173,95,.16); color: var(--gold); }
.chip--a { top: 12%; left: -4%; animation-delay: -1s; }
.chip--b { top: 46%; right: -6%; animation-delay: -3s; }
.chip--c { bottom: 10%; left: 6%; animation-delay: -5s; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 14px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-950); color: rgba(255,255,255,.7); overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 38s linear infinite; font-family: var(--f-display); font-size: 20px; font-weight: 500; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 10px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--soft { background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; margin-bottom: 20px; }
.section__title--light { color: var(--white); }
.section__lead { font-size: 18px; color: var(--ink-2); max-width: 600px; }

/* Reveal (umbral bajo + timeout 6s en JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  --rx: 0deg; --ry: 0deg;
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .4s var(--ease), box-shadow .3s, border-color .3s, opacity .9s var(--ease);
}
.js .service.reveal:not(.is-in) { transform: translateY(28px); }
.service:hover { box-shadow: var(--shadow-lg); border-color: rgba(0,178,238,.35); }
.service:nth-child(2) { transition-delay: 0s, 0s, 0s, .08s; }
.service:nth-child(3) { transition-delay: 0s, 0s, 0s, .16s; }
.service:nth-child(4) { transition-delay: 0s, 0s, 0s, .24s; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), rgba(42,245,241,.12), transparent 45%); opacity: 0; transition: opacity .3s; }
.spot:hover::before { opacity: 1; }
.service__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; background: linear-gradient(135deg, rgba(0,178,238,.12), rgba(42,245,241,.18)); color: var(--blue); }
.service__icon--gold { background: linear-gradient(135deg, rgba(212,173,95,.14), rgba(212,173,95,.24)); color: var(--gold-deep); }
.service__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 22px; }
.service ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 14.5px; color: var(--ink); }
.service li { display: flex; gap: 10px; align-items: baseline; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); transform: translateY(-2px); }

/* ---------- Proceso ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process__line { position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.process__line span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.step { position: relative; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); font-family: var(--f-mono); font-weight: 500; color: var(--blue); margin-bottom: 26px; position: relative; z-index: 1; transition: border-color .5s, background .5s, color .5s, box-shadow .5s; }
.step.is-active .step__num { border-color: var(--cyan); background: var(--navy-900); color: var(--cyan); box-shadow: 0 0 0 6px rgba(42,245,241,.12); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step:nth-child(3) { transition-delay: .1s; } .step:nth-child(4) { transition-delay: .2s; } .step:nth-child(5) { transition-delay: .3s; }

/* ---------- Proyectos ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
.project__info { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-top: 22px; }
.project__info h3 { font-size: 24px; margin-bottom: 6px; }
.project__info p { color: var(--ink-2); font-size: 15.5px; max-width: 360px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 220px; }
.tags span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.tags .tag--ok { background: rgba(42,245,241,.12); border-color: rgba(0,178,238,.3); color: #0277a8; }
.tags .tag--soon { background: rgba(212,173,95,.12); border-color: rgba(212,173,95,.4); color: #8a6a2c; }

.browser { --rx: 0deg; --ry: 0deg; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dae6; }
.browser__bar i:first-child { background: #ff8b7e; } .browser__bar i:nth-child(2) { background: #ffd36b; } .browser__bar i:nth-child(3) { background: #7ee0a3; }
.browser__bar span { margin-left: 12px; flex: 1; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); background: var(--white); padding: 4px 12px; border-radius: 6px; }
.mock { aspect-ratio: 16 / 10; padding: 16px 20px; overflow: hidden; position: relative; }
.mock__nav { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 13px; margin-bottom: 18px; }
.mock__nav b { margin-right: auto; letter-spacing: .02em; }
.mock__nav span { width: 34px; height: 5px; border-radius: 3px; background: currentColor; opacity: .18; }
.mock__nav em { font-style: normal; font-size: 10px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.mock h4 { font-weight: 700; }
.mock__hero em, .mock__luxe em { display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; padding: 7px 12px; border-radius: 999px; margin-top: 12px; }
/* DentArt */
.mock--dent { background: linear-gradient(160deg, #f4fbfc, #e7f6f8); color: #0d3b4a; }
.mock--dent .mock__nav em { background: #13a3b4; color: #fff; }
.mock--dent .mock__hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: center; }
.mock--dent p { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #13a3b4; font-weight: 700; margin-bottom: 6px; }
.mock--dent h4 { font-size: clamp(16px, 2.2vw, 26px); }
.mock--dent .mock__hero em { background: #0d3b4a; color: #fff; }
.mock__tooth { aspect-ratio: 1; border-radius: 40% 40% 46% 46%; background: radial-gradient(circle at 35% 30%, #fff, #cdeef2 60%, #9fdbe3); box-shadow: 0 20px 40px -10px rgba(19,163,180,.4); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mock__cards span { height: 36px; border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(13,59,74,.08); }
/* Magic */
.mock--magic { background: #f3eee6; color: #151515; }
.mock--magic .mock__nav b { letter-spacing: .3em; }
.mock--magic .mock__nav em { background: #151515; color: #f3eee6; }
.mock__editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; align-items: end; height: calc(100% - 40px); }
.mock__editorial h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; font-size: clamp(20px, 3vw, 36px); line-height: 1; letter-spacing: -.02em; }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 100%; }
.mock__grid span { background: linear-gradient(180deg, #d8cfc0, #b9ab95); border-radius: 2px; }
.mock__grid span:nth-child(2) { background: linear-gradient(180deg, #2a2a2a, #121212); }
.mock__grid span:nth-child(3) { background: linear-gradient(180deg, #8b7d6b, #6a5c4b); }
/* Luxe */
.mock--luxe { background: radial-gradient(120% 120% at 20% 20%, #1c1a17, #0b0a09); color: #e8d9b5; }
.mock--luxe .mock__nav b { letter-spacing: .28em; font-size: 11px; }
.mock--luxe .mock__nav em { border: 1px solid #c9a45a; color: #c9a45a; }
.mock__luxe { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: center; height: calc(100% - 40px); }
.mock__luxe p { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: #c9a45a; margin-bottom: 8px; }
.mock__luxe h4 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(18px, 2.6vw, 30px); color: #f4ead2; }
.mock__luxe em { border: 1px solid #c9a45a; color: #c9a45a; }
.mock__bag { aspect-ratio: 1 / .9; margin-top: 18%; border-radius: 14px 14px 18px 18px; background: linear-gradient(160deg, #c9a45a, #7a5d2a); position: relative; box-shadow: 0 30px 40px -18px rgba(201,164,90,.5); }
.mock__bag::before { content: ""; position: absolute; left: 22%; right: 22%; top: -32%; height: 46%; border: 5px solid #a8843f; border-bottom: 0; border-radius: 60px 60px 0 0; }
/* CTA card */
.project--cta { display: flex; }
.project__empty { flex: 1; border-radius: 16px; border: 1.5px dashed #c7d3e4; background: linear-gradient(160deg, var(--paper), #fff); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 32px; gap: 14px; min-height: 100%; }
.project__empty img { width: 70px; height: auto; margin-bottom: 6px; }
.project__empty h3 { font-size: 26px; max-width: 360px; }
.project__empty p { color: var(--ink-2); max-width: 360px; margin-bottom: 8px; }

/* ---------- Why (oscuro) ---------- */
.why { position: relative; background: var(--navy-950); color: var(--white); padding: clamp(90px, 12vw, 150px) 0; overflow: hidden; isolation: isolate; }
.why__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.why__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why__lead { font-size: 18px; color: rgba(255,255,255,.7); max-width: 520px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.stat { padding: 34px 28px; background: rgba(2,10,42,.86); }
.stat b { font-family: var(--f-display); font-size: clamp(42px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--gold); }
.stat p { margin-top: 10px; color: rgba(255,255,255,.62); font-size: 15px; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; padding: 38px 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.plan__name { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); font-weight: 500; margin-bottom: 14px; }
.plan__price { font-family: var(--f-display); font-size: 42px; font-weight: 700; letter-spacing: -.04em; margin-bottom: 10px; line-height: 1.1; }
.plan__price small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan__price--sm { font-size: 34px; margin: 0; white-space: nowrap; }
.plan__desc { color: var(--ink-2); margin-bottom: 24px; font-size: 15.5px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.plan--featured { background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: var(--white); border-color: transparent; box-shadow: 0 30px 60px -24px rgba(2,10,42,.6); transform: translateY(-12px); }
.plan--featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan--featured .plan__name { color: var(--cyan); }
.plan--featured .plan__desc, .plan--featured .plan__price small { color: rgba(255,255,255,.62); }
.plan--featured ul { border-color: rgba(255,255,255,.12); }
.plan--featured li::before { color: var(--gold); }
.plan__badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy-900); }
.plan-extra { margin-top: 22px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 28px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
.plan-extra .plan__name { margin-bottom: 6px; }
.plan-extra p:not(.plan__name):not(.plan__price) { color: var(--ink-2); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(0,178,238,.35); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-bottom: 24px; max-width: 680px; }

/* ---------- Contacto ---------- */
.contact { background: radial-gradient(100% 120% at 0% 0%, #0a2363 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: var(--white); padding: clamp(90px, 12vw, 140px) 0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 500px; height: 500px; right: -120px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(212,173,95,.18), transparent 65%); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; position: relative; }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact__list span { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); padding-top: 3px; }
.contact__list a { font-weight: 600; transition: color .2s; }
.contact__list a:hover { color: var(--cyan); }
.contact__list p { color: rgba(255,255,255,.85); }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: var(--white); box-shadow: 0 0 0 4px rgba(0,178,238,.14); }
.field.is-error input { border-color: #e5484d; }
.form__note { font-size: 14px; color: var(--ink-3); min-height: 1.2em; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 48px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 14.5px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.nav__brand--foot { color: var(--white); }
.footer__copy { font-size: 13px; color: rgba(255,255,255,.4); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }


/* ---------- Pestañas de planes ---------- */
.tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 6px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 44px; }
.tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 15.5px; color: var(--ink-2); padding: 12px 26px; border-radius: 999px; white-space: nowrap; transition: color .3s; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--white); }
.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 999px; background: linear-gradient(120deg, var(--navy-800), var(--navy-950)); box-shadow: 0 8px 20px -8px rgba(2,10,42,.6); transition: transform .45s var(--ease), width .45s var(--ease); }
html:not(.js) .tabs { display: none; }
.panel__title { display: none; }
.panel__lead { color: var(--ink-2); margin: -20px 0 36px; max-width: 640px; }
.js .panel { display: none; }
.js .panel.is-active { display: block; animation: panelIn .55s var(--ease); }
html:not(.js) .panel { margin-bottom: 60px; }
html:not(.js) .panel__title { display: block; font-size: 28px; margin-bottom: 30px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Paquetes ---------- */
.bundles-head { margin: clamp(80px, 9vw, 120px) 0 44px; max-width: 720px; }
.bundles-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin-bottom: 16px; }
.bundles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.bundle { position: relative; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.bundle .plan__price { font-size: 34px; }
.bundle__was { font-size: 14px; color: var(--ink-3); text-decoration: line-through; margin-bottom: 2px; }
.bundle ul { list-style: none; margin: 18px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; flex: 1; align-content: start; }
.bundle li { display: flex; gap: 10px; }
.bundle li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.bundle--featured { background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: var(--white); border-color: transparent; box-shadow: 0 30px 60px -24px rgba(2,10,42,.6); }
.bundle--featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.bundle--featured .plan__name { color: var(--cyan); }
.bundle--featured .bundle__was, .bundle--featured .plan__price small { color: rgba(255,255,255,.55); }
.bundle--featured ul { border-color: rgba(255,255,255,.12); }
.bundle--featured li::before { color: var(--gold); }
.bundle .plan__badge { top: 16px; right: 16px; }

/* ---------- Video de proyecto ---------- */
.shot { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: #eef2f8; }

/* ---------- Link de proyecto ---------- */
.project__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--blue); }
.project__link span { transition: transform .25s var(--ease); }
.project__link:hover span { transform: translate(3px, -3px); }
.project .browser { cursor: pointer; }

@media (max-width: 1080px) { .bundles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .tabs { display: grid; width: 100%; }
  .tab { padding: 12px 10px; font-size: 14px; }
  .bundles { max-width: 620px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .bundles { grid-template-columns: 1fr; }
  .plan--featured, .bundle--featured { order: -1; }
  .tab { font-size: 13px; padding: 11px 6px; }
}


/* ---------- Mantenimiento ---------- */
.mplans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; margin-bottom: 22px; }
.mplan { padding: 28px 20px; }
.mplan .plan__price { font-size: 32px; }
.mplan .plan__price small { font-size: 12.5px; }
.mplan .plan__desc { font-size: 14.5px; margin-bottom: 18px; }
.mplan ul { font-size: 14px; gap: 9px; margin-bottom: 26px; padding-top: 18px; }
.mplan .btn { padding: 13px 16px; font-size: 15px; }
.mplan .plan__badge { top: 14px; right: 14px; font-size: 11px; padding: 5px 10px; }
.mplan__ideal { font-size: 13px; color: var(--ink-3); margin: -6px 0 14px; }
.mplan__ideal b { color: var(--ink); font-weight: 700; }
.plan--featured .mplan__ideal { color: rgba(255,255,255,.6); }
.plan--featured .mplan__ideal b { color: var(--gold); }
.mplan.plan--featured { transform: translateY(-10px); }
@media (max-width: 1180px) { .mplans { grid-template-columns: repeat(3, 1fr); } .mplan.plan--featured { transform: none; } }
@media (max-width: 900px) { .mplans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .mplans { grid-template-columns: 1fr; } .mplan.plan--featured { order: -1; } .mplan { padding: 28px 24px; } }
.maint-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; padding: 30px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
.maint-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.maint-info li { display: flex; gap: 10px; }
.maint-info li::before { content: "✓"; color: var(--sky); font-weight: 700; }
.maint-info__no li::before { content: "—"; color: var(--ink-3); }
.maint-info__note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 600px) { .maint-info { grid-template-columns: 1fr; padding: 24px 22px; } }


/* ---------- Listas con ✓ y ✗ ---------- */
.plan ul.feats li::before, .feats li::before { content: none !important; }
ul.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan ul.feats { margin: 0 0 30px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 14.5px; flex: 1; align-content: start; }
.feats li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.feats li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; border-radius: 50%; padding: 3px; }
.feats li.yes svg { stroke: #0277a8; background: rgba(42,245,241,.16); }
.feats li.no { color: var(--ink-3); }
.feats li.no span { text-decoration: line-through; text-decoration-color: rgba(122,134,160,.45); }
.feats li.no svg { stroke: #b4bccb; background: #f1f4f9; }
.plan--featured .feats li.yes svg { stroke: var(--navy-900); background: var(--cyan); }
.plan--featured .feats li.no { color: rgba(255,255,255,.38); }
.plan--featured .feats li.no svg { stroke: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.plan--featured ul.feats { border-color: rgba(255,255,255,.12); }

/* ---------- Pestañas grandes y encabezados de paso ---------- */
.tabs--big .tab { padding: 14px 30px; font-size: 16px; }
.panel__for { color: var(--ink-2); margin: -18px 0 12px; font-size: 17px; }
.step-head { display: flex; gap: 16px; align-items: center; margin: 44px 0 26px; }
.step-head__n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; color: var(--cyan); background: var(--navy-900); box-shadow: 0 0 0 6px rgba(42,245,241,.12); }
.step-head h3 { font-size: 26px; margin-bottom: 4px; }
.step-head p { color: var(--ink-2); font-size: 15.5px; }
.plans__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.perks { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { padding: 22px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; }
.perk b { font-family: var(--f-display); font-size: 16.5px; }
.perk span { color: var(--ink-2); font-size: 14.5px; }

.plans--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans--4 .plan { padding: 30px 22px; }
.plans--4 .plan__price { font-size: 34px; }
@media (max-width: 1180px) { .plans--4 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 600px) { .plans--4 { grid-template-columns: 1fr; } }

/* ---------- Soluciones ---------- */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.solution { position: relative; overflow: hidden; padding: 38px 36px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.solution__kicker { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.solution h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chips span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.solution__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); margin-bottom: 30px; flex: 1; }
.solution__label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.feats--plain { font-size: 14.5px; color: var(--ink-2); }
.feats--plain li.no span { text-decoration: none; }
.feats--plain li.no svg { stroke: #e5484d; background: rgba(229,72,77,.1); }
.solution .btn { align-self: flex-start; }
.monthly { margin-top: 24px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: 38px 40px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--white); }
.monthly .eyebrow { color: var(--cyan); }
.monthly h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.monthly__copy p:last-child { color: rgba(255,255,255,.7); }
.monthly__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.monthly__list li { padding: 18px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 4px; }
.monthly__list b { font-family: var(--f-display); color: var(--gold); }
.monthly__list span { font-size: 14.5px; color: rgba(255,255,255,.72); }

@media (max-width: 1080px) { .solutions { grid-template-columns: 1fr; } .perks { grid-template-columns: 1fr 1fr; } .monthly { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .solution { padding: 28px 22px; } .solution__cols { grid-template-columns: 1fr; }
  .monthly { padding: 28px 22px; } .monthly__list { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .tabs--big .tab { padding: 12px 8px; font-size: 14px; }
  .step-head h3 { font-size: 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .why__inner, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; font-size: 24px; font-family: var(--f-display);
    background: var(--navy-950); color: var(--white); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav.is-open { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__brand { position: relative; z-index: 2; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; width: min(340px, 78%); margin: 0 auto -10px; }
  .chip { font-size: 12px; padding: 7px 12px 7px 7px; }
  .chip__k { width: 24px; height: 24px; }
  .chip--a { left: -10%; } .chip--b { right: -12%; }
  .hero__scroll { display: none; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process__line { display: none; }
  .projects { grid-template-columns: 1fr; }
  .section__head--row { grid-template-columns: 1fr; gap: 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .plan--featured { transform: none; }
  .plan-extra { grid-template-columns: 1fr; gap: 14px; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .container--narrow, .hero__inner { width: calc(100% - 36px); }
  .services, .process, .stats { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 60px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .project__info { flex-direction: column; }
  .tags { justify-content: flex-start; max-width: none; }
  .mock { padding: 12px 14px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 16.5px; }
}

/* Solo efectos realmente intrusivos se desactivan con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 90s; }
}
