/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg: #0a0a0f;
  --clr-surface: #12121a;
  --clr-surface2: #1a1a26;
  --clr-border: #2a2a3a;
  --clr-accent: #6c47ff;
  --clr-accent2: #ff4790;
  --clr-accent-glow: rgba(108, 71, 255, 0.25);
  --clr-text: #e8e8f0;
  --clr-muted: #8888a8;
  --clr-white: #ffffff;
  --clr-grey-bg: #f5f5fa;
  --clr-grey-text: #1a1a2e;
  --font: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 0 24px var(--clr-accent-glow);
}
.btn--primary:hover {
  background: #7d5fff;
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--clr-accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn--outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.btn--full { width: 100%; }

/* ===================== SECTION COMMON ===================== */
.section { padding: 100px 0; }
.section--dark { background: var(--clr-surface); }
.section--grey { background: #f5f5fa; color: var(--clr-grey-text); }

.section__header { text-align: center; margin-bottom: 64px; }
.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--clr-white);
}
.section--grey .section__title { color: var(--clr-grey-text); }
.section__header--light .section__title { color: var(--clr-white); }
.section__desc {
  margin-top: 16px;
  color: var(--clr-muted);
  font-size: 18px;
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo__digital { color: var(--clr-white); }
.logo__pulse { color: var(--clr-accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--clr-white); background: var(--clr-surface2); }
.nav__link--cta {
  background: var(--clr-accent);
  color: #fff !important;
  margin-left: 8px;
  padding: 10px 20px;
  border-radius: 50px;
}
.nav__link--cta:hover { background: #7d5fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(108,71,255,0.15) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 20% 80%, rgba(255,71,144,0.08) 0%, transparent 50%),
              var(--clr-bg);
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.accent {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--clr-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Pulse animation */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 380px;
}

.pulse-core {
  width: 100px;
  height: 100px;
  background: var(--clr-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 60px var(--clr-accent-glow);
}

.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--clr-accent);
  animation: pulse 3s ease-out infinite;
}
.pulse-ring--1 { width: 160px; height: 160px; animation-delay: 0s; }
.pulse-ring--2 { width: 260px; height: 260px; animation-delay: 0.8s; }
.pulse-ring--3 { width: 360px; height: 360px; animation-delay: 1.6s; }

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.1); }
}

/* Stats bar */
.hero__stats {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--clr-border);
}
.stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--clr-border);
}
.stat:last-child { border-right: none; }
.stat__number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat__label {
  font-size: 13px;
  color: var(--clr-muted);
}

/* ===================== ABOUT ===================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.about__text p {
  color: var(--clr-muted);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}
.about__text strong { color: var(--clr-white); }

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.fact-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
}
.fact-card__icon { font-size: 28px; margin-bottom: 12px; }
.fact-card h3 { font-size: 15px; color: var(--clr-white); margin-bottom: 8px; }
.fact-card p { font-size: 13px; color: var(--clr-muted); line-height: 1.6; }

.badges {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 32px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
}
.badge img { height: 28px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; }
.badge span { font-size: 12px; color: var(--clr-muted); font-weight: 500; }

/* ===================== SERVICES ===================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108,71,255,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,71,255,0.2);
}

.service-card__num {
  font-size: 48px;
  font-weight: 900;
  color: var(--clr-surface2);
  line-height: 1;
  margin-bottom: 16px;
  user-select: none;
}
.service-card__icon {
  color: var(--clr-accent);
  margin-bottom: 20px;
}
.service-card__icon svg,
.service-card__icon i { width: 40px; height: 40px; display: block; }
.service-card h3 {
  font-size: 20px;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.service-card p { color: var(--clr-muted); font-size: 15px; line-height: 1.7; }

/* ===================== EXPERTISE ===================== */
.niches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.niche {
  padding: 10px 22px;
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  transition: all var(--transition);
  cursor: default;
}
.niche:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-glow);
}

/* ===================== CASES ===================== */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108,71,255,0.15);
}

.case-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-glow);
  border: 1px solid rgba(108,71,255,0.3);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
}
.case-card__title {
  font-size: 22px;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.case-card__desc {
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.case-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--clr-border);
}
.case-result__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.case-result__label {
  font-size: 12px;
  color: var(--clr-muted);
}

/* ===================== CLIENTS ===================== */
.section--grey .section__label { color: var(--clr-accent); }

.clients__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.client-logo {
  background: #fff;
  border: 1px solid #e0e0ef;
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.client-logo:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108,71,255,0.12);
}

/* ===================== WHY US ===================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item {
  padding: 32px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.why-item:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
}
.why-item__icon { font-size: 40px; margin-bottom: 16px; display: flex; justify-content: center; }
.why-item__icon svg,
.why-item__icon i { width: 40px; height: 40px; color: var(--clr-accent); }
.why-item h3 { font-size: 18px; color: var(--clr-white); margin-bottom: 12px; }
.why-item p { font-size: 14px; color: var(--clr-muted); line-height: 1.7; }

/* ===================== PROCESS ===================== */
.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 24px;
  align-items: start;
}

.step {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color var(--transition);
}
.step:hover { border-color: var(--clr-accent); }

.step__number {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step__content h3 {
  font-size: 20px;
  color: var(--clr-white);
  margin-bottom: 20px;
}
.step__content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--clr-muted);
  font-size: 14px;
  line-height: 1.6;
}
.step__content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
}

.step__arrow {
  font-size: 28px;
  color: var(--clr-accent);
  align-self: center;
  margin-top: 32px;
  opacity: 0.6;
}

/* ===================== CONTACT ===================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form__group--full { grid-column: 1 / -1; }
.form__group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text);
}
.form__group input,
.form__group select,
.form__group textarea {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--transition);
}
.form__group select option { background: var(--clr-surface); }
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--clr-muted); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus { border-color: var(--clr-accent); }
.form__group textarea { resize: vertical; }
.form__note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--clr-muted);
  text-align: center;
}
.form__note a { color: var(--clr-accent); }

.contact__card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
}
.contact__card h3 {
  font-size: 22px;
  color: var(--clr-white);
  margin-bottom: 28px;
}
.contact__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact__icon { font-size: 24px; flex-shrink: 0; display: flex; align-items: center; margin-top: 2px; }
.contact__icon svg,
.contact__icon i { width: 22px; height: 22px; color: var(--clr-accent); }
.contact__item strong { display: block; color: var(--clr-white); font-size: 14px; margin-bottom: 4px; }
.contact__item p { color: var(--clr-muted); font-size: 14px; }

.contact__socials {
  display: flex;
  gap: 12px;
}
.social-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-muted);
  transition: all var(--transition);
}
.social-btn:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 48px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.footer__left p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.7;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.footer__nav a {
  font-size: 14px;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--clr-accent); }
.footer__legal {
  text-align: right;
}
.footer__legal p {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 2;
}

/* ===================== MODAL ===================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal.is-open { opacity: 1; pointer-events: all; }
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.modal__overlay.is-open { opacity: 1; pointer-events: all; }
.modal__box {
  position: relative;
  z-index: 1001;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
}
.modal__icon { font-size: 56px; margin-bottom: 20px; }
.modal__box h3 { font-size: 26px; color: var(--clr-white); margin-bottom: 12px; }
.modal__box p { color: var(--clr-muted); margin-bottom: 32px; }

/* ===================== RESPONSIVE — TABLET ≤1024px ===================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__actions { justify-content: center; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__logos { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: 1fr; gap: 16px; }
  .step__arrow { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer__legal { text-align: center; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
  /* About page */
  .story__grid { grid-template-columns: 1fr; }
  .story__stats { position: static; grid-template-columns: repeat(4, 1fr); }
  .partners__grid { grid-template-columns: 1fr; }
  /* Services page */
  .svc__head { padding: 24px 28px; }
  .svc__body { padding: 24px 28px; }
  .svc__includes ul { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  /* CTA */
  .cta-banner__inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta-banner__inner .btn { align-self: center; }
}

/* ===================== RESPONSIVE — MOBILE ≤768px ===================== */
@media (max-width: 768px) {

  /* ── Layout ── */
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section__header { margin-bottom: 32px; }
  .section__title { font-size: 24px; }
  .section__desc { font-size: 15px; }

  /* ── Header — solid фон, компактний ── */
  .header {
    background: #0d0d14;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: rgba(255,255,255,0.07);
  }
  .header__inner { height: 60px; }
  .logo { font-size: 17px; }

  /* ── Burger ── */
  .burger { display: flex; }
  .burger span { transition: transform 0.22s ease, opacity 0.18s ease; }
  .burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Lang switcher compact ── */
  .lang-btn { font-size: 12px; padding: 3px 5px; }
  .lang-sep { font-size: 12px; }

  /* ── Mobile nav overlay ── */
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0d0d14;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 16px 12px 40px;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__link {
    display: block;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--clr-text);
    border: 1px solid transparent;
    margin-left: 0;
    transition: all 0.2s ease;
  }
  .nav__link:hover,
  .nav__link.active {
    background: rgba(108,71,255,0.1);
    border-color: rgba(108,71,255,0.25);
    color: var(--clr-white);
  }
  .nav__link--cta {
    margin-top: 12px;
    text-align: center;
    border-radius: 50px;
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #fff;
    padding: 15px;
    margin-left: 0;
    font-size: 15px;
  }
  .nav__link--cta:hover,
  .nav__link--cta.active {
    background: #7d5fff;
    border-color: #7d5fff;
  }

  /* ── Hero ── */
  .hero { min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 0;
  }
  .hero__visual { display: none; }
  .hero__title { font-size: 32px; line-height: 1.15; margin-bottom: 16px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 24px; }
  .hero__subtitle br { display: none; }
  .hero__label { font-size: 11px; margin-bottom: 14px; }
  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero__actions .btn { width: 100%; max-width: 280px; padding: 13px 24px; }

  /* ── Hero stats ── */
  .hero__stats-inner { grid-template-columns: 1fr 1fr; }
  .stat {
    padding: 20px 12px;
    border-right: none;
    border-bottom: 1px solid var(--clr-border);
  }
  .stat:nth-child(odd)  { border-right: 1px solid var(--clr-border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat__number { font-size: 28px; }
  .stat__label { font-size: 12px; }

  /* ── Services grid ── */
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 22px 18px; }
  .service-card__num { font-size: 32px; margin-bottom: 10px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; }

  /* ── Cases ── */
  .cases__grid { grid-template-columns: 1fr; gap: 12px; }
  .case-card { padding: 22px; }
  .case-card__results { grid-template-columns: 1fr 1fr; }
  .case-result__num { font-size: 22px; }

  /* ── Why us ── */
  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .why-item { padding: 22px 18px; }
  .why-item h3 { font-size: 16px; }

  /* ── Services detail (.svc) ── */
  .services-detail { gap: 16px; }
  .svc__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 16px;
  }
  .svc__num { font-size: 32px; min-width: auto; }
  .svc__icon svg, .svc__icon i { width: 32px; height: 32px; }
  .svc__head h2 { font-size: 19px; }
  .svc__body { padding: 18px 16px; }
  .svc__body > p { font-size: 14px; }
  .svc__includes ul { grid-template-columns: 1fr; }

  /* ── About — Story ── */
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__stats { position: static; grid-template-columns: 1fr 1fr; gap: 10px; }
  .story-stat { padding: 18px 12px; }
  .story-stat__num { font-size: 26px; }
  .story__text p { font-size: 15px; }

  /* ── About — Values ── */
  .values__grid { grid-template-columns: 1fr; gap: 10px; }
  .value-card { padding: 20px 18px; }

  /* ── About — Partners ── */
  .partners__grid { grid-template-columns: 1fr; gap: 12px; }
  .partner-card { flex-direction: column; gap: 14px; padding: 22px; }
  .partner-card__logo { width: 70px; }

  /* ── Process ── */
  .process__steps { gap: 10px; }
  .step { padding: 22px 18px; }
  .step__number { font-size: 36px; margin-bottom: 10px; }

  /* ── Niches ── */
  .niche { padding: 7px 14px; font-size: 13px; }

  /* ── Filters ── */
  .filters { gap: 7px; margin-bottom: 28px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }

  /* ── Contact ── */
  .contact__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact__form { grid-template-columns: 1fr; gap: 16px; }
  .contact__form h2 { font-size: 20px; }
  .contact__card { padding: 20px; }
  .form__intro { font-size: 13px; }
  .form__group input,
  .form__group select,
  .form__group textarea { font-size: 16px; } /* prevent iOS zoom */

  /* ── Page hero (sub-pages) ── */
  .page-hero { padding: 88px 0 36px; }
  .page-hero__title { font-size: 24px; }
  .page-hero__subtitle { font-size: 14px; }
  .breadcrumb { font-size: 12px; }

  /* ── CTA banner ── */
  .cta-banner { padding: 48px 0; }
  .cta-banner__inner { flex-direction: column; text-align: center; gap: 18px; }
  .cta-banner h2 { font-size: 20px; }
  .cta-banner p { font-size: 14px; }
  .cta-banner__inner .btn { width: 100%; max-width: 280px; align-self: center; }

  /* ── Footer ── */
  .footer { padding: 36px 0; }
  .footer__inner { gap: 24px; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
  .footer__left p { font-size: 13px; }
  .footer__legal p { font-size: 12px; line-height: 1.8; }

  /* ── Modal ── */
  .modal__box { padding: 32px 18px; margin: 0 12px; }
  .modal__box h3 { font-size: 20px; }
}

/* ===================== RESPONSIVE — SMALL ≤480px ===================== */
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero__title { font-size: 28px; }
  .hero__label { font-size: 11px; }
  .section__title { font-size: 22px; }
  .page-hero__title { font-size: 22px; }
  .story__stats { grid-template-columns: 1fr 1fr; }
  .process__steps { gap: 10px; }
  .filters { gap: 6px; }
  .filter-btn { padding: 7px 12px; font-size: 12px; }
}

/* ===================== ANIMATIONS ===================== */

/* ── Fade-up (scroll-triggered) ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--stagger, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Stagger delays for grids ── */
.services__grid .service-card:nth-child(1),
.why__grid      .why-item:nth-child(1),
.cases__grid    .case-card:nth-child(1),
.values__grid   .value-card:nth-child(1) { --stagger: 0.05s; }

.services__grid .service-card:nth-child(2),
.why__grid      .why-item:nth-child(2),
.cases__grid    .case-card:nth-child(2),
.values__grid   .value-card:nth-child(2) { --stagger: 0.13s; }

.services__grid .service-card:nth-child(3),
.why__grid      .why-item:nth-child(3),
.cases__grid    .case-card:nth-child(3),
.values__grid   .value-card:nth-child(3) { --stagger: 0.21s; }

.services__grid .service-card:nth-child(4),
.why__grid      .why-item:nth-child(4),
.cases__grid    .case-card:nth-child(4),
.values__grid   .value-card:nth-child(4) { --stagger: 0.29s; }

.services__grid .service-card:nth-child(5),
.why__grid      .why-item:nth-child(5),
.values__grid   .value-card:nth-child(5) { --stagger: 0.37s; }

.services__grid .service-card:nth-child(6),
.why__grid      .why-item:nth-child(6),
.values__grid   .value-card:nth-child(6) { --stagger: 0.45s; }

/* ── Hero entrance (plays on page load) ── */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__label    { animation: heroSlideUp 0.6s ease 0.15s both; }
.hero__title    { animation: heroSlideUp 0.7s ease 0.3s  both; }
.hero__subtitle { animation: heroSlideUp 0.7s ease 0.5s  both; }
.hero__actions  { animation: heroSlideUp 0.7s ease 0.65s both; }
.hero__stats    { animation: heroSlideUp 0.6s ease 0.8s  both; }

/* ── Accent text shimmer ── */
@keyframes textShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.accent {
  background: linear-gradient(
    90deg,
    var(--clr-accent)  0%,
    var(--clr-accent2) 30%,
    #c9a8ff            50%,
    var(--clr-accent2) 70%,
    var(--clr-accent)  100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 5s linear infinite;
}

/* ── Logo PULSE soft glow ── */
@keyframes logoGlow {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}
.logo__pulse { animation: logoGlow 2.8s ease-in-out infinite; }

/* ── Floating background orbs in hero ── */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-6%, 8%) scale(1.08); }
  66%      { transform: translate(8%, -4%) scale(0.94); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(6%, -10%) scale(1.1); }
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 560px; height: 560px;
  background: radial-gradient(ellipse, rgba(108,71,255,0.18) 0%, transparent 70%);
  top: -120px; right: 5%;
  animation: orbFloat1 14s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(ellipse, rgba(255,71,144,0.12) 0%, transparent 70%);
  bottom: 60px; left: -60px;
  animation: orbFloat2 18s ease-in-out infinite -5s;
}
.hero__inner, .hero__stats { position: relative; z-index: 1; }

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent2));
  z-index: 500;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ── Canvas particles ── */
#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── CTA banner animated border glow ── */
@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(108,71,255,0.15); }
  50%       { box-shadow: 0 0 120px rgba(108,71,255,0.3), 0 0 80px rgba(255,71,144,0.15); }
}
.cta-banner { animation: bannerPulse 5s ease-in-out infinite; }

/* ── Page hero entrance (sub-pages) ── */
.page-hero__inner > * {
  animation: heroSlideUp 0.7s ease both;
}
.page-hero__inner > *:nth-child(1) { animation-delay: 0.1s; }
.page-hero__inner > *:nth-child(2) { animation-delay: 0.25s; }
.page-hero__inner > *:nth-child(3) { animation-delay: 0.4s; }
.page-hero__inner > *:nth-child(4) { animation-delay: 0.55s; }

/* ── Respect user motion preferences ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ===================== LANG SWITCHER ===================== */
.header__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-sep { color: var(--clr-border); font-size: 14px; }
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.lang-btn:hover { color: var(--clr-white); }
.lang-btn.is-active { color: var(--clr-accent); }

/* ===================== NAV ACTIVE ===================== */
.nav__link.active { color: var(--clr-white); }
.nav__link--cta.active { background: #7d5fff; }

/* ===================== SECTION FOOTER LINK ===================== */
.section__footer-link {
  text-align: center;
  margin-top: 48px;
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #9b6dff 50%, var(--clr-accent2) 100%);
  padding: 80px 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 40px);
  color: #fff;
  margin-bottom: 8px;
}
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 18px; }
.btn--white {
  background: #fff;
  color: var(--clr-accent);
  border-color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.btn--white:hover {
  background: #f0eaff;
  transform: translateY(-2px);
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: radial-gradient(ellipse 80% 60% at 30% 60%, rgba(108,71,255,0.18) 0%, transparent 60%),
              var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
  padding: 130px 0 80px;
}
.page-hero__inner { max-width: 720px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--clr-muted);
}
.breadcrumb a {
  color: var(--clr-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--clr-accent); }
.page-hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}
.page-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero__subtitle {
  font-size: 18px;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ===================== CASES FILTER ===================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--clr-border);
  border-radius: 50px;
  background: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--clr-accent); color: var(--clr-accent); }
.filter-btn.is-active {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
}

/* ===================== SERVICES DETAIL (services.html) ===================== */
.services-detail {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.svc {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.svc:hover { border-color: var(--clr-accent); }
.svc__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--clr-border);
}
.svc__num {
  font-size: 64px;
  font-weight: 900;
  color: var(--clr-surface2);
  line-height: 1;
  min-width: 80px;
  user-select: none;
}
.svc__icon { color: var(--clr-accent); flex-shrink: 0; }
.svc__icon svg,
.svc__icon i { width: 48px; height: 48px; display: block; }
.svc__head h2 { font-size: 28px; color: var(--clr-white); }
.svc__body { padding: 36px 40px; }
.svc__body > p { color: var(--clr-muted); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.svc__includes { margin-bottom: 24px; }
.svc__includes-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.svc__includes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc__includes li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.6;
}
.svc__includes li::before { content: '→'; position: absolute; left: 0; color: var(--clr-accent); }
.svc__result {
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--clr-muted);
  line-height: 1.7;
}
.svc__result-label {
  font-weight: 700;
  color: var(--clr-accent);
  margin-right: 8px;
}

/* ===================== ABOUT PAGE ===================== */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.story__text .section__label { text-align: left; margin-bottom: 12px; }
.story__text .section__title { text-align: left; margin-bottom: 28px; }
.story__text p {
  color: var(--clr-muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.story__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.story-stat {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.story-stat__num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.story-stat__label { font-size: 13px; color: var(--clr-muted); }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid #e0e0ef;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(108,71,255,0.12);
}
.value-card__icon { font-size: 36px; margin-bottom: 16px; }
.value-card__icon svg,
.value-card__icon i { width: 36px; height: 36px; color: var(--clr-accent); }
.value-card h3 { font-size: 18px; color: var(--clr-grey-text); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: #666; line-height: 1.7; }

.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.partner-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--clr-surface2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition);
}
.partner-card:hover { border-color: var(--clr-accent); }
.partner-card__logo {
  flex-shrink: 0;
  width: 120px;
  display: flex;
  align-items: center;
}
.partner-card__logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.partner-card__body h3 { font-size: 20px; color: var(--clr-white); margin-bottom: 12px; }
.partner-card__body p { font-size: 14px; color: var(--clr-muted); line-height: 1.7; }

/* ===================== CONTACT PAGE ===================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.contact__form h2 {
  font-size: 32px;
  color: var(--clr-white);
  margin-bottom: 8px;
}
.form__intro {
  color: var(--clr-muted);
  margin-bottom: 32px;
  font-size: 16px;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact__sidebar { display: flex; flex-direction: column; gap: 20px; }

.legal-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px;
}
.legal-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-card p {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 2;
}

/* MAP */
.map-placeholder {
  height: 280px;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder__inner { text-align: center; color: var(--clr-muted); }
.map-placeholder__inner span { font-size: 40px; display: block; margin-bottom: 12px; }

/* ===================== CASES GRID VARIANTS ===================== */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cases__grid--3 { grid-template-columns: repeat(3, 1fr); }

