/* Новая главная LP 2.0 (Figma: BB - WmM, 2350:2773). Подключается только на шаблоне
   page-templates/HomeLP2.php. Tailwind здесь не собирается, поэтому классы написаны вручную;
   размеры взяты из макета шириной 1440px. Мобильного макета нет: ниже 1024px секции
   выстраиваются в одну колонку. */

.lp2 {
  --lp2-gold: #ffb400;
  --lp2-teal: #1c3340;
  --lp2-ink: #1b2b36;
  --lp2-grey: #ececec;
  color: var(--lp2-teal);
  font-family: Roboto, sans-serif;
  overflow-x: clip;
}

.lp2 .accent-heading span {
  color: var(--lp2-gold);
}

.lp2-container {
  width: min(1200px, 90%);
  margin-left: auto;
  margin-right: auto;
}

.lp2-heading {
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.04;
}

.lp2-subheading {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.04;
}

.lp2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  border-radius: 50px;
  background: var(--lp2-gold);
  color: var(--lp2-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s;
}

.lp2-button:hover {
  background: #eda700;
}

.lp2-button__arrow {
  width: 20px;
  height: 20px;
  flex: none;
}

.lp2-button--outline {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.lp2-button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lp2-button--outline .lp2-button__arrow {
  filter: brightness(0) invert(1);
}

.lp2-button--large {
  font-size: 20px;
}

.lp2-button--wide {
  width: min(380px, 100%);
  padding: 15px 30px;
  font-size: 16px;
}

.lp2-button--center {
  display: flex;
  margin: 50px auto 0;
}

.lp2-button--block {
  width: 100%;
}

/* Появление при скролле: классы ставит скрипт в HomeLP2.php, только на десктопе. */

.lp2-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--lp2-delay, 0ms);
}

.lp2-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero. */

.lp2-hero {
  position: relative;
  overflow: hidden;
  min-height: 663px;
  background: #1a303d;
  color: #fff;
}

.lp2-hero__circle {
  position: absolute;
  top: 132px;
  left: calc(50% - 9px);
  width: 828px;
  height: 828px;
  border-radius: 50%;
  background: #24404f;
}

.lp2-hero__arrows {
  position: absolute;
  top: 118px;
  left: calc(50% - 825px);
  width: 1644px;
  max-width: none;
  height: 939px;
}

.lp2-hero__glow {
  position: absolute;
  top: 19px;
  left: calc(50% + 73px);
  width: 430px;
  max-width: none;
  height: 708px;
}

.lp2-hero__portrait {
  position: absolute;
  top: 83px;
  left: calc(50% - 11px);
  width: 688px;
  max-width: none;
  height: 667px;
  object-fit: cover;
}

.lp2-hero__signature {
  position: absolute;
  top: 512px;
  left: calc(50% + 222px);
  width: 460px;
}

.lp2-hero__signature img {
  width: 219px;
  height: 113px;
}

.lp2-hero__signature p {
  position: absolute;
  top: 88px;
  left: 55px;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.1;
}

.lp2-hero__content {
  position: relative;
  padding-top: 99px;
  padding-bottom: 100px;
}

.lp2-hero__eyebrow {
  color: #f5b400;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.lp2-hero__title {
  max-width: 726px;
  margin-top: 46px;
  font-size: clamp(38px, 4.86vw, 70px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.lp2-hero__text {
  max-width: 620px;
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.3;
}

.lp2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 37px;
}

.lp2-hero__actions .lp2-button {
  font-size: 16px;
}

/* Trust. */

.lp2-trust {
  padding: 70px 0 41px;
}

.lp2-trust__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.lp2-trust__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.lp2-trust__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: -13px;
}

.lp2-trust__logos img {
  height: auto;
}

/* Видео и польза. */

.lp2-grey {
  background: var(--lp2-grey);
}

.lp2-video {
  padding: 80px 0 96px;
}

.lp2-video__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: 40px;
  border-radius: 15px;
  background: #0b161d;
}

.lp2-video__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp2-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b161d;
}

.lp2-video__overlay[hidden] {
  display: none;
}

.lp2-video__logo {
  position: absolute;
  top: 52px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.lp2-video__logo img:last-child {
  margin-right: 18px;
}

.lp2-benefits {
  padding-bottom: 96px;
}

.lp2-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 52px;
}

.lp2-benefit {
  padding: 34px 37px 22px;
  border-radius: 15px;
  background: #fff;
  color: var(--lp2-ink);
  line-height: 1.3;
}

.lp2-benefit--dark {
  background: var(--lp2-teal);
  color: #fff;
}

.lp2-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 63px;
  border-radius: 50%;
  background: var(--lp2-gold);
}

.lp2-benefit__title {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 700;
}

.lp2-benefit__value {
  margin-top: 13px;
  font-size: 40px;
  font-weight: 700;
}

.lp2-benefit__text {
  padding-bottom: 8px;
  border-bottom: 1px solid #c0c0c0;
  font-size: 18px;
}

.lp2-benefit__note {
  margin-top: 16px;
  font-size: 13px;
}

/* Плитки: общий партиал home-tiles, отличаются только скругление и фон. */

.lp2-tiles {
  padding-top: 22px;
}

.lp2-tiles .rounded-3xl {
  border-radius: 15px;
}

@media (min-width: 1280px) {
  .lp2-tiles .tile-text {
    --tile-text-pad-top: 55px !important;
    --tile-text-pad-left: 47px !important;
  }

  .lp2-tiles .bg-primary .tile-text {
    --tile-text-pad-right: 73px !important;
  }

  /* «Finde heraus…»: заголовок должен остаться в три строки, как в макете. */
  .lp2-tiles .xl\:flex-row-reverse .bg-primary .tile-text {
    --tile-text-pad-right: 40px !important;
  }

  /* Три ряда логотипов: текст должен уместиться в три строки над ними. */
  .lp2-tiles .tile-text.tiles-first-text {
    --tile-text-pad-top: 40px !important;
    --tile-text-pad-right: 338px;
  }
}

.lp2-tiles .zoom-animation.bg-secondary:not(.flex-auto) .tile-text div {
  max-width: 183px;
  font-weight: 700;
}

/* Плитка «Sichtbar…»: планшет правее, чтобы его угол не заходил на заголовок и текст. */
.lp2-tiles .zoom-animation.bg-secondary.flex-auto > img {
  transform: translateX(8%);
}

.lp2-tiles .bg-\[\#F3F3F3\],
.lp2-tiles .bg-\[\#f3f3f3\] {
  background-color: var(--lp2-grey);
}

/* CTA. */

.lp2-cta {
  padding: 40px 0 50px;
  text-align: center;
}

.lp2-cta--dark {
  padding: 70px 0 70px;
  background: #2d4f61;
  color: #fff;
}

.lp2-cta__title {
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.04;
}

.lp2-cta--dark .lp2-cta__title {
  margin-bottom: 40px;
  font-size: clamp(28px, 2.8vw, 40px);
}

.lp2-cta__label {
  margin: 24px 0 9px;
  font-size: 14px;
  line-height: 1.04;
}

.lp2-cta__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.lp2-cta__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 10px 30px;
  border: 2px solid var(--lp2-grey);
  border-radius: 50px;
  font-size: 18px;
  line-height: 1.04;
  text-align: left;
}

.lp2-cta__pill strong {
  font-weight: 700;
}

.lp2-cta__pill small {
  margin-left: 10px;
  font-size: 14px;
}

.lp2-cta__note {
  max-width: 295px;
  margin: 10px 0 0 66px;
  font-size: 14px;
  line-height: 1.04;
  text-align: left;
}

/* Markenanalyse. */

.lp2-analysis {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background: var(--lp2-teal);
  color: #fff;
}

.lp2-analysis__glow {
  position: absolute;
  top: 0;
  left: calc(50% - 60px);
  width: 806px;
  max-width: none;
  height: 741px;
}

.lp2-analysis .lp2-container {
  position: relative;
}

.lp2-analysis__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 616px;
  gap: 60px;
}

.lp2-analysis__intro {
  position: relative;
  padding-left: 8px;
}

.lp2-analysis__intro .lp2-heading {
  max-width: 482px;
}

.lp2-analysis__text {
  max-width: 506px;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lp2-analysis__score {
  position: relative;
  height: 400px;
  margin-top: 16px;
}

.lp2-analysis__score img {
  position: absolute;
  max-width: none;
}

.lp2-analysis__bars {
  top: 303px;
  left: -17px;
  width: 509px;
  height: 354px;
}

.lp2-analysis__ring,
.lp2-analysis__ring-gold {
  top: 16px;
  left: 90px;
  width: 396px;
  height: 396px;
}

.lp2-analysis__ring-gold {
  left: 228px;
  width: 258px;
  height: 248px;
}

.lp2-analysis__line {
  top: 270px;
  left: -86px;
  width: 479px;
  height: 165px;
}

.lp2-analysis__report {
  top: 0;
  left: -24px;
  width: 230px;
}

.lp2-analysis__score .lp2-analysis__score-text {
  position: absolute;
  top: 124px;
  left: 144px;
  width: 288px;
  text-align: center;
}

.lp2-analysis__score-text img {
  position: static;
  margin: 0 auto 8px;
}

.lp2-analysis__score-text p {
  font-size: 30px;
  line-height: 1.04;
}

.lp2-analysis__score-text strong {
  display: block;
  color: var(--lp2-gold);
  font-weight: 700;
}

.lp2-analysis__card {
  padding: 37px 26px;
  border-radius: 15px;
  background: #fff;
  color: var(--lp2-teal);
}

.lp2-analysis__card h3 {
  margin-bottom: 18px;
  color: var(--lp2-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.lp2-analysis__card li {
  position: relative;
  padding: 8px 0 8px 27px;
  font-size: 20px;
  line-height: 1.3;
}

.lp2-analysis__card li::before {
  content: "✓";
  position: absolute;
  left: 0;
}

.lp2-analysis__card .lp2-button {
  margin-top: 22px;
}

.lp2-analysis__note {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.04;
}

.lp2-analysis__quote {
  display: flex;
  gap: 17px;
  margin: 52px 0 0 26px;
}

.lp2-analysis__quote img {
  flex: none;
  width: 79px;
  height: 79px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.lp2-analysis__quote blockquote {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lp2-analysis__quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.04;
}

.lp2-analysis__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 84px;
}

.lp2-analysis__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 83px;
  padding: 0 19px;
  border-radius: 15px;
  background: var(--lp2-grey);
  color: var(--lp2-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.lp2-analysis__steps span {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lp2-gold);
}

/* ROI. */

.lp2-roi {
  position: relative;
  overflow: hidden;
  min-height: 658px;
  padding: 80px 0 60px;
}

.lp2-roi__visual {
  position: absolute;
  top: 0;
  left: calc(50% - 160px);
  width: 880px;
  height: 658px;
}

.lp2-roi__arrows {
  width: 100%;
  height: auto;
}

.lp2-roi__portrait {
  position: absolute;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  aspect-ratio: 1;
}

/* Координаты в процентах от слоя 880×658: портреты и облака масштабируются вместе со стрелками. */

.lp2-roi__portrait--anja {
  top: 22.34%;
  left: 25.91%;
  width: 16.25%;
}

.lp2-roi__portrait--christian {
  top: 19.45%;
  left: 67.73%;
  width: 13.64%;
}

.lp2-roi__portrait--philipp {
  top: 58.81%;
  left: 35%;
  width: 15.23%;
}

.lp2-roi__cloud {
  position: absolute;
  max-width: none;
}

.lp2-roi__cloud--a {
  top: 43.01%;
  left: 53.52%;
  width: 34.89%;
}

.lp2-roi__cloud--b {
  top: 71.28%;
  left: 54.66%;
  width: 24.55%;
}

.lp2-roi__content {
  position: relative;
  max-width: 534px;
}

.lp2-roi__text {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lp2-roi__list {
  margin: 24px 0 37px;
}

.lp2-roi__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--lp2-ink);
  font-size: 18px;
  font-weight: 700;
}

.lp2-roi__list span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lp2-grey);
}

/* Roadmap, шаг 2: жёлтые обложки вместо кадров. Рамки, полосы, пауза и время — общие классы
   .roadmap-visual из style.css; проценты считаются от рамки 327×219, шрифты — от карточки 537. */

.roadmap-visual--videos-yellow .roadmap-visual__clip {
  background: #244152;
}

.roadmap-visual--videos-yellow .roadmap-visual__video {
  background: #ffb400;
  /* 35px от карточки 537: подобрано по рендеру макета, тень короче, чем у кадров на главной. */
  box-shadow: 0 0 6.518cqw rgba(0, 0, 0, 0.65);
}

.roadmap-visual--videos-yellow .roadmap-visual__bar span {
  background: #274f65;
}

.roadmap-visual .roadmap-visual__photo {
  height: auto;
}

.roadmap-visual .roadmap-visual__photo--back {
  top: -19.17%;
  left: 14.59%;
  width: 103.33%;
  transform: rotate(12.74deg);
}

.roadmap-visual .roadmap-visual__photo--front {
  top: -3.21%;
  left: 16.22%;
  width: 119.17%;
  transform: rotate(-12.6deg);
}

.roadmap-visual .roadmap-visual__cover-title {
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
}

.roadmap-visual .roadmap-visual__cover-title--back {
  top: 50.23%;
  left: 15.9%;
  width: 46.48%;
  font-size: 4.469cqw;
}

.roadmap-visual .roadmap-visual__cover-title--front {
  top: 47.49%;
  left: 5.81%;
  width: 63.3%;
  font-size: 5.587cqw;
}

.roadmap-visual .roadmap-visual__cover-logo {
  top: 13.24%;
  left: 6.12%;
  width: 32.72%;
  height: auto;
}

.roadmap-visual .roadmap-visual__cover-logo-by {
  top: 19.9%;
  left: 21.74%;
  width: 13.74%;
  height: auto;
}

/* Кейсы и отзывы. */

.lp2-proof {
  padding: 80px 0 42px;
}

.lp2-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.lp2-proof__item {
  color: var(--lp2-ink);
  font-size: 18px;
  line-height: 1.3;
}

.lp2-proof__item > img {
  width: 100%;
  aspect-ratio: 282 / 305;
  border-radius: 15px;
  object-fit: cover;
  object-position: top;
}

.lp2-proof__value {
  margin-top: 10px;
  color: var(--lp2-gold);
  font-size: 42px;
  font-weight: 700;
}

.lp2-proof__metric {
  margin-top: 6px;
  font-weight: 700;
}

.lp2-proof__quote {
  margin-top: 6px;
}

.lp2-proof__author {
  margin-top: 6px;
  font-size: 14px;
}

.lp2-reviews {
  padding: 0 0 60px;
}

.lp2-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.lp2-review__head {
  display: flex;
  gap: 15px;
  font-size: 16px;
  line-height: 1.2;
}

.lp2-review__avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 70px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
}

.lp2-review__title {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.04;
}

.lp2-review__text {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

/* Цифры и команда. */

.lp2-stats {
  padding: 80px 0 86px;
  background: var(--lp2-grey);
}

.lp2-stats__title {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.04;
}

.lp2-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.lp2-stat {
  padding: 28px 24px;
  border-radius: 15px;
  background: var(--lp2-gold);
}

.lp2-stat__value {
  color: var(--lp2-ink);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.lp2-stat__label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.lp2-team {
  padding: 62px 0 90px;
  background: var(--lp2-teal);
  color: #fff;
  scroll-margin-top: 70px;
}

.lp2-team__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.lp2-team__text {
  flex: 0 0 395px;
}

.lp2-team__lead {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lp2-team__body {
  margin-top: 20px;
  color: #a9c8da;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lp2-team__people {
  position: relative;
  flex: none;
  width: 724px;
  height: 704px;
}

.lp2-person {
  position: absolute;
  width: 228px;
  height: 257px;
  border-radius: 21px;
  background: #98502b;
  box-shadow: 0 5px 9px rgba(0, 0, 0, 0.25);
}

.lp2-person::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  z-index: -1;
  width: 328px;
  height: 373px;
  background: url("../assets/lp2/team-glow.svg") center / 100% 100% no-repeat;
}

.lp2-team__people {
  isolation: isolate;
}

.lp2-person__clip {
  position: absolute;
  top: var(--lp2-pop);
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 0 0 21px 21px;
}

.lp2-person__clip img {
  position: absolute;
  top: 0;
  left: var(--lp2-x);
  width: var(--lp2-w);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.lp2-person__clip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 116px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4) 86%);
}

.lp2-person__name {
  position: absolute;
  bottom: 27px;
  left: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.04;
}

.lp2-person--1 {
  --lp2-pop: -20px;
  --lp2-x: -31px;
  --lp2-w: 305px;
  top: 215px;
  left: 0;
}

.lp2-person--2 {
  --lp2-pop: -31px;
  --lp2-x: -42px;
  --lp2-w: 304px;
  top: 46px;
  left: 247px;
}

.lp2-person--3 {
  --lp2-pop: -22px;
  --lp2-x: -45px;
  --lp2-w: 309px;
  top: 347px;
  left: 247px;
}

.lp2-person--4 {
  --lp2-pop: -46px;
  --lp2-x: -32px;
  --lp2-w: 273px;
  top: 112px;
  left: 496px;
}

.lp2-person--5 {
  --lp2-pop: -32px;
  --lp2-x: -34px;
  --lp2-w: 333px;
  top: 423px;
  left: 496px;
}

/* Без мобильного макета: одна колонка, декоративные слои упрощены. */

@media (max-width: 1239px) {
  .lp2-analysis__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .lp2-analysis__score {
    display: none;
  }

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

  .lp2-team__text {
    flex: none;
    max-width: 620px;
  }

  .lp2-team__people {
    align-self: center;
  }

  .lp2-roi__visual {
    left: calc(50% - 60px);
  }
}

@media (max-width: 1023px) {
  .lp2-hero {
    min-height: 0;
    padding-bottom: 340px;
  }

  .lp2-hero__content {
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .lp2-hero__portrait,
  .lp2-hero__glow {
    top: auto;
    bottom: -40px;
    left: 50%;
    width: 380px;
    height: 368px;
    transform: translateX(-50%);
  }

  .lp2-hero__circle {
    top: auto;
    bottom: -155px;
    left: 50%;
    width: 458px;
    height: 458px;
    transform: translateX(-50%);
  }

  .lp2-hero__arrows {
    top: 70px;
  }

  .lp2-hero__signature {
    display: none;
  }

  .lp2-benefits__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Горизонтальные ленты выходят за контейнер до краёв экрана. */

  .lp2-trust__logos,
  .lp2-reviews__grid {
    display: flex;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: 5vw;
    padding-left: 5vw;
    overflow-x: auto;
    scroll-padding-left: 5vw;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .lp2-trust__logos::-webkit-scrollbar,
  .lp2-reviews__grid::-webkit-scrollbar {
    display: none;
  }

  .lp2-trust__logos {
    justify-content: flex-start;
    gap: 20px;
    margin-top: 12px;
    scroll-snap-type: x proximity;
  }

  .lp2-trust__logos li {
    flex: none;
    scroll-snap-align: start;
  }

  .lp2-trust__logos img {
    width: 88px;
  }

  .lp2-reviews__grid {
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .lp2-review {
    flex: 0 0 min(82vw, 340px);
    scroll-snap-align: start;
  }

  .lp2-video {
    padding: 56px 0 64px;
  }

  .lp2-analysis__main,
  .lp2-analysis__steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp2-analysis__steps {
    gap: 12px;
    margin-top: 40px;
  }

  .lp2-roi {
    padding-bottom: 0;
  }

  .lp2-roi__visual {
    position: relative;
    left: 50%;
    order: 2;
    width: min(113vw, 640px);
    height: auto;
    aspect-ratio: 880 / 658;
    transform: translateX(-50%);
  }

  .lp2-roi {
    display: flex;
    flex-direction: column;
  }

  .lp2-roi__portrait {
    border-width: 2px;
  }

  .lp2-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp2-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp2-team__people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 16px;
    width: 100%;
    height: auto;
    padding-top: 40px;
  }

  .lp2-person {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .lp2-person::before {
    display: none;
  }
}

/* До 768px браузер берёт вертикальный файл *-s.mp4. */
@media (max-width: 767px) {
  .lp2-video__frame {
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 639px) {
  /* Три ряда логотипов не должны упираться в текст плитки. */
  .lp2-tiles .zoom-animation.bg-secondary.flex-auto {
    height: 490px;
  }

  .lp2-hero__actions .lp2-button,
  .lp2-roi .lp2-button {
    width: 100%;
  }

  .lp2-button {
    padding: 16px 20px;
    font-size: 16px;
  }

  .lp2-cta__title {
    font-size: 24px;
  }

  .lp2-cta__pill {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .lp2-cta__pill small {
    margin-left: 38px;
  }

  .lp2-cta__note {
    margin-left: 20px;
  }

  .lp2-proof__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lp2-stat__value {
    font-size: 32px;
  }
}
