/* montage.php — первый экран (hero) */
.montage-hero {
  background: #fff;
  padding: 28px 0 40px;
  font-family: "Open Sans", Arial, sans-serif;
}

.montage-hero__container {
  max-width: 1140px;
}

.montage-hero__status {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  margin: 0 0 10px;
}

.montage-hero__status-label {
  color: #888;
}

.montage-hero__title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: #343a40;
  margin: 0 0 14px;
  max-width: 920px;
}

.montage-hero__lead {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 28px;
  max-width: 820px;
}

.montage-hero__lead a {
  color: #0099e0;
  text-decoration: none;
}

.montage-hero__lead a:hover {
  text-decoration: underline;
}

.montage-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
  margin-bottom: 32px;
  min-height: 300px;
}

.montage-hero__media {
  min-height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.montage-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.montage-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px 28px 20px;
}

.montage-hero__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #343a40;
  margin: 0 0 6px;
}

.montage-hero__card-subtitle {
  font-size: 15px;
  line-height: 1.4;
  color: #333;
  margin: 0 0 12px;
}

.montage-hero__card-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 22px;
  max-width: 440px;
}

.montage-hero__btn {
  align-self: flex-start;
  margin-top: auto;
}

.montage-hero__downloads {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.montage-hero__download {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.45;
}

.montage-hero__download:hover {
  color: #333 !important;
}

.montage-hero__download-icon {
  flex-shrink: 0;
  width: 32px;
  height: auto;
}

@media (max-width: 991.98px) {
  .montage-hero {
    padding: 20px 0 32px;
  }

  .montage-hero__card {
    grid-template-columns: 1fr;
  }

  .montage-hero__media,
  .montage-hero__img {
    min-height: 220px;
  }

  .montage-hero__content {
    padding: 20px 16px 24px;
  }
}

@media (max-width: 575.98px) {
  .montage-hero__title {
    font-size: 1.35rem;
  }

  .montage-hero__lead {
    font-size: 14px;
    max-width: none;
  }

  .montage-hero__card-text {
    max-width: none;
  }
}

/* Этапы работ — сетка как на главной */
.montage-steps .home-v2-steps__tag {
  margin-top: 0;
}

.montage-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.montage-steps__grid > .home-v2-steps__card {
  min-width: 0;
}

@media (max-width: 991.98px) {
  .montage-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .montage-steps__grid {
    grid-template-columns: 1fr;
  }
}

/* Монтаж пластикового окна — 4 карточки */
.montage-process {
  --okna-container: 1140px;
  background: #fff;
  padding: 48px 0 56px;
  font-family: "Open Sans", Arial, sans-serif;
}

.montage-process__wrap {
  max-width: var(--okna-container);
  margin: 0 auto;
  padding: 0 15px;
}

.montage-process__tag {
  display: inline-block;
  width: fit-content;
  border: 1px solid #d8d8d8;
  font-size: 12px;
  line-height: 1.4;
  padding: 4px 18px;
  color: #000;
  background: #fff;
  margin: 0 0 14px;
}

.montage-process__title {
  font-size: 27px;
  font-weight: 400;
  line-height: 1.28;
  color: #222;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.montage-process__lead {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
  margin: 0 0 28px;
  max-width: 940px;
}

.montage-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.montage-process__card {
  display: flex;
  align-items: stretch;
  min-height: 170px;
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.montage-process__media {
  flex: 0 0 42%;
  max-width: 42%;
  min-height: 170px;
  background: #fff;
  border-right: 1px solid #ececec;
}

.montage-process__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px 20px 18px;
  min-width: 0;
}

.montage-process__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  margin: 0 0 10px;
}

.montage-process__text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

@media (max-width: 991.98px) {
  .montage-process__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .montage-process {
    padding: 32px 0 40px;
  }

  .montage-process__title {
    font-size: 22px;
  }

  .montage-process__card {
    flex-direction: column;
    min-height: 0;
  }

  .montage-process__media {
    flex: none;
    max-width: none;
    width: 100%;
    min-height: 140px;
    border-right: none;
    border-bottom: 1px solid #ececec;
  }
}

/* Информация о монтаже — список с иконками */
.montage-info {
  background: #fff;
  padding: 0 0 56px;
  font-family: "Open Sans", Arial, sans-serif;
}

.montage-info__wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.montage-info__panel {
  border: 1px solid #e5e5e5;
  border-left: 4px solid #00975f;
  background: #fff;
}

.montage-info__row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px 22px 20px;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.montage-info__row:focus {
  outline: none;
}

.montage-info__row:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(0, 151, 95, 0.35);
}

.montage-info__row:last-child {
  border-bottom: none;
}

.montage-info__row--highlight {
  background: #eef7f2;
}

.montage-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 151, 95, 0.1);
  color: #00975f;
}

.montage-info__svg {
  width: 24px;
  height: 24px;
  display: block;
}

.montage-info__content {
  flex: 1 1 auto;
  min-width: 0;
}

.montage-info__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #222;
  margin: 0 0 8px;
}

.montage-info__row--highlight .montage-info__title {
  color: #00975f;
}

.montage-info__text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  margin: 0;
}

@media (max-width: 575.98px) {
  .montage-info {
    padding-bottom: 40px;
  }

  .montage-info__row {
    gap: 14px;
    padding: 18px 16px;
  }

  .montage-info__title {
    font-size: 15px;
  }

  .montage-info__text {
    font-size: 13px;
  }
}

/* FAQ — вопросы без жирного и зелёного по умолчанию */
.montage-faq .faq-accordion__btn,
.montage-faq .faq-accordion__btn.collapsed {
  color: #222 !important;
  font-weight: 400 !important;
  text-align: left;
  white-space: normal;
}

.montage-faq .faq-accordion__header .h6 {
  font-weight: inherit;
}

.montage-faq .faq-accordion__btn b {
  font-weight: inherit;
}

.montage-faq .faq-accordion__btn:hover,
.montage-faq .faq-accordion__btn:focus {
  color: #00975f !important;
  text-decoration: none !important;
}

.montage-faq .faq-accordion__btn:not(.collapsed) {
  color: #00975f !important;
}

.montage-faq .faq-accordion__body {
  font-weight: 400;
  color: #555;
}

@media (max-width: 767.98px) {
  .montage-faq .home-seo-faq-panel__lead {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }

  .montage-faq .home-seo-faq-panel__chips {
    justify-content: center;
  }

  .montage-faq .home-seo-faq-panel {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Блок «Установка по ГОСТу» */
.montage-gost {
  padding: 40px 0 32px;
  font-family: "Open Sans", Arial, sans-serif;
}

.montage-gost__wrap {
  padding-top: 8px;
}

.montage-gost__title {
  margin: 0 0 20px;
}

.montage-gost__subtitle,
.montage-gost__text,
.montage-gost__scheme-title {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  color: #333;
}

.montage-gost__subtitle {
  margin: 24px 0 16px;
}

.montage-gost__intro {
  margin: 0 0 14px;
}

.montage-gost__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.montage-gost__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
}

.montage-gost__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #333;
}

.montage-gost__term {
  font-weight: 400;
}

.montage-gost__scheme-col {
  text-align: center;
}

.montage-gost__scheme-title {
  margin: 8px 0 12px;
}

.montage-gost__scheme-rule {
  width: 350px;
  max-width: 100%;
  display: inline-block !important;
  margin-top: -20px;
}

.montage-gost__scheme-img {
  display: inline-block;
}

@media (max-width: 767.98px) {
  .montage-gost {
    padding: 28px 0 24px;
  }

  .montage-gost__subtitle,
  .montage-gost__text,
  .montage-gost__scheme-title {
    font-size: 14px;
  }
}
