/* IMPERIUM AI — landing v3
   Marca: lima del logo #D9FF45 · negro #0A0A0A · blanco
   Regla: nada se monta encima del texto. */
:root {
  --lime: #D9FF45;
  --lime-deep: #B5D62F;
  --lime-soft: rgba(217, 255, 69, .12);
  --lime-line: rgba(217, 255, 69, .28);
  --bg: #0A0A0A;
  --bg-2: #101110;
  --card: rgba(16, 17, 16, .86);
  --line: rgba(255, 255, 255, .12);
  --text: #F4F4F0;
  --text-2: #CFD1C9;
  --muted: #9A9D93;
  --ink: #0A0A0A;
  --radius: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --sec: clamp(72px, 9vw, 128px);
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }
body {
  margin: 0; background: transparent; color: var(--text);
  font-family: var(--f-display); font-size: clamp(16px, .55vw + 13px, 18px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip; cursor: auto;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--lime); }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; border-radius: 6px; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main { position: relative; }

/* ================= FONDO CON BRANDING ================= */
.bg-brand { position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; }
.bg-brand__aurora { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.bg-brand__aurora--a { top: -30vmax; right: -22vmax; background: radial-gradient(closest-side, rgba(217,255,69,.20), rgba(217,255,69,.06) 55%, transparent 75%); animation: aurora-a 26s ease-in-out infinite alternate; }
.bg-brand__aurora--b { bottom: -34vmax; left: -26vmax; background: radial-gradient(closest-side, rgba(181,214,47,.16), rgba(181,214,47,.04) 55%, transparent 75%); animation: aurora-b 32s ease-in-out infinite alternate; }
@keyframes aurora-a { to { transform: translate(-12vmax, 10vmax) scale(1.12); } }
@keyframes aurora-b { to { transform: translate(14vmax, -8vmax) scale(1.1); } }
.bg-brand__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(rgba(217,255,69,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(217,255,69,.05) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 192px 192px, 192px 192px;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 85%); mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 85%); }
/* patrón con el diagrama del logo */
.bg-brand__pattern {
  position: absolute; inset: -40%; opacity: .055; transform: rotate(-12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23D9FF45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='111' y='60' width='38' height='30' rx='7'/%3E%3Crect x='69' y='126' width='38' height='30' rx='7'/%3E%3Crect x='153' y='126' width='38' height='30' rx='7'/%3E%3Cpath d='M130 90v18M88 126v-18h84v18'/%3E%3C/g%3E%3Crect x='112' y='172' width='36' height='18' rx='9' fill='%23D9FF45'/%3E%3C/svg%3E");
  background-size: 260px 260px; animation: pattern 90s linear infinite;
}
@keyframes pattern { to { background-position: 520px 260px; } }
.bg-brand::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(5,5,5,.75) 100%); }
.bg-grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }
/* palabra IMPERIUM gigante en contorno, detrás de algunas secciones */
.wm { position: absolute; left: 50%; top: clamp(10px, 3vw, 40px); transform: translateX(-50%); z-index: -1; pointer-events: none; user-select: none; white-space: nowrap;
  font-weight: 900; font-size: clamp(5rem, 19vw, 19rem); line-height: .8; letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 1px rgba(217,255,69,.10); font-variation-settings: "wdth" 80; }

/* ================= BARRA SUPERIOR ================= */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 var(--pad); background: transparent; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s, height .35s; }
.topbar.is-solid { height: 64px; background: rgba(10,10,10,.9); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.topbar__nav { display: flex; gap: 2px; margin-left: auto; }
.topbar__nav a { padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; transition: color .2s, background-color .2s; }
.topbar__nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.topbar__cta { min-height: 42px; padding: 0 18px; font-size: 15px; }
.topbar__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.topbar__logo img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 1px var(--lime-line), 0 0 22px -6px rgba(217,255,69,.5); transition: transform .5s var(--ease); }
.topbar__logo:hover img { transform: rotate(-8deg) scale(1.06); }
.topbar__name { font-weight: 700; font-size: 15px; letter-spacing: .3em; white-space: nowrap; }
.topbar__name b { letter-spacing: .08em; color: var(--ink); background: var(--lime); padding: 3px 9px; border-radius: 99px; font-size: 12px; margin-left: 4px; vertical-align: 1px; }
.topbar__line { flex: 1; height: 1px; background: var(--line); }
.topbar__mid { color: var(--lime); font-size: 13px; }
.topbar__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 42px; height: 42px; padding: 0; flex: none; border-radius: 99px; border: 1px solid var(--lime-line); color: var(--lime); text-decoration: none; font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.topbar__wa .ico { width: 19px; height: 19px; fill: currentColor; flex: none; }
.topbar__wa span { display: none; }
.topbar__wa:hover { background: var(--lime); color: var(--ink); }

/* ================= BOTONES ================= */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 15px 28px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16.5px; overflow: hidden; isolation: isolate; border: 0; cursor: pointer;
  transform: translate(var(--mx), var(--my)); transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .3s, background-color .3s, border-color .3s; }
.btn .ico { width: 21px; height: 21px; fill: currentColor; flex: none; }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 12px 40px -14px rgba(217,255,69,.6); }
.btn--lime::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn--lime:hover::before { transform: none; }
.btn--lime:hover { box-shadow: 0 0 0 6px var(--lime-soft), 0 18px 50px -14px rgba(217,255,69,.7); }
.btn--outline { border: 1px solid rgba(255,255,255,.28); color: var(--text); background: rgba(255,255,255,.03); }
.btn--outline .ico { fill: none; }
.btn--outline:hover { border-color: var(--lime); color: var(--lime); background: var(--lime-soft); }
.btn--ghost { border: 1px solid var(--lime-line); color: var(--lime); min-height: 48px; padding: 12px 22px; font-size: 15.5px; }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn--ghost:hover { color: var(--ink); }
.btn--ghost:hover::before { transform: scaleX(1); }
.btn span[aria-hidden] { transition: transform .4s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.link { color: var(--lime); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link:hover { background-size: 100% 1px; }
.hint { color: var(--muted); font-size: 12px; max-width: 46ch; margin: 16px 0 0; line-height: 1.5; flex-basis: 100%; }

/* ================= TÍTULOS ================= */
.section { position: relative; padding: var(--sec) var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: var(--maxw); margin: 0 auto clamp(32px, 4.5vw, 60px); }
.section-head--row { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.section-head__aside { color: var(--muted); max-width: 34ch; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--lime); }
.h2 { margin: 0; font-weight: 800; font-variation-settings: "wdth" 88; font-size: clamp(2.1rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }

/* aparición suave (nunca tapa nada) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 25ms + .05s); }
[data-split].is-in .w > span { transform: none; }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: 104px var(--pad) clamp(56px, 8vh, 90px); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.hero__media { position: relative; grid-column: 2; grid-row: 1; justify-self: center; width: 100%; max-width: min(44vw, 72vh, 700px); aspect-ratio: 1;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); animation: hero-in 1.6s var(--ease) both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(4%) scale(.94); } }
/* lima del logo 3D un tono más oscuro, más lujoso */
.hero__video, .hero__poster, .services__canvas, .services__fallback { filter: brightness(.8) saturate(1.06) contrast(1.04); }
.hero__media, .services__sticky { mix-blend-mode: screen; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__video.is-playing + .hero__poster { opacity: 0; transition: opacity 1s ease .2s; }
.hero__side { display: none; }
.hero__content { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
.hero__title { margin: 0; max-width: 13ch; font-weight: 800; font-variation-settings: "wdth" 88; font-size: clamp(2.4rem, 5.1vw, 6.2rem); line-height: .96; letter-spacing: -.035em; }
.hero__sub { margin: 24px 0 0; max-width: 44ch; color: var(--text-2); font-size: clamp(16px, 1.2vw, 19px); }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__scroll { position: absolute; right: var(--pad); bottom: clamp(30px, 6vh, 64px); display: flex; align-items: center; gap: 10px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 42px; background: linear-gradient(var(--lime), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ================= CINTA ================= */
.marquee { position: relative; z-index: 3; background: rgba(12,13,11,.9); color: var(--lime); overflow: hidden; border-top: 1px solid var(--lime-line); border-bottom: 1px solid var(--lime-line); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 26px; padding: 14px 0; font-weight: 800; font-size: clamp(16px, 1.6vw, 24px); letter-spacing: .02em; font-variation-settings: "wdth" 85; animation: marquee 40s linear infinite; }
.marquee__track i { font-style: normal; font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SERVICIOS (compacto) ================= */
.services { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start;
  padding: var(--sec) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.services__sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.services__canvas, .services__fallback { width: min(100%, 68vh); aspect-ratio: 1; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent); mask-image: radial-gradient(closest-side, #000 75%, transparent); }
.services__fallback { display: none; }
.no-canvas .services__canvas { display: none; }
.no-canvas .services__fallback { display: block; }
.services__steps { padding-top: 4vh; }
.service { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; row-gap: 12px; padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line); transition: border-color .5s; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service.is-active { border-top-color: var(--lime-line); }
.service__num { grid-row: span 3; color: var(--lime); font-size: 13px; padding-top: .55em; }
.service__title { margin: 0; font-weight: 800; font-variation-settings: "wdth" 88; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.05; letter-spacing: -.03em; }
.service p { margin: 0; color: var(--text-2); max-width: 52ch; }
.service .btn { justify-self: start; margin-top: 6px; }

/* ================= TAMBIÉN HACEMOS ================= */
.more { position: relative; padding: var(--sec) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.more__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.more__item { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(380px circle at var(--gx) var(--gy), rgba(217,255,69,.11), transparent 45%), var(--card);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.more__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.more__item:hover { border-color: var(--lime-line); box-shadow: 0 24px 60px -30px rgba(217,255,69,.4); }
.more__item:hover::after { transform: scaleX(1); }
.more__ix { position: absolute; top: 18px; right: 20px; font-size: 12px; color: var(--muted); }
.more__ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--lime-soft); fill: none; stroke: var(--lime); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), background .4s, stroke .4s; }
.more__item:hover .more__ico { transform: rotate(-8deg) scale(1.08); background: var(--lime); stroke: var(--ink); }
.more__item h3 { margin: 6px 0 0; font-size: clamp(1.1rem, 1.3vw, 1.3rem); line-height: 1.2; letter-spacing: -.015em; }
.more__item p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ================= PORTAFOLIO ================= */
.work { position: relative; padding: var(--sec) var(--pad); }
.work__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 20px); }
.card { --rx: 0deg; --ry: 0deg; position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 9 / 16; border: 1px solid var(--line); cursor: pointer; padding: 0; text-align: left;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); }
.js .card:not(.is-in) { opacity: 0; translate: 0 34px; }
.card.is-in { transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease), opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.card__media { position: absolute; inset: 0; }
/* trabajo destacado: ocupa 2 columnas y 2 filas */
.card--feat { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border-color: var(--lime-line); }
.card--feat .card__title { font-size: clamp(20px, 2vw, 30px); }
.card--feat .card__play { width: 56px; height: 56px; }
.card--feat .card__tag { font-size: 12px; }
.card--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card video { opacity: 0; transition: opacity .5s, transform 1.2s var(--ease); }
.card.is-previewing video { opacity: 1; }
.card:hover img, .card:hover video { transform: scale(1.05); }
.card:hover { border-color: var(--lime-line); box-shadow: 0 30px 80px -34px rgba(217,255,69,.4); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 22%, rgba(0,0,0,0) 48%); pointer-events: none; }
.card__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.card__tag { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.3; text-transform: uppercase; color: var(--lime); }
.card__bottom { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card__title { color: #fff; font-weight: 700; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.2; letter-spacing: -.01em; }
.card__play { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); transition: transform .45s var(--ease); }
.card__play svg { width: 15px; height: 15px; fill: currentColor; margin-left: 3px; }
.card:hover .card__play { transform: scale(1.08); }
.work__cta { max-width: var(--maxw); margin: clamp(28px, 4vw, 48px) auto 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--lime-line); background: var(--card); }
.work__cta p { margin: 0; font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.45rem); letter-spacing: -.015em; }

/* ================= CÓMO TRABAJAMOS ================= */
.how { position: relative; padding: var(--sec) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how__item { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%; position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: 20px; border: 1px solid var(--line); min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
  background: radial-gradient(460px circle at var(--gx) var(--gy), rgba(217,255,69,.1), transparent 42%), var(--card);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), border-color .4s; }
.how__item:hover { border-color: var(--lime-line); }
.how__num { position: absolute; top: 12px; right: 20px; font-weight: 900; font-size: clamp(3.6rem, 6.5vw, 6.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217,255,69,.5); font-variation-settings: "wdth" 75; transition: color .5s var(--ease); }
.how__item:hover .how__num { color: var(--lime); }
.how__item h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.15; letter-spacing: -.02em; }
.how__item p { margin: 0; color: var(--text-2); }
.promise { margin-top: 14px; display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); padding: clamp(24px, 3vw, 36px); border-radius: 20px; border: 1px solid var(--lime-line); background: radial-gradient(600px circle at 0% 50%, rgba(217,255,69,.1), transparent 60%), var(--card); color: var(--text); }
.promise__ico { width: clamp(46px, 4.5vw, 62px); height: auto; flex: none; fill: var(--lime); }
.promise__title { margin: 0 0 4px; font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.05; letter-spacing: -.025em; }
.promise p { margin: 0; max-width: 60ch; color: var(--text-2); }

/* ================= CEO ================= */
.ceo { position: relative; padding: var(--sec) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.ceo__mark { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--lime-line); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 3vw, 36px);
  background: radial-gradient(520px circle at 85% 10%, rgba(217,255,69,.16), transparent 55%), linear-gradient(160deg, #141612, #0b0c0a); }
.ceo__mono { font-weight: 900; font-size: clamp(7rem, 15vw, 13rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--lime); font-variation-settings: "wdth" 80; }
.ceo__route { font-size: 12.5px; text-transform: uppercase; color: var(--text-2); }
.ceo__route i { font-style: normal; color: var(--lime); }
.ceo__sign { font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.ceo__name { margin: 0; font-weight: 800; font-variation-settings: "wdth" 85; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.ceo__role { margin: 12px 0 26px; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.ceo__body p { margin: 0 0 16px; color: var(--text-2); max-width: 58ch; }
.ceo__quote { position: relative; padding-left: 22px; color: var(--text) !important; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.45; font-weight: 600; }
.ceo__quote::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 3px; background: var(--lime); border-radius: 3px; }

/* ================= PREGUNTAS ================= */
.faq { position: relative; padding: var(--sec) var(--pad); max-width: calc(1040px + 2 * var(--pad)); margin: 0 auto; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 26px) 4px; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -.02em; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--lime); }
.faq__plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--lime-line); transition: transform .5s var(--ease), background .3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--lime); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .3s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--lime); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--ink); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item p { margin: 0 0 24px; padding: 0 4px; max-width: 70ch; color: var(--text-2); }

/* ================= CONTACTO + FORMULARIO ================= */
.contact { position: relative; padding: var(--sec) var(--pad); max-width: calc(var(--maxw) + 2 * var(--pad)); margin: 0 auto; }
.contact__head { text-align: center; max-width: 900px; margin: 0 auto clamp(34px, 5vw, 60px); display: flex; flex-direction: column; align-items: center; }
.contact__title { margin: 0; font-weight: 800; font-variation-settings: "wdth" 85; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: .95; letter-spacing: -.04em; text-wrap: balance; }
.contact__lead { color: var(--text-2); margin: 20px 0 0; max-width: 46ch; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact__aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.contact__ways { display: grid; gap: 10px; }
.way { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.way::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: translateX(-101%); transition: transform .5s var(--ease); }
.way > * { position: relative; }
.way__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lime-soft); flex: none; transition: background .4s; }
.way__ico svg { width: 23px; height: 23px; fill: var(--lime); transition: fill .4s, stroke .4s; }
.way--mail .way__ico svg { fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linejoin: round; }
.way__txt { display: flex; flex-direction: column; min-width: 0; }
.way__txt b { font-size: 16.5px; }
.way__txt small { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; transition: color .4s; }
.way__go { margin-left: auto; font-size: 20px; color: var(--lime); transition: transform .4s var(--ease), color .4s; }
.way:hover { border-color: var(--lime); }
.way:hover::before { transform: none; }
.way:hover, .way:hover .way__txt small, .way:hover .way__go { color: var(--ink); }
.way:hover .way__ico { background: rgba(10,10,10,.12); }
.way:hover .way__ico svg { fill: var(--ink); }
.way--mail:hover .way__ico svg { fill: none; stroke: var(--ink); }
.way:hover .way__go { transform: translateX(4px); }
.next { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.next__title { margin: 0 0 14px; font-size: 12px; text-transform: uppercase; color: var(--lime); }
.next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next__list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.next__list span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--lime-line); color: var(--lime); font-family: var(--f-mono); font-size: 12px; }
.next__list b { display: block; font-size: 15.5px; }
.next__list p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.form { position: relative; display: grid; gap: 22px; padding: clamp(22px, 3vw, 38px); border-radius: 26px; isolation: isolate;
  background: linear-gradient(180deg, rgba(22,24,20,.94), rgba(12,13,12,.94)) padding-box, linear-gradient(140deg, rgba(217,255,69,.55), rgba(217,255,69,.06) 40%, rgba(255,255,255,.06) 70%, rgba(217,255,69,.35)) border-box;
  border: 1px solid transparent; box-shadow: 0 50px 120px -60px rgba(217,255,69,.45), inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.form::before { content: "AI"; position: absolute; right: 22px; bottom: -.12em; z-index: -1; font-weight: 900; font-size: clamp(7rem, 12vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217,255,69,.08); pointer-events: none; }
.form__top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.form__top img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 0 0 1px var(--lime-line); }
.form__name { margin: 0; font-weight: 800; font-size: clamp(1.15rem, 1.5vw, 1.35rem); letter-spacing: -.015em; }
.form__meta { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); text-transform: uppercase; }
.group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.group__title { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 2px; font-weight: 700; font-size: 16px; }
.group__title span { display: grid; place-items: center; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--lime); color: var(--ink); font-size: 11.5px; font-weight: 700; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: grid; gap: 7px; margin: 0; min-width: 0; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field__label i { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035);
  color: var(--text); font: 500 16px/1.4 var(--f-display); transition: border-color .25s, background .25s, box-shadow .25s; resize: vertical; }
.field textarea { min-height: 128px; padding-bottom: 30px; }
.field input::placeholder, .field textarea::placeholder { color: #6A6D64; }
.field input:hover, .field textarea:hover { border-color: rgba(217,255,69,.3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: rgba(217,255,69,.045); box-shadow: 0 0 0 4px var(--lime-soft); }
.field.is-bad input, .field.is-bad textarea { border-color: #FF6B5B; box-shadow: 0 0 0 4px rgba(255,107,91,.14); }
.field__count { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: var(--muted); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 15px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); font-size: 14.5px; font-weight: 600; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); transition: background .25s, border-color .25s; }
.chip:hover span { border-color: var(--lime-line); transform: translateY(-1px); }
.chip input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.chip input:checked + span::before { background: var(--ink); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.form__honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__send { width: 100%; min-height: 60px; font-size: 17px; }
.form__send[disabled] { opacity: .65; pointer-events: none; }
.form__note { margin: -8px 0 0; text-align: center; font-size: 11.5px; color: var(--muted); }
.form__status { margin: 0; min-height: 1.2em; text-align: center; font-size: 13px; color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-bad { color: #FF8A7D; }
.form__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 10px; }
.form__done[hidden] { display: none; }
.form__done svg { width: 76px; height: 76px; fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.form__done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done-title { margin: 6px 0 0; font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.form__done-text { margin: 0; color: var(--text-2); }
.form.is-sent > :not(.form__done):not(.form__top) { display: none; }

/* ================= PIE ================= */
.footer { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px var(--pad) calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-transform: uppercase; }

/* ================= MENÚ FLOTANTE ================= */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px;
  background: rgba(17,18,17,.86); border: 1px solid var(--lime-line); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); transform: translate(-50%, 160%); transition: transform .6s var(--ease); }
.dock.is-shown { transform: translate(-50%, 0); }
.dock.is-shown.is-parked { transform: translate(-50%, 160%); }
.dock__cta, .dock__link, .dock__logo { flex: none; }
@media (min-width: 861px) { .dock { display: none; } }
.dock__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #000; }
.dock__link { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--lime); transition: background .3s; }
.dock__link:hover { background: var(--lime-soft); }
.dock__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none; }
.dock__cta .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ================= VISOR ================= */
.viewer { width: min(94vw, 1000px); max-height: 92vh; padding: 0; border: 1px solid var(--lime-line); border-radius: var(--radius); background: #000; color: var(--text); overflow: visible; }
.viewer::backdrop { background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.viewer[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.95); } }
.viewer__frame { display: grid; place-items: center; }
.viewer__video, .viewer__img { max-width: 100%; max-height: 82vh; width: auto; border-radius: var(--radius) var(--radius) 0 0; background: #000; }
.viewer__tag { flex: 1; min-width: 0; margin: 0; padding: 14px 18px; font-size: 12px; color: var(--lime); text-transform: uppercase; }
.viewer__bar { display: flex; align-items: center; gap: 8px; padding-right: 10px; }
.viewer__fs { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lime-line); background: transparent; color: var(--lime); cursor: pointer; transition: background .3s; }
.viewer__fs:hover { background: var(--lime-soft); }
.viewer__fs svg { width: 20px; height: 20px; fill: currentColor; }
.viewer__fs .fs-out, .viewer.is-max .viewer__fs .fs-in { display: none; }
.viewer.is-max .viewer__fs .fs-out { display: inline; }
/* pantalla completa: real (Fullscreen API) o, si el navegador no la deja, llenando la ventana */
.viewer.is-max { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; animation: none; }
.viewer.is-max .viewer__frame { flex: 1; min-height: 0; }
.viewer.is-max .viewer__video, .viewer.is-max .viewer__img { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); border-radius: 0; }
.viewer.is-max .viewer__close { top: 10px; right: 10px; }
.viewer__close { position: absolute; top: -18px; right: -18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); font-size: 18px; font-weight: 800; cursor: pointer; transition: transform .4s var(--ease); }
.viewer__close:hover { transform: rotate(90deg); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .card--feat { grid-row: span 1; aspect-ratio: 4 / 5; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
  .contact__aside .badges { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-content: center; padding-top: 86px; gap: 6px; }
  .hero__media { grid-column: 1; grid-row: 1; max-width: min(72vw, 38vh); }
  .hero__content { grid-row: 2; }
  .hero__title { max-width: 15ch; }
  .hero__scroll { display: none; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .services__sticky { position: relative; top: auto; height: auto; }
  .services__canvas, .services__fallback { width: min(78vw, 42vh); }
  .services__steps { padding-top: 0; }
  .how__list { grid-template-columns: 1fr; }
  .how__item { min-height: 190px; }
  .ceo { grid-template-columns: 1fr; }
  .ceo__mark { max-width: 380px; }
  .promise { flex-direction: column; align-items: flex-start; }
  .contact__aside { grid-template-columns: 1fr; }
}
@media (max-width: 860px) and (min-aspect-ratio: 17/20) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero__media { grid-column: 2; grid-row: 1; max-width: min(40vw, 70vh); }
  .hero__content { grid-column: 1; grid-row: 1; }
  .hero__title { font-size: clamp(1.9rem, 5.2vw, 3.3rem); }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  .service { grid-template-columns: 1fr; }
  .service__num { grid-row: auto; padding-top: 0; }
  .work__grid { gap: 10px; }
  .card { border-radius: 16px; }
  .card__tag { font-size: 9.5px; }
  .card__bottom { left: 10px; right: 10px; bottom: 10px; }
  .card__play { width: 36px; height: 36px; }
  .work__cta { flex-direction: column; align-items: stretch; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .chip span { font-size: 14px; padding: 8px 13px; }
  .dock__link { padding: 10px; }
  .topbar__cta { display: none; }
  .topbar__wa { margin-left: auto; }
  .topbar, .topbar.is-solid { height: 60px; }
  .topbar__name { letter-spacing: .2em; font-size: 14px; }
  .topbar__logo img { width: 36px; height: 36px; }
  .viewer__close { top: 8px; right: 8px; }
  .wm { font-size: 17.5vw; }
}

/* ================= MENOS MOVIMIENTO ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-split] .w > span, .js .reveal, .js .card:not(.is-in) { transform: none !important; opacity: 1 !important; translate: none !important; }
  .marquee__track { animation: none; }
}

/* ================= EN RESUMEN (30-oct, SEO + objeciones) ================= */
.tldr { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 28px var(--pad); display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: start; }
.tldr__title { margin: 4px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.tldr__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.tldr__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.tldr__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.tldr__list b { color: var(--text); }
@media (max-width: 860px) { .tldr { grid-template-columns: 1fr; } .tldr__list { grid-template-columns: 1fr; } }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__share { border: 0; padding: 0; background: none; cursor: pointer; font: inherit; text-transform: uppercase; }
