:root {
  --primary: #1648c8;
  --primary-dark: #123da8;
  --primary-light: #eef3ff;
  --primary-muted: #dbeafe;
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 8px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px rgba(15,23,42,0.04);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.6) inset, 0 20px 50px rgba(22,72,200,0.08);
  --glass: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.85);
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --topbar-h: 40px;
  --header-h: 76px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --accent-violet: #7c3aed;
  --accent-cyan: #06b6d4;
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--accent-violet) 55%, var(--accent-cyan) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(22,72,200,0.08) 0%, rgba(124,58,237,0.06) 50%, rgba(6,182,212,0.05) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(22, 72, 200, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 45%),
    #f8faff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1140px, 100% - 48px); margin: 0 auto; max-width: 100%; }

/* Typography */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 7px 16px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--gradient-brand) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(22, 72, 200, 0.08);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.section-line {
  width: 64px;
  height: 4px;
  background: var(--gradient-brand);
  margin: 18px 0 26px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}
.section-head .section-label { display: inline-block; }
.section-line--center { margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-line { margin-bottom: 20px; }
.text-lead { font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.text-body { color: var(--text-light); font-size: 1rem; }
.text-center { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }
.text-center--wide { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(22,72,200,0.32);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #6d28d9 55%, #0891b2 100%);
  box-shadow: 0 8px 28px rgba(22,72,200,0.38);
  transform: translateY(-2px);
}
.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn--white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.btn--white:hover { background: var(--gray-50); transform: translateY(-1px); }
.btn--full { width: 100%; }

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1001;
  height: var(--topbar-h);
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  transition: color .2s;
  white-space: nowrap;
  min-width: 0;
}
.topbar__contacts a[href^="mailto"] {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.topbar__contacts a:hover { color: var(--white); }
.topbar__note { color: rgba(255,255,255,0.55); }

/* Header */
.header {
  position: fixed;
  inset: var(--topbar-h) 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header--scrolled {
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 32px rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  background: var(--gray-100);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.lang-switch__btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.lang-switch__btn:hover { color: var(--navy); }
.lang-switch__btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark, .logo__mark svg { width: 36px; height: 36px; }
.logo__mark.sm, .logo__mark.sm svg { width: 32px; height: 32px; }
.logo__text { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.logo__text span { color: var(--primary); }
.logo__text--dark { color: var(--white); }
.logo__text--dark span { color: #93c5fd; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link.active { background: var(--primary-light); }
.nav__link--cta {
  margin-left: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(22,72,200,0.25);
}
.nav__link--cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), #0f2f7a);
  box-shadow: 0 4px 14px rgba(22,72,200,0.3);
}

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--navy); transition: .3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Hero */
.hero {
  padding: calc(var(--topbar-h) + var(--header-h) + 64px) 0 88px;
  background:
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(22,72,200,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6,182,212,0.08) 0%, transparent 50%),
    linear-gradient(180deg, #f5f7ff 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: 10%;
  background: radial-gradient(circle, rgba(22, 72, 200, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 2.85rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 45%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.5;
  max-width: 540px;
}
.hero__text {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.85;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero__certs li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.hero__certs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  padding: 3px;
  background: var(--gradient-brand);
  box-shadow:
    0 24px 60px rgba(22, 72, 200, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-xl) - 3px);
  overflow: hidden;
  z-index: 0;
  background: var(--navy);
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-xl) - 3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 4;
}
.hero__visual-main {
  position: relative;
  z-index: 1;
  border-radius: calc(var(--radius-xl) - 3px);
  filter: saturate(1.08) contrast(1.03);
}
.hero__visual-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero__visual img,
.hero__visual-main {
  width: 100%;
  height: 440px;
  object-fit: contain;
  object-position: center center;
}
.hero__visual-accent {
  position: absolute;
  bottom: 88px;
  left: -36px;
  width: 152px;
  height: 152px;
  object-fit: contain;
  object-position: center center;
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.25),
    0 0 0 3px rgba(124, 58, 237, 0.2);
  z-index: 3;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero__visual-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(22, 72, 200, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,0.95) 30%);
  backdrop-filter: blur(12px);
}
.hero__stats div {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero__stats div:last-child { border-right: none; }
.hero__stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.hero__stats span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust bar */
.trust-bar {
  padding: 48px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,255,0.9) 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}
.trust-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(22, 72, 200, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.trust-bar__inner { text-align: center; position: relative; z-index: 1; }
.trust-bar__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}
.trust-bar__subtitle {
  font-size: 0.95rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.65;
}
.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 40px;
}
.trust-bar__logos span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
  letter-spacing: 0.02em;
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(22, 72, 200, 0.1);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  transition: border-color .25s, box-shadow .25s, color .25s, transform .25s;
}
.trust-bar__logos span:hover {
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(22, 72, 200, 0.12);
  transform: translateY(-2px);
}

/* Features */
.features-strip {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.features-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  transition: box-shadow .35s, border-color .35s, transform .35s;
  position: relative;
  overflow: hidden;
}
.feature-card--media {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.feature-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eef8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform .55s var(--ease);
}
.feature-card--media:hover .feature-card__media img { transform: scale(1.07); }
.feature-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}
.feature-card__chip {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}
.feature-card__content {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.feature-card__content h3 { margin-bottom: 10px; }
.feature-card__content p { margin: 0; }
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #7c3aed, #60a5fa);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 40px rgba(22, 72, 200, 0.12);
  transform: translateY(-6px);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature-card:hover .feature-card__icon { transform: scale(1.06); }
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card__icon--brain {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}
.feature-card__icon--globe {
  background: linear-gradient(135deg, #eef3ff 0%, #dbeafe 100%);
  box-shadow: 0 6px 16px rgba(22,72,200,0.12);
  border: 1px solid rgba(22,72,200,0.12);
}
.feature-card__icon--layers {
  background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 100%);
  box-shadow: 0 6px 16px rgba(15,118,110,0.12);
  border: 1px solid rgba(15,118,110,0.12);
}
.feature-card__icon--team {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  box-shadow: 0 6px 16px rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.12);
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.75; }

/* Why Partnerio */
.section--why {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(22, 72, 200, 0.04) 0%, transparent 60%),
    var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.why-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px 36px;
  background: linear-gradient(165deg, var(--white) 0%, #fafbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0.85;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 44px rgba(22, 72, 200, 0.1);
}
.why-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gradient-brand);
  border: none;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(22, 72, 200, 0.25);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}
.why-card p {
  flex: 1 1 auto;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* Sections */
.section { padding: 100px 0; }
.section--gray {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(124, 58, 237, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, #f1f5f9 0%, #f8faff 50%, var(--white) 100%);
}
.about {
  background:
    radial-gradient(ellipse 60% 50% at 0% 30%, rgba(22, 72, 200, 0.05) 0%, transparent 55%),
    transparent;
}
.about__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--gradient-brand);
  padding: 3px;
}
.about__photo img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center center;
  background: #0f172a;
  border-radius: calc(var(--radius-xl) - 3px);
  display: block;
}
.about__photo-shade {
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-xl) - 3px);
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35) 100%);
  pointer-events: none;
}
.about__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}
.about__metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 18px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about__metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.about__metric span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
}
.about__content .text-lead { margin-bottom: 14px; }
.about__content > .text-body { margin-bottom: 24px; max-width: 54ch; }
.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}
.about__highlight {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about__highlight--wide { grid-column: 1 / -1; }
.about__highlight h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.about__highlight p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}
.check-list--grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

/* AI Showcase */
.ai-showcase { padding-top: 80px; padding-bottom: 80px; }
.ai-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.ai-showcase__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, var(--white) 0%, #f8faff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.ai-showcase__card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}
.ai-showcase__image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eef8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform .5s var(--ease);
}
.ai-showcase__card:hover .ai-showcase__image img { transform: scale(1.08); }
.ai-showcase__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15,23,42,0.5) 100%);
  pointer-events: none;
}
.ai-showcase__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,72,200,0.15) 0%, rgba(124,58,237,0.12) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.ai-showcase__card:hover .ai-showcase__image::before { opacity: 1; }
.ai-showcase__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 22px 24px;
}
.ai-showcase__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.ai-showcase__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.ai-showcase__body p {
  flex: 1 1 auto;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Check list */
.check-list { margin: 24px 0 32px; display: grid; gap: 10px; }
.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--primary-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e61f9' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Process */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  align-items: stretch;
}
.process-row::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.process-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-muted);
  box-shadow: var(--shadow-md);
}
.process-item__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-brand);
  border: none;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(22,72,200,0.3);
}
.section--gray .process-item {
  background: var(--white);
}
.section--gray .process-item__num {
  background: var(--gradient-brand);
}
.process-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-item p { flex: 1 1 auto; font-size: 0.9rem; color: var(--text-light); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(165deg, var(--white) 0%, #f8faff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  border-top: 3px solid transparent;
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s, border-color .35s, transform .35s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .35s;
}
.service-card:hover {
  border-top-color: transparent;
  border-color: rgba(124, 58, 237, 0.2);
  background: linear-gradient(165deg, var(--white) 0%, #f0f4ff 100%);
  box-shadow: 0 20px 44px rgba(22, 72, 200, 0.1);
  transform: translateY(-5px);
}
.service-card:hover::before { opacity: 1; }
.service-card__mark {
  position: absolute;
  top: 18px;
  right: 22px;
  pointer-events: none;
}
.service-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(22, 72, 200, 0.08);
  transition: color .35s;
}
.service-card:hover .service-card__num { color: rgba(22, 72, 200, 0.16); }
.service-card:nth-child(6n+1) .service-card__num { color: rgba(22, 72, 200, 0.1); }
.service-card:nth-child(6n+2) .service-card__num { color: rgba(5, 150, 105, 0.1); }
.service-card:nth-child(6n+3) .service-card__num { color: rgba(124, 58, 237, 0.1); }
.service-card:nth-child(6n+4) .service-card__num { color: rgba(8, 145, 178, 0.1); }
.service-card:nth-child(6n+5) .service-card__num { color: rgba(234, 88, 12, 0.1); }
.service-card:nth-child(6n+6) .service-card__num { color: rgba(219, 39, 119, 0.1); }
.service-card:nth-child(6n+1):hover .service-card__num { color: rgba(22, 72, 200, 0.18); }
.service-card:nth-child(6n+2):hover .service-card__num { color: rgba(5, 150, 105, 0.18); }
.service-card:nth-child(6n+3):hover .service-card__num { color: rgba(124, 58, 237, 0.18); }
.service-card:nth-child(6n+4):hover .service-card__num { color: rgba(8, 145, 178, 0.18); }
.service-card:nth-child(6n+5):hover .service-card__num { color: rgba(234, 88, 12, 0.18); }
.service-card:nth-child(6n+6):hover .service-card__num { color: rgba(219, 39, 119, 0.18); }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  padding-right: 52px;
  min-height: 2.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__intro {
  flex-shrink: 0;
  min-height: 12.5rem;
  margin-bottom: 16px;
}
.service-card__lead {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__details {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.3rem;
}
.service-card__details--empty {
  visibility: hidden;
  pointer-events: none;
}
.service-card p { font-size: 0.93rem; color: var(--text-light); margin-bottom: 16px; }
.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: auto;
  flex: 1 1 auto;
  align-content: start;
  grid-template-rows: repeat(10, minmax(2.75rem, auto));
}
.service-card li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  min-height: 2.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__spacer {
  visibility: hidden;
  pointer-events: none;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* Stats */
.stats {
  padding: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1648c8 30%, #7c3aed 65%, #0891b2 100%);
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
  pointer-events: none;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.stats .container { padding: 0; width: 100%; max-width: none; position: relative; z-index: 1; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}
.stat-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__value {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-bottom: 8px;
}
.stat-item__desc {
  flex: 1 1 auto;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  max-width: 260px;
  margin: 0 auto;
  min-height: 84px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}
.projects-grid + .projects-group__title { margin-top: 48px; }
.projects-group__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 24px;
  text-align: center;
}
.projects-group__title--secondary { margin-top: 48px; }
.projects-grid--all { margin-top: 0; }
.project-card {
  background: linear-gradient(165deg, var(--white) 0%, #fafbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 48px rgba(22, 72, 200, 0.12);
}
.project-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4ff 0%, #e8eef8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform .4s var(--ease);
}
.project-card:hover .project-card__image img { transform: scale(1.03); }
.project-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(22,72,200,0.1);
  box-shadow: var(--shadow-sm);
}
.project-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 28px;
}
.project-card__body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.project-card__lead {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__details {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 72px;
  align-content: flex-start;
}
.project-card__stack span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-muted);
}
.project-card__results {
  margin-bottom: 0;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex: 1 1 auto;
  min-height: 168px;
}
.project-card__results strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.project-card__results ul {
  display: grid;
  gap: 6px;
}
.project-card__results li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.project-card__results li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.project-card__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
}
.projects-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-light);
  padding: 24px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(165deg, var(--white) 0%, #fafbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s, border-color .35s, transform .35s;
}
.team-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 44px rgba(22, 72, 200, 0.1);
  transform: translateY(-5px);
}
.team-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.team-card__initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light) 0%, #eef3ff 100%);
}
.team-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px;
  text-align: center;
}
.team-card__body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.team-card__role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin: 4px 0; }
.team-card__exp { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.team-card__bio {
  flex: 1 1 auto;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 28px;
  background: linear-gradient(165deg, rgba(255,255,255,0.95) 0%, #f8faff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow .35s, transform .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.review-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity .35s;
}
.review-card:hover {
  box-shadow: 0 20px 44px rgba(22, 72, 200, 0.1);
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.2);
}
.review-card:hover::after { opacity: 1; }
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.35;
  font-family: Georgia, serif;
  pointer-events: none;
}
.review-card__stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 16px; flex-shrink: 0; }
.review-card__text {
  flex: 1 1 auto;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}
.review-card__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  flex-shrink: 0;
}
.review-card__author { display: flex; align-items: center; gap: 14px; }
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-card__avatar--photo {
  background: var(--gray-100);
  overflow: hidden;
  border: 2px solid var(--primary-muted);
  padding: 0;
}
.review-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-card__author h4,
.review-card__meta h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin: 0 0 2px; }
.review-card__author span,
.review-card__meta span { font-size: 0.82rem; color: var(--text-light); }
.review-card__date { margin: 10px 0 0; font-size: 0.8rem; color: var(--text-light); }

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] {
  border-color: rgba(22, 72, 200, 0.22);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--primary);
  color: var(--white);
}
.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.75;
  font-size: 0.95rem;
}

/* CTA */
.cta-band { padding: 0 0 96px; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 56px 64px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #5b21b6 70%, #0e7490 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}
.cta-band__inner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  right: -100px;
  top: -100px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(22,72,200,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 1.05rem; line-height: 1.75; max-width: 520px; }
.cta-band__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 16px;
}
.cta-band__list span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding-left: 16px;
  position: relative;
}
.cta-band__list span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #60a5fa;
  font-weight: 700;
}

/* Contact */
.contact-section { background: var(--gray-50); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.office-list { display: grid; gap: 20px; margin-top: 28px; }
.office-item {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, border-color .25s;
}
.office-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-muted);
}
.office-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.office-item p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; }
.office-item a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.office-item a:hover { color: var(--primary-dark); }

.contact-form {
  padding: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
  min-width: 0;
}
.contact__info { min-width: 0; }
.hero__content { min-width: 0; }
.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(22,72,200,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-message.success { display: block; background: #ecfdf5; color: #047857; }
.form-message.error { display: block; background: #fef2f2; color: #b91c1c; }
.form-privacy {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; }
.footer__nav h4, .footer__contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer__nav a, .footer__contact a {
  display: block;
  font-size: 0.9rem;
  line-height: 2.2;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--white); }
.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer__legal a:hover { color: rgba(255,255,255,0.85); }

/* Back to top */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(22,72,200,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .25s;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top svg { width: 18px; height: 18px; }
.back-top:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(22,72,200,0.4); }

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__wrap, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual img { height: 280px; }
  .hero__wrap { gap: 32px; }
  .ai-showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .process-row::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 40px 24px;
  }
  .stat-item:last-child { border-bottom: none; }
  .contact__grid { gap: 32px; }
}

@media (max-width: 992px) {
  .burger { display: flex; }
  .nav {
    display: block;
    position: fixed;
    inset: calc(var(--topbar-h) + var(--header-h)) 0 0 auto;
    width: min(300px, 88vw);
    height: calc(100dvh - var(--topbar-h) - var(--header-h));
    background: var(--white);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--border);
    overflow-y: auto;
    z-index: 999;
  }
  .nav.open { transform: none; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav__link { padding: 12px 14px; }
  .nav__link--cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { width: min(1140px, 100% - 32px); }
  .hero {
    padding: calc(var(--topbar-h) + var(--header-h) + 24px) 0 48px;
  }
  .hero__title { font-size: clamp(1.55rem, 5.5vw, 2rem); }
  .hero__text { font-size: 1rem; margin-bottom: 24px; }
  .hero__visual {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
  .hero__visual-accent { display: none; }
  .hero__visual-badge { top: 12px; right: 12px; font-size: 0.62rem; padding: 6px 10px; }
  .hero__visual img,
  .hero__visual-main {
    height: 280px;
    width: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .hero__stats {
    position: static;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .hero__stats div { padding: 14px 8px; }
  .hero__stats strong { font-size: 1.2rem; }
  .hero__stats span { font-size: 0.65rem; letter-spacing: 0.03em; }
  .features-strip__grid,
  .why-grid,
  .ai-showcase__grid,
  .services-grid,
  .projects-grid,
  .team-grid,
  .reviews-grid,
  .stats__grid,
  .process-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .about__photo img { height: 320px; }
  .about__highlights { grid-template-columns: 1fr; }
  .check-list--grid { grid-template-columns: 1fr; }
  .about__grid { gap: 32px; }
  .project-card__image { height: 240px; }
  .project-card__body { padding: 20px; }
  .project-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .team-card__image { aspect-ratio: 3 / 4; }
  .review-card { padding: 24px 20px; }
  .cta-band { padding: 0 0 56px; }
  .cta-band__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
    border-radius: var(--radius);
  }
  .cta-band .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { flex-direction: column; gap: 12px; }
  .footer__contact a { overflow-wrap: anywhere; }
  .topbar__note { display: none; }
  .trust-bar { padding: 28px 0; }
  .trust-bar__logos { gap: 10px 16px; }
  .trust-bar__logos span { font-size: 0.82rem; }
  .stat-item { padding: 32px 20px; }
  .stat-item__desc { font-size: 0.85rem; }
  .back-top { right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  .topbar__contacts a[href^="mailto"] { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__contacts { gap: 0; justify-content: center; width: 100%; }
}

@media (max-width: 480px) {
  .container { width: min(1140px, 100% - 24px); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stats div {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
  }
  .hero__stats div:last-child { border-bottom: none; }
  .hero__certs { gap: 8px 12px; }
  .hero__certs li { font-size: 0.8rem; flex: 1 1 100%; }
  .topbar__contacts { font-size: 0.75rem; }
  .logo__text { font-size: 1.1rem; }
  .logo__mark, .logo__mark svg { width: 32px; height: 32px; }
  .section-title { font-size: 1.45rem; }
  .text-lead { font-size: 1rem; }
  .feature-card { padding: 24px 20px; }
  .service-card { padding: 24px 20px; }
  .office-item { padding: 18px; }
  .btn { padding: 13px 20px; font-size: 0.9rem; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea,
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
}
