@charset "UTF-8";
/* ==========================================================================
   Top GEO — corporate variant, Yandex Business inspired palette
   white · light lilac-grey · dark graphite · royal blue
   ========================================================================== */

:root{
  --bg: #ffffff;
  --lilac: #f2f2f7;          /* light lavender-grey panels */
  --lilac-2: #e9e9f2;        /* slightly deeper chip bg */
  --graphite: #26273a;       /* dark navy-charcoal panels */
  --graphite-2: #1f2031;
  --ink: #1b1c28;            /* near-black text */
  --ink-soft: #55566a;
  --ink-mute: #8b8c9e;
  --line: #e6e6ee;
  --blue: #2456d6;           /* corporate brand blue */
  --blue-dark: #1c45ad;
  --blue-tint: #e8eefc;
  --radius: 22px;
  --radius-sm: 12px;
  --container: 1180px;
  --ff: 'Golos Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; height: auto; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
h1, h2, h3{ margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); text-wrap: balance; }
p{ margin: 0; }

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

/* Tag / eyebrow chip */
.tag{
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.tag--light{ color: #fff; background: rgba(255,255,255,.14); }

.section-head{ max-width: 720px; margin-bottom: 44px; }

/* Highlighted heading — blue text on light-blue marker background */
.h-mark{ line-height: 1.5; }
.h-mark .mark{
  display: inline;
  background: var(--blue-tint);
  color: var(--blue);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: .05em .3em;
  border-radius: 10px;
}
.section-head--row{
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.link-arrow{
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap .2s ease;
}
.link-arrow::after{ content: '→'; transition: transform .2s ease; }
.link-arrow:hover{ gap: 10px; }

/* Blue square number badge — the Yandex checklist motif */
.num{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}
.num--lg{ width: 34px; height: 34px; border-radius: 10px; font-size: 16px; }
.num--check svg{ width: 15px; height: 15px; display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{ background: var(--blue); color: #fff; }
.btn--primary:hover{ background: var(--blue-dark); }
.btn--ghost{ background: var(--lilac); color: var(--ink); }
.btn--ghost:hover{ background: var(--lilac-2); }
.btn--outline{ border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover{ border-color: var(--blue); color: var(--blue); }
.btn--white{ background: #fff; color: var(--ink); }
.btn--white:hover{ background: var(--lilac); }
.btn--ghost-light{ background: rgba(255,255,255,.12); color: #fff; }
.btn--ghost-light:hover{ background: rgba(255,255,255,.2); }
.btn--lg{ padding: 16px 30px; font-size: 15.5px; }
.btn--sm{ padding: 10px 18px; font-size: 14px; }
.btn--block{ width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{ display: flex; align-items: center; gap: 28px; height: 76px; }
.logo{ display: flex; align-items: center; margin-right: auto; flex-shrink: 0; }
.logo__img{ height: 48px; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; display: block; }

.nav{ display: flex; gap: 24px; }
.nav__link{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav__link::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover{ color: var(--ink); }
.nav__link.is-active{ color: var(--ink); font-weight: 600; }
.nav__link.is-active::after{ transform: scaleX(1); }

.header__actions{ display: flex; align-items: center; gap: 18px; }
.header__phone{ font-weight: 800; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; color: var(--ink); transition: color .2s ease; }
.header__phone:hover{ color: var(--blue); }
.header__socials{ display: flex; gap: 10px; }
.header__social{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); transition: color .2s ease, background .2s ease, transform .2s ease; }
.header__social svg{ width: 19px; height: 19px; }
.header__social:hover{ background: var(--blue); color: #fff; transform: translateY(-2px); }

.burger{ display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.burger span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ==========================================================================
   Hero — full-bleed premium blue backdrop, glass checklist panel
   ========================================================================== */
.hero{
  position: relative;
  padding: 118px 0 104px;
  overflow: hidden;
  background: #0a1230;
}
/* фон первого экрана: настоящий <img> + затемняющий градиент поверх него */
.hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0a1230;
}
.hero__bgimg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
}
.hero__bg::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,16,44,.96) 0%, rgba(8,16,44,.82) 34%, rgba(8,16,44,.35) 72%, rgba(8,16,44,.25) 100%);
}
.hero .container{ position: relative; z-index: 1; }
.hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__content{ color: #fff; }
.hero__title{ font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; color: #fff; margin-bottom: 26px; }
.hero__subtitle{ font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 38px; }
.hero__cta{ display: flex; gap: 14px; flex-wrap: wrap; }

/* Glass checklist panel */
.panel{
  background: rgba(13,20,46,.24);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 26px;
  padding: 40px 38px;
  color: #fff;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.5);
}
.checklist{ display: flex; flex-direction: column; gap: 26px; }
.checklist__item{ display: flex; gap: 16px; align-items: flex-start; }
.checklist__item strong{ display: block; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.checklist__item > div span{ font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.5; }
.panel .num{ background: var(--blue); box-shadow: 0 6px 16px -4px rgba(36,86,214,.7); }

/* светлый вариант панели — для секций на белом фоне */
.panel--light{
  background: linear-gradient(158deg, #ffffff 0%, #eaf0fd 100%);
  backdrop-filter: none;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 20px 50px -32px rgba(27,28,40,.5);
}
.panel--light .checklist__item strong{ color: var(--ink); }
.panel--light .checklist__item > div span{ color: var(--ink-soft); }

/* ==========================================================================
   Sections shared
   ========================================================================== */
section{ padding: 80px 0; }
/* блок-продолжение: без отступа сверху, читается как часть предыдущего */
section.section--tight{ padding-top: 0; margin-top: -20px; }

/* Studio — subtle premium glow on the white backdrop */
.studio{ position: relative; overflow: hidden; }
.studio::before{
  content: '';
  position: absolute;
  top: -160px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(36,86,214,.10), transparent 66%);
  pointer-events: none;
}
.studio .container{ position: relative; z-index: 1; }
.studio__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.studio__lead{ color: var(--ink-soft); margin-top: 20px; font-size: 16.5px; }
.studio__cta{ display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.studio__note{ display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.studio__note-dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: #23b26a;
  box-shadow: 0 0 0 4px rgba(35,178,106,.16);
}
.roles{ display: flex; flex-direction: column; gap: 14px; }
.role{
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px -18px rgba(27,28,40,.28);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.role:hover{ transform: translateX(4px); border-color: rgba(36,86,214,.35); box-shadow: 0 16px 32px -20px rgba(36,86,214,.4); }
.role h3{ font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.role p{ font-size: 14.5px; color: var(--ink-soft); }

/* Services */
.services{ background: var(--lilac); }
.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service{
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 12px 28px -20px rgba(27,28,40,.3);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover{ transform: translateY(-5px); border-color: rgba(36,86,214,.3); box-shadow: 0 26px 50px -24px rgba(36,86,214,.42); }
.service__icon{
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 22px;
  transition: background .2s ease, color .2s ease;
}
.service__icon svg{ width: 24px; height: 24px; }
.service:hover .service__icon{ background: var(--blue); color: #fff; }
.service h3{ font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service p{ font-size: 14px; color: var(--ink-soft); flex: 1; margin-bottom: 24px; }
.service__foot{ display: flex; align-items: center; justify-content: space-between; }
.service__price{ font-weight: 700; font-size: 15px; color: var(--ink); font-variant-numeric: lining-nums; }
.service__arrow{
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 15px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service:hover .service__arrow{ background: var(--blue); color: #fff; transform: translateX(3px); }
.services__cta{ margin-top: 40px; text-align: center; }

/* Process */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 12px 28px -20px rgba(27,28,40,.3);
}
.chip{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.step h3{ font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.step p{ font-size: 14px; color: var(--ink-soft); }

/* Lead form */
.lead__box{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(36,86,214,.35), transparent 55%),
    var(--graphite);
  border-radius: 26px;
  padding: 56px;
  align-items: center;
  color: #fff;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.5);
}
.lead__box > *{ min-width: 0; }   /* колонки не должны распираться содержимым */
.lead__text{ position: relative; z-index: 1; }
.lead__text h2{ color: #fff; margin-bottom: 16px; }
.lead__desc{ color: rgba(255,255,255,.66); margin-bottom: 24px; display: block; }
.lead__points{ display: flex; flex-direction: column; gap: 11px; }
.lead__points li{
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
}
.lead__points li::before{
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: var(--blue);
}
.lead__form{
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  color: var(--ink);
}
.field{ display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field span{ font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field input{
  width: 100%;          /* иначе поле держит «родную» ширину и распирает форму */
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease;
}
.field input::placeholder{ color: var(--ink-mute); }
.field input:focus{ border-color: var(--blue); }
.field input.is-error{ border-color: #d64545; }
.field .field-error{ font-size: 12px; color: #d64545; }
.checkbox{
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: var(--ink-mute);
  margin: 4px 0 20px;
}
.checkbox input{ margin-top: 3px; accent-color: var(--blue); }
.checkbox a{ color: var(--blue); text-decoration: underline; }
.lead__note{ text-align: center; font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; }

/* Articles */
.articles{ background: var(--lilac); }
.articles__grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; grid-auto-rows: 1fr; }
.article-card{
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px -20px rgba(27,28,40,.3);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.article-card:hover{ transform: translateY(-5px); border-color: rgba(36,86,214,.3); box-shadow: 0 26px 50px -24px rgba(36,86,214,.4); }
.article-card__img{ aspect-ratio: 16/10; overflow: hidden; }
.article-card__img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__img img{ transform: scale(1.04); }
.article-card__body{ padding: 22px 24px 26px; }
.article-card time{ display: block; font-size: 12.5px; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.article-card h3{ font-size: 16.5px; font-weight: 700; line-height: 1.35; transition: color .2s ease; }
.article-card:hover h3{ color: var(--blue); }

/* Final CTA */
.final{ padding: 72px 0 52px; }
.final__box{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(135deg, #3a6bff 0%, var(--blue) 52%, #1c45ad 100%);
  border-radius: 26px;
  padding: 56px;
  color: #fff;
  box-shadow: 0 34px 70px -34px rgba(36,86,214,.6);
}
.final__text{ position: relative; z-index: 1; max-width: 560px; }
.final__actions{ position: relative; z-index: 1; }
.final__text h2{ color: #fff; margin-bottom: 12px; }
.final__text p{ color: rgba(255,255,255,.82); }
.final__actions{ display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   Footer — dark graphite
   ========================================================================== */
.footer{ background: var(--graphite-2); color: #fff; padding-top: 60px; }
.footer .logo__img{ height: 52px; }
.footer__inner{
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand p{ color: rgba(255,255,255,.6); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer__nav{ display: flex; flex-direction: column; gap: 12px; }
.footer__nav a{ color: rgba(255,255,255,.7); font-size: 14px; transition: color .2s ease; }
.footer__nav a:hover{ color: #fff; }
.footer__contacts{ display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__phone{ font-weight: 700; font-size: 16px; color: #fff; }
.footer__contacts a{ color: rgba(255,255,255,.8); transition: color .2s ease; }
.footer__contacts a:hover{ color: #fff; }
.footer__contacts p{ color: rgba(255,255,255,.45); font-size: 13px; }
.footer__bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0 28px;
  color: rgba(255,255,255,.45);
  font-size: 12.5px;
}
.footer__bottom a{ color: rgba(255,255,255,.45); }
.footer__bottom a:hover{ color: #fff; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
/* Появление по скроллу включается только при работающем JS: без него весь
   контент виден сразу, и первый экран не ждёт загрузки скриптов. */
.js .reveal{ opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity: 1; transform: none; transition: none; } }
/* предохранитель: без JS появление не сработает — показываем содержимое сразу */
@media (scripting: none){ .js .reveal{ opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about__lead{ font-size: 19px; line-height: 1.55; color: var(--ink); margin: 0 0 24px; }
.about__lead strong{ color: var(--ink); font-weight: 800; }
.brand-name__accent{ color: var(--blue); }
.mark-dark{ color: var(--ink); }
.about__sub{ font-weight: 700; color: var(--ink); margin: 22px 0 12px; }
.platforms{ display: flex; flex-wrap: wrap; gap: 10px; }
.platform{ display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: 0 10px 22px -16px rgba(27,28,40,.5); transition: transform .2s ease, border-color .2s ease; }
.platform:hover{ transform: translateY(-3px); border-color: rgba(36,86,214,.35); }
.cycle{ display: grid; gap: 12px; margin: 6px 0 0; }
.cycle li{ display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.about__media{ position: relative; }
/* логотип без фона — рамка и тень нарисовали бы вокруг него прямоугольник */
.about__img{ width: 100%; border-radius: 0; box-shadow: none; background: none; }

/* Карточки полного цикла */
.about__cycle{ margin-top: 60px; }
.cycle-head{ text-align: left; margin-bottom: 34px; }
.cyclerow{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cycle-card--wide{ grid-column: span 2; }
.cycle-card{
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(120% 130% at 100% 0%, rgba(255,255,255,.20), transparent 55%), linear-gradient(160deg, #3a6bff 0%, var(--blue) 60%, var(--blue-dark) 100%);
  border: 1px solid transparent; border-radius: 22px;
  padding: 38px 34px; min-height: 210px;
  box-shadow: 0 22px 48px -26px rgba(36,86,214,.65);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.cycle-card:hover{ transform: translateY(-6px); border-color: rgba(36,86,214,.35); box-shadow: 0 32px 58px -30px rgba(36,86,214,.5); }
.cycle-card__photo{
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  margin-bottom: 22px; flex-shrink: 0;
  border: 4px solid #fff;
  background: var(--blue-tint);
  box-shadow: 0 14px 30px -12px rgba(36,86,214,.55);
  transition: transform .28s ease;
}
.cycle-card__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.cycle-card:hover .cycle-card__photo{ transform: scale(1.06); }
.cycle-card--wide .cycle-card__photo{ width: 118px; height: 118px; }
.cycle-card--accent .cycle-card__photo{ border-color: rgba(255,255,255,.6); }
.cycle-card__txt{ font-size: 16px; font-weight: 700; line-height: 1.45; color: #fff; margin: 0; max-width: 24ch; }
.cycle-card--wide .cycle-card__txt{ font-size: 17px; max-width: 42ch; }
.cycle-card--accent{
  background: radial-gradient(120% 130% at 100% 0%, rgba(255,255,255,.22), transparent 55%), linear-gradient(160deg, #3a6bff 0%, var(--blue) 58%, var(--blue-dark) 100%);
  border-color: transparent;
  box-shadow: 0 26px 54px -22px rgba(36,86,214,.75);
}
.cycle-card--accent .cycle-card__txt{ color: #fff; }

/* ==========================================================================
   Карточки
   ========================================================================== */
/* Для юридических лиц — три карточки в ряд */
.legal-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.legal-card{
  display: flex; flex-direction: column;
  background: linear-gradient(158deg, #ffffff 0%, #eaf0fd 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 16px 40px -30px rgba(27,28,40,.5);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.legal-card:hover{ transform: translateY(-8px); border-color: rgba(36,86,214,.35); box-shadow: 0 32px 60px -30px rgba(36,86,214,.55); }
.legal-card__ic{
  display: grid; place-items: center; width: 50px; height: 50px;
  border-radius: 14px; background: var(--blue-tint); color: var(--blue); margin-bottom: 18px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.legal-card__ic svg{ width: 24px; height: 24px; }
.legal-card:hover .legal-card__ic{ background: var(--blue); color: #fff; transform: scale(1.07) rotate(-3deg); }
.legal-card h3{ font-size: 19px; line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
/* в три колонки заголовки разной длины — резервируем две строки,
   чтобы текст во всех карточках начинался на одном уровне */
@media (min-width: 861px){ .legal-card h3{ min-height: 2.6em; } }
.legal-card p{ margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.legal-card ul{ margin: 12px 0 14px; display: flex; flex-direction: column; gap: 9px; }
.legal-card li{ position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.legal-card li::before{
  content: ''; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--blue);
}
.legal-note{
  margin-top: 30px; font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  max-width: 100%;
}
/* заголовок секции длинный — даём ему всю ширину, чтобы влезал в строку */
.section-head--wide{ max-width: 100%; }

/* короткая ударная строка в тексте «Кто мы» */
.about__punch{ margin-top: 20px; font-size: 19px; font-weight: 700; line-height: 1.4; color: var(--ink); }


/* ==========================================================================
   SEO explainer — dark premium band
   ========================================================================== */
.seo{ position: relative; overflow: hidden; background: var(--graphite-2); color: #fff; }
.seo::before{
  content: '';
  position: absolute; top: -180px; right: -140px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(36,86,214,.35), transparent 65%);
  pointer-events: none;
}
.seo::after{
  content: '';
  position: absolute; bottom: -220px; left: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(36,86,214,.18), transparent 65%);
  pointer-events: none;
}
.seo .container{ position: relative; z-index: 1; }
.seo__head{ display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.seo__title{ font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.25; color: #fff; margin: 0 0 24px; }
.seo__mark{
  background: rgba(91,134,255,.28); color: #fff;
  padding: .05em .3em; border-radius: 10px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.seo__text{ font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,.78); margin: 0 0 16px; }
.seo__slogan{
  margin: 24px 0 0; padding: 18px 24px;
  font-size: 20px; font-weight: 800; color: #fff; line-height: 1.35;
  background: rgba(36,86,214,.22);
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
}
.seo__media{ position: relative; }
.seo__img{ width: 100%; border-radius: var(--radius); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.seo__stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.stat-tile{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 34px 26px;
  transition: transform .28s ease, background .28s ease, border-color .28s ease;
}
.stat-tile:hover{ transform: translateY(-7px); background: rgba(91,134,255,.14); border-color: rgba(91,134,255,.5); }
.stat-tile__ic{ display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: rgba(36,86,214,.35); color: #b9caff; margin-bottom: 20px; transition: background .28s ease, color .28s ease, transform .28s ease; }
.stat-tile:hover .stat-tile__ic{ background: var(--blue); color: #fff; transform: scale(1.06); }
.stat-tile__ic svg{ width: 27px; height: 27px; }
.stat-tile__txt{ margin: 0; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); font-weight: 500; }
.stat-tile__txt b{ color: #fff; font-weight: 800; }
.seo__final{ margin: 52px 0 0; text-align: center; font-size: 20px; font-weight: 600; color: rgba(255,255,255,.8); }
.seo__final b{
  font-weight: 800; color: #fff;
  background: rgba(91,134,255,.28);
  padding: .05em .3em; border-radius: 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ==========================================================================
   Audience — ниши
   ========================================================================== */
.audience{ overflow: hidden; }
.section-head--center{ max-width: none; text-align: center; }

/* Niches — 6 per row, reveal group-by-group on scroll */
.niches{ display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.audience__cue{ text-align: center; margin: 14px 0 0; }
.audience__cue .audience__arrow{ margin-top: 0; }
.niche-group{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.niche{
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #3a6bff 0%, var(--blue) 100%);
  border: 1px solid transparent;
  font-weight: 600; font-size: 14px; line-height: 1.25; color: #fff;
  box-shadow: 0 14px 28px -18px rgba(36,86,214,.7);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease;
}
.niche:nth-child(1){ transition-delay: 0s; }
.niche:nth-child(2){ transition-delay: .06s; }
.niche:nth-child(3){ transition-delay: .12s; }
.niche:nth-child(4){ transition-delay: .18s; }
.niche:nth-child(5){ transition-delay: .24s; }
.niche:nth-child(6){ transition-delay: .30s; }
.niche-group.shown .niche{ opacity: 1; transform: none; }
.niche:hover{ transition-delay: 0s; transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(36,86,214,.85); }
@media (prefers-reduced-motion: reduce){ .niche{ opacity: 1; transform: none; } }
.audience__slogan{
  margin: 112px 0 0; text-align: center;
  font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; color: var(--ink); line-height: 1.4;
}
.audience__slogan b{
  background: var(--blue-tint); color: var(--blue);
  padding: .05em .3em; border-radius: 10px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.audience__ask{ margin-top: 48px; text-align: center; }
.audience__ask h3{ font-size: 21px; font-weight: 800; color: var(--ink); margin: 0; }
.audience__ask p{ color: #565c6b; font-size: 15.5px; margin: 10px 0 0; }
.audience__arrow{
  display: inline-grid; place-items: center;
  width: 52px; height: 104px; border-radius: 30px;
  background: var(--blue); color: #fff;
  margin-top: 46px;
  box-shadow: 0 20px 38px -14px rgba(36,86,214,.8);
  animation: arrow-bounce 2.2s ease-in-out infinite;
  transition: background .2s ease;
}
.audience__arrow:hover{ background: var(--blue-dark); }
.audience__arrow svg{ width: 22px; height: 74px; }
@keyframes arrow-bounce{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(11px); } }
@media (prefers-reduced-motion: reduce){ .audience__arrow{ animation: none; } }
.audience{ padding-bottom: 18px; }
/* Fused pairing: audience flows straight into the lead form (index only).
   Scoped so .lead stays a neutral hook on inner pages. */
.audience + .lead{ padding-top: 14px; }

/* ==========================================================================
   Socials
   ========================================================================== */
.socials{ display: flex; gap: 12px; margin-top: 20px; }
.social{ display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s ease, transform .2s ease; }
.social svg{ width: 20px; height: 20px; }
.social:hover{ background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }

/* Studio — heading top-aligned & CTA bottom-aligned with the role cards, lead centered between */
.studio__grid{ align-items: stretch; }
.studio__text{ display: flex; flex-direction: column; }
.studio__text .studio__lead{ flex: 1; display: flex; align-items: center; margin: 0; }
.studio__text .studio__cta{ margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .about__grid{ grid-template-columns: 1fr; gap: 36px; }
  .seo__head{ grid-template-columns: 1fr; gap: 32px; }
  .seo__stats{ grid-template-columns: repeat(2, 1fr); }
  .legal-grid{ grid-template-columns: 1fr; }
  .cyclerow{ grid-template-columns: 1fr 1fr; }
  .cycle-card--wide{ grid-column: span 2; }
  .cycle-card--wide .cycle-card__txt{ max-width: 100%; }
  .niche-group{ grid-template-columns: repeat(3, 1fr); }
  .hero__grid{ grid-template-columns: 1fr; gap: 40px; }
  .studio__grid, .lead__box{ grid-template-columns: 1fr; gap: 36px; }
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .articles__grid{ grid-template-columns: repeat(2, 1fr); }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
  .footer__brand{ grid-column: 1 / -1; }
}

@media (max-width: 860px){
  .nav{
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 16px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 90;
  }
  .nav.is-open{ transform: translateY(0); opacity: 1; }
  .nav__link{ padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after{ display: none; }
  /* телефон остаётся в шапке, соцсети уезжают в меню */
  /* прижимаем телефон к логотипу: весь свободный зазор — со стороны бургера,
     чтобы по номеру не промахивались вместо меню */
  .logo{ margin-right: 0; }
  .header__actions{ display: flex; margin-left: 10px; margin-right: auto; }
  .header__socials{ display: none; }
  .header__phone{ font-size: 17px; }
  .burger{ display: flex; }
}

@media (max-width: 640px){
  section{ padding: 60px 0; }
  .container{ padding: 0 20px; }
  .hero{ padding-top: 44px; }
  .panel, .lead__box, .final__box{ padding: 32px 24px; }
  .services__grid, .steps, .articles__grid{ grid-template-columns: 1fr; }
  .seo__stats{ grid-template-columns: 1fr; }
  .seo__slogan{ font-size: 18px; }
  .cyclerow{ grid-template-columns: 1fr; }
  .cycle-card--wide{ grid-column: auto; }
  .niche-group{ grid-template-columns: repeat(2, 1fr); }
  .audience__ask h3{ font-size: 18px; }
  .final__box{ flex-direction: column; align-items: flex-start; }
  .section-head--row{ flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__inner{ grid-template-columns: 1fr; }
  .footer__bottom{ flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero{
  position: relative; overflow: hidden;
  background: #0a1230;
  padding: 78px 0 72px;
}
.page-hero::before{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(8,16,44,.96) 0%, rgba(8,16,44,.8) 40%, rgba(8,16,44,.45) 100%),
    url('/assets/img/corp-hero-bg.webp') center right / cover no-repeat;
}
.page-hero .container{ position: relative; z-index: 1; }
/* размер как у заголовка на главной */
.page-hero__title{ color:#fff; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; margin: 16px 0 0; text-wrap: balance; }
.breadcrumbs{ display:flex; flex-wrap:wrap; gap:6px 8px; align-items:center; font-size:13.5px; line-height:1.4; color:rgba(255,255,255,.55); }
.breadcrumbs > *{ white-space:nowrap; }
.breadcrumbs > span[aria-current]{ white-space:normal; }
.breadcrumbs a{ color:rgba(255,255,255,.75); transition:color .2s; }
.breadcrumbs a:hover{ color:#fff; }
.breadcrumbs span[aria-current]{ color:rgba(255,255,255,.55); }
.breadcrumbs .sep{ opacity:.5; }
.page-hero__meta{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 22px; }
.price-tag{ display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--ink); font-weight:800; font-size:17px; padding:12px 22px; border-radius:14px; font-variant-numeric:lining-nums; }

/* generic split section */
.split{ display:grid; grid-template-columns: 1.05fr .95fr; gap:56px; align-items:center; }
.split__img{ width:100%; border-radius: 0; box-shadow: none; background: none; }

/* prose (articles, privacy) */
.prose{ max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: #3a3f4e; }
.prose h2{ font-size: 26px; margin: 42px 0 14px; color: var(--ink); }
.prose h3{ font-size: 20px; margin: 30px 0 10px; color: var(--ink); }
.prose p{ margin: 0 0 16px; }
.prose ul, .prose ol{ margin: 0 0 18px; padding-left: 22px; }
.prose li{ margin-bottom: 8px; }
.prose b, .prose strong{ color: var(--ink); }
.prose blockquote{ margin: 24px 0; padding: 18px 24px; border-left: 4px solid var(--blue); background: var(--blue-tint); border-radius: 0 14px 14px 0; font-weight: 600; color: var(--ink); }
.prose img{ width:100%; border-radius: 18px; margin: 10px 0 20px; }
.prose table{ display:block; overflow-x:auto; width:100%; border-collapse:collapse; margin:20px 0 24px; font-size:15.5px; -webkit-overflow-scrolling:touch; }
.prose thead th{ background:var(--blue-tint); color:var(--ink); font-weight:700; text-align:left; }
.prose th, .prose td{ border:1px solid var(--line); padding:11px 14px; vertical-align:top; }
.prose tbody tr:nth-child(even){ background:var(--lilac); }
.article-meta{ display:flex; gap:14px; align-items:center; color:#7b8194; font-size:14px; margin-bottom: 8px; }
.article-hero-img{ width:100%; max-height:420px; object-fit:cover; border-radius: var(--radius); margin: 34px 0; box-shadow: 0 30px 60px -38px rgba(27,28,40,.5); }

/* checklist light (inner pages) */
.check-list{ display:grid; gap:14px; margin: 8px 0; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; list-style:none; font-size:16px; color:#3a3f4e; }
.check-list .num--check{ margin-top:2px; flex-shrink:0; }

/* steps timeline (service pages) — <ol> без маркеров, номер рисует counter */
.mini-steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; counter-reset: ms; margin:0; padding:0; list-style:none; }
.mini-step{ list-style:none; background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px 22px; counter-increment: ms; box-shadow: 0 12px 28px -22px rgba(27,28,40,.4); }
.mini-step::before{ content: counter(ms); display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:var(--blue); color:#fff; font-weight:800; margin-bottom:14px; }
.mini-step h3{ font-size:16.5px; margin:0 0 8px; }
.mini-step p{ margin:0; font-size:14px; color:#565c6b; }

/* case cards */
.case-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: 0 16px 40px -30px rgba(27,28,40,.45); transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover{ transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(36,86,214,.45); }
.case-card__body{ padding: 26px 26px 28px; display:flex; flex-direction:column; gap:12px; }
.case-card__tag{ align-self:flex-start; font-size:12.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--blue); background:var(--blue-tint); border-radius:8px; padding:5px 10px; }
.case-card h3{ font-size:19px; margin:0; }
.case-card p{ margin:0; font-size:14.5px; color:#565c6b; }
.cases-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }

/* Чем мы гордимся — цитаты руководителя, строгий деловой блок */
.quotes-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; align-items:stretch; }
.quote-card{
  position:relative; margin:0; padding:38px 34px 34px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 16px 40px -32px rgba(27,28,40,.4);
}
.quote-card::before{
  content:'\201C'; position:absolute; top:6px; left:26px;
  font-size:78px; line-height:1; color:var(--blue-tint); font-family:Georgia, 'Times New Roman', serif;
  pointer-events:none;
}
.quote-card blockquote{
  position:relative; margin:0; border:0; padding:0; background:none;
  font-size:19px; line-height:1.55; font-weight:600; color:var(--ink); font-style:normal;
}
/* Статьи — «Показать ещё» */
.article-card.is-hidden-more{ display:none; }
.articles__grid.is-expanded .article-card.is-hidden-more{ display:block; }
.articles__more{ display:flex; justify-content:center; margin-top:40px; }
.articles__more.is-done{ display:none; }

/* Юридические документы — компактная типографика */
.prose--doc{ font-size:15.5px; }
.prose--doc h2{ font-size:22px; margin:34px 0 12px; }
.prose--doc h3{ font-size:17px; margin:22px 0 8px; }
.prose--doc ul, .prose--doc ol{ margin:10px 0 16px; }
.prose--doc li{ margin-bottom:6px; }

/* Документы — карточки-ссылки */
.docs-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.doc-card{
  display:flex; align-items:center; gap:18px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 24px; box-shadow:0 14px 34px -30px rgba(27,28,40,.4);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.doc-card:hover{ transform:translateY(-4px); border-color:rgba(36,86,214,.35); box-shadow:0 26px 50px -30px rgba(36,86,214,.45); }
.doc-card__ic{ flex:0 0 auto; display:grid; place-items:center; width:48px; height:48px; border-radius:13px; background:var(--blue-tint); color:var(--blue); }
.doc-card__ic svg{ width:24px; height:24px; }
.doc-card__name{ flex:1; min-width:0; font-size:16px; font-weight:700; line-height:1.35; color:var(--ink); }
.doc-card__go{ flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; font-size:14px; font-weight:600; color:var(--blue); white-space:nowrap; }
.doc-card__go svg{ width:15px; height:15px; }
@media (max-width: 720px){ .docs-grid{ grid-template-columns:1fr; }
  .doc-card{ gap:14px; padding:18px 18px; }
  .doc-card__go{ font-size:0; } .doc-card__go svg{ width:18px; height:18px; } }

.quotes-sign{ margin:28px 0 0; text-align:right; font-size:16px; color:var(--ink-soft); }
.quotes-sign strong{ color:var(--blue); }
@media (max-width: 860px){ .quotes-grid{ grid-template-columns:1fr; gap:18px; } .quotes-sign{ text-align:left; } }
.cases-grid--two{ grid-template-columns:repeat(2,1fr); gap:32px; }

/* Плитки кейсов на главной — картинка 4:3 и короткая подпись */
.case-tiles{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.case-tile{
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  box-shadow:0 16px 40px -30px rgba(27,28,40,.45);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.case-tile:hover{ transform:translateY(-8px); border-color:rgba(36,86,214,.35); box-shadow:0 32px 60px -30px rgba(36,86,214,.5); }
.case-tile__media{ display:block; aspect-ratio:4 / 3; overflow:hidden; background:var(--lilac); }
.case-tile__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.case-tile:hover .case-tile__media img{ transform:scale(1.04); }
.case-tile__body{ display:flex; flex-direction:column; gap:9px; padding:24px 26px 26px; }
.case-tile__tag{
  align-self:flex-start; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
  color:var(--blue); background:var(--blue-tint); border-radius:8px; padding:5px 10px;
}
.case-tile__title{ font-size:18px; font-weight:800; line-height:1.35; color:var(--ink); }
.case-tile__desc{ font-size:15px; line-height:1.5; color:var(--ink-soft); }
@media (max-width: 860px){ .case-tiles{ grid-template-columns:1fr; gap:22px; } }

/* развёрнутые кейсы: структурированный текст */
.case-card__sub{
  margin:10px 0 -2px; font-size:13px; font-weight:800;
  letter-spacing:.06em; text-transform:uppercase; color:var(--blue);
}
.case-list{ display:flex; flex-direction:column; gap:9px; margin:0; padding:0; list-style:none; counter-reset:caselist; }
.case-list li{ position:relative; padding-left:28px; font-size:15px; line-height:1.5; color:var(--ink-soft); }
.case-list--num li{ counter-increment:caselist; }
.case-list--num li::before{
  content:counter(caselist); position:absolute; left:0; top:1px;
  width:19px; height:19px; border-radius:6px;
  background:var(--blue-tint); color:var(--blue);
  font-size:11.5px; font-weight:800; line-height:19px; text-align:center;
}
.case-list--check li::before{
  content:''; position:absolute; left:2px; top:6px;
  width:11px; height:6px; border-left:2.4px solid var(--blue); border-bottom:2.4px solid var(--blue);
  transform:rotate(-45deg);
}
.case-list--pin li::before{
  content:''; position:absolute; left:4px; top:5px;
  width:9px; height:9px; border-radius:50% 50% 50% 0;
  transform:rotate(-45deg); background:var(--blue);
}
.case-card__outro{
  margin-top:6px; padding-top:16px; border-top:1px solid var(--line);
  font-size:15px; line-height:1.6; color:var(--ink);
}
.case-card__link{
  display:inline-flex; align-items:center; gap:8px; margin-top:4px;
  font-size:15px; font-weight:700; color:var(--blue);
  transition:gap .2s ease, color .2s ease;
}
.case-card__link svg{ width:17px; height:17px; }
.case-card__link:hover{ gap:12px; color:var(--blue-dark); }
@media (max-width: 860px){ .cases-grid--two{ grid-template-columns:1fr; gap:24px; } }

/* contacts */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:24px; }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: 0 14px 34px -26px rgba(27,28,40,.5); }
.contact-card h3{ font-size:15px; text-transform:uppercase; letter-spacing:.05em; color:#7b8194; margin:0 0 10px; font-weight:700; }
.contact-card a.big{ font-size:24px; font-weight:800; color:var(--ink); }
.contact-card a.big:hover{ color:var(--blue); }
.contact-card p{ margin:6px 0 0; color:#565c6b; font-size:15px; }

/* FAQ */
.faq{ max-width: 820px; margin: 0 auto; display:grid; gap:14px; }
.faq details{ background:#fff; border:1px solid var(--line); border-radius:16px; padding: 20px 24px; box-shadow: 0 10px 26px -22px rgba(27,28,40,.4); }
.faq summary{ cursor:pointer; font-weight:700; font-size:16.5px; color:var(--ink); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-size:22px; color:var(--blue); font-weight:600; transition: transform .2s; }
.faq details[open] summary::after{ transform: rotate(45deg); }
.faq details p{ margin:14px 0 0; color:#565c6b; font-size:15px; line-height:1.6; }

/* article cards reuse (.article-card) already defined */
.section--tint{ background: var(--lilac); }

@media (max-width: 1024px){
  .split{ grid-template-columns: 1fr; gap:36px; }
  .cases-grid{ grid-template-columns: 1fr; }
  .mini-steps{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .mini-steps{ grid-template-columns: 1fr; }
  .page-hero{ padding: 44px 0 40px; }
}

/* ==========================================================================
   Mobile polish — inner pages + global
   ========================================================================== */
@media (max-width: 860px){
  .header__inner{ height: 68px; gap: 16px; }
  .logo__img{ height: 38px; }
  .nav{ top: 68px; }
}
@media (max-width: 640px){
  .header__inner{ height: 62px; gap: 10px; }
  .logo__img{ height: 34px; }
  .nav{ top: 62px; }
  .header__phone{ font-size: 15px; }
  .burger{ padding: 8px 0 8px 4px; }
}

@media (max-width: 640px){
  .page-hero{ padding: 40px 0 42px; }
  .page-hero__title{ margin: 12px 0 0; }
  .breadcrumbs{ font-size: 12.5px; }
  .page-hero__meta{ gap: 10px; margin-top: 18px; }
  .page-hero__meta .btn{ flex: 1 1 auto; }
  .price-tag{ font-size: 15.5px; padding: 11px 18px; }

  /* h-mark headings: меньше «лесенки» из маркеров */
  .h-mark{ line-height: 1.42; }
  .h-mark .mark{ padding: .04em .24em; border-radius: 8px; }
  .section-head{ margin-bottom: 30px; }

  .prose{ font-size: 16px; }
  .prose h2{ font-size: 22px; margin: 32px 0 12px; }
  .prose h3{ font-size: 18px; margin: 24px 0 8px; }
  .prose blockquote{ padding: 14px 18px; font-size: 15.5px; }
  .article-hero-img{ margin: 22px 0; border-radius: 16px; }
  .article-meta{ flex-wrap: wrap; gap: 8px; font-size: 13px; }

  .split{ gap: 28px; }
  .check-list li{ font-size: 15px; }
  .case-card__body{ padding: 22px 20px 24px; }
  .contact-card{ padding: 26px 22px; }
  .contact-card a.big{ font-size: 21px; }
  .faq details{ padding: 16px 18px; }
  .faq summary{ font-size: 15.5px; }
  .mini-step{ padding: 20px 18px; }
}

/* совсем узкие экраны — поджимаем, чтобы телефон и бургер не липли к краю */
@media (max-width: 360px){
  .container{ padding: 0 16px; }
  .logo__img{ height: 30px; }
  .header__phone{ font-size: 14px; }
  .header__actions{ margin-left: 0; }
}

/* ==========================================================================
   Case gallery — вертикальные скриншоты, слайдер + лайтбокс
   ========================================================================== */
.case-card__gallery{ position: relative; background: var(--lilac); overflow: hidden; }
.case-card__viewport{ position: relative; aspect-ratio: 3 / 4; }
.case-card__viewport--wide{ aspect-ratio: 4 / 3; }   /* горизонтальный кадр кейса */
.case-card__slide{
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease;
  background: none; border: 0; padding: 0; margin: 0;
  cursor: zoom-in; width: 100%; height: 100%;
}
.case-card__slide.is-active{ opacity: 1; visibility: visible; }
.case-card__slide img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.case-nav{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: 0 6px 18px -6px rgba(27,28,40,.5);
  opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.case-card__gallery:hover .case-nav, .case-nav:focus-visible{ opacity: 1; }
.case-nav:hover{ background: #fff; color: var(--blue); }
.case-nav svg{ width: 17px; height: 17px; }
.case-nav--prev{ left: 10px; }
.case-nav--next{ right: 10px; }
.case-dots{
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4;
  display: flex; justify-content: center; gap: 7px;
}
.case-dots button{
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.55); box-shadow: 0 1px 4px rgba(0,0,0,.35);
  transition: background .2s ease, transform .2s ease;
}
.case-dots button.is-active{ background: #fff; transform: scale(1.35); }
.case-zoom{
  position: absolute; right: 10px; bottom: 10px; z-index: 4;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: rgba(27,28,40,.6); color: #fff; pointer-events: none;
  opacity: 0; transition: opacity .25s ease;
}
.case-card__gallery:hover .case-zoom{ opacity: 1; }
.case-zoom svg{ width: 15px; height: 15px; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(10,14,28,.92); backdrop-filter: blur(8px);
  padding: 24px;
}
.lightbox.is-open{ display: grid; }
.lightbox__stage{ position: relative; max-width: min(92vw, 560px); width: 100%; }
.lightbox__img{
  width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: 16px; background: var(--lilac);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
}
.lightbox__cap{ margin-top: 14px; text-align: center; color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 600; }
.lightbox__close, .lightbox__nav{
  position: absolute; z-index: 2; border: 0; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover{ background: rgba(255,255,255,.28); }
.lightbox__close{ width: 42px; height: 42px; top: -54px; right: 0; }
.lightbox__close svg{ width: 18px; height: 18px; }
.lightbox__nav{ width: 46px; height: 46px; top: 50%; transform: translateY(-50%); }
.lightbox__nav svg{ width: 20px; height: 20px; }
.lightbox__nav--prev{ left: -62px; }
.lightbox__nav--next{ right: -62px; }
body.lb-lock{ overflow: hidden; }

@media (max-width: 860px){
  .lightbox__nav--prev{ left: 6px; }
  .lightbox__nav--next{ right: 6px; }
  .lightbox__close{ top: -50px; right: 0; width: 38px; height: 38px; }
  .case-nav{ opacity: 1; width: 34px; height: 34px; }
  .case-zoom{ display: none; }
}

/* ==========================================================================
   Плавающая кнопка связи (позвонить / Телеграм / WhatsApp)
   ========================================================================== */
.cfab{
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
body.lb-lock .cfab{ opacity: 0; pointer-events: none; }

.cfab__items{
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.cfab.is-open .cfab__items{ opacity: 1; visibility: visible; transform: none; }

.cfab__item{
  position: relative;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 8px 22px -6px rgba(15,20,40,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cfab__item svg{ width: 25px; height: 25px; }
.cfab__item:hover{ transform: scale(1.08); box-shadow: 0 12px 28px -8px rgba(15,20,40,.55); }
.cfab__item--tg{ background: #2AABEE; }
.cfab__item--wa{ background: #25D366; }
.cfab__item--call{ background: var(--blue); }

/* подпись слева от кнопки */
.cfab__item::after{
  content: attr(data-label);
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: #1b1c28; color: #fff;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px;
  box-shadow: 0 6px 18px -6px rgba(15,20,40,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.cfab.is-open .cfab__item::after{ opacity: 1; }

/* главная кнопка */
.cfab__toggle{
  position: relative;
  width: 62px; height: 62px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -6px rgba(15,20,40,.5);
  transition: background .35s ease, transform .2s ease;
}
.cfab__toggle:hover{ transform: scale(1.06); }
.cfab__toggle.is-tg{ background: #2AABEE; }
.cfab.is-open .cfab__toggle{ background: var(--graphite); }

/* пульсирующее кольцо-привлекалка */
.cfab__toggle::before{
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; opacity: .55; z-index: -1;
  animation: cfab-pulse 2.4s ease-out infinite;
}
.cfab.is-open .cfab__toggle::before{ animation: none; opacity: 0; }
@keyframes cfab-pulse{
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* иконки внутри главной кнопки — перелистываются */
.cfab__icon{
  position: absolute; display: grid; place-items: center;
  opacity: 0; transform: scale(.5) rotate(-35deg);
  transition: opacity .3s ease, transform .3s ease;
}
.cfab__icon svg{ width: 29px; height: 29px; display: block; }
.cfab__icon.is-on{ opacity: 1; transform: none; }
.cfab.is-open .cfab__icon{ opacity: 0; transform: scale(.5) rotate(-35deg); }
.cfab.is-open .cfab__icon--close{ opacity: 1; transform: none; }

@media (max-width: 640px){
  .cfab{ right: 16px; bottom: 16px; gap: 10px; }
  .cfab__toggle{ width: 56px; height: 56px; }
  .cfab__item{ width: 48px; height: 48px; }
  .cfab__item svg{ width: 23px; height: 23px; }
  .cfab__item::after{ font-size: 13px; padding: 7px 12px; }
}
@media (prefers-reduced-motion: reduce){
  .cfab__toggle::before{ animation: none; }
  .cfab__icon{ transition: opacity .2s ease; transform: none; }
}

/* ===== SERVICE PAGE «Комплексная упаковка» — редакционный дизайн ===== */

/* — О услуге — */
.su-about{ display:grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; }
.su-about__text .section-head{ margin-bottom: 26px; }
.su-lead{ font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.su-media{ position:relative; }
.su-poster{ position:relative; z-index:1; border-radius: 26px; overflow:hidden; box-shadow: 0 44px 80px -44px rgba(27,28,40,.5); }
.su-poster img{ display:block; width:100%; height:auto; }


/* — Результат: тёмная полоса — */
.su-band{ position:relative; overflow:hidden; padding: 92px 0 96px; color:#fff;
  background:
    radial-gradient(70% 130% at 92% -10%, rgba(58,107,255,.4), transparent 55%),
    linear-gradient(150deg, #171b30 0%, var(--graphite) 60%, #1e2036 100%); }
.su-band .container{ position:relative; }
.su-band__in{ max-width: 900px; position:relative; z-index:1; }
.su-band__slogan{ margin-top: 28px; font-size: clamp(26px, 3.2vw, 44px); font-weight: 800; line-height: 1.22; letter-spacing:-.02em; max-width: 880px; }
.su-band__slogan .accent,
.su-band__slogan b{ color: #7ea2ff; }

@media (max-width: 980px){
  .su-about{ grid-template-columns:1fr; gap: 40px; }
  .su-media{ max-width: 460px; margin:0 auto; }
}
@media (max-width: 560px){
  .su-lead{ font-size: 18px; }
  .su-band{ padding: 62px 0 66px; }
}

/* ===== service-complex — переработанный макет (scoped модификаторами) ===== */
/* О услуге: крупный лид, без плашек */
.su-about-sec{ padding: 74px 0 66px; }
.su-lead--lg{ font-size: 24px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.015em; }

/* Что входит | Результат — две колонки */
.incl2-sec{ background: var(--lilac); padding: 60px 0 64px; }
.incl2{ display:grid; grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: start; }
.incl2 .section-head{ margin-bottom: 20px; }
.incl2__list{ margin:0; padding:0; list-style:none; }
.incl2__item{
  position:relative; padding: 13px 0 13px 26px;
  font-size: 16.5px; line-height: 1.5; color: var(--ink);
  border-top: 1px solid rgba(27,28,40,.1);
}
.incl2__item:first-child{ border-top: 0; }
.incl2__item::before{
  content:''; position:absolute; left: 2px; top: 21px;
  width: 8px; height: 8px; border-radius: 3px; background: var(--blue);
}
.incl2__col--res{ align-self: start; }
.incl2__result{ margin: 0; font-size: 23px; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.015em; }

/* Слоган — тёмная полоса, компактнее */
.su-band--slim{ padding: 72px 0 76px; min-height: 300px; }
.su-band--slim .su-band__in{ max-width: 630px; }
.su-band--slim .su-band__slogan{ margin-top: 0; }
.su-band__photo{ position:absolute; right: 0; top: 50%; transform: translateY(-50%); width: 420px; height:auto; z-index:0; pointer-events:none; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); }

/* Подводка к форме: текст + синяя стрелка вниз (как на главной) */
.leadcue{ padding: 52px 0 6px; text-align: center; }
.leadcue__note{ max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.leadcue__cue{ margin-top: 30px; }
.leadcue__arrow{
  display:inline-grid; place-items:center; width: 52px; height: 104px; border-radius: 30px;
  background: var(--blue); color:#fff; box-shadow: 0 20px 38px -14px rgba(36,86,214,.8);
  animation: arrow-bounce 2.2s ease-in-out infinite; transition: background .2s ease;
}
.leadcue__arrow:hover{ background: var(--blue-dark); }
.leadcue__arrow svg{ width: 22px; height: 74px; }
.leadcue + .lead{ padding-top: 10px; }
@media (prefers-reduced-motion: reduce){ .leadcue__arrow{ animation: none; } }

@media (max-width: 860px){
  .incl2{ grid-template-columns: 1fr; gap: 30px; }
  .incl2__col--res{ position: static; }
  .su-lead--lg{ font-size: 19px; }
  .incl2__result{ font-size: 19px; }
  .su-band__photo{ display:none; }
}

/* ==========================================================================
   Блоки конструктора: универсальные секции
   ========================================================================== */

/* Обёртки секций — вертикальные отступы как у остальных секций сайта */
.split-sec, .faq-sec, .stats-sec, .plans-sec, .gallery-sec,
.cases-sec, .cases-full, .contacts-sec, .docs-sec, .legal-sec,
.steps-sec, .quotes-sec, .checklist-sec, .prose-sec, .raw-sec, .cycle-sec{
  padding: 80px 0;
}

/* Мелочи ------------------------------------------------------------------ */
.nb{ white-space: nowrap; }

/* Подзаголовок секции (тот же вид, что у .studio__lead) */
.section-sub{ color: var(--ink-soft); margin-top: 20px; font-size: 16.5px; }

/* Ссылка «Перейти к содержимому» — видна только при фокусе с клавиатуры */
.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 300;
  padding: 12px 22px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 14.5px;
  border-radius: 0 0 12px 0;
  box-shadow: 0 10px 26px -12px rgba(36,86,214,.8);
}
.skip-link:focus{ left: 0; }

/* ==========================================================================
   Универсальная двухколоночная секция
   ========================================================================== */
.split__text{ min-width: 0; }
.split__media{ position: relative; min-width: 0; }
.split__media--framed{ border-radius: 26px; overflow: hidden; box-shadow: 0 44px 80px -44px rgba(27,28,40,.5); }
.split__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.split--reverse .split__text{ order: 2; }
.split--reverse .split__media,
.split--reverse .panel{ order: 1; }
.split--single{ grid-template-columns: 1fr; }
.split--single .split__text{ max-width: 860px; }

/* ==========================================================================
   Шапка внутренней страницы
   ========================================================================== */
.page-hero__lead{
  margin: 18px 0 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
}

/* ==========================================================================
   Панель-чеклист: заголовок
   ========================================================================== */
.panel__title{
  margin: 0 0 22px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  color: #fff;
}
.panel--light .panel__title{ color: var(--ink); }

/* ==========================================================================
   Чек-лист в две колонки
   ========================================================================== */
@media (min-width: 861px){
  .check-list--wide{ grid-template-columns: repeat(2, 1fr); column-gap: 36px; }
}

/* ==========================================================================
   FAQ — нативные <details>
   ========================================================================== */
.faq__item{ transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item + .faq__item{ margin-top: 0; }
.faq__item[open]{ border-color: rgba(36,86,214,.32); box-shadow: 0 16px 34px -26px rgba(36,86,214,.5); }
.faq__q{
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 16.5px; line-height: 1.4; color: var(--ink);
  list-style: none;
}
.faq__q::-webkit-details-marker{ display: none; }
.faq__q > span{ flex: 1 1 auto; min-width: 0; }
/* плюс/минус: специфичность выше, чем у общего правила .faq summary::after */
.faq .faq__q::after{
  content: ''; flex: 0 0 auto;
  width: 20px; height: 20px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2.2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2.2px 14px no-repeat;
  transition: transform .25s ease, background-size .25s ease;
}
.faq .faq__item[open] .faq__q::after{ transform: rotate(180deg); background-size: 14px 2.2px, 0 0; }
.faq__q:focus-visible{ outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
.faq__a{
  margin-top: 14px;
  font-size: 15px; line-height: 1.65; color: #565c6b;
  animation: faq-open .28s ease;
}
.faq__a > :first-child{ margin-top: 0; }
.faq__a p{ margin: 0 0 12px; }
.faq__a p:last-child{ margin-bottom: 0; }
.faq__a ul, .faq__a ol{ margin: 0 0 12px; padding-left: 22px; list-style: revert; }
.faq__a li{ margin-bottom: 6px; }
.faq__a a{ color: var(--blue); text-decoration: underline; }
@keyframes faq-open{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .faq__a{ animation: none; }
  .faq__q::after{ transition: none; }
}

/* ==========================================================================
   Светлый ряд плиток с цифрами
   ========================================================================== */
.stats-row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box{
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 14px 34px -28px rgba(27,28,40,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-box:hover{ transform: translateY(-6px); border-color: rgba(36,86,214,.3); box-shadow: 0 28px 52px -30px rgba(36,86,214,.45); }
.stat-box__ic{
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--blue-tint); color: var(--blue);
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease;
}
.stat-box__ic svg{ width: 24px; height: 24px; }
.stat-box:hover .stat-box__ic{ background: var(--blue); color: #fff; }
.stat-box__val{
  font-size: 34px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); font-variant-numeric: lining-nums;
}
.stat-box__txt{ margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* ==========================================================================
   Тарифные карточки
   ========================================================================== */
.plans{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan{
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: 0 16px 40px -30px rgba(27,28,40,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover{ transform: translateY(-6px); border-color: rgba(36,86,214,.3); box-shadow: 0 30px 58px -30px rgba(36,86,214,.45); }
.plan--featured{
  border-color: var(--blue);
  background: linear-gradient(158deg, #ffffff 0%, #eaf0fd 100%);
  box-shadow: 0 26px 56px -28px rgba(36,86,214,.55);
}
.plan__name{ font-size: 19px; font-weight: 800; line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
.plan__price{
  font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
  color: var(--blue); font-variant-numeric: lining-nums;
}
.plan__note{ margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-mute); }
.plan__list{ display: grid; gap: 12px; margin: 24px 0 26px; }
.plan__list li{ display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.plan__list .num--check{ margin-top: 2px; }
.plan .btn{ margin-top: auto; width: 100%; }

/* ==========================================================================
   Галерея изображений
   ========================================================================== */
.gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery--2{ grid-template-columns: repeat(2, 1fr); }
.gallery--3{ grid-template-columns: repeat(3, 1fr); }
.gallery--4{ grid-template-columns: repeat(4, 1fr); }
.gallery__item{ margin: 0; display: flex; flex-direction: column; }
/* .gallery__btn делит класс с .case-card__slide — возвращаем нормальный поток */
.gallery__btn{
  position: relative; inset: auto;
  opacity: 1; visibility: visible;
  display: block; width: 100%; margin: 0; padding: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lilac);
  cursor: zoom-in;
  box-shadow: 0 14px 34px -28px rgba(27,28,40,.45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gallery__btn img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery__btn:hover{ transform: translateY(-4px); border-color: rgba(36,86,214,.35); box-shadow: 0 26px 50px -30px rgba(36,86,214,.45); }
.gallery__btn:hover img{ transform: scale(1.06); }
.gallery__btn:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; }
.gallery__item figcaption{
  margin-top: 12px;
  font-size: 14px; line-height: 1.45; color: var(--ink-soft); text-align: center;
}
@media (prefers-reduced-motion: reduce){
  .gallery__btn, .gallery__btn img{ transition: none; }
}

/* ==========================================================================
   Форма заявки: ловушка для ботов и строка ответа
   ========================================================================== */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px; height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.lead__status{ margin-top: 14px; font-size: 14px; line-height: 1.5; text-align: center; }
.lead__status:empty{ display: none; }
.lead__status.is-ok{ color: #1a8f55; font-weight: 600; }
.lead__status.is-err{ color: #d64545; font-weight: 600; }

/* ==========================================================================
   Подвал: реквизиты и ряд ссылок
   ========================================================================== */
.footer__req{ color: rgba(255,255,255,.35); }
.footer__links{ display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links a{ color: rgba(255,255,255,.45); transition: color .2s ease; }
.footer__links a:hover{ color: #fff; }

/* ==========================================================================
   Текстовый блок во всю ширину
   ========================================================================== */
.prose--wide{ max-width: 100%; }

/* ==========================================================================
   Автор цитаты
   ========================================================================== */
.quote-card figcaption{ display: flex; flex-direction: column; gap: 3px; margin-top: 22px; }
.quote-card figcaption strong{ font-size: 15.5px; font-weight: 800; color: var(--ink); }
.quote-card figcaption span{ font-size: 13.5px; line-height: 1.4; color: var(--ink-mute); }

/* ==========================================================================
   Точки-переключатели галереи кейса
   ========================================================================== */
.case-dots button{ cursor: pointer; }
.case-dots button:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }

/* ==========================================================================
   Адаптив новых блоков
   ========================================================================== */
@media (max-width: 1024px){
  .stats-row{ grid-template-columns: repeat(2, 1fr); }
  .plans{ grid-template-columns: 1fr; }
  .gallery--4{ grid-template-columns: repeat(3, 1fr); }
  /* в одну колонку текст всегда идёт первым */
  .split--reverse .split__text,
  .split--reverse .split__media,
  .split--reverse .panel{ order: 0; }
}

@media (max-width: 860px){
  .gallery, .gallery--3, .gallery--4{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .split-sec, .faq-sec, .stats-sec, .plans-sec, .gallery-sec,
  .cases-sec, .cases-full, .contacts-sec, .docs-sec, .legal-sec,
  .steps-sec, .quotes-sec, .checklist-sec, .prose-sec, .raw-sec, .cycle-sec{
    padding: 60px 0;
  }
  .stats-row{ grid-template-columns: 1fr; }
  .stat-box{ padding: 26px 22px; }
  .stat-box__val{ font-size: 30px; }
  .plan{ padding: 28px 24px; }
  .plan__price{ font-size: 27px; }
  .gallery, .gallery--2, .gallery--3, .gallery--4{ grid-template-columns: 1fr; }
  .page-hero__lead{ font-size: 16px; margin-top: 14px; }
  .faq__q{ font-size: 15.5px; }
  .split__cta{ margin-top: 26px; }
}
