/* ============================================================
   AXIS — Design System
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #0a0a0b;
  --bg-alt: #0d0e11;
  --surface: #121317;
  --surface-2: #17181d;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.09);

  /* Text */
  --text: #f5f5f7;
  --text-muted: #9a9aa4;
  --text-faint: #63636c;

  /* Accent */
  --accent-1: #6c5ce7;
  --accent-2: #4c6fff;
  --accent-3: #22d3ee;
  --gradient: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-s: 0.3s;
  --dur-m: 0.6s;
  --dur-l: 0.9s;

  /* Layout */
  --container: 1280px;
  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 10px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-2);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 56px;
  max-width: 18ch;
}

/* ============================================================
   Preloader
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
.preloader__mark {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--text);
  opacity: 0;
  animation: preloaderIn 1.1s var(--ease-out-expo) forwards;
}
@keyframes preloaderIn {
  0% { opacity: 0; letter-spacing: 0.6em; }
  60% { opacity: 1; }
  100% { opacity: 1; letter-spacing: 0.3em; }
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  display: none;
}
.cursor.is-active { display: block; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: var(--text);
}
.cursor__ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: width var(--dur-s) var(--ease-out-expo), height var(--dur-s) var(--ease-out-expo),
              border-color var(--dur-s), background var(--dur-s);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.06);
  border-color: transparent;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px 0;
  transition: padding var(--dur-s) var(--ease-out-expo), background var(--dur-s), border-color var(--dur-s);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--glass-border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 15px;
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav__links a { position: relative; transition: color var(--dur-s); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gradient);
  transition: width var(--dur-s) var(--ease-out-expo);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__cta { display: inline-flex; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-s), opacity var(--dur-s);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}
.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  color: var(--text-muted);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; text-align: center; }
.mobile-menu.is-open { display: flex; }

/* Language switch */
.lang-switch { position: relative; font-size: 13px; }
.lang-switch__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color var(--dur-s);
}
.lang-switch__trigger:hover { border-color: rgba(255,255,255,0.25); }
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  list-style: none;
  margin: 0; padding: 6px;
  min-width: 140px;
  background: rgba(18,19,23,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-s);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-s) var(--ease-out-expo), transform var(--dur-s) var(--ease-out-expo), visibility var(--dur-s);
}
.lang-switch__menu.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-switch__menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-muted);
  transition: background var(--dur-s), color var(--dur-s);
}
.lang-switch__menu li:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.lang-switch__menu li.is-active { color: var(--text); }
.lang-switch__menu li.is-active .flag { box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset, 0 0 0 2px var(--accent-3); }
.lang-switch__name { font-size: 13.5px; }

.flag {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 14px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.flag svg { width: 100%; height: 100%; display: block; }
#langCurrentFlag { width: 18px; height: 13px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: transform var(--dur-s) var(--ease-out-expo), box-shadow var(--dur-s), background var(--dur-s), border-color var(--dur-s);
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--primary {
  background: var(--gradient);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: 100% 0;
  box-shadow: 0 12px 40px rgba(76, 111, 255, 0.45);
}
.btn--ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px var(--gutter) 100px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  will-change: transform;
}
.hero__blob--1 {
  width: 560px; height: 560px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
}
.hero__blob--2 {
  width: 620px; height: 620px;
  bottom: -220px; right: -160px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 20%, transparent 80%);
}
.hero__noise {
  position: absolute; inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; text-align: center; margin: 0 auto; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 28px;
}
.hero__title .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subhead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  z-index: 1;
}
.hero__scroll-cue span {
  display: block;
  width: 3px; height: 7px;
  background: var(--text);
  border-radius: 2px;
  margin: 6px auto 0;
  animation: scrollCue 1.8s var(--ease-out-quad) infinite;
}
@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 1; }
  70% { opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ============================================================
   Stats strip
   ============================================================ */
.stats { padding: 64px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { display: block; margin-top: 8px; color: var(--text-muted); font-size: 14px; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* stagger via nth-child inside common grids */
.problem__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.problem__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.why__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.why__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.services__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ============================================================
   Problem
   ============================================================ */
.problem { padding: clamp(96px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); }
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.problem__card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 32px;
}
.problem__icon {
  display: inline-flex;
  color: var(--accent-3);
  margin-bottom: 20px;
}
.problem__card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; }
.problem__card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.problem__resolve {
  text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 72px 0 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Why us
   ============================================================ */
.why { padding: clamp(60px, 8vw, 100px) 0; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why__card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 28px;
  transition: transform var(--dur-s) var(--ease-out-expo), border-color var(--dur-s);
  transform-style: preserve-3d;
}
.why__card:hover { border-color: rgba(255,255,255,0.2); }
.why__index {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.why__card h3 { font-size: 17px; margin: 0 0 10px; font-weight: 700; }
.why__card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ============================================================
   Approach / manifesto
   ============================================================ */
.approach { padding: clamp(100px, 14vw, 200px) 0; }
.approach__list { list-style: none; margin: 0; padding: 0; }
.approach__line {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-faint);
  padding: 14px 0;
  max-width: 16ch;
}
.approach__line:nth-child(odd) { margin-left: 0; }
.approach__line:nth-child(even) { margin-left: auto; text-align: right; }
.approach__list .reveal.is-visible { color: var(--text); }
.approach__list .reveal:nth-child(2) { transition-delay: 0.1s; }
.approach__list .reveal:nth-child(3) { transition-delay: 0.2s; }
.approach__list .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   Services
   ============================================================ */
.services { padding: clamp(60px, 8vw, 100px) 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform var(--dur-s) var(--ease-out-expo), border-color var(--dur-s);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.22); }
.service-card__glow {
  position: absolute;
  top: -60%; left: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(108,92,231,0.35), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-m);
  pointer-events: none;
}
.service-card:hover .service-card__glow { opacity: 1; }
.service-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 18px; margin: 0 0 10px; font-weight: 700; position: relative; }
.service-card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.65; position: relative; }

/* ============================================================
   Process
   ============================================================ */
.process { padding: clamp(96px, 12vw, 160px) 0; }
.process__list { position: relative; padding-left: 40px; }
.process__line {
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 2px;
  background: rgba(255,255,255,0.08);
}
.process__line-fill {
  width: 100%; height: 0%;
  background: var(--gradient);
  transition: height 1.2s var(--ease-out-expo);
}
.process__step {
  position: relative;
  padding: 0 0 52px 28px;
}
.process__step:last-child { padding-bottom: 0; }
.process__num {
  position: absolute;
  left: -40px; top: -2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--text-muted);
}
.process__step h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.process__step p { margin: 0; color: var(--text-muted); font-size: 14.5px; max-width: 520px; line-height: 1.65; }

/* ============================================================
   Portfolio / Work
   ============================================================ */
.work { padding: clamp(60px, 8vw, 100px) 0; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card:first-child { grid-column: 1 / -1; }
.work-card:first-child .work-card__art { height: 440px; }
.work-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: transform var(--dur-m) var(--ease-out-expo);
}
.work-card:hover { transform: translateY(-6px); }
.work-card__art {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}
.work-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: blur(11px) saturate(1.05) brightness(0.8);
  transform: scale(1.08);
  transition: filter 0.6s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.work-card:hover .work-card__art img {
  filter: blur(0) saturate(1) brightness(1);
  transform: scale(1.02);
}
.work-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, hsla(var(--hue1), 80%, 60%, 0.45), transparent 55%),
    radial-gradient(circle at 80% 80%, hsla(var(--hue2), 80%, 55%, 0.4), transparent 55%),
    linear-gradient(to top, var(--surface) 0%, transparent 40%);
  mix-blend-mode: overlay;
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out-expo);
}
.work-card:hover .work-card__art::after { opacity: 0.4; }
@media (prefers-reduced-motion: reduce) {
  .work-card__art img { filter: none; transform: none; }
}
.work-card__meta { padding: 26px 28px 30px; background: var(--surface); }
.work-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 12px;
}
.work-card__meta h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.work-card__meta p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.work-card__link { display: block; color: inherit; }
.work-card__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  transition: color var(--dur-s), gap var(--dur-s);
}
.work-card__visit svg { transition: transform var(--dur-s) var(--ease-out-expo); }
.work-card:hover .work-card__visit { color: var(--accent-3); gap: 9px; }
.work-card:hover .work-card__visit svg { transform: translate(2px, -2px); }

/* ============================================================
   Promise / trust
   ============================================================ */
.promise { padding: clamp(60px, 8vw, 100px) 0; }
.promise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promise__card {
  padding: 30px;
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
}
.promise__card h3 { font-size: 17px; margin: 0 0 10px; font-weight: 700; }
.promise__card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(96px, 12vw, 160px) 0; }
.faq__list { border-top: 1px solid var(--glass-border); }
.faq__item { border-bottom: 1px solid var(--glass-border); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px 4px;
  cursor: pointer;
}
.faq__icon {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--dur-s) var(--ease-out-expo);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); color: var(--accent-3); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-m) var(--ease-out-expo);
}
.faq__answer p {
  overflow: hidden;
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  padding-right: 40px;
}
.faq__answer > p { min-height: 0; }
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: 0; }
.faq__item.is-open .faq__answer p { padding-bottom: 22px; }

/* ============================================================
   Final CTA
   ============================================================ */
.cta {
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(108,92,231,0.28), transparent 60%);
  z-index: 0;
}
.cta__inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.cta__subhead { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin: 0 0 44px; }
.cta__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  padding: 28px;
  backdrop-filter: blur(10px);
}
.cta__form input, .cta__form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  resize: vertical;
  transition: border-color var(--dur-s);
}
.cta__form input:focus, .cta__form textarea:focus {
  outline: none;
  border-color: var(--accent-3);
}
.cta__form .btn { margin-top: 4px; }
.cta__micro { color: var(--text-faint); font-size: 13px; margin: 20px 0 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--glass-border); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}
.footer__brand p { color: var(--text-muted); font-size: 14px; margin: 16px 0 0; max-width: 26ch; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 13px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 6px; }
.footer__col a { color: var(--text-muted); font-size: 14.5px; transition: color var(--dur-s); }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-faint);
  font-size: 13px;
}

/* ============================================================
   Locale text-width adjustments
   RU/UA copy runs longer than EN at the same character count — widen the
   containers that are otherwise capped by ch/px units so headings and
   manifesto lines don't wrap onto extra lines versus other languages.
   ============================================================ */
html[lang="ru"] .hero__inner,
html[lang="uk"] .hero__inner { max-width: 1220px; }

html[lang="ru"] .hero__title,
html[lang="uk"] .hero__title { font-size: clamp(2.1rem, 5.2vw, 4.3rem); }

html[lang="ru"] .section-title,
html[lang="uk"] .section-title { max-width: 26ch; }

html[lang="ru"] .hero__subhead,
html[lang="uk"] .hero__subhead { max-width: 760px; }

html[lang="ru"] .approach__line,
html[lang="uk"] .approach__line { max-width: 24ch; }

html[lang="ru"] .cta__inner,
html[lang="uk"] .cta__inner { max-width: 760px; }

html[lang="ru"] .footer__brand p,
html[lang="uk"] .footer__brand p { max-width: 34ch; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .why__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
  .problem__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .promise__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .cursor { display: none !important; }
}

@media (max-width: 640px) {
  .why__grid, .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .approach__line { max-width: 100%; }
  .approach__line:nth-child(even) { text-align: left; margin-left: 0; }
  .process__list { padding-left: 32px; }
}
