/* =============================================================
   NWX Studio — styles
   1. Tokens
   ============================================================= */
:root {
  --bg: #0b0b0a;
  --bg-2: #121211;
  --bg-3: #1a1a18;
  --fg: #f4f3ee;
  --muted: #9a9890;
  --line: rgba(244, 243, 238, .12);
  --accent: #d7ff3a;
  --radius: 18px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-display: "Archivo", "Arial Black", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  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; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--fg); color: var(--bg); }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(215, 255, 58, .6);
  animation: pulse 2.2s infinite;
}

/* =============================================================
   4. Typography
   ============================================================= */
h1, h2, h3, .brand-mark, .splash-logo, .hero-bigmark, .footer-mark {
  font-family: var(--f-display);
  font-stretch: 125%;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .92;
}
.section-title { font-size: clamp(40px, 7vw, 104px); margin-top: 18px; text-transform: uppercase; }
.section-lead { color: var(--muted); max-width: 520px; margin-top: 18px; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
em { font-style: normal; color: var(--accent); }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  border: 1px solid var(--fg);
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), background .3s, color .3s;
  will-change: transform;
}
.btn-light { background: var(--fg); color: var(--bg); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .4s, padding .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 10, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: flex-start; gap: 4px; }
.brand-mark { font-size: 28px; line-height: 1; }
.brand-sub { font-family: var(--f-display); font-weight: 700; font-size: 8px; letter-spacing: .12em; margin-top: 1px; }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { position: relative; color: var(--muted); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: var(--fg); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 18px; }

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--f-mono); font-size: 13px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
}
.lang-btn {
  background: none; border: 0; cursor: pointer; padding: 5px 10px; border-radius: 999px;
  color: var(--muted); transition: background .3s, color .3s;
}
.lang-btn.is-active { background: var(--fg); color: var(--bg); }
.lang-sep { display: none; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.nav.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Cards */
.card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  min-height: 360px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .4s, background .4s;
  transform-style: preserve-3d;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(244, 243, 238, .09), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: rgba(244, 243, 238, .35); }
.card:hover::before { opacity: 1; }
.card-num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.card-icon { width: 54px; height: 54px; margin: 8px 0 auto; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.card:hover .card-icon svg { stroke: var(--accent); }
.card h3 { font-size: 26px; text-transform: uppercase; margin-top: 24px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.card-tags li { font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--muted); }

/* =============================================================
   6. Sections
   ============================================================= */
.section { padding: clamp(90px, 13vw, 170px) 0; position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); visibility: hidden; }
.splash-logo { display: flex; align-items: flex-start; font-size: clamp(70px, 14vw, 170px); overflow: hidden; padding: 0 4px; }
.splash-letter { display: inline-block; transform: translateY(110%); animation: letterUp .8s var(--ease) forwards; }
.splash-letter:nth-child(2) { animation-delay: .1s; }
.splash-letter:nth-child(3) { animation-delay: .2s; }
.splash-studio { font-size: .13em; letter-spacing: .12em; font-weight: 700; margin: .1em 0 0 .3em; opacity: 0; animation: fadeIn .6s .6s forwards; }
.splash-bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.splash-bar span { display: block; height: 100%; background: var(--fg); transform-origin: left; transform: scaleX(0); animation: bar 1.1s .2s var(--ease) forwards; }

/* Cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--fg); mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 0 110px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-spot {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  left: var(--sx, 60%); top: var(--sy, 30%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(215, 255, 58, .13), transparent 62%);
  pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease);
}
.hero-bigmark {
  position: absolute; right: -2vw; bottom: -6vw;
  font-size: 38vw; color: transparent;
  -webkit-text-stroke: 1px rgba(244, 243, 238, .08);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: clamp(42px, 7.8vw, 136px); text-transform: uppercase; margin: 26px 0 44px; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line-in { display: inline-block; }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-lead { max-width: 470px; color: var(--muted); font-size: 18px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--fg); animation: scrollLine 2s infinite var(--ease); }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 26px 0; overflow: hidden; background: var(--fg); color: var(--bg);
  transform: rotate(-1.5deg) scale(1.03); margin: 10px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(28px, 4vw, 54px); text-transform: uppercase; white-space: nowrap; padding-right: .5em;
}

/* Manifesto */
.manifesto-text {
  font-family: var(--f-display); font-stretch: 100%; font-weight: 600;
  font-size: clamp(28px, 4.2vw, 62px); line-height: 1.12; letter-spacing: -.02em;
  margin-top: 30px; max-width: 1150px;
}
.manifesto-text .w { opacity: .18; transition: opacity .5s; }
.manifesto-text .w.is-lit { opacity: 1; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 18px; perspective: 1200px; }

/* Before / After */
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 9; min-height: 340px;
  user-select: none; background: var(--bg-2);
}
.ba-pane { position: absolute; inset: 0; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-label {
  position: absolute; top: 18px; z-index: 3;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(11, 11, 10, .8); color: var(--fg);
}
.ba-label-before { left: 18px; }
.ba-label-after { right: 18px; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--fg); z-index: 4; pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: var(--fg); color: var(--bg);
  display: grid; place-items: center; font-size: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.ba.is-hint .ba-handle span { animation: nudge 1.4s var(--ease) 2; }

.mock { position: absolute; inset: 0; overflow: hidden; }
/* "Old" site */
.mock-old { background: #c0c0c0 repeating-linear-gradient(45deg, #c8c8c8 0 6px, #bdbdbd 6px 12px); font-family: "Times New Roman", Times, serif; color: #000; }
.mo-head { background: linear-gradient(#0000aa, #0044ff); color: #ffff00; text-align: center; padding: 3% 0; font-size: clamp(16px, 3vw, 36px); font-weight: bold; text-shadow: 2px 2px #ff0000; }
.mo-menu { background: #ffffcc; border-bottom: 3px ridge #888; padding: 1% 3%; font-size: clamp(10px, 1.4vw, 16px); color: #0000ee; text-align: center; }
.mo-body { display: grid; grid-template-columns: 22% 1fr; gap: 2%; padding: 2% 3%; }
.mo-side { background: #ffccff; border: 3px outset #999; padding: 6%; display: flex; flex-direction: column; gap: 6px; font-size: clamp(9px, 1.3vw, 15px); color: #0000ee; }
.mo-side p { color: #000; font-weight: bold; }
.mo-main { background: #fff; border: 3px inset #999; padding: 3%; text-align: center; }
.mo-title { font-family: "Comic Sans MS", "Comic Sans", cursive; color: #ff00ff; font-size: clamp(13px, 2.2vw, 28px); font-weight: bold; }
.mo-img { margin: 2% auto; width: 40%; aspect-ratio: 4 / 2; background: #ddd; border: 2px dashed #999; display: grid; place-items: center; color: #777; font-size: clamp(10px, 1.2vw, 14px); }
.mo-txt { font-size: clamp(9px, 1.25vw, 15px); color: #333; }
.mo-counter { margin-top: 2%; font-family: "Courier New", monospace; background: #000; color: #0f0; display: inline-block; padding: 2px 8px; font-size: clamp(9px, 1.2vw, 14px); }

/* "New" site */
.mock-new { background: #f1ece3; color: #1b1712; font-family: var(--f-body); padding: 3% 5%; display: flex; flex-direction: column; gap: 5%; }
.mn-nav { display: flex; align-items: center; gap: 3%; font-size: clamp(11px, 1.5vw, 18px); }
.mn-nav b { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; letter-spacing: .05em; margin-right: auto; }
.mn-nav span { width: 7%; height: 6px; border-radius: 4px; background: rgba(27, 23, 18, .2); }
.mn-nav i { width: 11%; height: clamp(16px, 2.6vw, 30px); border-radius: 999px; background: #1b1712; }
.mn-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; align-items: center; flex: 1; }
.mn-hero small { font-family: var(--f-mono); font-size: clamp(8px, 1vw, 12px); text-transform: uppercase; letter-spacing: .12em; color: #b0582c; }
.mn-hero strong { display: block; font-family: var(--f-display); font-stretch: 110%; font-weight: 800; font-size: clamp(20px, 4.4vw, 60px); line-height: .95; margin: 4% 0 6%; letter-spacing: -.02em; }
.mn-hero em { font-style: normal; display: inline-block; background: #1b1712; color: #f1ece3; border-radius: 999px; padding: .6em 1.2em; font-size: clamp(9px, 1.1vw, 14px); }
.mn-art { aspect-ratio: 1; border-radius: 50% 50% 18px 18px; background: linear-gradient(160deg, #d9764a, #7a2f14); position: relative; overflow: hidden; }
.mn-art span { position: absolute; left: 22%; right: 22%; bottom: 14%; height: 38%; background: #f1ece3; border-radius: 0 0 40% 40%; box-shadow: 0 -8px 0 #3a2418 inset; }
.mn-art span::after { content: ""; position: absolute; right: -18%; top: 18%; width: 22%; height: 40%; border: 5px solid #f1ece3; border-left: 0; border-radius: 0 50% 50% 0; }
.mn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; height: 16%; }
.mn-cards span { border-radius: 12px; background: #e4dccd; }
.mn-cards span:nth-child(2) { background: #1b1712; }

/* Process */
.steps { display: grid; grid-template-columns: 1fr; gap: 40px; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step-n { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: 64px; color: transparent; -webkit-text-stroke: 1px var(--fg); line-height: 1; display: block; margin-bottom: 18px; }
.step h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.steps-line { display: none; }

/* Values */
.values { padding-top: 0; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 24px; display: flex; flex-direction: column; gap: 12px; }
.value strong { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(44px, 6vw, 86px); line-height: 1; letter-spacing: -.03em; }
.value > span { color: var(--muted); font-size: 15px; max-width: 220px; }

/* Clients */
.clients { padding-top: 0; }
.clients-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 18px; }
.client {
  background: var(--fg); border-radius: var(--radius); border: 1px solid var(--line);
  aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.client img { width: auto; height: 100%; max-height: 150px; object-fit: contain; border-radius: 12px; transition: transform .5s var(--ease); }
.client:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.client:hover img { transform: scale(1.05); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 28px 60px 28px 0;
  font-family: var(--f-display); font-stretch: 105%; font-weight: 700; font-size: clamp(19px, 2.2vw, 28px); line-height: 1.2;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-body); font-weight: 300; font-size: 34px; transition: transform .4s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--muted); padding: 0 60px 28px 0; max-width: 760px; animation: faqIn .5s var(--ease); }

/* Contact */
.contact { background: var(--fg); color: var(--bg); border-radius: 36px 36px 0 0; }
.contact .eyebrow { color: #5b5a55; }
.contact .outline { -webkit-text-stroke-color: var(--bg); }
.contact-title { font-size: clamp(48px, 10vw, 170px); text-transform: uppercase; margin: 26px 0 60px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 70px 28px 28px; border: 1px solid rgba(11, 11, 10, .16); border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s, border-color .4s;
  will-change: transform;
}
.contact-card:hover { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.contact-k { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
.contact-v { font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: clamp(15px, 1.7vw, 25px); overflow-wrap: anywhere; line-height: 1.15; }
.contact-arrow { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 28px; transition: transform .4s var(--ease); }
.contact-card:hover .contact-arrow { transform: translateY(-50%) rotate(45deg); }

.form { background: var(--bg); color: var(--fg); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.form-title { font-family: var(--f-display); font-stretch: 115%; font-weight: 800; font-size: 26px; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 0; font-size: 17px; outline: none; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field.is-error input { border-bottom-color: #ff6b5a; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-hint { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* Footer */
.footer { background: var(--fg); color: var(--bg); overflow: hidden; padding-bottom: 96px; }
.footer-mark {
  font-size: 24vw; line-height: .8; text-align: center; letter-spacing: -.04em;
  display: flex; justify-content: center; align-items: flex-start; padding-top: 2vw;
}
.footer-mark sup { font-size: .07em; letter-spacing: .12em; font-weight: 700; margin: .25em 0 0 .3em; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between;
  border-top: 1px solid rgba(11, 11, 10, .16); padding-top: 24px; margin-top: 30px; font-size: 14px;
}
.to-top { font-weight: 600; }
.to-top:hover { text-decoration: underline; }

/* WhatsApp floating */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }

/* =============================================================
   7. Effects & reveals
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .services-grid .reveal:nth-child(2), .js .steps .reveal:nth-child(2), .js .values-grid .reveal:nth-child(2) { transition-delay: .1s; }
.js .services-grid .reveal:nth-child(3), .js .steps .reveal:nth-child(3), .js .values-grid .reveal:nth-child(3) { transition-delay: .2s; }
.js .services-grid .reveal:nth-child(4), .js .steps .reveal:nth-child(4), .js .values-grid .reveal:nth-child(4) { transition-delay: .3s; }

.js .hero .line-in, .js .reveal-line { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero.is-in .line-in, .js .reveal-line.is-in { transform: none; }
.js .hero .line:nth-child(2) .line-in { transition-delay: .1s; }
.js .hero .line:nth-child(3) .line-in { transition-delay: .2s; }
.js .contact-title .line:nth-child(2) .reveal-line { transition-delay: .12s; }
.js .hero-eyebrow, .js .hero-bottom { opacity: 0; transform: translateY(20px); transition: opacity .9s .45s var(--ease), transform .9s .45s var(--ease); }
.js .hero.is-in .hero-eyebrow, .js .hero.is-in .hero-bottom { opacity: 1; transform: none; }
.js .hero.is-in .hero-eyebrow { transition-delay: 0s; }

/* Language switch fade */
[data-i18n] { transition: opacity .25s; }
.is-switching [data-i18n] { opacity: 0; }

@keyframes letterUp { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bar { to { transform: scaleX(1); } }
@keyframes splashSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollLine { to { top: 100%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 255, 58, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(215, 255, 58, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translate(-50%, -50%); } 30% { transform: translate(-80%, -50%); } 65% { transform: translate(-20%, -50%); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
    padding: 0 var(--gutter); background: var(--bg);
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
  }
  .nav-links a { font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: clamp(36px, 10vw, 60px); text-transform: uppercase; color: var(--fg); }
  .nav-cta-mobile { display: inline; }
  .nav.menu-open .nav-links { clip-path: inset(0 0 0 0); }
  .nav.menu-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
  .burger { display: block; }
  .nav-cta { display: none; }
  .ba { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .ba { aspect-ratio: 4 / 5; min-height: 0; }
  .mo-body { grid-template-columns: 1fr; }
  .mo-side { flex-direction: row; flex-wrap: wrap; }
  .form-actions .btn { width: 100%; justify-content: center; }
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .step { border-top: 0; }
  .steps-line { display: block; height: 1px; background: var(--line); margin-top: -1px; position: relative; order: -1; }
  .process .container { display: flex; flex-direction: column; }
  .process .section-head { order: -2; }
  .steps-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* =============================================================
   9. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation-duration: 80s; }
  .wa-float::before, .dot, .hero-scroll i::after { animation: none; }
}

/* =============================================================
   10. Nexi — la mascota voladora
   ============================================================= */
.nexi {
  position: fixed; left: 0; top: 0; z-index: 95;
  width: 124px; pointer-events: none; display: none;
  will-change: transform; transform: translate3d(-300px, 120vh, 0);
}
.js .nexi { display: block; }
.nexi-tilt { will-change: transform; }
.nexi-body { transform-origin: 50% 60%; }
.nexi svg {
  display: block; width: 100%; height: auto; overflow: visible;
  pointer-events: auto; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .55));
}
.nexi svg * { transform-box: fill-box; transform-origin: center; }

/* Expression parts: hidden unless active */
.nexi [data-e], .nexi [data-m], .nexi [data-x] { display: none; }
.nexi .is-on { display: inline !important; }

/* Idle life */
.nx-bob { animation: nxBob 2.4s ease-in-out infinite; transform-box: view-box !important; }
.nx-shadow { opacity: .14; animation: nxShadow 2.4s ease-in-out infinite; }
.nx-ant { animation: nxAnt 1.2s steps(1) infinite; }
.nx-blink { animation: nxBlink 4.2s infinite; }
.nx-look { transform-box: view-box !important; transform: translate(calc(var(--lx, 0) * 1px), calc(var(--ly, 0) * 1px)); transition: transform .25s ease-out; }
.nx-flames { transform-box: view-box !important; transform-origin: 100px 184px !important; transform: scaleY(calc(.45 + var(--boost, 0) * .9)); transition: transform .2s; }
.nx-flame { animation: nxFlicker .14s ease-in-out infinite alternate; transform-origin: top center !important; }
.nx-flame-2 { animation-delay: .07s; }

/* Arms */
.nx-arm-l { transform-box: view-box !important; transform-origin: 64px 152px !important; transition: transform .35s var(--ease); }
.nx-arm-r { transform-box: view-box !important; transform-origin: 138px 150px !important; transition: transform .35s var(--ease); }
.arm-wave .nx-arm-r { animation: nxWave .5s ease-in-out infinite; }
.arm-cheer .nx-arm-l { transform: rotate(95deg); }
.arm-cheer .nx-arm-r { animation: nxCheer .4s ease-in-out infinite; }

/* Expression details */
.nx-beat { animation: nxBeat .6s ease-in-out infinite; }
.nx-spin-star { animation: nxSpin 2.4s linear infinite; }
.nx-pupil { animation: nxPupil 1.4s ease-in-out infinite; }
.nx-swirl { animation: nxSpin .9s linear infinite; }
.nx-swirl-r { animation-direction: reverse; }
.nx-orbit-star { animation: nxTwinkle .7s ease-in-out infinite; }
.nx-o { animation: nxO 1s ease-in-out infinite; }
.nx-blush { animation: nxBlush 1.6s ease-in-out infinite; }
.nx-float { animation: nxFloat 2s ease-out infinite; }
.nx-twinkle { animation: nxTwinkle 1.2s ease-in-out infinite; }
.nx-wobble { animation: nxWobble 1.2s ease-in-out infinite; }
.nx-pop { animation: nxPop .9s ease-in-out infinite; }
.nx-drip { animation: nxDrip 1.6s ease-in infinite; }
.nx-d1 { animation-delay: .4s; }
.nx-d2 { animation-delay: .8s; }

/* Whole-body moods */
.anim-sleep .nx-bob { animation-duration: 4.5s; }
.anim-sleep .nx-flames { transform: scaleY(.25); }
.anim-dizzy { animation: nxDizzy 1.1s ease-in-out infinite; }
.anim-dizzy .nx-flame { animation: nxSputter .2s steps(2) infinite; }
.arm-flop .nx-arm-r { animation: nxFlopR 1.1s ease-in-out infinite; }
.arm-flop .nx-arm-l { animation: nxFlopL 1.1s ease-in-out infinite; }
.anim-jump { animation: nxJump .6s var(--ease); }
.anim-spin { animation: nxFlip .8s var(--ease); }
.anim-shake { animation: nxShake .45s ease-in-out; }

/* Speech bubble */
.nexi-bubble {
  position: absolute; bottom: calc(100% - 6px); left: 50%;
  width: max-content; max-width: 230px;
  background: var(--fg); color: var(--bg);
  font: 600 14px/1.3 var(--f-body); text-align: center;
  padding: 9px 14px; border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  opacity: 0; transform: translate(-50%, 10px) scale(.6);
  transform-origin: 50% 100%;
  transition: opacity .3s, transform .45s var(--ease);
  pointer-events: none;
}
.nexi-bubble::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px;
  border: 7px solid transparent; border-top-color: var(--fg);
}
.nexi-bubble.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.nexi.is-r .nexi-bubble { left: auto; right: 10px; transform: translate(0, 10px) scale(.6); transform-origin: 85% 100%; }
.nexi.is-r .nexi-bubble.is-on { transform: none; }
.nexi.is-r .nexi-bubble::after { left: auto; right: 34px; }
.nexi.is-l .nexi-bubble { left: 10px; transform: translate(0, 10px) scale(.6); transform-origin: 15% 100%; }
.nexi.is-l .nexi-bubble.is-on { transform: none; }
.nexi.is-l .nexi-bubble::after { left: 34px; }

@media (max-width: 720px) {
  .nexi { width: 76px; }
  .nexi-bubble { font-size: 12.5px; max-width: 180px; padding: 7px 11px; }
  .nexi.is-r .nexi-bubble::after { right: 22px; }
  .nexi.is-l .nexi-bubble::after { left: 22px; }
}

@keyframes nxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes nxShadow { 0%, 100% { transform: scaleX(1); opacity: .14; } 50% { transform: scaleX(.75); opacity: .06; } }
@keyframes nxAnt { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes nxBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes nxFlicker { from { transform: scaleY(.8) scaleX(1.05); } to { transform: scaleY(1.15) scaleX(.92); } }
@keyframes nxWave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-28deg); } }
@keyframes nxCheer { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
@keyframes nxBeat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25); } }
@keyframes nxSpin { to { transform: rotate(360deg); } }
@keyframes nxPupil { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, 2px) scale(.8); } }
@keyframes nxO { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15, 1.3); } }
@keyframes nxBlush { 0%, 100% { opacity: .45; } 50% { opacity: .85; } }
@keyframes nxFloat { 0% { transform: translateY(6px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-18px) scale(1.1); opacity: 0; } }
@keyframes nxTwinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1.2) rotate(45deg); opacity: 1; } }
@keyframes nxWobble { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(14deg) translateY(-3px); } }
@keyframes nxPop { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.35) rotate(8deg); } }
@keyframes nxDrip { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes nxDizzy { 0%, 100% { transform: rotate(-16deg) translateX(-6px); } 25% { transform: rotate(0) translateY(4px); } 50% { transform: rotate(16deg) translateX(6px); } 75% { transform: rotate(0) translateY(-3px); } }
@keyframes nxSputter { 0% { opacity: 1; transform: scaleY(1.1); } 100% { opacity: .25; transform: scaleY(.45); } }
@keyframes nxFlopR { 0%, 100% { transform: rotate(85deg); } 50% { transform: rotate(118deg); } }
@keyframes nxFlopL { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(18deg); } }
@keyframes nxJump { 0% { transform: translateY(0) scale(1); } 25% { transform: translateY(6px) scale(1.1, .85); } 55% { transform: translateY(-34px) scale(.95, 1.08); } 100% { transform: translateY(0) scale(1); } }
@keyframes nxFlip { to { transform: rotate(360deg); } }
@keyframes nxShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px) rotate(-6deg); } 75% { transform: translateX(6px) rotate(6deg); } }

/* Social links (contact + footer) */
.socials { display: flex; flex-direction: column; gap: 12px; padding: 22px 4px 0; }
.socials-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(11, 11, 10, .16);
  font-weight: 600; font-size: 15px;
  transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
  will-change: transform;
}
.social:hover { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.social svg { flex: none; }
.footer-social { display: flex; gap: 18px; font-weight: 600; }
.footer-social a:hover { text-decoration: underline; }
