/* ==========================================================================
   SpazioTraduzioni — one-page site
   ========================================================================== */

:root {
  --ink: #0b1430;
  --ink-2: #29324f;
  --muted: #5d6683;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --blue: #2b59ff;
  --blue-deep: #1636b8;
  --blue-soft: #e9efff;
  --sky: #8fb0ff;
  --space-1: #050a1f;
  --space-2: #0a1a4a;
  --space-3: #1c3b96;

  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 48, .04), 0 4px 14px rgba(11, 20, 48, .05);
  --shadow-md: 0 2px 4px rgba(11, 20, 48, .04), 0 18px 40px -12px rgba(23, 45, 120, .16);
  --shadow-lg: 0 30px 70px -20px rgba(23, 45, 140, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- progress bar ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
  color: #fff;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.header.is-solid {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 18px; letter-spacing: -.01em; }
.brand__mark { width: 30px; height: 30px; }
.brand b { font-weight: 600; }
.brand span { font-weight: 300; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__links { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; opacity: .82; transition: opacity .3s, background .3s;
}
.nav__links a:hover { opacity: 1; background: rgba(127, 150, 255, .14); }

.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
}
.header.is-solid .lang { border-color: var(--line); }
.lang a, .lang span { padding: 5px 11px; border-radius: 999px; text-decoration: none; line-height: 1.2; }
.lang [aria-current] { background: #fff; color: var(--ink); }
.header.is-solid .lang [aria-current] { background: var(--ink); color: #fff; }
.lang a { opacity: .7; transition: opacity .3s; }
.lang a:hover { opacity: 1; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 12px; }
.burger i { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .4s var(--ease); }
.nav-open .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-open .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 600px; width: 100%;
  overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 115%, var(--space-3) 0%, rgba(28, 59, 150, .35) 38%, transparent 70%),
    radial-gradient(90% 70% at 85% -10%, rgba(64, 98, 230, .28), transparent 60%),
    linear-gradient(180deg, var(--space-1) 0%, var(--space-2) 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { /* horizon glow */
  content: ""; position: absolute; left: 50%; bottom: -62vmax; width: 140vmax; height: 80vmax; z-index: -1;
  transform: translateX(-50%); border-radius: 50%;
  box-shadow: 0 -2px 60px rgba(120, 160, 255, .35), inset 0 2px 30px rgba(150, 185, 255, .25);
  border-top: 1px solid rgba(170, 195, 255, .35);
  background: radial-gradient(closest-side, rgba(5, 10, 31, .0), rgba(5, 10, 31, .55));
  pointer-events: none;
}
.hero__in {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-top: 40px; will-change: transform, opacity;
}

.flag-loop { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 34px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(220, 230, 255, .78); }
.flag { width: 40px; height: 27px; perspective: 260px; }
.flag__card {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  animation: flagFlip 7s var(--ease) infinite;
}
.flag__face {
  position: absolute; inset: 0; border-radius: 5px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 22px rgba(70, 110, 255, .45);
}
.flag__face::after { /* sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .12) 100%);
}
.flag__face--it { background: linear-gradient(90deg, #009246 0 33.34%, #f4f5f0 33.34% 66.67%, #ce2b37 66.67%); }
.flag__face--de { background: linear-gradient(180deg, #000 0 33.34%, #dd0000 33.34% 66.67%, #ffce00 66.67%); transform: rotateY(180deg); }
@keyframes flagFlip {
  0%, 38% { transform: rotateY(0) rotateX(0); }
  50%     { transform: rotateY(180deg) rotateX(8deg); }
  52%, 88% { transform: rotateY(180deg) rotateX(0); }
  100%    { transform: rotateY(360deg) rotateX(0); }
}
.flag-loop__label { position: relative; display: inline-grid; }
.flag-loop__label > span { grid-area: 1 / 1; animation: labelA 7s var(--ease) infinite; }
.flag-loop__label > span + span { animation-name: labelB; }
@keyframes labelA { 0%, 40% { opacity: 1; transform: none; filter: none; } 46%, 94% { opacity: 0; transform: translateY(-8px); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes labelB { 0%, 44% { opacity: 0; transform: translateY(8px); filter: blur(4px); } 52%, 88% { opacity: 1; transform: none; filter: none; } 94%, 100% { opacity: 0; transform: translateY(-8px); filter: blur(4px); } }

.wordmark {
  font-family: var(--f-display); font-size: clamp(42px, 10.5vw, 158px); line-height: .95; letter-spacing: -.045em;
  margin: 0 0 30px; white-space: nowrap;
  background: linear-gradient(180deg, #fff 30%, #b9cbff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark .w1 { font-weight: 300; }
.wordmark .w2 { font-weight: 600; }
.wordmark .ch { display: inline-block; background: inherit; -webkit-background-clip: text; background-clip: text; }

.hero h1 {
  font-family: var(--f-body); font-size: clamp(17px, 1.6vw, 22px); font-weight: 500; letter-spacing: .01em;
  color: #fff; margin-bottom: 14px;
}
.hero__sub { max-width: 560px; color: rgba(214, 224, 255, .72); font-size: clamp(15px, 1.1vw, 17px); margin: 0 auto 38px; padding: 0 8px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.btn {
  --b: var(--blue);
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; border: 0;
  background: var(--b); color: #fff; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s;
  box-shadow: 0 10px 30px -10px rgba(43, 89, 255, .7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(43, 89, 255, .85); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(214, 224, 255, .6); text-decoration: none;
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .6), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- generic sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(36px, 5.6vw, 76px); }
.h2 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }

/* ---------- intro ---------- */
.intro { padding-bottom: 40px; }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.intro .lead { max-width: 560px; }

/* ---------- statement (scrollytelling) ---------- */
.statement { height: 240vh; position: relative; }
.statement__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.statement__text {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -.03em; line-height: 1.12;
  font-size: clamp(30px, 5.2vw, 78px); max-width: 1120px;
}
.statement__text em { font-style: normal; }
.statement__text .wd { color: #d4d9e7; transition: color .5s var(--ease); }
.statement__text .wd.on { color: var(--ink); }
.statement__text .wd.hl.on { color: var(--blue); }
.statement__orb {
  position: absolute; right: -10vw; top: 15%; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 35%, rgba(43, 89, 255, .14), rgba(143, 176, 255, .06) 45%, transparent 70%);
  filter: blur(10px); pointer-events: none;
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.big-num {
  font-family: var(--f-display); font-weight: 300; font-size: clamp(120px, 20vw, 300px); line-height: .8; letter-spacing: -.06em;
  background: linear-gradient(160deg, var(--blue) 10%, var(--sky) 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.big-num sup { font-size: .4em; vertical-align: top; position: relative; top: .15em; margin-left: .04em; }
.big-num__cap { margin-top: 18px; font-size: 15px; letter-spacing: .04em; color: var(--muted); }
.about__text p + p { margin-top: 1.2em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.stat { padding: 26px 24px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- services ---------- */
.services { background: var(--bg-soft); }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.services__head .lead { max-width: 440px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.card {
  position: relative; padding: clamp(30px, 4vw, 52px); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow-md); overflow: hidden; isolation: isolate;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, var(--blue-soft), transparent); transition: transform .9s var(--ease);
}
.card:hover::before { transform: scale(1.25); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(48px, 7vw, 96px); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.card__icon svg { width: 26px; height: 26px; }
.card__num { font-family: var(--f-display); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.card h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.card p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 7px 13px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.chips li.it::before, .chips li.ab::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; vertical-align: middle; background: var(--blue); }
.chips li.ab::before { background: var(--sky); }

/* ---------- marquee ---------- */
.marquee { padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee__row {
  display: flex; gap: 0; white-space: nowrap; will-change: transform;
  font-family: var(--f-display); font-size: clamp(40px, 7vw, 104px); letter-spacing: -.035em; line-height: 1.15; font-weight: 400;
}
.marquee__row + .marquee__row { margin-top: .1em; }
.marquee__row span { padding-right: .5em; }
.marquee__row span::after { content: "✦"; font-size: .32em; vertical-align: middle; color: var(--blue); margin-left: .9em; position: relative; top: -.15em; }
.marquee__row--2 { color: transparent; -webkit-text-stroke: 1px #b8c2dc; }

/* ---------- expertise (sticky) ---------- */
.expertise__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.expertise__aside { position: sticky; top: 120px; align-self: start; }
.expertise__aside .lead { margin-top: 26px; max-width: 420px; }
.list { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.list li {
  counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 8px 16px;
  padding: 34px 0; border-top: 1px solid var(--line); position: relative;
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li::before {
  content: counter(n, decimal-leading-zero); font-family: var(--f-display); font-size: 14px; color: var(--blue); padding-top: 8px; letter-spacing: .08em;
}
.list li::after {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--blue);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease);
}
.list li.in::after { transform: scaleX(1); }
.list h3 { font-size: clamp(22px, 2.3vw, 30px); grid-column: 2; }
.list p { grid-column: 2; color: var(--muted); }

/* ---------- process ---------- */
.process { background: var(--ink); color: #fff; overflow: hidden; }
.process .eyebrow { color: var(--sky); }
.process .h2 em { color: var(--sky); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 96px); position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: rgba(255, 255, 255, .14); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky), var(--blue)); transform: scaleX(0); transform-origin: 0 50%; }
.step { position: relative; padding-right: 12px; }
.step__dot {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 30px; position: relative;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .2); font-family: var(--f-display); font-size: 15px;
  transition: background .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.step.in .step__dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 8px rgba(43, 89, 255, .16), 0 0 40px rgba(43, 89, 255, .5); }
.step h3 { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 12px; }
.step p { color: rgba(214, 224, 255, .66); font-size: 15.5px; }
.process__glow { position: absolute; width: 70vw; height: 70vw; left: 50%; top: 30%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 89, 255, .22), transparent); pointer-events: none; }

/* ---------- faq ---------- */
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq summary:hover i { border-color: var(--blue); }
.faq details p { padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact { padding-top: 40px; }
.contact__card {
  position: relative; border-radius: calc(var(--radius) + 10px); overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(40px, 7vw, 96px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(90, 130, 255, .55), transparent 60%),
    linear-gradient(140deg, var(--space-2), var(--space-1));
  box-shadow: var(--shadow-lg);
}
.contact__card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact .eyebrow { color: var(--sky); }
.contact .h2 { margin-bottom: 26px; }
.contact p { color: rgba(214, 224, 255, .76); }
.contact__mail { display: inline-flex; margin-top: 34px; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 28px); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 4px; transition: border-color .3s; word-break: break-all; }
.contact__mail:hover { border-color: #fff; }

.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; padding: 24px 18px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); outline: 0; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field select option { color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); background: rgba(255, 255, 255, .1); }
.field label { position: absolute; left: 19px; top: 9px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(214, 224, 255, .6); pointer-events: none; }
.form .btn { justify-self: start; margin-top: 6px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.form small { font-size: 12.5px; color: rgba(214, 224, 255, .5); }

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; color: var(--muted); font-size: 14px; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { color: var(--ink); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer__copy { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-split] .wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .wd > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].in .wd > span { transform: none; }
.js .wordmark .ch { opacity: 0; transform: translateY(40%) scale(.96); filter: blur(12px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); transition-delay: calc(.25s + var(--i) * 40ms); }
.js .is-loaded .wordmark .ch { opacity: 1; transform: none; filter: none; }
.js .hero .fade-up { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .is-loaded .fade-up { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .intro__grid, .about__grid, .expertise__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .expertise__aside { position: static; }
  .cards { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .process__line { display: none; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(5, 10, 31, .96); color: #fff; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
  }
  .nav__links a { font-family: var(--f-display); font-size: 30px; opacity: 1; }
  .nav-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav-open .header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .header .lang { border-color: rgba(255, 255, 255, .25); }
  .nav-open .header .lang [aria-current] { background: #fff; color: var(--ink); }
  .lang { margin-left: 0; }
}
@media (max-width: 600px) {
  .header__in { height: 64px; }
  .brand { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 44px 1fr; padding: 28px 0; }
  .faq details p { padding-right: 0; }
  .statement { height: 200vh; }
  .flag-loop { margin-bottom: 26px; }
  .hero__sub { margin-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .statement { height: auto; }
  .statement__pin { position: static; height: auto; padding: 120px 0; }
.statement__text .wd { color: var(--ink); }
}
