@charset "UTF-8";

/*
 * Стили страниц услуг.
 * Здесь описано ТОЛЬКО то, чего нет в styles.css. Шапка, подвал, hero,
 * poster-price, process, faq, final-cta и footer переиспользуют компоненты
 * главной страницы. Все значения — на токенах :root из styles.css.
 */

/* Hero страницы услуги = hero главной с другой подложкой */
.introduction--service {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 500;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 213, 0, 0.55);
  padding-bottom: 2px;
}

.breadcrumbs a:hover {
  color: var(--color-yellow);
  border-bottom-color: var(--color-yellow);
}

/* Сетка «Что ремонтируем» — живёт внутри секции .service */
.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-card:hover {
  border-color: var(--color-yellow-dark);
  box-shadow: var(--shadow-soft);
}

.detail-card__number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 10px;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 750;
}

.detail-card h3 {
  margin-bottom: 12px;
  color: var(--color-ink);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
}

.detail-card p {
  color: var(--color-copy);
  font-size: 16px;
  line-height: 1.65;
}

/* «Как проходит ремонт» — 4 шага вместо 3 на главной */
.process__list--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process__list--four::before {
  right: 12%;
  left: 12%;
}

/* Блок «Другие услуги» перед FAQ */
.detail-related {
  padding: 96px 0 0;
  background: var(--color-surface);
}

.detail-related__title {
  margin-bottom: 26px;
  position: relative;
  padding-top: 18px;
}

.detail-related__title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 4px;
  border-radius: 3px;
  background: var(--color-yellow);
}

.detail-related .related-services {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .detail-card-grid,
  .process__list--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process__list--four::before {
    display: none;
  }
}

@media (max-width: 780px) {
  .poster.poster-price .poster__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 5, 0.78);
    pointer-events: none;
  }
  .poster.poster-price .poster__inner > .container {
    position: relative;
    z-index: 1;
  }
  .detail-related {
    padding-top: 70px;
  }
  .detail-card-grid {
    gap: 18px;
  }
  .detail-card {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 13px;
  }
  .detail-card-grid,
  .process__list--four {
    grid-template-columns: 1fr;
  }
  .detail-related {
    padding-top: 56px;
  }
}
