/* ============ Base ============ */
:root {
  --dark: #0a2233;
  --ink: #1d2b36;
  --text: #3a4650;
  --muted: #6b7780;
  --green: #22b573;
  --green-soft: #e8f7ef;
  --red: #ff4b3b;
  --orange: #ff6a3d;
  --tg1: #1fa9e8;
  --tg2: #46b6f8;
  --card: #eaf6f6;
  --bg: #fafafa;
  --radius: 14px;
  --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
em { font-style: normal; }
[hidden] { display: none !important; }
#advantages, #interviews, #reviews, #trustpilot, #faq { scroll-margin-top: 72px; }
.center { display: flex; justify-content: center; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 100; background: var(--dark); }
.header__wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: relative;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo__icon { width: 36px; height: 28px; object-fit: contain; }
.logo__text { color: #fff; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.header__nav { display: none; }

/* ============ Telegram button ============ */
.btn-tg {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  color: #fff; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(98deg, var(--tg1) 0%, var(--tg2) 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25), 0 6px 18px rgba(31,169,232,.3);
  border-radius: 10px; border-top-right-radius: 0;
  transition: transform .2s, filter .2s;
}
.btn-tg:hover { filter: brightness(1.06); }
.btn-tg:active { transform: scale(.98); }
.btn-tg__icon { display: flex; border-right: 1px solid rgba(255,255,255,.25); }
.btn-tg__icon svg { width: 100%; height: 100%; }
.btn-tg__ribbon {
  position: absolute; top: 0; right: 0;
  background: var(--red); color: #fff;
  text-align: center; font-weight: 700;
  transform-origin: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.btn-tg--sm { height: 38px; padding: 0 36px 0 12px; gap: 8px; font-size: 12px; }
.btn-tg--sm .btn-tg__icon { width: 26px; height: 18px; padding-right: 8px; }
.btn-tg--sm .btn-tg__ribbon { width: 80px; font-size: 10px; line-height: 15px; transform: translate(28px, 8px) rotate(45deg); }
.btn-tg--lg { height: 52px; padding: 0 48px 0 16px; gap: 12px; font-size: 15px; width: 100%; }
.btn-tg--lg .btn-tg__icon { width: 36px; height: 22px; padding-right: 12px; }
.btn-tg--lg .btn-tg__ribbon { width: 100px; font-size: 12px; line-height: 19px; transform: translate(32px, 12px) rotate(45deg); }
.btn-tg--center { width: auto; min-width: 290px; justify-content: center; margin-top: 24px; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #e2e7ea 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 60px 0 auto 0; height: 420px;
  background-image: radial-gradient(rgba(10,34,51,.13) 1.2px, transparent 1.4px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 30%, transparent 75%);
  pointer-events: none;
}

/* press marquee */
.press { position: relative; background: #fff; overflow: hidden; border-bottom: 1px solid #eef1f3; }
.press__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.press:hover .press__track { animation-play-state: paused; }
.press__group { display: flex; align-items: center; gap: 36px; padding: 12px 18px; }
.press__group a { display: block; flex-shrink: 0; transition: opacity .2s; }
.press__logo {
  height: 20px; width: auto; max-width: none;
  filter: grayscale(1) brightness(0); opacity: .38;
  transition: opacity .2s, filter .2s;
}
.press__logo--tall { height: 26px; }
.press__group a:hover .press__logo { opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero__wrap {
  position: relative; max-width: 1440px; margin: 0 auto;
  padding: 14px var(--gutter) 24px;
  display: grid; gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "media" "actions" "adv";
}
.hero__text { grid-area: text; }
.hero__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}
.hero__title em { color: var(--green); }
.hero__check { width: 34px; height: 34px; color: var(--green); flex-shrink: 0; transform: translateY(-6px); }
.hero__sub { margin-top: 6px; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.hero__sub em { color: var(--green); }

.hero__media { grid-area: media; }
.hero__video {
  position: relative; width: 100%; aspect-ratio: 16 / 11;
  border-radius: 16px; overflow: hidden; background: #0f2a3c;
  box-shadow: 0 10px 30px rgba(10,34,51,.12);
}
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__video--placeholder {
  background:
    radial-gradient(circle at 70% 30%, rgba(132,206,111,.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(31,169,232,.35), transparent 55%),
    linear-gradient(135deg, #0a2233, #12394f);
  display: flex; align-items: center; justify-content: center;
}
.hero__play {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.hero__play svg { width: 34px; height: 34px; margin-left: 4px; }
.hero__caption {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(0,0,0,.55); color: #fff; font-size: 15px; padding: 2px 8px; border-radius: 3px; white-space: nowrap;
}

.hero__actions { grid-area: actions; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-card {
  width: 100%; display: flex; gap: 8px; align-items: stretch;
  background: rgba(255,255,255,.9); border-radius: 14px; padding: 8px;
  box-shadow: 0 4px 20px rgba(10,34,51,.08);
}
.cta-card .btn-tg--lg { flex: 1 1 58%; min-width: 0; padding-right: 40px; font-size: 13.5px; gap: 10px; }
.cta-card .btn-tg--lg .btn-tg__icon { width: 32px; padding-right: 10px; }
.timer {
  flex: 1 1 42%; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(180deg, #ff8a5c, var(--orange));
  border-radius: 10px; color: #fff; padding: 5px 6px;
  box-shadow: 0 6px 16px rgba(255,106,61,.3);
}
.timer__title { font-size: 10.5px; font-weight: 600; line-height: 1.15; text-align: center; letter-spacing: -.01em; }
.timer__box {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  width: 100%; border-radius: 6px; background: rgba(255,255,255,.18);
  font-size: 10px; text-transform: uppercase; opacity: .95; padding: 2px 0;
}
.timer__box b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer__box b + * { margin-right: 4px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #146c48;
}
.chip__play {
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1px #d8efe3;
  display: flex; align-items: center; justify-content: center; color: #146c48;
}
.chip__play svg { width: 12px; height: 12px; margin-left: 2px; }
.chip:hover .chip__play { background: var(--green-soft); }
.badge {
  font-size: 13px; color: var(--text); background: #fff;
  padding: 6px 14px; border-radius: 999px; box-shadow: 0 0 0 1px #e3e8eb;
}
.badge em { color: #146c48; font-weight: 700; }

/* advantages */
.adv { grid-area: adv; list-style: none; display: grid; gap: 8px; }
.adv__item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border-radius: 12px; padding: 10px 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset;
}
.adv__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: center; }
.adv__icon svg { width: 22px; height: 22px; }
.adv__title { font-size: 17px; font-weight: 600; color: var(--ink); line-height: 36px; }
.adv__text { font-size: 13px; color: var(--text); margin-top: 2px; }
.adv__text b { color: var(--ink); }

/* ============ Sections ============ */
.section { padding: 36px 0; }
.section__wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section__wrap--narrow { max-width: 860px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section__title { font-size: 22px; font-weight: 700; color: var(--dark); letter-spacing: -.01em; margin-bottom: 16px; }
.section__head .section__title { margin-bottom: 16px; }
.section__title--center { text-align: center; }

/* ============ Interviews ============ */
.interviews { background: #fff; }
.slider-nav { display: none; gap: 8px; margin-bottom: 16px; }
.slider-nav__btn {
  width: 40px; height: 40px; border-radius: 50%; background: #f0f3f5; color: var(--dark);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.slider-nav__btn:hover { background: #e2e8ec; }
.slider-nav__btn svg { width: 20px; height: 20px; transform: rotate(90deg); }
.slider-nav__btn[data-slide="1"] svg { transform: rotate(-90deg); }
.yt-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.yt-row::-webkit-scrollbar { display: none; }
.yt { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.yt__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #dde3e7; }
.yt__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.yt:hover .yt__thumb img { transform: scale(1.04); }
.yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.yt__play svg { width: 58px; height: 58px; color: #ff0000; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.yt__play::before { content: ""; position: absolute; width: 22px; height: 18px; background: #fff; }
.yt__play svg { position: relative; }
.yt__title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ============ Reviews ============ */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tile {
  position: relative; aspect-ratio: 9 / 12; border-radius: 12px; overflow: hidden; background: #d9dfe3;
}
.tile video { width: 100%; height: 100%; object-fit: cover; }
.tile__play {
  position: absolute; left: 10px; bottom: 10px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(34,181,115,.85); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(255,255,255,.35);
  transition: transform .2s;
}
.tile__play svg { width: 16px; height: 16px; margin-left: 2px; }
.tile:hover .tile__play { transform: scale(1.08); }
.tile.is-playing .tile__play { display: none; }
.tile--extra { display: none; }
.reviews__grid.is-open .tile--extra { display: block; }
.more {
  display: flex; align-items: center; gap: 8px; margin: 18px auto 0;
  color: var(--green); font-weight: 600; font-size: 15px;
}
.more svg { width: 18px; height: 18px; transition: transform .2s; }
.more.is-open svg { transform: rotate(180deg); }

/* ============ FAQ ============ */
.faq__list { display: grid; gap: 8px; }
.faq__item { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #edf0f2; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px; font-size: 15px; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item p { padding: 0 16px 16px; font-size: 14px; color: var(--text); }

.socials { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.socials__item {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform .2s;
}
.socials__item:hover { transform: translateY(-2px); }
.socials__item svg { width: 22px; height: 22px; }
.socials__item--x { background: #000; }
.socials__item--tg { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.socials__item--tg svg { margin-left: -2px; }
.socials__item--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.socials__item--tt { background: #000; }
.socials__item--yt { background: #ff0000; }

/* ============ Footer ============ */
.footer { background: var(--dark); color: rgba(255,255,255,.7); margin-top: 20px; }
.footer__wrap { max-width: 1440px; margin: 0 auto; padding: 28px var(--gutter) 24px; font-size: 12.5px; }
.footer h4 { color: #fff; font-size: 13px; margin-bottom: 8px; }
.footer p + p { margin-top: 8px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
}
.footer__copy { font-size: 12px; }

/* ============ Modal ============ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--gutter); }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4,16,25,.82); }
.modal__box { position: relative; width: 100%; max-width: 960px; }
.modal__box--vertical { max-width: 420px; }
.modal__body { border-radius: 14px; overflow: hidden; background: #000; }
.modal__body iframe, .modal__body video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.modal__box--vertical .modal__body video { aspect-ratio: 9 / 16; max-height: 82vh; }
.modal__placeholder { color: #fff; text-align: center; padding: 60px 20px; font-size: 16px; }
.modal__close {
  position: absolute; right: 0; top: -44px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 26px; line-height: 36px; text-align: center;
}
body.is-locked { overflow: hidden; }

/* ============ Trustpilot ============ */
/* По образцу стандартного виджета «Carousel»: сводка + лента карточек. */
.tp { background: #fff; }
.tp__box { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tp__summary { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #191919; text-align: center; }
.tp__word { font-size: 24px; font-weight: 700; }
.tp__based { font-size: 14px; }
.tp__logo { display: inline-flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #191919; }
.tp__logo svg { width: 24px; height: 24px; }

.tp__stars { display: inline-flex; gap: 2px; }
.tp__star { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.tp__star svg { width: 80%; height: 80%; }
.tp__stars--lg { gap: 3px; }
.tp__stars--lg .tp__star { width: 30px; height: 30px; }

.tp__carousel { position: relative; width: 100%; min-width: 0; }
.tp__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%;
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
  scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.tp__track::-webkit-scrollbar { display: none; }
.tp__card {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px;
  color: #191919; font-size: 14px; line-height: 1.43; min-width: 0;
}
.tp__title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp__text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; overflow-wrap: anywhere; white-space: pre-line;
}
.tp__meta { font-size: 12px; color: #6c6c85; margin-top: auto; }
.tp__meta b { font-weight: 600; color: #191919; }
.tp__arrow { display: none; }
.tp__arrow.is-off { visibility: hidden; opacity: 0; pointer-events: none; }
.tp__note { margin-top: 14px; text-align: center; font-size: 12px; color: #6c6c85; }

/* ============ Tablet ============ */
@media (min-width: 640px) {
  .tp__track { grid-auto-columns: calc((100% - 32px) / 2.4); }
  :root { --gutter: 32px; }
  .hero__title { font-size: 52px; }
  .hero__check { width: 42px; height: 42px; }
  .hero__sub { font-size: 24px; }
  .cta-card { max-width: 520px; }
  .yt-row { grid-auto-columns: calc((100% - 24px) / 2.3); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .section__title { font-size: 28px; }
}

/* ============ Desktop ============ */
@media (min-width: 1024px) {
  :root { --gutter: 60px; }
  .header__wrap { padding-top: 12px; padding-bottom: 12px; }
  .logo__icon { width: 42px; height: 32px; }
  .logo__text { font-size: 18px; }
  .header__nav {
    display: flex; gap: 40px;
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .header__nav a { color: #fff; font-size: 14px; font-weight: 500; transition: opacity .2s; }
  .header__nav a:hover { opacity: .7; }
  .btn-tg--sm { height: 40px; padding: 0 44px 0 16px; font-size: 13px; }

  .press__group { gap: 64px; padding: 14px 32px; }
  .press__track { animation-duration: 40s; }
  .press__logo { height: 22px; }
  .press__logo--tall { height: 30px; }

  .hero__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "text media" "actions media" "adv adv";
    grid-template-rows: auto 1fr auto;
    column-gap: 80px; row-gap: 20px;
    padding-top: 24px; padding-bottom: 20px;
  }
  .hero__text { align-self: end; }
  .hero__title { font-size: 64px; }
  .hero__check { width: 48px; height: 48px; transform: translateY(-10px); }
  .hero__sub { font-size: 28px; }
  .hero__video { aspect-ratio: 16 / 9; border-radius: 28px; }
  .hero__play { width: 88px; height: 88px; }
  .hero__caption { font-size: 22px; bottom: 60px; }
  .hero__actions { align-items: flex-start; align-self: start; }
  .cta-card { width: auto; max-width: none; padding: 14px; gap: 14px; }
  .cta-card .btn-tg--lg { flex: none; width: 285px; font-size: 14.5px; }
  .timer { flex: none; width: 160px; }
  .chips { justify-content: flex-start; }

  .adv { grid-template-columns: repeat(3, 1fr); }
  .adv__item { padding: 14px; }
  .adv__icon { width: 44px; height: 44px; }
  .adv__icon svg { width: 26px; height: 26px; }
  .adv__title { line-height: 1.3; }
  .adv__text { font-size: 12.5px; margin-top: 6px; }

  .section { padding: 48px 0; }
  .section__title { font-size: 30px; margin-bottom: 24px; }
  .section__head .section__title { margin-bottom: 24px; }
  .slider-nav { display: flex; margin-bottom: 24px; }
  .yt-row { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; margin: 0; padding: 0 0 6px; scroll-padding: 0; }
  .reviews__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tile { aspect-ratio: 9 / 13; border-radius: 16px; }
  .tile__play { width: 60px; height: 60px; left: 14px; bottom: 14px; }
  .tile__play svg { width: 24px; height: 24px; }
  .faq__item summary { font-size: 16px; padding: 18px 20px; }

  /* Сводка сверху по центру, лента под ней на всю ширину — как на телефоне.
     Сбоку сводка выглядела криво: 200px текста против ленты во всю строку. */
  .tp__box { gap: 24px; }
  .tp__carousel { padding: 0 48px; }
  .tp__track { grid-auto-columns: calc((100% - 48px) / 4); margin: 0; padding: 2px 0 6px; scroll-padding: 0; }
  .tp__arrow {
    display: flex; position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px;
    border-radius: 50%; background: #fff; border: 1px solid #dcdce6; color: #191919;
    align-items: center; justify-content: center; transition: background .2s, opacity .2s;
  }
  .tp__arrow:hover { background: #f1f1f5; }
  .tp__arrow svg { width: 18px; height: 18px; }
  .tp__arrow--prev { left: 0; }
  .tp__arrow--prev svg { transform: rotate(90deg); }
  .tp__arrow--next { right: 0; }
  .tp__arrow--next svg { transform: rotate(-90deg); }
  .faq__item p { padding: 0 20px 18px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .press__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ====== Hero video: кнопка «тап для звука» поверх автоплей-превью ====== */
.hero__video-el { display: block; background: #0f2a3c; }
.hero__unmute {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; margin: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(10,34,51,.05), rgba(10,34,51,.28));
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: opacity .25s ease;
}
.hero__video.is-live .hero__unmute { opacity: 0; pointer-events: none; }
