/* ============================================================================
   Лендинги (ремонт дверей; дальше — доборы).
   ----------------------------------------------------------------------------
   Структура блоков перенесена с лендинга источника (`remont-dverei` / `dobori-na-dveri`:
   hero → преимущества → услуги → таблица цен → признаки поломки → фото работ → этапы →
   отзывы → вопросы → CTA). Оформление — наше: у источника эти блоки обслуживал общий
   кэш-файл Битрикса на 588 КБ, из которого на лендинг приходилось ~1 600 правил
   (в основном чужие), поэтому здесь те же блоки описаны заново в палитре сайта.
   Ключевые метрики взяты из источника: заголовок hero 44px, подпись к заголовку —
   красный капс 17px, акцент в заголовке — «пилюля» с рамкой 2px и радиусом 100px,
   факты отделены линией сверху.
   ========================================================================== */

.land-section .sec-title {
  padding-bottom: 25px;
}

.land-section .sec-title h2 {
  color: var(--bl-dark);
  font-size: 40px;
  line-height: 50px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.land-section .sec-title .sub-title {
  display: block;
  padding-bottom: 10px;
}

.land-section .sec-title .sub-title .title {
  color: var(--bl-dark);
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.land-section .section-desc {
  max-width: 820px;
  color: var(--bl-text);
  font-size: 17px;
  line-height: 1.6;
}

.land-section .sec-title.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Шапка-крошки у лендинга без своего заголовка — ниже стандартной (140px):
   заголовок рисует hero лендинга. */
.inner-banner.breadcrumb-compact {
  min-height: 72px;
}

.inner-banner.breadcrumb-compact .vertical-align {
  padding-top: 0;
  padding-bottom: 0;
}

/* --- hero лендинга ------------------------------------------------------- */
.land-banner {
  padding: 40px 0 55px;
  background: var(--bl-soft);
}

.land-banner__wrap {
  display: flex;
  align-items: center;
  gap: 30px;
}

.land-banner__content {
  max-width: 650px;
  width: 100%;
}

.land-banner__label {
  margin-bottom: 10px;
  color: var(--bl-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

.land-banner__title {
  color: var(--bl-dark);
  font-size: 44px;
  line-height: 1.16;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.land-banner__title strong {
  display: inline-block;
  margin-left: 9px;
  padding: 8px 22px 11px;
  border: 2px solid var(--bl-dark);
  border-radius: 100px;
  color: var(--bl-dark);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(-4px);
}

.land-banner__text {
  margin-top: 25px;
  color: var(--bl-text);
  font-size: 18px;
  line-height: 1.5;
}

.land-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

/* Своя кнопка: унаследованные варианты `c-button` (`bg-dr-blue` / `bg-red`) подставляют
   свои рамку и заливку, поэтому лендинг задаёт их явно — в палитре ЦМЗД. */
.land-banner__btn {
  border: 2px solid var(--bl-dark);
  background: var(--bl-accent);
  color: #000;
}

.land-banner__btn:hover {
  background: transparent;
  color: var(--bl-dark);
}

.land-banner__link {
  color: var(--bl-dark);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.land-banner__link:hover {
  color: var(--bl-dark);
}

.land-banner__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid rgba(45, 62, 80, 0.15);
}

.land-stat__num {
  color: var(--bl-dark);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.land-stat__label {
  margin-top: 4px;
  color: var(--bl-dark);
  font-size: 15px;
}

.land-banner__img {
  flex: 0 0 42%;
  display: flex;
  justify-content: flex-end;
}

.land-banner__img img {
  width: 100%;
  max-width: 470px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* --- преимущества -------------------------------------------------------- */
.land-features {
  padding: 45px 0 15px;
}

.land-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.land-feature {
  display: flex;
  gap: 15px;
}

.land-feature__icon {
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--bl-soft);
  color: var(--bl-dark);
  font-size: 22px;
}

.land-feature__title {
  margin-bottom: 8px;
  color: var(--bl-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.land-feature__text {
  margin: 0;
  color: var(--bl-text);
  font-size: 15px;
  line-height: 1.55;
}

/* --- услуги -------------------------------------------------------------- */
.land-services {
  padding: 45px 0;
}

.land-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.land-service {
  padding: 28px 25px 25px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 26px rgba(45, 62, 80, 0.08);
}

.land-service__num {
  margin-bottom: 10px;
  color: var(--bl-dark);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.28;
}

.land-service__title {
  margin-bottom: 10px;
  color: var(--bl-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.land-service__text {
  color: var(--bl-text);
  font-size: 15px;
  line-height: 1.55;
}

.land-service__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.land-service__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  color: var(--bl-dark);
  font-size: 15px;
  line-height: 1.45;
}

.land-service__list li::before {
  position: absolute;
  top: 6px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bl-dark);
  content: '';
}

/* --- признаки поломки ---------------------------------------------------- */
.land-problems {
  padding: 45px 0;
  background: var(--bl-soft);
}

.land-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.land-problem {
  padding: 25px 22px;
  border-radius: 14px;
  background: #fff;
}

.land-problem__icon {
  margin-bottom: 14px;
  color: var(--bl-dark);
  font-size: 26px;
}

.land-problem__title {
  margin-bottom: 8px;
  color: var(--bl-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.land-problem__text {
  margin: 0;
  color: var(--bl-text);
  font-size: 15px;
  line-height: 1.55;
}

/* --- этапы работы -------------------------------------------------------- */
.land-steps {
  padding: 45px 0;
}

.land-steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.land-step {
  position: relative;
  padding-top: 10px;
}

.land-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--bl-dark);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.land-step__title {
  margin-bottom: 8px;
  color: var(--bl-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.land-step__text {
  margin: 0;
  color: var(--bl-text);
  font-size: 15px;
  line-height: 1.55;
}

/* --- отзывы -------------------------------------------------------------- */
.land-reviews {
  padding: 45px 0;
  background: var(--bl-soft);
}

/* Отзывы листаются: слайды идут в контейнере slick, поэтому вместо сетки — отступы
   слайда и одна высота карточек. */
.land-reviews__slider {
  margin: 0 -12px;
}

.land-reviews__slider .land-review {
  margin: 0 12px;
}

/* Карточки отзывов разной высоты — выравниваем: трек делаем flex, карточка тянется. */
.land-reviews__slider .slick-track {
  display: flex;
  align-items: stretch;
}

.land-reviews__slider .slick-slide {
  height: auto;
}

.land-reviews__slider .slick-slide > div {
  height: 100%;
}

.land-reviews__slider .land-review {
  height: 100%;
}

.land-reviews__slider .slick-list {
  padding-bottom: 10px;
}

.land-reviews__slider .slick-dots {
  position: static;
  margin-top: 20px;
}

.land-review {
  display: flex;
  flex-direction: column;
  padding: 28px 25px 25px;
  border-radius: 16px;
  background: #fff;
}

.land-review__quote {
  margin-bottom: 14px;
  color: var(--bl-dark);
  font-size: 24px;
  opacity: 0.5;
}

.land-review__text {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: var(--bl-text);
  font-size: 15px;
  line-height: 1.6;
}

.land-review__author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid #ececec;
}

.land-review__name {
  color: var(--bl-dark);
  font-size: 16px;
  font-weight: 700;
}

.land-review__city {
  color: var(--bl-muted);
  font-size: 14px;
}

.land-reviews__more {
  margin-top: 30px;
  text-align: center;
}

/* --- вопросы и ответы ---------------------------------------------------- */
.land-faq {
  padding: 45px 0;
}

.land-faq__list {
  max-width: 900px;
  margin: 15px auto 0;
}

.land-faq__item {
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--bl-soft);
}

.land-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 25px;
  color: var(--bl-dark);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.land-faq__q::-webkit-details-marker {
  display: none;
}

.land-faq__q i {
  color: var(--bl-dark);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.land-faq__item[open] .land-faq__q i {
  transform: rotate(180deg);
}

.land-faq__a {
  padding: 0 25px 22px;
}

.land-faq__a p {
  margin: 0;
  color: var(--bl-text);
  font-size: 16px;
  line-height: 1.6;
}

/* --- палитра отделки ----------------------------------------------------- */
.land-palette {
  padding: 45px 0;
}

.land-palette__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.land-swatch {
  margin: 0;
}

.land-swatch img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
}

.land-swatch figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px;
  padding-top: 7px;
  font-size: 13px;
  line-height: 1.3;
}

.land-swatch__material {
  color: var(--bl-dark);
}

.land-swatch__num {
  color: var(--bl-muted);
}

.land-palette__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.land-palette__total {
  margin: 0;
  color: var(--bl-text);
  font-size: 16px;
}

.land-palette__total strong {
  color: var(--bl-dark);
}

/* --- текст страницы (контент из Битрикса) -------------------------------- */
.land-text {
  padding: 10px 0 45px;
}

.land-text p {
  margin-bottom: 16px;
  color: var(--bl-text);
  font-size: 16px;
  line-height: 1.65;
}

.land-text ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.land-text li {
  margin-bottom: 8px;
  color: var(--bl-text);
  font-size: 16px;
  line-height: 1.6;
}

/* --- адаптив ------------------------------------------------------------- */
@media (max-width: 1199px) {
  .land-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .land-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .land-banner__title {
    font-size: 38px;
  }
}

@media (max-width: 991px) {
  .land-palette__grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .land-banner__img {
    display: none;
  }

  .land-banner__title {
    font-size: 34px;
  }

  .land-section .sec-title h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .land-palette__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .land-features__grid,
  .land-services__grid,
  .land-problems__grid,
  .land-steps__grid {
    grid-template-columns: 1fr;
  }

  .land-banner {
    padding: 25px 0 35px;
  }

  .land-banner__label {
    font-size: 15px;
  }

  .land-banner__title {
    font-size: 27px;
  }

  .land-banner__title strong {
    margin-left: 0;
    padding: 6px 16px 9px;
    font-size: 17px;
    white-space: normal;
  }

  .land-banner__text {
    margin-top: 16px;
    font-size: 16px;
  }

  .land-banner__stats {
    gap: 25px;
    margin-top: 28px;
  }

  .land-section .sec-title h2 {
    font-size: 26px;
    line-height: 33px;
  }

  .land-service,
  .land-problem,
  .land-review {
    padding: 22px 20px;
  }
}
