/* =========================================================
   VELS — Design System (2026)
   Freymvorksiz, zamonaviy dark theme
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand: #1e9dff;
  --brand-2: #38bdf8;
  --brand-3: #0a72ff;
  --brand-grad: linear-gradient(135deg, #7dd3fc 0%, #2b8fff 55%, #0a72ff 100%);
  --brand-soft: rgba(30, 157, 255, 0.14);

  /* Surfaces (dark, blue-tinted near-black) */
  --bg: #05070e;
  --bg-2: #080b16;
  --surface: #0c1120;
  --surface-2: #111832;
  --elev: #151d38;

  /* Text */
  --text: #e9eef7;
  --text-muted: #9aa7bd;
  --text-dim: #6b7688;

  /* Lines & glows */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand-line: rgba(56, 189, 248, 0.28);
  --glow: rgba(30, 157, 255, 0.45);

  /* Radius */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 10px 40px rgba(30, 157, 255, 0.28);

  /* Fluid type */
  --fs-display: clamp(2.6rem, 6vw, 4.6rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 2.9rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background wash */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60rem 40rem at 15% -10%, rgba(30, 157, 255, 0.12), transparent 60%),
    radial-gradient(50rem 40rem at 100% 0%, rgba(10, 114, 255, 0.10), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--brand); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm); z-index: 2000; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.icon { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.text-gradient {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Section heads ---------- */
.section-head { max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2);
  padding: 0.35rem 0.9rem; border: 1px solid var(--brand-line);
  border-radius: var(--r-full); background: var(--brand-soft); margin-bottom: 1.1rem;
}
.section-title { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: var(--fs-lead); }

/* ---------- Buttons ---------- */
.btn {
  --btn-py: 0.8rem; --btn-px: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: var(--btn-py) var(--btn-px); border: 1px solid transparent;
  border-radius: var(--r-full); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-sm { --btn-py: 0.55rem; --btn-px: 1.05rem; font-size: 0.9rem; }
.btn-lg { --btn-py: 1rem; --btn-px: 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 8px 26px rgba(30, 157, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(30, 157, 255, 0.6); }
.btn-primary .icon { transition: transform 0.25s var(--ease); }
.btn-primary:hover .icon { transform: translateX(4px); }

.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-3px); border-color: var(--brand-line); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 7, 14, 0.78); backdrop-filter: blur(16px);
  border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand-logo { height: 38px; width: auto; transition: transform 0.3s; }
.brand:hover .brand-logo { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.nav-list { display: flex; align-items: center; gap: clamp(0.4rem, 1.6vw, 1.4rem); }
.nav-link {
  position: relative; font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  padding: 0.5rem 0.3rem; transition: color 0.25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0.3rem; right: 0.3rem; bottom: 0.15rem; height: 2px;
  background: var(--brand-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch { display: inline-flex; padding: 3px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: var(--r-full); }
.lang-btn {
  border: none; background: transparent; color: var(--text-dim); font-size: 0.8rem; font-weight: 600;
  padding: 0.3rem 0.6rem; border-radius: var(--r-full); transition: all 0.2s; letter-spacing: 0.03em;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { background: var(--brand-grad); color: #fff; box-shadow: 0 2px 10px rgba(30, 157, 255, 0.45); }

.nav-toggle {
  display: none; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--text); width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-block: clamp(6rem, 12vh, 9rem) clamp(3rem, 6vh, 5rem); overflow: hidden; text-align: center;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.9; }
.hero-glow {
  position: absolute; z-index: 0; width: 70rem; height: 40rem; left: 50%; top: 8%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(30, 157, 255, 0.22), transparent 70%); pointer-events: none; filter: blur(10px);
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; font-weight: 600;
  color: var(--text); padding: 0.5rem 1.1rem; border: 1px solid var(--brand-line);
  background: var(--brand-soft); border-radius: var(--r-full); margin-bottom: 1.8rem;
  box-shadow: 0 0 30px rgba(30, 157, 255, 0.18); backdrop-filter: blur(6px);
}
.badge .icon { width: 1.1em; height: 1.1em; color: var(--brand-2); }

.hero-title { font-size: var(--fs-display); font-weight: 700; margin-bottom: 1.3rem; max-width: 15ch; }
.hero-title span { display: block; }
.hero-sub { color: var(--text-muted); font-size: var(--fs-lead); max-width: 60ch; margin-bottom: 2.4rem; }

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3.2rem; }

.hero-stats { display: flex; gap: clamp(1.5rem, 5vw, 3.5rem); flex-wrap: wrap; justify-content: center; }
.hero-stats li { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--text); line-height: 1; }
.hero-stats span { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.4rem; letter-spacing: 0.02em; }

.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: var(--r-full); display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: var(--brand-2); animation: scrollcue 1.6s var(--ease) infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Tech marquee ---------- */
.tech { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-block: 1px solid var(--line); background: var(--bg-2); }
.tech-label { text-align: center; color: var(--text-dim); font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.6rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; color: var(--text-dim); transition: color 0.3s; white-space: nowrap; }
.marquee-track span:hover { color: var(--brand-2); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Cards grid (services) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.3rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.8rem; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--brand-line); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  border-radius: 16px; background: var(--brand-soft); border: 1px solid var(--brand-line);
  color: var(--brand-2); margin-bottom: 1.3rem; transition: transform 0.35s var(--ease); flex-shrink: 0;
}
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.sm { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0; }
.card-icon.sm .icon { width: 20px; height: 20px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.service-card p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- About / Why us ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-copy .eyebrow { margin-bottom: 1.1rem; }
.about-copy .section-title { text-align: left; }
.about-copy .section-desc { text-align: left; margin-bottom: 1.6rem; }
.feature-list { display: grid; gap: 0.85rem; margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: center; gap: 0.8rem; color: var(--text); font-weight: 500; }
.feature-list .icon { width: 22px; height: 22px; color: #fff; background: var(--brand-grad); border-radius: var(--r-full); padding: 4px; stroke-width: 3; }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.mini-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.mini-card:hover { transform: translateY(-5px); border-color: var(--brand-line); }
.mini-card h3 { font-size: 1.05rem; margin: 0.9rem 0 0.4rem; }
.mini-card p { font-size: 0.9rem; color: var(--text-muted); }
.about-cards .mini-card:nth-child(2) { transform: translateY(1.6rem); }
.about-cards .mini-card:nth-child(2):hover { transform: translateY(calc(1.6rem - 5px)); }
.about-cards .mini-card:nth-child(4) { transform: translateY(1.6rem); }
.about-cards .mini-card:nth-child(4):hover { transform: translateY(calc(1.6rem - 5px)); }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; counter-reset: step; }
.process-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.6rem; transition: transform 0.3s var(--ease), border-color 0.3s; }
.process-step:hover { transform: translateY(-6px); border-color: var(--brand-line); }
.step-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.process-step h3 { font-size: 1.1rem; margin: 0.6rem 0 0.6rem; }
.process-step p { font-size: 0.92rem; color: var(--text-muted); }
.process-step::after { content: ''; position: absolute; top: 3.1rem; right: -0.85rem; width: 1.3rem; height: 1px; background: var(--brand-line); display: none; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.3rem; }
.work-card {
  position: relative; min-height: 240px; border-radius: var(--r-lg); padding: 1.8rem; overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.35s var(--ease), box-shadow 0.35s; isolation: isolate;
}
.work-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.9; transition: transform 0.5s var(--ease); }
.work-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(3, 5, 12, 0.88) 100%); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card:hover::before { transform: scale(1.08); }
.grad-1::before { background: linear-gradient(135deg, #0a2a5e, #1e9dff); }
.grad-2::before { background: linear-gradient(135deg, #3a1d6e, #7c5cff); }
.grad-3::before { background: linear-gradient(135deg, #06403a, #14b8a6); }
.grad-4::before { background: linear-gradient(135deg, #5e1e4a, #ff5c8a); }
.grad-5::before { background: linear-gradient(135deg, #143a6e, #38bdf8); }
.grad-6::before { background: linear-gradient(135deg, #5e3d0a, #ffb347); }
.work-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.22); margin-bottom: auto; }
.work-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; color: #fff; }
.work-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
.work-arrow { position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform 0.3s var(--ease), background 0.3s; }
.work-card:hover .work-arrow { transform: rotate(45deg); background: #fff; color: #0a1020; }

/* ---------- Stats ---------- */
.stats { padding-block: clamp(3rem, 6vw, 4.5rem); background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.stat-icon { width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-2); display: flex; align-items: center; justify-content: center; margin-bottom: 0.4rem; }
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--text); line-height: 1; }
.stat span { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Testimonials slider ---------- */
.slider { position: relative; }
.slider-viewport { overflow: hidden; padding-block: 0.5rem; }
.slider-track { display: flex; transition: transform 0.55s var(--ease); }
.slide { flex: 0 0 100%; padding-inline: var(--gutter); }
@media (min-width: 700px) { .slide { flex-basis: 50%; } }
@media (min-width: 1050px) { .slide { flex-basis: 33.333%; } }
.testi-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.7rem; transition: border-color 0.3s, transform 0.3s var(--ease); }
.testi-card:hover { border-color: var(--brand-line); transform: translateY(-4px); }
.testi-stars { display: inline-flex; gap: 3px; margin-bottom: 1rem; }
.testi-stars .icon { width: 18px; height: 18px; fill: #ffc247; stroke: none; }
.testi-card blockquote { color: var(--text); font-size: 1rem; line-height: 1.75; margin-bottom: 1.6rem; }
.testi-person { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testi-avatar { width: 48px; height: 48px; border-radius: var(--r-full); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; flex: none; letter-spacing: 0.02em; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.av-1 { background: linear-gradient(135deg, #38bdf8, #0a72ff); }
.av-2 { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.av-3 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.av-4 { background: linear-gradient(135deg, #fb7185, #be123c); }
.av-5 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.testi-meta { display: flex; flex-direction: column; }
.testi-meta strong { font-size: 0.98rem; }
.testi-meta em { font-style: normal; font-size: 0.8rem; color: var(--brand-2); margin-top: 2px; }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.slider-btn { width: 46px; height: 46px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.slider-btn:hover { background: var(--brand-grad); border-color: transparent; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: var(--r-full); border: none; background: var(--line-strong); transition: all 0.25s; }
.slider-dots button.active { background: var(--brand-grad); width: 26px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(3rem, 6vw, 4rem); }
.cta-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: linear-gradient(135deg, #0a1330, #0c1a44); border: 1px solid var(--brand-line);
  border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.2rem);
}
.cta-inner::before { content: ''; position: absolute; width: 30rem; height: 30rem; right: -8rem; top: -12rem; background: radial-gradient(closest-side, rgba(30, 157, 255, 0.3), transparent 70%); pointer-events: none; }
.cta-inner h2 { font-size: var(--fs-h2); margin-bottom: 0.5rem; }
.cta-inner p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: 0.85rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--brand-line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-chevron { transition: transform 0.35s var(--ease); color: var(--brand-2); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-a > p { overflow: hidden; color: var(--text-muted); padding-inline: 1.5rem; font-size: 0.96rem; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > p { padding-bottom: 1.4rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-row { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.3s, transform 0.3s; }
a.contact-row:hover { border-color: var(--brand-line); transform: translateX(4px); }
.contact-row em { display: block; font-style: normal; font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-row strong { font-size: 1rem; }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.2rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0.85rem 1rem; color: var(--text); font-size: 0.98rem; transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 157, 255, 0.18); }
.field input:user-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #fb7185; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-logo { height: 30px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 34ch; margin-bottom: 1.3rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-links a { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.25s; }
.social-links a:hover { color: #fff; background: var(--brand-grad); border-color: transparent; transform: translateY(-3px); }
.social-links .icon { width: 20px; height: 20px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a, .footer-contact li { color: var(--text-muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.5rem; text-align: center; }
.footer-bottom p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: var(--r-full); background: var(--brand-grad); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all 0.3s var(--ease); z-index: 900; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 981px) {
  .process-step:not(:last-child)::after { display: block; }
}

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy .section-title, .about-copy .section-desc { text-align: center; }
  .about-copy { text-align: center; }
  .about-copy .feature-list li { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 1.5rem;
    background: rgba(5, 7, 14, 0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    padding: 1.8rem var(--gutter) 2.2rem; transform: translateY(-12px); opacity: 0; visibility: hidden;
    pointer-events: none; transition: opacity 0.3s, transform 0.3s;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 0.4rem; width: 100%; }
  .nav-list li { width: 100%; }
  .nav-link { display: block; font-size: 1.1rem; padding: 0.7rem 0.3rem; }
  .nav-link::after { display: none; }
  .nav-actions { flex-direction: column; width: 100%; gap: 1rem; }
  .nav-actions .btn { width: 100%; }
}

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .about-cards .mini-card:nth-child(2), .about-cards .mini-card:nth-child(4) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Loader ---------- */
.loader { display: inline-block; width: 1.15em; height: 1.15em; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s linear infinite; margin-right: 0.4rem; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Toast Notifications ---------- */
.toast-container { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 0.8rem; pointer-events: none; }
.toast { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1rem 1.4rem; color: var(--text); box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.8rem; pointer-events: auto; transform: translateY(20px); opacity: 0; animation: toast-in 0.4s var(--ease) forwards; }
.toast.success { border-color: #2dd4bf; }
.toast.error { border-color: #fb7185; }
.toast-icon { width: 24px; height: 24px; flex-shrink: 0; fill: none !important; }
.toast.success .toast-icon { color: #2dd4bf; stroke: #2dd4bf; }
.toast.error .toast-icon { color: #fb7185; stroke: #fb7185; }
.toast.hiding { animation: toast-out 0.4s var(--ease) forwards; }
@keyframes toast-in { to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }
