/* =========================================================
   КАДР — студия видеоконтента
   ========================================================= */

/* ===== БАЗА ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --ink: #14121a;
  --ink-2: #2a2731;
  --muted: #6e6a76;
  --line: rgba(20, 18, 26, 0.1);
  --accent: #ff4a1c;
  --accent-dark: #e23a0e;
  --yellow: #ffd43b;
  --violet: #6c4bff;
  --dark: #14121a;
  --light-muted: rgba(255, 255, 255, 0.62);
  --light-line: rgba(255, 255, 255, 0.12);
  --error: #e5484d;
  --radius: 20px;
  --font-display: 'Dela Gothic One', 'Arial Black', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Onest', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 700;
  line-height: 1.25;
}

/* выделение маркером */
mark {
  position: relative;
  z-index: 0;
  background: none;
  color: inherit;
  white-space: nowrap;
}

mark::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.42em;
  border-radius: 4px;
  background: var(--yellow);
  transform: skew(-8deg);
}

.text-accent {
  color: var(--accent);
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(255, 74, 28, 0.8);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(20, 18, 26, 0.06);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn--lg {
  padding: 17px 28px;
  font-size: 16px;
}

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

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  font-weight: 700;
  white-space: nowrap;
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ===== ЛОГОТИП ===== */
.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.logo__rec {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.3s;
}

.logo__rec::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s infinite;
}

.logo--light {
  color: #fff;
}

.logo--light .logo__rec {
  background: #fff;
}

/* ===== ШАПКА ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* фон на псевдоэлементе, чтобы blur не мешал fixed-меню на мобильных */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.header.scrolled::before {
  border-color: var(--line);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  gap: 4px;
}

.nav__list a {
  display: block;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav__list a:hover {
  color: var(--ink);
  background: rgba(20, 18, 26, 0.05);
}

.nav__list a.active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.nav__auth {
  display: flex;
  gap: 8px;
}

.burger {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.3s;
}

.burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s;
}

.burger.active {
  background: var(--accent);
}

.burger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.header.menu-open .logo {
  color: #fff;
}

.header.menu-open .logo__rec {
  background: #fff;
}

/* ===== ОБЩИЕ СЕКЦИИ ===== */
.section {
  padding: 100px 0;
}

.section--dark {
  margin: 0 12px;
  border-radius: 40px;
  background: var(--dark);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 52px);
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
}

.section--dark .section-head p {
  color: var(--light-muted);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s infinite;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(36px, 5vw, 64px);
}

.hero__text {
  max-width: 540px;
  font-size: 19px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 40px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.avatars span:first-child { margin-left: 0; background: var(--accent); }
.avatars span:nth-child(2) { background: var(--violet); }
.avatars span:nth-child(3) { background: #0fa58f; }
.avatars span:nth-child(4) { background: var(--ink); }

.trust__text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.trust__text b {
  display: block;
  color: var(--ink);
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
}

/* кадры-«телефоны» */
.hero__visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 40px 80px -30px rgba(20, 18, 26, 0.55);
}

.frame--main {
  z-index: 2;
  background: linear-gradient(165deg, #ff4a1c 0%, #ff8a3d 45%, #ffd43b 100%);
}

.frame--back {
  position: absolute;
  z-index: 1;
  width: 240px;
  background: linear-gradient(165deg, #6c4bff, #ff4ac0);
  transform: translate(-130px, 30px) rotate(-10deg);
}

.frame::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  top: -60px;
  right: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.frame__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.rec .rec-dot {
  width: 8px;
  height: 8px;
}

.frame__word {
  position: absolute;
  top: 26%;
  left: 20px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.02;
  text-transform: uppercase;
}

.frame__side {
  position: absolute;
  right: 12px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
}

.frame__side div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.frame__side svg {
  width: 26px;
  height: 26px;
}

.frame__side .liked {
  fill: #fff;
}

.frame__bottom {
  position: absolute;
  left: 16px;
  right: 64px;
  bottom: 24px;
  font-size: 13px;
  line-height: 1.4;
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.progress span {
  display: block;
  height: 100%;
  background: #fff;
  animation: progress 8s linear infinite;
}

.stat-chip {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 20px 40px -20px rgba(20, 18, 26, 0.35);
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.stat-chip b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}

.stat-chip svg {
  display: block;
  width: 90px;
  height: 30px;
  margin-top: 6px;
  color: var(--accent);
  stroke-width: 2.5;
}

.stat-chip--1 {
  top: 150px;
  right: 0;
  animation: bob 5s ease-in-out infinite;
}

.stat-chip--2 {
  bottom: 60px;
  left: 0;
  animation: bob 6s ease-in-out infinite 1s;
}

/* ===== БЕГУЩАЯ ЛЕНТА ===== */
.ticker-wrap {
  padding: 30px 0;
  overflow: hidden;
}

.ticker {
  margin: 0 -20px;
  padding: 18px 0;
  background: var(--accent);
  color: #fff;
  transform: rotate(-1.5deg);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__track span::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ===== УСЛУГИ (главная) ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.svc__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.3s;
}

.svc__icon {
  width: 56px;
  height: 56px;
  margin: 20px 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: background 0.3s, color 0.3s;
}

.svc__icon svg {
  width: 26px;
  height: 26px;
}

.svc h3 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.svc p {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.3s;
}

.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--accent);
}

.svc__more svg {
  width: 16px;
  height: 16px;
}

.svc:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-6px);
}

.svc:hover p,
.svc:hover .svc__num {
  color: var(--light-muted);
}

.svc:hover .svc__icon {
  background: var(--accent);
  color: #fff;
}

/* ===== ТЁМНЫЙ БЛОК: цифры и преимущества ===== */
.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.counter {
  padding: 28px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
}

.counter__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--yellow);
}

.counter p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--light-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.feature p {
  font-size: 15px;
  color: var(--light-muted);
}

/* ===== ВИДЕО-КАРТОЧКИ ===== */
.vgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vcard {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.vcard:focus-visible {
  outline: none;
}

.vcard:focus-visible .vcard__cover {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.vcard.hidden {
  display: none;
}

.vcard.pop {
  animation: fadeUp 0.45s ease;
}

.vcard__cover {
  position: relative;
  aspect-ratio: 9 / 16;
  padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: transform 0.35s;
}

.vcard:hover .vcard__cover {
  transform: translateY(-6px) rotate(-1deg);
}

.vcard__cover::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -25%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.vcard__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.vcard__top span {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

.vcard__word {
  position: relative;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.04;
  text-transform: uppercase;
}

.vcard__views {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.vcard__views svg {
  width: 16px;
  height: 16px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.3s;
}

.play-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

.vcard .play-btn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.vcard:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vcard__info {
  margin-top: 14px;
}

.vcard__info h3 {
  font-size: 16px;
}

.vcard__info p {
  font-size: 14px;
  color: var(--muted);
}

/* градиенты обложек */
.g1 { background: linear-gradient(165deg, #ff4a1c, #ffb03b); }
.g2 { background: linear-gradient(165deg, #6c4bff, #ff4ac0); }
.g3 { background: linear-gradient(165deg, #0fb5a6, #1d4ed8); }
.g4 { background: linear-gradient(165deg, #2a2731, #5b5468); }
.g5 { background: linear-gradient(165deg, #ffb703, #ff4a1c); }
.g6 { background: linear-gradient(165deg, #ff4ac0, #ff4a1c); }
.g7 { background: linear-gradient(165deg, #22c55e, #0ea5e9); }
.g8 { background: linear-gradient(165deg, #1d4ed8, #6c4bff); }
.g9 { background: linear-gradient(165deg, #ff4a1c, #6c4bff); }
.g10 { background: linear-gradient(165deg, #d946ef, #6c4bff); }
.g11 { background: linear-gradient(165deg, #14121a, #ff4a1c); }
.g12 { background: linear-gradient(165deg, #0ea5e9, #22c55e); }

/* ===== ОТЗЫВЫ (слайдер) ===== */
.reviews {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 56px;
  border-radius: 32px;
  background: var(--yellow);
  overflow: hidden;
}

.reviews::before {
  content: '“';
  position: absolute;
  top: -40px;
  right: 40px;
  font-family: var(--font-display);
  font-size: 260px;
  line-height: 1;
  opacity: 0.12;
}

.review {
  position: relative;
  display: none;
}

.review.active {
  display: block;
  animation: fadeUp 0.5s ease;
}

.review blockquote {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.35;
}

.review figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.review figcaption b {
  display: block;
  font-size: 16px;
}

.review__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.reviews__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.reviews__count {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 18px;
}

.round-btn {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.round-btn:hover {
  background: var(--ink);
  color: #fff;
}

.round-btn svg {
  width: 20px;
  height: 20px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 72px 56px;
  border-radius: 32px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(90px);
  opacity: 0.55;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.cta p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--light-muted);
}

.cta .rec {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== ВНУТРЕННИЕ СТРАНИЦЫ: шапка страницы ===== */
.page-hero {
  padding: 48px 0 56px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs span::before {
  content: '/';
  margin-right: 8px;
}

.page-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 84px);
}

.page-hero p {
  max-width: 620px;
  margin-top: 24px;
  font-size: 19px;
  color: var(--muted);
}

/* ===== УСЛУГИ (страница) ===== */
.srow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.srow:nth-child(even) .srow__visual {
  order: -1;
}

.srow__num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
}

.srow h2 {
  margin: 12px 0 16px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.srow > div > p {
  font-size: 17px;
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 24px 0;
}

.checklist li,
.plan li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 500;
}

.checklist li::before,
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.srow__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.price-from {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.3;
}

.price-from b {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
}

.srow__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.srow__visual::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.srow__word {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}

.formats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.formats span {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
}

.extras {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.extras span {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
}

/* таймлайн процесса */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
}

.tstep__dot {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dark);
  font-family: var(--font-display);
  font-size: 16px;
}

.tstep:first-child .tstep__dot {
  border-color: var(--accent);
  background: var(--accent);
}

.tstep h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.tstep p {
  font-size: 15px;
  color: var(--light-muted);
}

.tstep__time {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
}

/* ===== FAQ ===== */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.faq__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.faq__intro p {
  margin-bottom: 28px;
  color: var(--muted);
}

.faq__item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 17px;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__a p {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ===== ПОРТФОЛИО ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter:hover {
  border-color: var(--ink);
}

.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* плеер */
.player {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 9, 13, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.player.open {
  opacity: 1;
  visibility: visible;
}

.player__box {
  display: grid;
  grid-template-columns: auto 340px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.3s;
}

.player.open .player__box {
  transform: none;
}

.player__screen {
  position: relative;
  height: min(78vh, 680px);
  aspect-ratio: 9 / 16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
}

.player__screen::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -30%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.player__word {
  position: relative;
  padding: 0 24px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  text-align: center;
  text-transform: uppercase;
}

.player__screen.playing .play-btn {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.3);
}

.player__screen.playing .player__word {
  animation: zoom 6s ease-in-out infinite alternate;
}

.player__bar {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.player__track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.player__fill {
  width: 0;
  height: 100%;
  background: #fff;
}

.player__info {
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
  overflow-y: auto;
}

.player__info h3 {
  margin: 10px 0;
  font-size: 22px;
}

.player__info > p {
  font-size: 15px;
  color: var(--muted);
}

.player__stats {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.player__stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.player__stats b {
  color: var(--ink);
}

.player__info .btn {
  margin-top: auto;
}

.player__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

/* ===== ЦЕНЫ ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.plan--dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.plan__badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.plan__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.plan__price {
  margin: 20px 0 6px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

.plan__price small {
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.plan__note {
  font-size: 14px;
  color: var(--muted);
}

.plan--dark .plan__price small,
.plan--dark .plan__note {
  color: var(--light-muted);
}

.plan ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 28px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.plan--dark ul {
  border-color: var(--light-line);
}

/* калькулятор */
.calc {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc__form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.calc__group + .calc__group {
  margin-top: 32px;
}

.calc__label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 16px;
}

.calc__label output {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--accent);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: block;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.choice small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.choice span:hover {
  border-color: var(--ink);
}

.choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.choice input:checked + span small {
  color: var(--light-muted);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips .choice span {
  padding: 10px 16px;
}

/* ползунок */
.range {
  --fill: 0%;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--line) var(--fill));
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(20, 18, 26, 0.3);
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(20, 18, 26, 0.3);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.calc__result {
  position: sticky;
  top: 100px;
  padding: 36px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.calc__result h3 {
  font-size: 20px;
}

.calc__rows {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 24px 0;
  border-block: 1px solid var(--light-line);
}

.calc__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--light-muted);
}

.calc__row b {
  color: #fff;
  white-space: nowrap;
}

.calc__total span {
  font-size: 14px;
  color: var(--light-muted);
}

.calc__total b {
  display: block;
  margin: 6px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--yellow);
}

.calc__hint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== КОНТАКТЫ ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: start;
}

.contact__cards {
  display: grid;
  gap: 12px;
}

.ccard {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  line-height: 1.4;
}

.ccard__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg);
}

.ccard__icon svg {
  width: 22px;
  height: 22px;
}

.ccard span {
  font-size: 13px;
  color: var(--muted);
}

.ccard b {
  display: block;
  margin: 2px 0;
  font-size: 18px;
}

.ccard small {
  font-size: 13px;
  color: var(--muted);
}

.ccard--accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.ccard--accent span,
.ccard--accent small {
  color: rgba(255, 255, 255, 0.8);
}

.ccard--accent .ccard__icon {
  background: rgba(255, 255, 255, 0.2);
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.online::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.6s infinite;
}

.form-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.form-card h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 34px);
}

.form-card > p {
  margin-bottom: 28px;
  color: var(--muted);
}

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

.field--full {
  grid-column: 1 / -1;
}

/* карта-заглушка */
.map {
  position: relative;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  background-color: #e8e3d8;
  background-image:
    linear-gradient(rgba(20, 18, 26, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 26, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map::before,
.map::after {
  content: '';
  position: absolute;
  background: #fff;
}

.map::before {
  top: 45%;
  left: -10%;
  width: 120%;
  height: 22px;
  transform: rotate(-8deg);
}

.map::after {
  top: -10%;
  left: 58%;
  width: 18px;
  height: 120%;
  transform: rotate(14deg);
}

.map__pin {
  position: absolute;
  z-index: 1;
  top: 44%;
  left: 57%;
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(20, 18, 26, 0.3);
  transform: translate(-50%, -50%);
}

.map__pin::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ring 2s ease-out infinite;
}

.map__card {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 24px;
  max-width: 340px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 20px 40px -20px rgba(20, 18, 26, 0.4);
}

.map__card b {
  display: block;
  font-size: 17px;
}

.map__card p {
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== ПОЛЯ ФОРМ ===== */
.field > label:not(.check) {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.field label .opt {
  font-weight: 500;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.input::placeholder {
  color: #9b97a3;
}

.input:focus {
  border-color: var(--ink);
  background: #fff;
}

textarea.input {
  min-height: 120px;
  resize: vertical;
}

select.input {
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314121a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}

.field.error .input {
  border-color: var(--error);
}

.field__err {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--error);
}

.field.error .field__err {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--ink);
  cursor: pointer;
}

.check a {
  color: var(--ink);
  text-decoration: underline;
}

.pass-wrap {
  position: relative;
}

.pass-wrap .input {
  padding-right: 96px;
}

.pass-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.strength {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.strength span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.3s;
}

.strength[data-level='1'] span:nth-child(-n + 1) { background: var(--error); }
.strength[data-level='2'] span:nth-child(-n + 2) { background: #f59e0b; }
.strength[data-level='3'] span:nth-child(-n + 3) { background: #84cc16; }
.strength[data-level='4'] span:nth-child(-n + 4) { background: #22c55e; }

.strength__text {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== АВТОРИЗАЦИЯ ===== */
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.auth__side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.auth__side::after {
  content: '';
  position: absolute;
  left: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(100px);
  opacity: 0.45;
}

.auth__side > * {
  position: relative;
  z-index: 1;
}

.auth__frames {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth__frames .frame--main {
  width: 230px;
}

.auth__frames .frame--back {
  width: 190px;
  transform: translate(110px, 20px) rotate(10deg);
}

.auth__frames .frame__word {
  font-size: 32px;
}

.auth__quote blockquote {
  max-width: 460px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.auth__quote figcaption {
  font-size: 14px;
  color: var(--light-muted);
}

.auth__main {
  display: flex;
  flex-direction: column;
  padding: 32px 40px;
}

.auth__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.auth__top .logo {
  display: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--ink);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.auth__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth__form {
  width: 100%;
  max-width: 420px;
}

.auth__form h1 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.4vw, 42px);
}

.auth__form .sub {
  margin-bottom: 32px;
  color: var(--muted);
}

.auth__form .field {
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 24px;
  font-size: 14px;
}

.form-row a {
  font-weight: 600;
  color: var(--accent);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--muted);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.social-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.social-btn {
  padding: 12px 8px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.2s;
}

.social-btn:hover {
  border-color: var(--ink);
}

.auth__switch {
  margin-top: 28px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.auth__switch a {
  font-weight: 700;
  color: var(--accent);
}

/* ===== ПОДВАЛ ===== */
.footer {
  margin-top: 100px;
  padding: 80px 0 32px;
  background: var(--dark);
  color: #fff;
}

.footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--light-line);
}

.footer__big {
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.1;
}

.footer__mail {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--yellow);
  border-bottom: 2px solid currentColor;
  white-space: nowrap;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding: 48px 0;
}

.footer__about p {
  max-width: 300px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--light-muted);
}

.footer h4 {
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer__col a {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}

.socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--light-line);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== УВЕДОМЛЕНИЕ ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 40px -12px rgba(20, 18, 26, 0.5);
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.toast::before {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ===== АНИМАЦИИ ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.svc.reveal.visible:hover {
  transform: translateY(-6px);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes ring {
  from { transform: scale(0.5); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}

@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* ноутбук / большой планшет */
@media (max-width: 1100px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vgrid--portfolio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__about {
    grid-column: 1 / -1;
  }
}

/* планшет + мобильное меню */
@media (max-width: 960px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    padding: 100px 24px 40px;
    background: var(--dark);
    overflow-y: auto;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 47px) 38px);
    transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.55s;
  }

  .nav.open {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 47px) 38px);
    transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list a,
  .nav__list a:hover,
  .nav__list a.active {
    padding: 10px 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: clamp(28px, 8vw, 40px);
    color: #fff;
  }

  .nav__list a.active {
    color: var(--accent);
  }

  .nav__auth {
    flex-direction: column;
  }

  .nav__auth .btn {
    width: 100%;
    padding: 16px;
  }

  .nav__auth .btn--ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    height: 540px;
  }

  .section-head,
  .page-hero__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .counters {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .reviews__nav {
    flex-direction: row;
    justify-content: flex-start;
  }

  .reviews__count {
    margin: 0 8px 0 0;
  }

  .cta {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .srow {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .srow .srow__visual {
    order: -1;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .timeline::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0 8px, transparent 8px 16px);
  }

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

  .tstep__dot {
    margin: 0;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .calc {
    grid-template-columns: 1fr;
  }

  .calc__result {
    position: static;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .player__box {
    grid-template-columns: 1fr;
    width: min(100%, 420px);
    overflow-y: auto;
  }

  .player__screen {
    width: 100%;
    height: auto;
    max-height: 62dvh;
  }

  .player__info {
    overflow: visible;
  }

  .player__close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .auth {
    grid-template-columns: 1fr;
  }

  .auth__side {
    display: none;
  }

  .auth__main {
    padding: 24px;
  }

  .auth__top {
    justify-content: space-between;
  }

  .auth__top .logo {
    display: inline-flex;
  }
}

/* телефон */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section--dark {
    margin: 0 8px;
    border-radius: 28px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .header__inner {
    height: 68px;
  }

  .nav {
    clip-path: circle(0 at calc(100% - 39px) 34px);
  }

  .nav.open {
    clip-path: circle(150% at calc(100% - 39px) 34px);
  }

  .hero {
    padding: 32px 0 56px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
    margin: 28px 0 32px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    height: 470px;
  }

  .hero__visual .frame--main {
    width: 230px;
  }

  .hero__visual .frame--back {
    width: 190px;
    transform: translate(-90px, 24px) rotate(-10deg);
  }

  .frame__word {
    font-size: 32px;
  }

  .stat-chip {
    padding: 10px 12px;
  }

  .stat-chip b {
    font-size: 16px;
  }

  .stat-chip svg {
    width: 70px;
  }

  .stat-chip--1 {
    top: 110px;
  }

  .stat-chip--2 {
    bottom: 30px;
  }

  .ticker__track span {
    font-size: 17px;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc {
    min-height: 0;
  }

  .svc__icon {
    margin-bottom: 0;
  }

  .counters {
    gap: 10px;
  }

  .counter {
    padding: 20px;
  }

  .counter__num {
    font-size: 28px;
  }

  /* превью работ на главной — горизонтальная прокрутка */
  .vgrid--scroll {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 62%;
    margin: 0 -16px;
    padding: 0 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .vgrid--scroll::-webkit-scrollbar {
    display: none;
  }

  .vgrid--scroll .vcard {
    scroll-snap-align: start;
  }

  .vgrid--portfolio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vcard__cover {
    padding: 12px;
    border-radius: 16px;
  }

  .vcard__word {
    font-size: 22px;
  }

  .vcard__top span:last-child {
    display: none;
  }

  .vcard__info h3 {
    font-size: 15px;
  }

  .vcard__info p {
    font-size: 13px;
  }

  .reviews {
    padding: 36px 22px;
    border-radius: 24px;
  }

  .cta {
    padding: 44px 22px;
    border-radius: 24px;
  }

  .cta__actions {
    flex-direction: column;
  }

  .page-hero {
    padding: 28px 0 40px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .srow {
    padding: 40px 0;
  }

  .srow__visual {
    padding: 20px;
    border-radius: 22px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 30px 24px;
  }

  .calc__form,
  .calc__result,
  .form-card {
    padding: 24px 20px;
  }

  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .map {
    height: 420px;
  }

  .map__card {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .footer {
    margin-top: 72px;
    padding-top: 56px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .social-btns {
    gap: 8px;
  }

  .social-btn {
    font-size: 13px;
  }
}
