:root {
  --primary-color: #a5121a;
  --text-light: #fff;
  --bg-dark: #292929;
  --overlay-color: rgba(34,34,34,0.40);
}


/* Hero Section */
.hero-section {
  width: 100vw;
  min-height: 310px;
  position: relative;
  background: #181818;
  overflow: hidden;
}

/* Фоновая картинка */
.hero-bg {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0; z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-color);
  z-index: 1;
}

/* Контейнеры */
.breadcrumbs,
.hero-content {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  z-index: 2;
  /* никаких top/absolute/отрицательных маргинов */
}

/* Хлебные крошки */
.breadcrumbs {
  color: var(--text-light);
  font-size: 16px;
  text-align: left;
  margin-top: 22px;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color:#a5121a;
  text-decoration: underline;
  opacity: 1;
}

/* Контент hero */
.hero-content {
  color: var(--primary-color);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px; /* отступ между заголовком и тегами */
  padding-top: 70px;
}

/* Заголовок */
.hero-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  color: var(--primary-color);
}

/* Теги */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: clamp(13px, 2vw, 20px);
  font-weight: 500;
  color: var(--text-light);
}
.service-tags span {
  display: inline-block;
}

/* ======= Адаптив ======= */
@media (max-width: 900px) {
  .hero-bg {
    min-height: 260px;
  }
  .breadcrumbs,
  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .breadcrumbs {
    font-size: 13px;
    margin-top: 24px;
    margin-bottom: 6px;
  }
}

@media (max-width: 600px) {
  .hero-section, .hero-bg {
    min-height: 420px;
  }
  .breadcrumbs,
  .hero-content {
    padding-left: 20px;
    padding-right: 10px;
  }
  .breadcrumbs {
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 4px;
  }
  .hero-content {
    color: var(--text-light);
  }
  .service-tags span {
    color: var(--text-light);
  }
}
