/* Atom 305 — v3 "Night Orbit": dark tech identity. Cobalt nucleus + Biscayne aqua electrons over Miami at night.
   One loud moment (video hero + particle atom); everything else is glass, light and quiet motion. */
:root {
  --bg: #050a16;
  --bg-2: #08122a;
  --surface: rgba(255,255,255,.035);
  --surface-solid: #0b1530;
  --ink: #eef3ff;
  --muted: #97a3bd;
  --line: rgba(160,185,255,.13);
  --line-strong: rgba(160,185,255,.26);
  --accent: #4d6bff;          /* cobalt */
  --accent-2: #7b5cff;        /* violet edge */
  --aqua: #3fe0cf;            /* biscayne */
  --accent-ink: #ffffff;
  --soft: rgba(77,107,255,.16);
  --grad: linear-gradient(120deg, #3fe0cf 0%, #4d6bff 55%, #7b5cff 100%);
  --glow: 0 0 0 1px rgba(77,107,255,.35), 0 12px 50px -10px rgba(77,107,255,.55);
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --radius: 20px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* faint tech grid across the whole site */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(77,107,255,.16), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(63,224,207,.07), transparent 60%),
    linear-gradient(rgba(160,185,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(160,185,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg);
}
img, video { max-width: 100%; display: block; }
a { color: var(--aqua); }
::selection { background: rgba(63,224,207,.3); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 8px;
}
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* bilingual */
html[data-lang="es"] [data-l="en"], html[data-lang="en"] [data-l="es"] { display: none !important; }

/* scroll progress (named to avoid brief.css .progress) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50; background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header:has(.nav-links.open) {
  background: rgba(5,10,22,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; color: var(--aqua); }
.brand-mark ellipse { transform-origin: 16px 16px; }
@media (prefers-reduced-motion: no-preference) {
  .brand:hover .brand-mark { animation: spin 1.2s var(--ease); }
  @keyframes spin { to { transform: rotate(180deg); } }
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-name b { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  position: relative; display: block; color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  white-space: nowrap; padding: 8px 12px; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(77,107,255,.16); box-shadow: inset 0 0 0 1px rgba(77,107,255,.35); }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em;
  background: rgba(255,255,255,.04); color: var(--ink); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: border-color .2s var(--ease), transform .12s var(--ease);
}
.lang-btn:hover { border-color: var(--aqua); }
.lang-btn:active, .menu-btn:active { transform: scale(0.95); }
.menu-btn { display: none; background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 10px; color: var(--ink); cursor: pointer; transition: transform .12s var(--ease); }
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 12px; right: 12px; top: 76px; flex-direction: column; gap: 2px;
    background: rgba(8,16,36,.96); backdrop-filter: blur(16px); border: 1px solid var(--line-strong);
    border-radius: 18px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-tools { margin-left: auto; }
  @media (prefers-reduced-motion: no-preference) {
    .nav-links.open { animation: drop .25s var(--ease); }
    @keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
  }
}

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 0.98rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn:active { transform: scale(0.97); transition-duration: .12s; }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 10px 40px -12px rgba(63,224,207,.6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s var(--ease); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(77,107,255,.8); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--aqua); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--aqua); margin: 0 0 16px; padding: 6px 12px 6px 10px; border: 1px solid rgba(63,224,207,.28);
  border-radius: 999px; background: rgba(63,224,207,.06);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
@media (prefers-reduced-motion: no-preference) {
  .eyebrow::before { animation: blink 2.4s ease-in-out infinite; }
  @keyframes blink { 50% { opacity: .35; } }
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.3rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 60ch; margin: 20px 0 0; }
p { max-width: 65ch; }

/* sections */
section { padding-block: 96px; position: relative; }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 780px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head p { margin: 0; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.band { background: linear-gradient(180deg, transparent, rgba(77,107,255,.05) 30%, rgba(77,107,255,.05) 70%, transparent); }

/* ---------- HERO (the one loud moment) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 900px); display: grid; align-items: center;
  padding-block: 120px 120px; margin-top: -72px; overflow: hidden; background: #040916 url("img/hero-miami.webp") center 70% / cover no-repeat; }
.hero-video, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-video { object-fit: cover; object-position: center 70%; }
.hero-canvas { z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,9,22,.92) 0%, rgba(4,9,22,.62) 48%, rgba(4,9,22,.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5,10,22,0) 32%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.hero .btn-row { margin-top: 34px; }
.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--ink); padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(8,16,36,.55); backdrop-filter: blur(8px); white-space: nowrap; }
.chip b { color: var(--aqua); font-weight: 500; }
/* word-by-word headline reveal (only when JS adds .js) */
.js .reveal-words .w { display: inline-block; opacity: 0; transform: translateY(0.4em); filter: blur(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease); transition-delay: calc(var(--i) * 50ms + 100ms); }
.js .reveal-words.in .w { opacity: 1; transform: none; filter: none; }

/* orbit card in hero */
.orbit { position: relative; width: 100%; aspect-ratio: 1; max-width: 440px; justify-self: end; }
.orbit .ring { position: absolute; inset: 0; margin: auto; width: 100%; height: 36%; border-radius: 50%;
  border: 1px solid rgba(160,200,255,.32); box-shadow: 0 0 30px rgba(63,224,207,.08), inset 0 0 30px rgba(77,107,255,.08); }
.orbit .r2 { transform: rotate(60deg); } .orbit .r3 { transform: rotate(-60deg); }
.orbit .ring i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--aqua);
  box-shadow: 0 0 16px 3px rgba(63,224,207,.8); offset-path: ellipse(50% 50% at 50% 50%); offset-distance: 0%; left: 0; top: 0; }
.orbit .nucleus { position: absolute; inset: 0; margin: auto; width: 30%; height: 30%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8aa0ff, #4d6bff 45%, #2a2fb8 100%); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  box-shadow: 0 0 0 10px rgba(77,107,255,.12), 0 0 80px rgba(77,107,255,.7), 0 0 140px rgba(63,224,207,.3); }
.orbit .e { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: #fff;
  background: rgba(6,14,34,.7); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 13px 7px 9px; backdrop-filter: blur(8px); }
.orbit .e::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 10px var(--aqua); }
.orbit .e1 { left: 0; top: 50%; transform: translate(-8%, -50%); }
.orbit .e2 { right: 2%; top: 12%; }
.orbit .e3 { right: 2%; bottom: 12%; }
@media (prefers-reduced-motion: no-preference) {
  .orbit .ring i { animation: electron 6s linear infinite; }
  .orbit .r2 i { animation-duration: 7.5s; animation-delay: -2s; }
  .orbit .r3 i { animation-duration: 9s; animation-delay: -4s; }
  @keyframes electron { to { offset-distance: 100%; } }
  .orbit .nucleus { animation: pulse 4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(77,107,255,.06), 0 0 100px rgba(77,107,255,.8), 0 0 160px rgba(63,224,207,.35); } }
  .orbit .e { animation: float 6s ease-in-out infinite; }
  .orbit .e2 { animation-delay: -2s; } .orbit .e3 { animation-delay: -4s; }
  @keyframes float { 50% { translate: 0 -8px; } }
}
.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--aqua); }
@media (prefers-reduced-motion: no-preference) { .scroll-hint::after { animation: wheel 1.8s var(--ease) infinite; } @keyframes wheel { 70%, 100% { transform: translateY(12px); opacity: 0; } } }
@media (max-width: 860px) {
  .hero { min-height: auto; padding-block: 120px 80px; }
  .hero::before { background: linear-gradient(180deg, rgba(4,9,22,.85) 0%, rgba(4,9,22,.6) 55%, var(--bg) 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .orbit { max-width: 320px; margin-inline: auto; justify-self: center; }
  .scroll-hint { display: none; }
}

/* marquee */
.marquee { padding-block: 26px; border-block: 1px solid var(--line); overflow: hidden; background: rgba(8,16,36,.5); }
.marquee-track { display: flex; gap: 48px; width: max-content; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 500; color: rgba(238,243,255,.75); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "✦"; color: var(--aqua); font-size: .8em; }
@media (max-width: 560px) { .marquee-track, .marquee-track span { gap: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 40s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* facts strip (real facts only) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.facts > div { min-width: 0; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ---------- cards with image + spotlight ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards > * { min-width: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; isolation: isolate;
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(77,107,255,.18), transparent 45%); }
.card:hover::before { opacity: 1; }
a.card:hover { border-color: rgba(77,107,255,.5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(77,107,255,.6); }
.card p { margin: 0; color: var(--muted); }
.card .tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aqua); }
.card .more { margin-top: auto; font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.card .more::after { content: "→"; color: var(--aqua); transition: transform .2s var(--ease); }
a.card:hover .more::after { transform: translateX(4px); }
.card-media { margin: -28px -28px 6px; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,10,22,.85), transparent 55%); }
a.card:hover .card-media img { transform: scale(1.06); }

/* bento for main services */
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento > * { min-width: 0; }
.bento .card:first-child { grid-row: span 2; }
.bento .card:first-child .card-media { aspect-ratio: auto; flex: 1; min-height: 260px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento .card:first-child { grid-row: auto; } .bento .card:first-child .card-media { aspect-ratio: 16/9; min-height: 0; flex: none; } }

/* showreel */
.reel { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16 / 9; background: #040916;
  box-shadow: 0 40px 120px -40px rgba(77,107,255,.6); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(5,10,22,.75), transparent 40%); }
.reel-caption { position: absolute; left: 28px; bottom: 24px; right: 28px; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: end; }
.reel-caption h3 { font-size: clamp(1.1rem, 2.4vw, 1.6rem); }
.reel-toggle { font: 500 .78rem var(--font-mono); letter-spacing: .06em; color: #fff; background: rgba(8,16,36,.6); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; backdrop-filter: blur(8px); transition: transform .12s var(--ease), border-color .2s; }
.reel-toggle:hover { border-color: var(--aqua); } .reel-toggle:active { transform: scale(.96); }
@media (max-width: 560px) { .reel { aspect-ratio: 4 / 5; border-radius: 20px; } .reel-caption { left: 18px; right: 18px; bottom: 16px; } }

/* image panel */
.media-panel { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4 / 3; }
.media-panel img { width: 100%; height: 100%; object-fit: cover; }
.media-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5,10,22,.6)); }

/* lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(63,224,207,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%233fe0cf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px rgba(63,224,207,.4);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.features > div { min-width: 0; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); counter-increment: f; position: relative; overflow: hidden;
  transition: border-color .25s var(--ease), transform .3s var(--ease); }
.features > div::before { content: counter(f, decimal-leading-zero); font-family: var(--font-mono); font-size: .74rem; color: var(--aqua); letter-spacing: .1em; }
.features > div:hover { border-color: rgba(63,224,207,.4); transform: translateY(-3px); }
.features p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* steps with animated line */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; min-width: 0; padding: 26px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); position: relative; }
.steps li::before { content: "0" counter(s); font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps li::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(1); }
.js .steps li::after { transform: scaleX(0); transition: transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.js .steps li.in::after { transform: scaleX(1); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plans > * { min-width: 0; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .25s var(--ease); }
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan.featured { position: relative; border-color: transparent; background:
  linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box; border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(77,107,255,.7); }
.plan .badge { align-self: flex-start; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--grad); color: #04101f; font-weight: 500; padding: 5px 11px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price strong { font-family: var(--font-display); font-size: 3rem; font-weight: 600; letter-spacing: -0.04em; }
.price span { color: var(--muted); }
.setup { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin: -8px 0 0; }
.plan .checks { font-size: 0.96rem; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-help { text-align: center; font-size: 0.88rem; color: var(--muted); }
.plan-help:hover { color: var(--aqua); }
.note { font-size: 0.92rem; color: var(--muted); margin-top: 24px; }

/* CTA with animated gradient border */
.cta { position: relative; border-radius: 32px; padding: 72px 48px; display: grid; gap: 22px; justify-items: start; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 300px at 90% 0%, rgba(77,107,255,.35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(63,224,207,.18), transparent 70%), var(--surface-solid);
  border: 1px solid var(--line-strong); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: url("img/atom-sm.webp") right -60px center / auto 130% no-repeat; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta h2 { max-width: 18ch; }
.cta p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 560px) { .cta { padding: 48px 24px; border-radius: 24px; } .cta::before { opacity: .25; } }

/* page head (inner pages) with photo */
.page-head { padding-block: 150px 80px; margin-top: -72px; isolation: isolate; overflow: hidden; }
.page-head[data-bg] { background: var(--bg) var(--bg-img) center / cover no-repeat; }
.page-head[data-bg]::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,10,22,.9) 0%, rgba(5,10,22,.55) 55%, rgba(5,10,22,.12) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
.page-head[data-bg="web"] { --bg-img: url("img/web.webp"); }
.page-head[data-bg="cards"] { --bg-img: url("img/cards.webp"); }
.page-head[data-bg="inventory"] { --bg-img: url("img/inventory.webp"); }
.page-head[data-bg="marketing"] { --bg-img: url("img/marketing.webp"); }
.page-head[data-bg="atom"] { --bg-img: url("img/atom.webp"); }
.page-head[data-bg="hero"] { --bg-img: url("img/hero-miami.webp"); }
@media (max-width: 860px) {
  .page-head { padding-block: 120px 56px; }
  .page-head[data-bg="web"] { --bg-img: url("img/web-sm.webp"); }
  .page-head[data-bg="cards"] { --bg-img: url("img/cards-sm.webp"); }
  .page-head[data-bg="inventory"] { --bg-img: url("img/inventory-sm.webp"); }
  .page-head[data-bg="marketing"] { --bg-img: url("img/marketing-sm.webp"); }
  .page-head[data-bg="atom"] { --bg-img: url("img/atom-sm.webp"); }
  .page-head[data-bg="hero"] { --bg-img: url("img/hero-miami-sm.webp"); }
  .page-head[data-bg]::before { background: linear-gradient(180deg, rgba(5,10,22,.82), rgba(5,10,22,.7) 60%, var(--bg)); }
}
.page-head .two-col { align-items: start; }

/* image strip on marketing page sections */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-split > * { min-width: 0; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; gap: 28px; } }

/* forms */
.form { display: grid; gap: 16px; background: rgba(8,16,36,.7); border: 1px solid var(--line-strong); border-radius: 24px; padding: 30px; backdrop-filter: blur(12px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form select option { background: var(--surface-solid); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(63,224,207,.15); }
.form textarea { min-height: 120px; resize: vertical; }
.form .hint { font-size: 0.85rem; color: var(--muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 8px; }
.legal p, .legal li { color: rgba(238,243,255,.86); }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 36px; font-size: 0.94rem; position: relative; overflow: hidden; }
.site-footer::before { content: "305"; position: absolute; right: -2vw; bottom: -6vw; font: 700 clamp(8rem, 22vw, 20rem)/1 var(--font-display);
  color: transparent; -webkit-text-stroke: 1px rgba(160,185,255,.08); pointer-events: none; letter-spacing: -0.05em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; position: relative; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease); }
.foot-grid a:hover { color: var(--aqua); }
.foot-grid p { color: var(--muted); margin: 14px 0 0; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.85rem; position: relative; }
.foot-bottom a { color: var(--muted); } .foot-bottom a:hover { color: var(--aqua); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* scroll reveal — content is visible by default; JS adds .js to <html> to enable */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .reveal-words .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .steps li::after { transform: scaleX(1) !important; }
  .hero-video { display: none; }
}

/* brief.html (cuestionario): sus pasos son <section>, sin el espaciado de secciones del sitio */
.brief-form section.step { padding-block: 0; }
.page-head.brief-head { padding-block: 130px 24px; }
@media (max-width: 860px) { .page-head.brief-head { padding-block: 110px 16px; } }
