/* ============================================================
   БУКШЕРИНГ — стили главной страницы.
   Размеры и цвета соответствуют оригинальным зеро-блокам Тильды.
   ============================================================ */

/* ---------- Hero ---------- */
.hero { padding: 80px 0 30px; }
.hero .container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.hero__text { width: 460px; flex: none; padding-top: 60px; }
.hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.15;
  color: var(--c-teal-dark);
}
.hero__lead {
  margin-top: 96px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-ink-deep);
  opacity: .8;
  width: 362px;
}
.hero__points {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.55;
  width: 326px;
}
.hero__btn { margin-top: 36px; width: 273px; }
.hero__img { flex: 1; max-width: 674px; margin-top: 12px; }
.hero__more {
  display: block;
  width: 190px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--c-ink);
}
.hero__more::after {
  content: '';
  display: block;
  width: 14px; height: 14px;
  margin: 5px auto 0;
  border-right: 2px solid var(--c-ink);
  border-bottom: 2px solid var(--c-ink);
  transform: rotate(45deg);
}

@media (max-width: 1199px) {
  .hero { padding-top: 40px; }
  .hero__title { font-size: 44px; }
  .hero__text { width: 420px; }
}
@media (max-width: 959px) {
  .hero .container { flex-direction: column; }
  .hero__text { width: 100%; padding-top: 0; }
  .hero__lead { margin-top: 40px; }
  .hero__img { max-width: min(620px, 100%); margin: 0 auto; }
}
@media (max-width: 639px) {
  .hero { padding: 30px 0 20px; }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 16px; margin-top: 24px; width: 100%; }
  .hero__points { font-size: 15px; width: 100%; }
  .hero__btn { width: 100%; margin-top: 26px; }
  .hero__more { display: none; }
}

/* ---------- Бирюзовая полоса-девиз ---------- */
.band {
  background: var(--c-teal);
  height: 220px;
  display: flex;
  align-items: center;
}
.band__text {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: #fff;
  text-align: center;
  max-width: 976px;
  margin: 0 auto;
}
@media (max-width: 1199px) { .band { height: 177px; } .band__text { font-size: 34px; } }
@media (max-width: 959px)  { .band { height: 180px; } .band__text { font-size: 28px; } }
@media (max-width: 639px)  { .band { height: 180px; } .band__text { font-size: 24px; line-height: 1.2; } }

/* ---------- Преимущества (5 строк) ---------- */
.benefits { padding: 70px 0 40px; }
.benefits__row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 62px;
}
.benefits__icon { width: 130px; flex: none; }
.benefits__row:nth-child(4) .benefits__icon { width: 140px; }
.benefits__row:nth-child(5) .benefits__icon { width: 150px; }
.benefits__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 30px;
  line-height: .95;
  color: var(--c-teal-mid);
  padding-top: 10px;
}
.benefits__text {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.55;
  max-width: 645px;
}
@media (max-width: 639px) {
  .benefits { padding-top: 40px; }
  .benefits__row { flex-direction: column; gap: 14px; margin-bottom: 44px; }
  .benefits__icon { width: 90px !important; }
  .benefits__title { font-size: 24px; padding-top: 0; }
  .benefits__text { font-size: 16px; }
}

/* ---------- Заголовки секций ---------- */
.section-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.15;
  color: var(--c-teal-dark);
  padding: 70px 0 0;
}
@media (max-width: 959px) { .section-title { font-size: 38px; } }
@media (max-width: 639px) { .section-title { font-size: 28px; padding-top: 44px; } }

/* ---------- Почему нас выбирают (T493) ---------- */
.why { padding: 50px 0 10px; }
.why .container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.why__items { flex: 1; }
.why__item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}
.why__item-icon { width: 100px; height: 100px; flex: none; }
.why__item-title {
  font-family: var(--f-head);
  font-size: 30px;
  line-height: 1.1;
  color: var(--c-teal-mid);
}
.why__item-text {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.55;
}
.why__img { width: 470px; flex: none; }
@media (max-width: 959px) {
  .why .container { flex-direction: column-reverse; }
  .why__img { width: 360px; }
}
@media (max-width: 639px) {
  .why__item { flex-direction: column; gap: 12px; }
  .why__item-icon { width: 80px; height: 80px; }
  .why__item-title { font-size: 24px; }
  .why__item-text { font-size: 16px; }
  .why__img { width: 280px; }
}

.center-cta { text-align: center; padding: 30px 0 70px; }
.center-cta .btn { width: 273px; }
@media (max-width: 639px) { .center-cta .btn { width: 100%; } }

/* ---------- Слайдер «Как это работает» (T801) ---------- */
.how { padding-bottom: 70px; }
.slider { position: relative; margin-top: 50px; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform .35s ease-in-out;
}
.slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 0 60px;
}
.slide__img { width: 55%; flex: none; }
.slide__title {
  font-family: var(--f-head);
  font-size: 30px;
  line-height: 1.15;
  color: var(--c-teal-mid);
}
.slide__text {
  margin: 18px 0 26px;
  font-size: 18px;
  line-height: 1.55;
}
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  padding: 0;
}
.slider__arrow::before {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-right: 3px solid #a0a0a0;
  border-bottom: 3px solid #a0a0a0;
  margin: auto;
}
.slider__arrow--prev { left: 6px; }
.slider__arrow--prev::before { transform: rotate(135deg); }
.slider__arrow--next { right: 6px; }
.slider__arrow--next::before { transform: rotate(-45deg); }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: #c9c9c9;
  cursor: pointer;
  padding: 0;
}
.slider__dot.is-active { background: var(--c-teal-mid); }
@media (max-width: 959px) {
  .slide { flex-direction: column; gap: 24px; padding: 0 50px; }
  .slide__img { width: 100%; }
}
@media (max-width: 639px) {
  .slide { padding: 0 34px; }
  .slide__title { font-size: 24px; }
  .slide__text { font-size: 16px; }
  .slide .btn--lg { width: 100%; font-size: 17px; }
}

/* ---------- Ещё преимущества (4 колонки) ---------- */
.more { padding: 50px 0 40px; }
.more__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 60px;
}
.more__icon { height: 110px; display: flex; align-items: center; }
.more__icon img { max-height: 100px; width: auto; }
.more__title {
  font-family: var(--f-head);
  font-size: 30px;
  line-height: 1.1;
  color: var(--c-teal-mid);
  margin-top: 24px;
  min-height: 66px;
}
.more__text { margin-top: 12px; font-size: 18px; line-height: 1.55; }
@media (max-width: 959px) {
  .more__grid { grid-template-columns: repeat(2, 1fr); }
  .more__title { min-height: 0; }
}
@media (max-width: 639px) {
  .more__grid { grid-template-columns: 1fr; gap: 34px; }
  .more__title { font-size: 24px; }
  .more__text { font-size: 16px; }
}

/* ---------- CTA-полоса ---------- */
.cta {
  background: var(--c-teal);
  padding: 55px 0;
}
.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  color: #fff;
  max-width: 776px;
}
.cta .btn { width: 270px; flex: none; }
@media (max-width: 959px) {
  .cta .container { flex-direction: column; align-items: flex-start; }
  .cta__title { font-size: 30px; }
}
@media (max-width: 639px) {
  .cta__title { font-size: 24px; }
  .cta .btn { width: 100%; }
}

/* ---------- Каталог ---------- */
.catalog { padding: 40px 0; }
.catalog .container {
  display: grid;
  grid-template-columns: 490px 1fr;
  grid-template-areas: 'title img' 'descr img';
  column-gap: 60px;
  align-items: start;
}
.catalog__title {
  grid-area: title;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 46px;
  line-height: .95;
  color: var(--c-teal-dark);
  padding-top: 30px;
}
.catalog__descr { grid-area: descr; margin-top: 24px; font-size: 18px; line-height: 1.55; }
.catalog__img { grid-area: img; width: 530px; justify-self: end; }
@media (max-width: 959px) {
  .catalog .container {
    grid-template-columns: 1fr;
    grid-template-areas: 'title' 'img' 'descr';
  }
  .catalog__title { font-size: 38px; }
  .catalog__img { width: 100%; max-width: 530px; justify-self: start; margin-top: 24px; }
}
@media (max-width: 639px) {
  .catalog__title { font-size: 28px; padding-top: 0; }
  .catalog__descr { font-size: 16px; }
}

/* ---------- Присоединяйся ---------- */
.join { padding: 20px 0 80px; }
.join .container {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}
.join__text { max-width: 533px; font-size: 18px; line-height: 1.55; }
.join__text p + p { margin-top: 26px; }
.join__btn { margin-top: 34px; width: 329px; }
.join__founders { margin-left: auto; text-align: center; width: 357px; flex: none; }
.join__founders-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.55;
  color: var(--c-teal-mid);
  margin-top: 14px;
}
.join__founders-role { font-size: 16px; line-height: 1.55; }
@media (max-width: 959px) {
  .join .container { flex-direction: column; }
  .join__founders { margin: 0 auto; }
}
@media (max-width: 639px) {
  .join__text { font-size: 16px; }
  .join__btn { width: 100%; }
  .join__founders { width: 280px; }
}
