/* Главная страница */

/* Зерно поверх страницы — едва заметная фактура */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  opacity: var(--grain);
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .4s;
}
.header.is-scrolled { border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.logo__mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 16px/1 var(--font-display);
  transition: transform .5s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text span { display: inline; }

.nav { display: flex; gap: 2px; margin-right: 8px; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: .9375rem;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }

@media (max-width: 939px) { .nav { display: none; } }
@media (max-width: 479px) {
  .logo__text span { display: block; }
  .logo__text { font-size: .875rem; }
  .header .btn--sm { padding: 0 1em; }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(36px, 7vw, 88px) clamp(56px, 8vw, 104px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 20%, transparent 75%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 70vmax; height: 70vmax;
  right: -28vmax; top: -34vmax;
  background: radial-gradient(closest-side, rgb(61 92 255 / .32), transparent 72%);
}
.hero::after {
  width: 54vmax; height: 54vmax;
  left: -24vmax; bottom: -30vmax;
  background: radial-gradient(closest-side, rgb(198 255 51 / .14), transparent 72%);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-2);
  font-size: .875rem;
  font-weight: 600;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s infinite;
}

.hero__title {
  margin: 22px 0 0;
  font: 700 clamp(2.3rem, 1rem + 5.6vw, 5.6rem)/.98 var(--font-display);
  letter-spacing: -.035em;
}
.br-lg { display: none; }
@media (min-width: 700px) { .br-lg { display: inline; } }
.hero__title .w {
  display: inline-block;
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--i) * 80ms + 80ms);
}
.hl {
  display: inline-block;
  padding: .02em .16em .08em;
  border-radius: .16em;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-2.5deg);
}

.hero__row {
  display: grid;
  gap: 44px;
  margin-top: clamp(28px, 4vw, 52px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}
.hero__sub {
  margin: 0;
  max-width: 24em;
  color: var(--text-2);
  font-size: clamp(1.125rem, .9rem + .9vw, 1.4rem);
  line-height: 1.45;
  animation: fade 1s var(--ease) .45s both;
}
.hero__sub b { color: var(--text); font-weight: 600; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: fade 1s var(--ease) .55s both;
}
@media (max-width: 479px) { .hero__cta .btn { flex: 1 1 100%; } }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(24px, 4vw, 48px);
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  animation: fade 1s var(--ease) .65s both;
}
.stats div { margin: 0; }
.stats dt { order: 2; color: var(--text-2); font-size: .875rem; margin-top: 6px; }
.stats dd {
  margin: 0;
  font: 700 clamp(1.4rem, 1rem + 1.4vw, 2.1rem)/1 var(--font-display);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stats div { display: flex; flex-direction: column; }
@media (max-width: 479px) {
  .stats { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 16px; }
  .stats dd { font-size: 1.3rem; }
  .stats dt { font-size: .8125rem; line-height: 1.3; }
}

/* Веер превью */
.fan {
  position: relative;
  height: clamp(250px, 42vw, 460px);
  animation: fade 1.2s var(--ease) .35s both;
}
.fan__item {
  position: absolute;
  width: 64%;
  border-radius: 14px;
  text-decoration: none;
  translate: calc(var(--mx, 0) * var(--px, 10px)) calc(var(--my, 0) * var(--py, 8px));
  transition: translate .9s var(--ease), scale .5s var(--ease), z-index 0s;
}
.fan__item .frame { animation: float 7s var(--ease-io) infinite alternate; animation-delay: var(--fd, 0s); }
.fan__item:nth-child(1) { left: 0; top: 20%; rotate: -7deg; z-index: 1; --px: -16px; --py: -10px; --fd: -2s; }
.fan__item:nth-child(2) { left: 18%; top: 0; rotate: 2deg; z-index: 3; --px: 10px; --py: 12px; }
.fan__item:nth-child(3) { right: 0; top: 30%; rotate: 8deg; z-index: 2; --px: 20px; --py: -14px; --fd: -4s; }
.fan__item:hover { scale: 1.04; z-index: 4; }

.slug-chip {
  position: absolute;
  left: 4%;
  bottom: 2%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: clamp(.875rem, .8rem + .3vw, 1rem);
  box-shadow: 0 20px 40px -18px rgb(0 0 0 / .6);
  rotate: -3deg;
  white-space: nowrap;
}
.slug-chip svg { width: 16px; height: 16px; flex: none; opacity: .6; }
.slug-chip b { color: var(--blue); font-weight: 600; }
:root[data-theme-now="dark"] .slug-chip b { color: #2b47ff; }
.slug-chip .caret {
  width: 2px; height: 1.1em;
  margin-left: 1px;
  background: currentColor;
  animation: blink 1s steps(1) infinite;
}

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: clamp(14px, 2vw, 22px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  padding-right: .9em;
  font: 700 clamp(1.25rem, 1rem + 1.6vw, 2.25rem)/1.1 var(--font-display);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "";
  width: .38em; height: .38em;
  border-radius: 50%;
  background: var(--accent);
}
.marquee__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--text-2);
}

/* ---------- Секции ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section + .section { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent-text);
}
.h2 {
  margin: 14px 0 0;
  font: 700 clamp(2rem, 1.2rem + 3.6vw, 4rem)/1.02 var(--font-display);
  letter-spacing: -.03em;
}
.lead-text {
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--text-2);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem);
}

/* ---------- Работы ---------- */
.works__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 32px;
}
.works__count {
  color: var(--text-2);
  font-size: .9375rem;
  font-variant-numeric: tabular-nums;
}

.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 719px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
  }
  .chips::-webkit-scrollbar { display: none; }
}
.chips li { flex: none; scroll-snap-align: start; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 7px 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.chip:hover { border-color: var(--text-3); }
.chip:active { transform: scale(.96); }
.chip__n {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  transition: background-color .25s, color .25s;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip[aria-pressed="true"] .chip__n { background: rgb(10 10 13 / .12); color: var(--accent-ink); }
.chip:disabled { opacity: .4; cursor: default; }
.chip:disabled:hover { border-color: var(--line-strong); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(18px, 2.4vw, 32px);
  margin-top: 36px;
}

.grid__empty, .grid__error {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  color: var(--text-2);
  text-align: center;
}

.more { display: flex; justify-content: center; margin-top: 44px; }
.more[hidden] { display: none; }

/* Рамка браузера — общая для карточек и веера */
.frame {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s;
}
.frame__bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.frame__bar i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #ff5f57; }
.frame__bar i:nth-child(2) { background: #febc2e; }
.frame__bar i:nth-child(3) { background: #28c840; }
.frame__url {
  min-width: 0;
  max-width: 64%;
  height: 19px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-2);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  translate: -15px 0;
}
.frame__shot {
  position: absolute;
  inset: 30px 0 0;
  overflow: hidden;
  container-type: size;
  background: var(--surface-2);
}
.frame__shot img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease-io), opacity .5s;
}
.frame__shot img.is-loading { opacity: 0; }
.frame__shot.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, hsl(var(--h, 220) 80% 58%), hsl(calc(var(--h, 220) + 50) 75% 42%));
}
.frame__shot.is-empty::after {
  content: attr(data-initials);
  color: #fff;
  font: 700 clamp(2rem, 6cqw, 3.4rem)/1 var(--font-display);
  letter-spacing: -.04em;
}
.frame__shot.is-empty img { display: none; }

/* Скелет загрузки */
.frame--skeleton .frame__shot {
  background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}

/* Карточка работы */
.card {
  animation: rise .8s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.grid.no-stagger .card { animation: none; }
.card__link { display: block; color: inherit; text-decoration: none; border-radius: 18px; }
.card__link:focus-visible { outline-offset: 6px; }

.card__badge {
  position: absolute;
  left: 12px;
  top: 42px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  background: rgb(10 10 13 / .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
}
.card__badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s infinite;
}
.card__badge--live::before { background: #34d058; box-shadow: 0 0 0 3px rgb(52 208 88 / .25); animation: none; }
.card__badge--new { background: var(--accent); color: var(--accent-ink); }
.card__badge--new::before { background: var(--accent-ink); animation: none; }

.card__open {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / .55);
  opacity: 0;
  transform: translate(-50%, 12px) scale(.94);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.card__open svg { width: 16px; height: 16px; }

.card__meta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 2px 0;
}
.card__txt { min-width: 0; flex: 1; }
.card__title {
  margin: 0;
  font: 700 1.125rem/1.25 var(--font-display);
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
.card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: .875rem;
}
.card__info time { color: var(--text-3); }
.card__arrow {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s, transform .45s var(--ease);
}
.card__arrow svg { width: 18px; height: 18px; }

@media (hover: hover) {
  .card__link:hover .frame { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
  .card__link:hover .frame__shot img { transform: translateY(min(0px, calc(100cqh - 100%))); transition-duration: 5.5s; }
  .card__link:hover .card__open { opacity: 1; transform: translate(-50%, 0) scale(1); }
  .card__link:hover .card__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }
}
.card__link:focus-visible .frame { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.card__link:focus-visible .card__open { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* На телефоне превью само «пролистывается», когда карточка в центре экрана */
@media (hover: none) {
  .card.is-peek .frame__shot img { animation: peek 7s var(--ease-io) .3s 1 both; }
}

/* ---------- Как это работает ---------- */
.steps {
  display: grid;
  gap: 14px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition: transform .5s var(--ease), border-color .4s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(198 255 51 / .16), transparent);
  opacity: 0;
  transition: opacity .6s;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }
.step__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.step__n {
  font: 700 clamp(3.6rem, 3rem + 2vw, 5rem)/.9 var(--font-display);
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text-3);
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.step:hover .step__n { -webkit-text-stroke-color: var(--accent-text); }
.step__ico {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--accent-text);
}
.step__ico svg { width: 24px; height: 24px; }
.step h3 {
  margin: auto 0 0;
  padding-top: 48px;
  font: 700 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--font-display);
  letter-spacing: -.02em;
}
.step p { margin: 12px 0 0; color: var(--text-2); }

/* ---------- Цена ---------- */
.price {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 36px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--accent);
  color: var(--accent-ink);
}
@media (min-width: 920px) {
  .price { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.price::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(-45deg, rgb(10 10 13 / .05) 0 2px, transparent 2px 18px);
}
.price__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .72;
}
.price__title {
  margin: 14px 0 0;
  max-width: 14em;
  font: 700 clamp(1.75rem, 1.2rem + 2.4vw, 3.2rem)/1.04 var(--font-display);
  letter-spacing: -.03em;
}
.price__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.price__list li { display: flex; align-items: center; gap: 12px; }
.price__list li::before {
  content: "";
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.price__side { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 920px) { .price__side { justify-items: end; text-align: right; } }
.price__sum {
  font: 700 clamp(3.4rem, 2rem + 7vw, 8rem)/.9 var(--font-display);
  letter-spacing: -.055em;
  white-space: nowrap;
}
.price__note { margin: 0; font-size: .9375rem; opacity: .72; }
.price .btn { background: var(--accent-ink); color: var(--accent); }
.price .btn:hover { box-shadow: 0 16px 34px -14px rgb(10 10 13 / .6); }

/* Наклейка заходит на верхний край карточки цены */
.price-wrap { position: relative; }
.sticker {
  --size: clamp(96px, 12vw, 132px);
  position: absolute;
  z-index: 2;
  top: calc(var(--size) / -2);
  right: clamp(28px, 6vw, 72px);
  width: var(--size);
  aspect-ratio: 1;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
}
.sticker svg { width: 100%; height: 100%; animation: turn 18s linear infinite; }
.sticker text { font: 700 9.5px var(--font-display); letter-spacing: .12em; fill: var(--accent-ink); }
.sticker::after {
  content: "";
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6ff33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 52% no-repeat;
}
@media (max-width: 919px) { .price__head { padding-right: clamp(64px, 16vw, 120px); } }

/* ---------- Связь ---------- */
.contact {
  display: grid;
  gap: 40px;
}
@media (min-width: 980px) {
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}
.contact__title {
  margin: 14px 0 0;
  font: 700 clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem)/.95 var(--font-display);
  letter-spacing: -.04em;
}
.contact .contact-list { margin-top: 32px; }
.form-card {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}
.form-card__title {
  margin: 0 0 6px;
  font: 700 1.375rem/1.2 var(--font-display);
  letter-spacing: -.02em;
}
.form-card__sub { margin: 0 0 22px; color: var(--text-2); }
.form-card .input { background: var(--bg); }

/* ---------- Подвал ---------- */
.footer {
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer__brand {
  margin: 0;
  font: 700 clamp(2.6rem, 1rem + 9.6vw, 10.5rem)/.88 var(--font-display);
  letter-spacing: -.055em;
}
.footer__brand span { display: block; }
.footer__brand span + span { color: transparent; -webkit-text-stroke: 1.5px var(--text-2); }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: .9375rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { text-decoration: none; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.to-top span {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top:hover span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }

/* ---------- Плавная перестановка карточек при фильтре ---------- */
::view-transition-old(root),
::view-transition-new(root) { animation: none; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-new(*):only-child { animation: vt-in .4s var(--ease) both; }
::view-transition-old(*):only-child { animation: vt-out .25s ease both; }

/* ---------- Анимации ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(1.5deg); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }
@keyframes float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes peek {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(min(0px, calc(100cqh - 100%))); }
}
@keyframes vt-in { from { opacity: 0; transform: scale(.94); } }
@keyframes vt-out { to { opacity: 0; transform: scale(.94); } }

/* ---------- Новинка: CRM для автосервиса ---------- */
.crm-promo { padding-block: clamp(48px, 7vw, 96px) 0; }
.crm-promo__card {
  display: grid; gap: clamp(24px, 4vw, 48px); align-items: center;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line-strong); border-radius: 28px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 122 26 / .16), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
@media (min-width: 960px) { .crm-promo__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.crm-promo__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #ff7a1a; color: #120a02;
  font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.crm-promo__title {
  margin: 16px 0 12px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 48px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance;
}
.crm-promo__sub { margin: 0; max-width: 54ch; color: var(--text-2); font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; }
.crm-promo__prices { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.crm-promo__price {
  display: grid; gap: 4px; min-width: 180px; flex: 1 1 180px;
  padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--bg-soft);
}
.crm-promo__price strong { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-variant-numeric: tabular-nums; }
.crm-promo__price--accent { border-color: #ff7a1a; background: rgb(255 122 26 / .1); }
.crm-promo__label { color: var(--text-2); font-size: 14px; }
.crm-promo__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.crm-promo__shot {
  display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--line-strong);
  background: #0e1013; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.crm-promo__shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.crm-promo__bar { display: flex; gap: 6px; padding: 10px 12px; background: #17191d; }
.crm-promo__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3d44; }
.crm-promo__shot img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .crm-promo__shot, .crm-promo__shot:hover { transition: none; transform: none; } }
