/* =========================================================
   ARST - премиальный лендинг студии. Светлая тема.
   Шрифты: Manrope (структура) + Playfair Display italic (акценты)
   ========================================================= */

:root {
  /* Палитра */
  --bg: #f7f6f2;
  --bg-warm: #f1efe9;
  --surface: #ffffff;
  --ink: #18171d;
  --ink-soft: #3c3a40;
  --muted: #645f5a;
  --line: rgba(20, 19, 16, 0.10);
  --line-soft: rgba(20, 19, 16, 0.06);
  --accent: #1b3bf0;
  --accent-deep: #1430c4;
  --accent-soft: rgba(27, 59, 240, 0.10);
  --accent-wash: rgba(27, 59, 240, 0.16);

  /* Типографика */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: Georgia, "Times New Roman", serif;

  /* Радиусы и тени */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 2px 8px rgba(20, 19, 16, 0.04);
  --shadow-md: 0 10px 40px rgba(20, 19, 16, 0.07);
  --shadow-lg: 0 30px 80px rgba(20, 19, 16, 0.10);
  --shadow-accent: 0 16px 40px rgba(27, 59, 240, 0.24);

  /* Слой */
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }

/* Видимый фокус для клавиатуры */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.contact-form :focus-visible, .footer :focus-visible, .contact__text :focus-visible, .mobile-menu :focus-visible { outline-color: #8fa3ff; }
.field__input:focus-visible { outline: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow--light { color: #8fa3ff; }

em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

.section { padding: clamp(72px, 11vh, 150px) 0; position: relative; }

.section__head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.section__head--left { text-align: left; margin-left: 0; margin-right: 0; }
.section__title {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section__sub {
  margin-top: 22px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  line-height: 1.6;
}
.section__sub a { color: var(--accent); font-weight: 600; }
.section__sub a:hover { text-decoration: underline; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-radius: 100px;
  padding: 16px 28px;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
}
.btn__arrow { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: 0 20px 50px rgba(27, 59, 240, 0.34); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--ink); color: #fff; }

.btn--sm { padding: 11px 20px; font-size: 0.9rem; }
.btn--lg { padding: 19px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 36px; height: 36px; border: 1.5px solid #fff; transform: translate(-50%, -50%); transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease); }
.cursor-dot { width: 5px; height: 5px; background: #fff; transform: translate(-50%, -50%); }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(255,255,255,0.1); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 1000; transition: width 0.1s linear; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 18px 0; transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.header.scrolled { padding: 10px 0; background: rgba(247, 246, 242, 0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--line-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.logo__dot { color: var(--accent); font-size: 1.5em; line-height: 0; margin-left: 1px; }
.logo--light { color: #fff; font-size: 1.7rem; }

.nav { display: flex; gap: 6px; }
.nav__link { position: relative; padding: 8px 16px; font-size: 0.96rem; font-weight: 600; color: var(--ink-soft); border-radius: 100px; transition: color 0.3s var(--ease), background 0.3s var(--ease); }
.nav__link:hover { color: var(--ink); background: var(--accent-soft); }

.header__cta { display: inline-flex; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: background 0.3s; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-menu__link { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; padding: 10px; color: var(--ink); }
.mobile-menu__link:active { color: var(--accent); }
.mobile-menu__cta { margin-top: 22px; }
.mobile-menu__mail { margin-top: 18px; color: var(--muted); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 124px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob--1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -12%; right: -8%; background: radial-gradient(circle, var(--accent-wash), transparent 70%); animation: float1 18s ease-in-out infinite; }
.blob--2 { width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; bottom: -16%; left: -10%; background: radial-gradient(circle, rgba(255, 180, 120, 0.18), transparent 70%); animation: float2 22s ease-in-out infinite; }
.grain { position: absolute; inset: 0; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }

@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px, 30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, -24px) scale(1.06); } }

.hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-soft);
  padding: 9px 18px; border-radius: 100px; margin-bottom: 32px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-wash); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(27,59,240,0.4); } 70% { box-shadow: 0 0 0 10px rgba(27,59,240,0); } 100% { box-shadow: 0 0 0 0 rgba(27,59,240,0); } }

.hero__title { font-size: clamp(2.6rem, 7.4vw, 5.6rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.045em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title em { font-size: 0.96em; }

.hero__lead { max-width: 580px; margin-top: 30px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__micro { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }

.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--ink), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--accent); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* ---------- Metrics ---------- */
.metrics { padding: clamp(40px, 6vw, 64px) 0; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(34px, 4vw, 52px) clamp(28px, 4vw, 56px); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.metric { text-align: center; }
.metric__num { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.metric__num .count { color: var(--accent); }
.metric__label { margin-top: 14px; font-size: 0.92rem; color: var(--muted); line-height: 1.45; }
.metrics__note { text-align: center; margin-top: 22px; font-size: 0.82rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.marquee__track { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: marquee 34s linear infinite; font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.marquee__track span { opacity: 0.85; }
.marquee__dot { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.6vw, 22px); }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleY(1); transform-origin: top; }
.service-card__top { display: flex; align-items: center; justify-content: space-between; }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon { background: var(--accent); color: #fff; transform: scale(1.06) rotate(-3deg); }
.service-card__num { font-size: 0.84rem; font-weight: 800; color: var(--muted); letter-spacing: 0.06em; }
.service-card__title { margin-top: 22px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
/* Акцентная карточка (основной продукт) */
.service-card--accent { background: var(--ink); border-color: transparent; }
.service-card--accent .service-card__title { color: #fff; }
.service-card--accent .service-card__text { color: rgba(255,255,255,0.66); }
.service-card--accent .service-card__num { color: rgba(255,255,255,0.5); }
.service-card--accent .service-card__icon { background: var(--accent); color: #fff; }
.service-card--accent::after { background: #8fa3ff; }
.service-card__text { margin-top: 14px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Why ---------- */
.why { background: linear-gradient(180deg, var(--bg), var(--bg-warm)); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 52px) clamp(28px, 4vw, 64px); }
.why-item { position: relative; padding-top: 28px; border-top: 1.5px solid var(--line); transition: border-color 0.4s; }
.why-item::before { content: ""; position: absolute; top: -1.5px; left: 0; width: 0; height: 1.5px; background: var(--accent); transition: width 0.6s var(--ease); }
.why-item:hover::before { width: 100%; }
.why-item__title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.why-item__text { margin-top: 12px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Cases ---------- */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: clamp(16px, 1.6vw, 22px); }
.case-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.case-card--lg { grid-column: span 2; grid-row: span 2; }
.case-card--wide { grid-column: span 1; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: grid; place-items: center; padding: 9%; }
.case-card--lg .case-card__media { aspect-ratio: 16/9; }
.case-card__media::before { content: ""; position: absolute; inset: 0; transition: transform 0.7s var(--ease); }
.case-card:hover .case-card__media::before { transform: scale(1.05); }
.case-card__media[data-art="1"]::before { background: linear-gradient(135deg, #2f4dd6, #6f88f5); }
.case-card__media[data-art="2"]::before { background: linear-gradient(135deg, #2b2b30, #5a5a64); }
.case-card__media[data-art="3"]::before { background: linear-gradient(135deg, #169a6d, #46cf97); }
.case-card__media[data-art="4"]::before { background: linear-gradient(135deg, #f0763d, #f7ad6b); }
.case-card__media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 28% 24%, rgba(255,255,255,0.20), transparent 50%); }

/* Мокап-превью лендинга в окне браузера */
.mock { position: relative; z-index: 1; width: 100%; max-width: 360px; border-radius: 10px; background: #fff; box-shadow: 0 26px 60px rgba(10,12,30,0.30); overflow: hidden; transition: transform 0.7s var(--ease); }
.case-card--lg .mock { max-width: 460px; }
.case-card:hover .mock { transform: translateY(-7px); }
.mock__bar { display: flex; gap: 5px; align-items: center; padding: 9px 12px; background: #f3f3f5; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mock__bar span { width: 8px; height: 8px; border-radius: 50%; background: #d6d6da; }
.mock__bar span:nth-child(1) { background: #ff6058; }
.mock__bar span:nth-child(2) { background: #ffbd2e; }
.mock__bar span:nth-child(3) { background: #28c93f; }
.mock__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.mock__hero { height: 34px; border-radius: 7px; }
.mock__media[data-art="1"] ~ * .mock__hero { }
.case-card__media[data-art="1"] .mock__hero { background: linear-gradient(135deg, #2f4dd6, #6f88f5); }
.case-card__media[data-art="2"] .mock__hero { background: linear-gradient(135deg, #2b2b30, #6a6a74); }
.case-card__media[data-art="3"] .mock__hero { background: linear-gradient(135deg, #169a6d, #46cf97); }
.case-card__media[data-art="4"] .mock__hero { background: linear-gradient(135deg, #f0763d, #f7ad6b); }
.mock__line { height: 8px; border-radius: 4px; background: #e9e9ed; }
.mock__line--short { width: 58%; }
.mock__row { display: flex; gap: 8px; margin-top: 5px; }
.mock__row i { flex: 1; height: 30px; border-radius: 7px; background: #eef0f6; }
.mock__row i:last-child { background: var(--accent-soft); }
.case-card__body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; flex: 1; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-card__tags span { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 100px; }
.case-card__title { font-size: clamp(1.2rem, 1.7vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.case-card--lg .case-card__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.case-card__text { margin-top: 10px; color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.case-card__result { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.case-card__result span { font-size: 0.9rem; color: var(--ink-soft); }
.case-card__result b { color: var(--ink); font-weight: 800; }

/* ---------- Process ---------- */
.process__list { display: grid; gap: 0; max-width: 880px; margin: 0 auto; }
.process-step { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line); transition: transform 0.4s var(--ease); }
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { transform: translateX(14px); }
.process-step__num { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.process-step__title { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; }
.process-step__text { margin-top: 10px; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 560px; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.review { display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 38px); box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review__text { font-size: 1.05rem; line-height: 1.6; color: var(--ink-soft); position: relative; padding-top: 48px; }
.review__text::before { content: "“"; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--accent); opacity: 0.3; position: absolute; top: 4px; left: -2px; }
.review__author { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 0.92rem; color: var(--muted); }
.review__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.92rem; flex-shrink: 0; }
.review__author b { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq__container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq .section__head { margin: 0; position: sticky; top: 120px; }
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 700; letter-spacing: -0.01em; list-style: none; cursor: pointer; transition: color 0.3s; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--accent); }
.faq-item__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); border-radius: 2px; transition: transform 0.4s var(--ease); }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__a { overflow: hidden; }
.faq-item__a p { padding-bottom: 26px; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 620px; }

/* ---------- Autonomy (главное УТП) ---------- */
.autonomy__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 22px); }
.autonomy-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(26px, 2.6vw, 36px); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.autonomy-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.autonomy-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; transition: transform 0.5s var(--ease); }
.autonomy-card__icon svg { width: 27px; height: 27px; }
.autonomy-card:hover .autonomy-card__icon { transform: scale(1.06) rotate(-3deg); }
.autonomy-card__title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.autonomy-card__text { margin-top: 13px; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.autonomy-card--gift { background: var(--ink); border-color: transparent; }
.autonomy-card--gift .autonomy-card__title { color: #fff; }
.autonomy-card--gift .autonomy-card__text { color: rgba(255, 255, 255, 0.68); }
.autonomy-card--gift .autonomy-card__icon { background: var(--accent); color: #fff; }
.autonomy-card__badge { display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 5px 11px; border-radius: 100px; margin-bottom: 18px; }

/* ---------- Pricing (цена и сроки) ---------- */
.pricing { background: linear-gradient(180deg, var(--bg-warm), var(--bg)); }
.pricing__compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); max-width: 940px; margin: 0 auto; }
.compare-col { border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line-soft); background: var(--surface); }
.compare-col--us { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); border-color: transparent; }
.compare-col__tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 24px; }
.compare-col--market .compare-col__tag { color: var(--muted); }
.compare-col--us .compare-col__tag { color: #8fa3ff; }
.compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-col li { display: flex; align-items: center; gap: 12px; font-size: 1.04rem; line-height: 1.4; }
.compare-col li svg { flex-shrink: 0; width: 20px; height: 20px; }
.compare-col--market li { color: var(--muted); }
.compare-col--market li svg { color: #b6b1aa; }
.compare-col--us li { color: rgba(255, 255, 255, 0.92); }
.compare-col--us li svg { color: #8fa3ff; }
.compare-col li b { font-weight: 800; color: var(--ink); }
.compare-col--us li b { color: #fff; }
.pricing__formats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.6vw, 22px); max-width: 940px; margin: clamp(20px, 3vw, 32px) auto 0; }
.format-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(26px, 2.8vw, 36px); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.format-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.format-card--primary { border: 1.5px solid var(--accent); box-shadow: var(--shadow-md); }
.format-card__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.format-card__price { margin-top: 8px; font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.format-card__meta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.format-card__meta span { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 0.96rem; }
.format-card__meta span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%231b3bf0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.team-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.team-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.team-card__photo { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(150deg, #2b2b30, #585863); overflow: hidden; }
.team-card__photo::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.16), transparent 55%); }
.team-card__initials { position: relative; z-index: 1; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; opacity: 0.92; }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: clamp(20px, 2.2vw, 28px); }
.team-card__name { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; }
.team-card__role { margin-top: 7px; color: var(--accent); font-weight: 600; font-size: 0.96rem; }
.team-card__exp { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(80px, 12vh, 160px); }
.contact__card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 5vw, 76px); overflow: hidden; }
.contact__card .blob--3 { position: absolute; width: 420px; height: 420px; bottom: -30%; right: -10%; background: radial-gradient(circle, rgba(27,59,240,0.55), transparent 70%); filter: blur(60px); opacity: 0.8; }
.contact__text { position: relative; z-index: 1; }
.contact__title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; }
.contact__title em { color: #8fa3ff; }
.contact__sub { margin-top: 20px; color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.6; max-width: 440px; }
.contact__bullets { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.contact__bullets li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.88); font-size: 0.98rem; }
.contact__bullets li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
.contact__mail { margin-top: 30px; color: rgba(255,255,255,0.7); font-size: 0.96rem; }
.contact__mail a { color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.4); }
.contact__mail a:hover { border-color: #fff; }

.contact-form { position: relative; z-index: 1; background: var(--surface); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); color: var(--ink); }
.form-row { margin-bottom: 16px; }
.field { display: block; }
.field__label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field__opt { color: var(--muted); font-weight: 400; }
.field__input { width: 100%; padding: 15px 18px; font-size: 1rem; font-family: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: var(--r-sm); transition: border-color 0.3s, background 0.3s; }
.field__input::placeholder { color: var(--muted); }
.field__input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field__input--area { resize: vertical; min-height: 80px; }
.field.invalid .field__input { border-color: #e0463e; background: rgba(224,70,62,0.04); }
.field__error { display: block; font-size: 0.8rem; color: #e0463e; margin-top: 6px; min-height: 1px; }
.contact-form__note { margin-top: 16px; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.form-success { position: absolute; inset: 0; background: var(--surface); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; gap: 8px; animation: popIn 0.5s var(--ease); }
.form-success[hidden] { display: none; }
.form-success__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; margin-bottom: 12px; }
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; }
.form-success p { color: var(--muted); max-width: 280px; }
@keyframes popIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: clamp(56px, 7vw, 90px) 0 36px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 60px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__slogan { margin-top: 18px; max-width: 320px; font-size: 0.98rem; line-height: 1.6; color: rgba(255,255,255,0.6); }
.footer__col-title { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__nav a, .footer__contacts a { color: rgba(255,255,255,0.75); font-size: 0.98rem; transition: color 0.3s; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__mail { font-size: 1.15rem !important; font-weight: 700; color: #fff !important; }
.footer__city { font-size: 0.96rem; color: rgba(255,255,255,0.6); }
.footer__cta { color: var(--accent) !important; font-weight: 700; }
.footer__cta:hover { color: #8fa3ff !important; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 0.86rem; color: rgba(255,255,255,0.45); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.45); transition: color 0.3s; }
.footer__legal a:hover { color: #fff; }

/* ---------- Reveal animations (только при включённом JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-line] > span { transform: translateY(110%); transition: transform 0.9s var(--ease); display: block; }
.js [data-reveal-line].in > span { transform: translateY(0); }
.js [data-reveal-line]:nth-child(2).in > span { transition-delay: 0.08s; }
.js [data-reveal-line]:nth-child(3).in > span { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-line] > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .blob, .marquee__track, .pulse, .hero__scroll-line::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .services__grid, .why__grid, .reviews__grid, .autonomy__grid, .team__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .case-card--lg { grid-column: span 2; grid-row: span 1; }
  .case-card--wide { grid-column: span 2; }
  .faq__container { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .contact__card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .services__grid, .why__grid, .reviews__grid, .cases__grid, .autonomy__grid, .pricing__compare, .pricing__formats, .team__grid { grid-template-columns: 1fr; }
  .case-card--lg, .case-card--wide { grid-column: span 1; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 116px; padding-bottom: 56px; }
  .hero__actions .btn { flex: 1; }
  .hero__scroll { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
