/* Crystal Media — статическая копия лендинга, собранного ранее на Framer.
   Брейкпоинты оригинала: ≥1200 — десктоп, 700–1199.98 — планшет, <700 — телефон.
   Значения (размеры, отступы, цвета) сняты с вычисленных стилей оригинала. */

/* ---------- Шрифты: только реально используемые начертания, кириллица + латиница ---------- */
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-400-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-400-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-500-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-500-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-600-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-600-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-700-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-700-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Outfit (Google Fonts) существует только в латинице — как и в оригинале, кириллица в этих блоках
   уходит в "Outfit Placeholder" (системный Arial с поправкой метрик). */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 100 900; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit Placeholder"; src: local("Arial"); ascent-override: 99.94%; descent-override: 25.98%; line-gap-override: 0%; size-adjust: 100.06%; }
@font-face { font-family: "Inter Placeholder"; src: local("Arial"); ascent-override: 89.79%; descent-override: 22.36%; line-gap-override: 0%; size-adjust: 107.89%; }
@font-face { font-family: "Inter Display Placeholder"; src: local("Arial"); ascent-override: 98.56%; descent-override: 24.54%; line-gap-override: 0%; size-adjust: 112.19%; }

/* ---------- База ---------- */
:root {
  --gold: #e2c472;
  --gold-2: #bf9b53;
  --green: #13302b;
  --green-2: #04211c;
  --f-display: "Inter Display", "Inter Display Placeholder", sans-serif;
  --f-inter: "Inter", "Inter Placeholder", sans-serif;
  --f-outfit: "Outfit", "Outfit Placeholder", sans-serif;
  --shadow-card: 0 .796192px 2.38858px -.625px #0000000d, 0 2.41451px 7.24352px -1.25px #0000000d, 0 6.38265px 19.148px -1.875px #0000000d, 0 20px 60px -2.5px #0000000d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; }
html.is-loaded { scroll-behavior: smooth; } /* класс ставит site.js после load */
body { margin: 0; background: #000; color: #fff; font-family: var(--f-display); font-size: 16px; line-height: 1.2; overflow-x: hidden; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img, video, canvas { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
main { display: block; }

.h2 { font: 600 45px/1.2 var(--f-display); color: var(--gold); text-align: center; overflow-wrap: break-word; }
.h2--left { text-align: left; }
.section-head { width: 100%; display: flex; justify-content: center; }
.section-head .h2 { width: 100%; max-width: 1200px; }
.section { position: relative; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #000; }
.section--green { background: linear-gradient(#13302b 0%, #04211c 100%); }

/* Рамка «как во Framer»: border поверх блока, не меняет его размеры */
.btn::after, .nav__bar::after, .svc-card::after, .partner-btn::after, .how-card::after, .contacts__panel::after {
  content: ""; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; pointer-events: none;
}

/* Иконки-маски: цвет берётся из background-color */
.svc-card__list li::before, .partner-btn__icon, .submit-btn__icon, .tg-link__icon, .review__stars i {
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
}

/* ---------- Навигация ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; padding: 16px 20px 24px 16px; pointer-events: none; }
.nav__bar {
  position: relative; flex: 1 1 0; max-width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; background: #000; border-radius: 8px; box-shadow: 0 2px 5px rgba(230, 205, 138, .1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: auto;
}
.nav__bar::after { border-color: rgba(226, 196, 114, .15); }
.nav__logo { flex: none; display: block; width: 179px; height: 40px; }
.nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav__burger { display: none; }
.nav__panel, .nav__panel-inner, .nav__panel-body { display: contents; }
.nav__links { display: flex; align-items: center; padding: 1px 0; }
.nav__links a { display: flex; align-items: center; height: 36px; padding: 0 10px; font: 500 16px/1.2 var(--f-display); color: #fff; white-space: nowrap; transition: opacity .3s ease; }
.nav__links a:hover { opacity: .7; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 4px; overflow: hidden; font: 600 16px/1.2 var(--f-display); white-space: nowrap; transition: box-shadow .3s ease; }
.btn::after { border-color: rgba(226, 196, 114, .5); }
.btn--dark { background: linear-gradient(259deg, #242424 0%, #101010 100%); color: var(--gold); }
.btn--dark:hover { box-shadow: 0 0 2px 2px rgba(226, 196, 114, .2); }
.btn--gold { background: linear-gradient(259deg, #e2c472 0%, #bf9b53 100%); color: #000; }
.btn--gold:hover { box-shadow: 0 1px 17px 3px rgba(226, 196, 114, .4); }

/* ---------- Первый экран ---------- */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 35px; width: 100%; min-height: 90vh; padding: 180px 0 100px; background: #17161c; overflow: hidden; }
.hero__poster { position: absolute; inset: 0; z-index: 0; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
/* видео лежит поверх постера; пока не играет — прозрачно, виден постер */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__video.is-stale { visibility: hidden; } /* сменилась ширина: до загрузки нового ролика виден постер */
/* Оригинал: слой частиц с чёрной подложкой и прозрачностью 0.3 поверх видео */
.hero__particles { position: absolute; inset: 0; z-index: 1; opacity: .3; background: #000; overflow: hidden; pointer-events: none; }
.hero__particles canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { position: relative; z-index: 8; width: 70%; padding: 0 40px; }
.hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 31px; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 95%; padding-bottom: 10px; }
.hero__title { width: 100%; font: 600 60px/1.1 var(--f-display); color: #fff; text-align: left; overflow-wrap: break-word; }
.hero__lead { max-width: 500px; font: 500 22px/1.2 var(--f-display); color: #fff; text-align: left; }
.hero__actions { display: flex; align-items: center; gap: 15px; width: 100%; }

/* Кнопка с бегущим бликом по рамке (компонент оригинала: Stroke + Fill + Text) */
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 8%; }
.glow-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 30px; border-radius: 4px; background: rgba(255, 255, 255, .05); white-space: nowrap; }
.glow-btn__stroke { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; background: radial-gradient(18% 45% at var(--gx) var(--gy), #fff 0%, rgba(255, 255, 255, .1) 100%); animation: glow-orbit 3s infinite; }
.glow-btn__fill { position: absolute; inset: 2px; border-radius: 4px; background: linear-gradient(259deg, #e2c472 0%, #bf9b53 100%); }
.glow-btn__text { position: relative; font: 600 18px/1.2 var(--f-display); letter-spacing: -.01em; color: #000; animation: glow-text 3s infinite; }
.glow-btn:hover .glow-btn__stroke { animation: none; background: radial-gradient(75% 181.159% at 50% 50%, #fff 0%, rgba(255, 255, 255, 0) 100%); }
.glow-btn:hover .glow-btn__text { animation: none; color: #000; }
@keyframes glow-orbit {
  0%, 100% { --gx: 50%; --gy: 8%; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  25% { --gx: 92%; --gy: 50%; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  50% { --gx: 50%; --gy: 92%; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  75% { --gx: 8%; --gy: 50%; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
}
@keyframes glow-text {
  0%, 24.9% { color: #000; }
  25% { color: rgba(0, 0, 0, .15); }
  47%, 100% { color: #000; }
}

/* ---------- Что закупаем ---------- */
.buy { gap: 50px; padding: 100px 40px; }
.buy__cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; width: 100%; max-width: 1000px; }
.buy-card { flex: 1 0 0; min-width: 0; height: 260px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 30px 15px; background: var(--green); border-radius: 8px; box-shadow: var(--shadow-card); overflow: hidden; }
.buy-card picture, .benefit__card picture { display: block; flex: none; }
.buy-card__icon { width: 80px; height: 80px; flex: none; }
.buy-card__title { width: 100%; font: 600 25px/1.2 var(--f-display); color: #fff; text-align: center; }

/* ---------- Цифры ---------- */
.numbers { padding: 95px 60px; }
.numbers__inner { display: flex; flex-direction: column; align-items: center; gap: 50px; width: 100%; max-width: 1400px; }
.numbers__inner > .h2 { max-width: 1200px; }
.numbers__grid { display: grid; grid-template-columns: repeat(2, minmax(50px, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 20px; width: 100%; }
.num-card { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; align-self: start; width: 100%; height: 260px; padding: 30px; background: linear-gradient(261deg, #242424 0%, #101010 100%); border-radius: 6px; }
.num-card--short { height: 240px; }
.num-card__value { font: 600 50px/1.2 var(--f-display); color: var(--gold); text-align: center; }
.num-card__value--left { text-align: left; }
.num-card__stack { display: flex; flex-direction: column; justify-content: center; width: 100%; }
.num-card__counter { display: inline-block; font: 600 50px/1.2 var(--f-inter); color: var(--gold); }
.num-card__text { width: 100%; font: 500 20px/1.3 var(--f-display); color: rgba(255, 255, 255, .7); text-align: left; overflow-wrap: break-word; }

/* ---------- Услуги ---------- */
.services { gap: 50px; padding: 80px 40px 100px; }
.services__grid { display: flex; flex-direction: column; gap: 20px; width: 100%; max-width: 1200px; }
.services__row { display: flex; gap: 20px; width: 100%; }
.services__row--top { align-items: center; }
.services__row--bottom { align-items: flex-start; height: 394px; }
.services__col { flex: 1 0 0; min-width: 320px; display: flex; flex-direction: column; gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 25px; padding: 30px 20px 40px 30px; background: var(--green); border-radius: 8px; overflow: hidden; }
.svc-card::after { border-color: rgba(226, 196, 114, .2); }
.svc-card--bloggers { flex: none; width: 49%; min-width: 310px; align-self: stretch; }
.svc-card--fb, .svc-card--preroll { width: 100%; min-width: 320px; }
.services__row--bottom .svc-card { flex: 1 0 0; min-width: 320px; height: 100%; }
.svc-card__title { font: 600 35px/1.2 var(--f-outfit); color: var(--gold); }
.svc-card__line { height: 1px; flex: none; opacity: .9; background: linear-gradient(90deg, rgba(226, 196, 114, .2) 0%, rgba(226, 196, 114, .7) 13.0631%, rgba(226, 196, 114, .7) 85.7357%, rgba(255, 255, 255, .5) 100%, rgba(226, 196, 114, .2) 100%); }
.svc-card__list { display: flex; flex-direction: column; gap: 10px; }
.svc-card__list--loose { gap: 14px; }
.svc-card__list li { display: flex; align-items: center; gap: 10px; font: 400 16px/1.2 var(--f-inter); color: #fff; overflow-wrap: break-word; }
.svc-card__list li::before { content: ""; flex: none; width: 20px; height: 20px; background-color: #fff; -webkit-mask-image: url("icons/check.svg"); mask-image: url("icons/check.svg"); }
.svc-card__list li.is-accent { color: var(--gold); }
.svc-card__list li.is-accent::before { background-color: var(--gold); }
.services__cta { width: 488px; max-width: 100%; }
.partner-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 10px 0; border-radius: 4px; overflow: hidden; background: linear-gradient(259deg, #e2c472 0%, #bf9b53 100%); font: 600 18px/1.2 var(--f-outfit); color: #000; white-space: nowrap; transition: box-shadow .3s ease, gap .3s ease; }
.partner-btn::after { border-color: rgba(255, 255, 255, .5); }
.partner-btn__icon { flex: none; width: 28px; height: 28px; background-color: #000; -webkit-mask-image: url("icons/arrow.svg"); mask-image: url("icons/arrow.svg"); -webkit-mask-size: 20px 20px; mask-size: 20px 20px; }
.partner-btn:hover { gap: 20px; box-shadow: 0 1px 17px 3px rgba(226, 196, 114, .4); }

/* ---------- Как мы работаем ---------- */
.how { padding: 95px 60px; }
.how__inner { display: flex; flex-direction: column; align-items: center; gap: 50px; width: 100%; max-width: 900px; }
.how__cards { display: flex; align-items: flex-start; gap: 24px; width: 100%; height: 237px; }
.how-card { position: relative; flex: 1 0 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px; border-radius: 10px; overflow: hidden; }
.how-card--yes { background: linear-gradient(116deg, #dfc170 0%, #bf9b53 100%); color: #000; }
.how-card--yes::after { border-color: #fcdc9a; }
.how-card--no { background: linear-gradient(244deg, #242424 0%, #101010 100%); color: #fff; }
.how-card--no::after { border-color: #363636; }
.how-card__title { font: 700 32px/1.2 var(--f-display); }
.how-card__list { display: flex; flex-direction: column; justify-content: center; gap: 10px; width: 100%; }
.how-card__list li { font: 600 20px/1.2 var(--f-display); overflow-wrap: break-word; }

/* ---------- Почему мы лучшие ---------- */
.benefits { gap: 50px; padding: 100px 40px; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 20px; width: 100%; max-width: 1000px; }
.benefit { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--green); border-radius: 8px; box-shadow: var(--shadow-card); overflow: hidden; }
.benefit__card { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 20px; width: 100%; height: 300px; padding: 30px 15px; }
.benefit__icon { width: 80px; height: 80px; flex: none; }
.benefit__title { width: 100%; font: 600 25px/1.2 var(--f-display); color: #fff; text-align: center; overflow-wrap: break-word; word-break: break-word; }
.benefit__text { width: 100%; font: 400 18px/1.4 var(--f-display); color: rgba(255, 255, 255, .7); text-align: center; overflow-wrap: break-word; }

/* ---------- Те, кто нам доверяет (лента логотипов) ---------- */
.partners { gap: 50px; padding: 100px 0; }
.partners .section-head { padding: 0 40px; }
.partners__ticker { --shift: 3846px; display: flex; align-items: center; width: 100%; height: 100px; padding: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%); }
.partners__track { display: flex; align-items: center; gap: 10px; flex: none; animation: ticker calc(3846s / 80) linear infinite; }
.js .partners__track, .js .reviews__track { animation-play-state: paused; }
.js .is-playing .partners__track, .js .is-playing .reviews__track { animation-play-state: running; }
.partners__item { flex: none; width: 3836px; display: flex; align-items: center; justify-content: center; }
.partners__item img { width: 3836px; height: auto; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--shift))); } }

/* ---------- Отзывы ---------- */
.reviews { gap: 50px; padding: 100px 40px 80px; }
.reviews__viewport { width: 100%; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(50px, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 24px; width: 100%; }
.reviews__grid.is-clone { display: none; }
.review { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px; background: linear-gradient(208deg, #181818 0%, #101010 100%); border-radius: 6px; overflow: hidden; }
.review__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.review__author { display: flex; align-items: center; gap: 10px; }
.review__avatar { width: 35px; height: 35px; border-radius: 100px; object-fit: cover; flex: none; }
.review__name { font: 500 15px/16px var(--f-outfit); color: #fff; white-space: nowrap; }
.review__stars { display: flex; align-items: center; flex: none; }
.review__stars i { display: block; width: 16px; height: 16px; background-color: #fff; -webkit-mask-image: url("icons/star.svg"); mask-image: url("icons/star.svg"); }
.review__stars i.on { background-color: var(--gold); }
.review__text { width: 100%; font: 400 18px/1.4 var(--f-outfit); color: rgba(255, 255, 255, .7); overflow-wrap: break-word; }
.reviews__cta { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { gap: 40px; padding: 80px 40px 120px; }
.faq__box { width: 100%; max-width: 900px; padding: 0 20px 2px 30px; background: #0c0c0f; border-radius: 20px; overflow: hidden; }
.faq__item { overflow: hidden; }
.faq__q { position: relative; display: flex; align-items: center; gap: 36px; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q-text { flex: 1 1 0; min-width: 0; font: 400 24px/1.3 var(--f-outfit); color: var(--gold); text-align: left; overflow-wrap: break-word; }
.faq__plus { position: absolute; top: 24px; right: 5px; width: 16px; height: 16px; opacity: .7; transition: opacity .3s ease; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 10px; }
.faq__plus::before { width: 16px; height: 2px; left: 0; top: 7px; }
.faq__plus::after { width: 2px; height: 16px; left: 7px; top: 0; transition: transform .3s ease; }
.faq__item[open]:not(.is-closing) .faq__plus { opacity: 1; }
.faq__item[open]:not(.is-closing) .faq__plus::after { transform: rotate(90deg); }
.faq__a { padding: 0 40px 20px 0; }
.faq__a p { font: 400 18px/1.4 var(--f-outfit); color: rgba(255, 255, 255, .8); overflow-wrap: break-word; -webkit-user-select: none; user-select: none; }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Контакты ---------- */
.contacts { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 120px 40px; overflow: hidden; }
.contacts__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; z-index: 0; }
.contacts__wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 50%; grid-template-rows: auto 1fr; grid-template-areas: "head panel" "link panel"; column-gap: 20px; align-items: center; width: 100%; max-width: 1400px; min-height: 243px; /* высота исходной формы заявки */ }
.contacts__head { grid-area: head; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.contacts__head .h2 { width: 100%; }
.contacts__text { width: 76%; max-width: 600px; font: 500 18px/1.3 var(--f-display); color: #fff; text-align: left; overflow-wrap: break-word; }
.contacts__panel { grid-area: panel; position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px; background: linear-gradient(#12302b 0%, #04221c 100%); border-radius: 14px; overflow: hidden; }
.contacts__panel::after { border-color: rgba(227, 197, 113, .15); }
.contacts__link { grid-area: link; align-self: end; display: flex; }
.submit-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; padding: 12px 0; border-radius: 10px; background: linear-gradient(263deg, #e2c472 0%, #bf9b53 100%); font: 600 20px/1.2 var(--f-display); color: #000; text-align: center; white-space: nowrap; }
.submit-btn__icon { flex: none; width: 28px; height: 28px; background-color: #000; -webkit-mask-image: url("icons/arrow-wide.svg"); mask-image: url("icons/arrow-wide.svg"); -webkit-mask-size: 20px 20px; mask-size: 20px 20px; }
.tg-link { display: inline-flex; align-items: center; gap: 8px; font: 400 18px/1.3 var(--f-outfit); color: #fff; transition: color .3s ease; }
.tg-link__icon { flex: none; width: 24px; height: 24px; background-color: currentColor; -webkit-mask-image: url("icons/telegram.svg"); mask-image: url("icons/telegram.svg"); -webkit-mask-size: 20px 15px; mask-size: 20px 15px; -webkit-mask-position: 2px 5px; mask-position: 2px 5px; }
.tg-link:hover { color: var(--gold); }

/* ---------- Анимации появления ---------- */
@keyframes appear-up { from { opacity: .001; transform: perspective(1200px) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes nav-drop { from { opacity: .001; transform: translateY(-150px); } to { opacity: 1; transform: none; } }
[data-appear] { animation: appear-up .9s cubic-bezier(.2, .8, .2, 1) .3s both; }
[data-appear="lead"] { animation-delay: .5s; }
.nav { animation: nav-drop .9s cubic-bezier(.2, .8, .2, 1) 1s both; }

/* Появление при прокрутке — включается скриптом (класс .js на <html>) */
.js [data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal="buy"] { transform: translateY(150px); transition-duration: 1s; }
.js [data-reveal="buy"].buy-card--late { transition-delay: .2s; }
.js [data-reveal="num"], .js [data-reveal="svc"] { transform: translateY(30px); transition-duration: 1s, 1s; transition-timing-function: ease-out, cubic-bezier(.34, 1.45, .64, 1); transition-delay: .2s; }
.js [data-reveal="num"].num-card--late { transition-delay: .35s; }
.js [data-reveal="svc"][data-delay="1"] { transition-delay: .1s; }
.js [data-reveal="svc"][data-delay="2"] { transition-delay: .15s; }
.js [data-reveal="svc"][data-delay="3"] { transition-delay: .2s; }
.js [data-reveal="svc"][data-delay="4"] { transition-delay: .25s; }
.js [data-reveal="cta"] { transition-delay: .4s; }
.js [data-reveal="how"] { transform: translateY(60px); transition-duration: .6s; }
.js [data-reveal="how"].how-card--late { transition-delay: .15s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ====================== Планшет: 700–1199.98px ====================== */
@media (max-width: 1199.98px) {
  .h2 { font-size: 34px; }

  .nav { position: relative; width: 700px; max-width: 100%; margin: 0 auto; padding: 16px; background: #000; animation: none; pointer-events: auto; }
  .nav__bar { flex-wrap: wrap; gap: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__bar::after { display: none; }
  .nav__logo { width: 149px; height: 36px; }
  .nav__burger { display: block; position: relative; flex: none; width: 31px; height: 31px; margin-left: auto; overflow: hidden; }
  .nav__burger span { position: absolute; left: calc(51.6129% - 13.5px); width: 27px; height: 2px; background: var(--gold); transition: transform .4s cubic-bezier(.2, .8, .2, 1), top .4s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
  .nav__burger span:nth-child(1) { top: 6px; }
  .nav__burger span:nth-child(2) { top: calc(51.6129% - 1px); }
  .nav__burger span:nth-child(3) { top: calc(100% - 7px); }
  .nav.is-open .nav__burger span:nth-child(1) { top: calc(51.6129% - 1px); transform: rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { top: calc(51.6129% - 1px); transform: rotate(-45deg); }
  .nav__panel { display: grid; grid-template-rows: 0fr; flex: 0 0 100%; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; }
  .nav.is-open .nav__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .nav--instant .nav__panel, .nav--instant .nav__burger span { transition: none !important; }
  .nav__panel-inner { display: block; min-height: 0; overflow: hidden; }
  .nav__panel-body { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding-top: 24px; }
  .nav__links { flex-direction: column; align-items: flex-start; }
  .nav__actions { flex-direction: row; }

  .hero { justify-content: flex-start; min-height: 70vh; padding: 110px 0 0; }
  .hero__content { width: 100%; }
  .hero__inner { gap: 24px; }
  .hero__text { width: 100%; padding: 0 20px 10px 0; }
  .hero__title { font-size: 50px; line-height: 1; }
  .hero__lead { font-size: 20px; line-height: 1.2; }

  .buy { gap: 30px; padding: 70px 40px; }
  .buy__cards { gap: 15px; }
  .buy-card { height: 220px; padding: 20px 15px; }
  .buy-card__icon { width: 70px; height: 70px; }
  .buy-card__title { font-size: 22px; }

  .numbers { padding: 70px 20px; }
  .numbers__inner { gap: 40px; }
  .numbers__grid { gap: 16px; }
  .num-card, .num-card--short { height: 210px; padding: 20px; }
  .num-card__value, .num-card__counter { font-size: 38px; }
  .num-card__text--payback { font-size: 19px; }

  .services { gap: 40px; padding: 70px 40px; }
  .services__grid { gap: 16px; }
  .services__row { flex-direction: column; gap: 16px; }
  .services__row--bottom { height: auto; }
  .services__col { flex: none; width: 100%; min-width: 0; flex-direction: row; gap: 16px; align-items: stretch; }
  .svc-card { padding: 20px 20px 30px; }
  .svc-card--bloggers { width: 100%; min-width: 0; }
  .svc-card--fb, .svc-card--preroll { flex: 1 0 0; width: 1px; min-width: 20%; }
  .services__row--bottom .svc-card { flex: none; width: 100%; min-width: 20%; height: auto; }
  .svc-card__title { font-size: 30px; }
  .svc-card__list li { align-items: flex-start; }

  .how { padding: 70px 30px; }
  .how__inner { gap: 30px; }
  .how__cards { gap: 16px; height: auto; align-items: stretch; }
  .how-card { height: auto; }
  .how-card--yes { align-self: flex-start; }
  .how-card__title { font-size: 28px; }
  .how-card--yes .how-card__list li { font-size: 16px; }
  .how-card--no .how-card__list { flex: 1 0 0; justify-content: space-between; gap: 0; }

  .benefits { gap: 40px; padding: 70px 40px; }
  .benefits__grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); gap: 15px; }
  .benefit__card { height: 270px; }
  .benefit__icon { width: 70px; height: 70px; }
  .benefit__title { font-size: 24px; }
  .benefit--fix .benefit__title { font-size: 25px; }

  .partners { gap: 30px; padding: 70px 10px; }
  .partners .section-head { padding: 0; }

  .reviews { padding: 70px 20px 70px 30px; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(50px, 1fr)); gap: 14px; }

  .faq { padding: 70px 60px 70px 40px; }

  .contacts { padding: 70px 40px; }
  .contacts__wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "panel" "link"; row-gap: 30px; min-height: 0; }
  .contacts__head { width: 80%; justify-self: center; }
  .contacts__panel { width: 80%; justify-self: center; }
  .contacts__link { justify-self: stretch; }
}

/* h1 оригинала на широких экранах (≥1440px) */
@media (min-width: 1440px) {
  .hero__title { font-size: 64px; line-height: 1.3; }
}

/* ====================== Телефон: <700px ====================== */
@media (max-width: 699.98px) {
  .h2 { font-size: 30px; }

  .nav { position: fixed; top: 0; left: 0; right: 0; width: auto; max-width: none; margin: 0; padding: 16px 20px 7px; animation: nav-drop .9s cubic-bezier(.2, .8, .2, 1) 1s both; }
  .nav__logo { width: 150px; height: 26px; }
  .nav__burger { width: 28px; height: 28px; }
  .nav__burger span:nth-child(3) { top: 21px; }
  .nav__panel-body { align-items: stretch; padding-bottom: 13px; }
  .nav__links { padding: 1px 0; }
  .nav__links a { height: auto; padding: 10px 30px 10px 0; font-size: 20px; }
  .nav__actions { flex-direction: column; gap: 10px; }
  .nav__actions .btn { width: 100%; }

  .hero { min-height: 90vh; padding: 100px 0 0; }
  .hero__content { padding: 0 20px; }
  .hero__inner { gap: 10px; }
  .hero__text { align-items: center; gap: 15px; padding: 0 0 10px; }
  .hero__title { font-size: 30px; line-height: 1.3; text-align: center; }
  .hero__lead { width: 73%; font-size: 16px; text-align: center; text-wrap: balance; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__cta { width: 70%; }
  .hero__cta .glow-btn { display: flex; width: 100%; }

  .buy { padding: 70px 10px; }
  .buy__cards { flex-direction: column; width: 90%; }
  .buy-card { flex: none; width: 100%; height: 200px; padding: 30px 15px; }
  .buy-card__title { font-size: 20px; }

  .numbers { padding: 50px 20px; }
  .numbers__inner { gap: 30px; }
  .numbers__grid { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .num-card, .num-card--short { height: 150px; padding: 20px; }
  .num-card--streamers { height: 170px; }
  .num-card__value, .num-card__counter { font-size: 30px; }
  .num-card__text, .num-card__text--payback { font-size: 18px; }

  .services { gap: 30px; padding: 50px 20px; }
  .services__grid { gap: 20px; }
  .services__row { gap: 20px; }
  .services__col { flex-direction: column; gap: 20px; }
  .svc-card { gap: 20px; }
  .svc-card--fb { gap: 25px; }
  .svc-card--fb, .svc-card--preroll { flex: none; width: 100%; }
  .svc-card__title { font-size: 24px; }
  .svc-card__list li { align-items: center; font-size: 14px; }
  .services__cta { width: 100%; }

  .how { padding: 60px 20px; }
  .how__cards { flex-direction: column; }
  .how-card { flex: none; width: 100%; gap: 16px; padding: 20px 16px; }
  .how-card--yes { align-self: stretch; }
  .how-card__title { font-size: 20px; }
  .how-card__list li, .how-card--yes .how-card__list li { font-size: 16px; }
  .how-card--no .how-card__list { justify-content: center; gap: 10px; }

  .benefits { gap: 30px; padding: 70px 15px; }
  .benefits__grid { grid-auto-rows: 280px; }
  .benefit__card { height: 220px; gap: 16px; padding: 20px 15px; }
  .benefit--fix .benefit__card { height: 280px; gap: 20px; padding: 30px 15px; }
  .benefit__icon { width: 60px; height: 60px; }
  .benefit__title, .benefit--fix .benefit__title { font-size: 20px; }
  .benefit__text { font-size: 14px; }

  .partners { gap: 20px; padding: 50px 10px 40px; }
  .partners__ticker { height: 79px; -webkit-mask-image: none; mask-image: none; }
  .partners__track { animation-duration: calc(3846s / 100); }
  .partners__item img { width: auto; height: 59px; }

  .reviews { gap: 30px; padding: 50px 0; }
  /* По умолчанию (без JS и при «уменьшить движение») — ряд карточек, листается пальцем */
  .reviews__viewport { height: 200px; padding: 10px; display: flex; align-items: center; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: 34px; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%); }
  .reviews__viewport::-webkit-scrollbar { display: none; }
  .reviews__track { display: flex; align-items: center; gap: 10px; flex: none; --shift: 2542px; }
  .reviews__grid { display: flex; align-items: flex-start; gap: 12px; width: max-content; padding: 0 24px; }
  .review { flex: none; width: 300px; padding: 12px; scroll-snap-align: start; }
  .review__top { align-items: flex-start; }
  .review__avatar { width: 24px; height: 24px; }
  .review__text { font-size: 14px; }
  .review__stars--sm { gap: 1px; }
  .review__stars--sm i { -webkit-mask-image: url("icons/star-sm.svg"); mask-image: url("icons/star-sm.svg"); }
  .reviews__cta { width: 70%; }
  .reviews__cta .glow-btn { display: flex; width: 100%; }

  .faq { padding: 50px 20px; }
  .faq__box { padding: 0 20px 2px; }
  .faq__q { padding: 20px 20px 15px 0; }
  .faq__q-text { font-size: 20px; }
  .faq__a { padding: 0 20px 15px 0; }
  .faq__a p { font-size: 14px; line-height: 1.3; }

  .contacts { padding: 50px 20px; }
  .contacts__wrap { row-gap: 20px; }
  .contacts__head, .contacts__panel { width: 100%; }
  .contacts__text { width: 100%; text-wrap: balance; }
  .contacts__link { padding-top: 20px; }
}

/* Лента отзывов на телефоне едет только с JS (есть копия для бесшовного цикла) и без «уменьшить движение» */
@media (max-width: 699.98px) and (prefers-reduced-motion: no-preference) {
  .js .reviews__viewport { overflow: hidden; scroll-snap-type: none; }
  .js .reviews__track { animation-name: ticker; animation-duration: calc(2542s / 100); animation-timing-function: linear; animation-iteration-count: infinite; }
  .js .reviews__grid.is-clone { display: flex; }
}

/* Без JS ролик не запускается, а браузер показал бы у него свои кнопки управления — остаётся постер */
html:not(.js) .hero__video { display: none; }

/* Без JS: меню на планшете и телефоне раскрыто, на телефоне — не поверх страницы */
@media (max-width: 1199.98px) {
  html:not(.js) .nav__burger { display: none; }
  html:not(.js) .nav__panel { grid-template-rows: 1fr; visibility: visible; }
}
@media (max-width: 699.98px) {
  html:not(.js) .nav { position: relative; animation: none; }
  html:not(.js) .hero { padding-top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html.is-loaded { scroll-behavior: auto; }
  [data-appear], .nav { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .glow-btn__stroke, .glow-btn__text { animation: none; }
  /* ленты стоят; логотипы листаются (колесо с Shift, тачпад, палец, стрелки после Tab), дубль не нужен */
  .partners__track, .reviews__track { animation: none; }
  .partners__ticker { height: auto; padding: 10px 10px 14px; overflow-x: auto; overflow-y: hidden; -webkit-mask-image: none; mask-image: none; }
  /* Chrome/Safari: своя полоса видна всегда (стандартные scrollbar-* включили бы скрытую накладную) */
  .partners__ticker::-webkit-scrollbar { height: 6px; }
  .partners__ticker::-webkit-scrollbar-track { background: rgba(226, 196, 114, .12); border-radius: 3px; }
  .partners__ticker::-webkit-scrollbar-thumb { background: rgba(226, 196, 114, .6); border-radius: 3px; }
  @supports not selector(::-webkit-scrollbar) {
    .partners__ticker { scrollbar-width: thin; scrollbar-color: rgba(226, 196, 114, .6) rgba(226, 196, 114, .12); }
  }
  .partners__ticker:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
  .partners__track { padding-right: 10px; }
  .partners__item { width: auto; }
  .partners__item[aria-hidden="true"] { display: none; }
}
