/* =========================================================
   blocks-page-hero.min.css — компактная hero-шапка для внутренних страниц
   (не на страницах услуг). Высота ~30% меньше, чем на /arbitration.
   Только заголовок + телефон, без CTA-кнопки.
   Full-bleed фото с blur-эффектом + лёгкий параллакс + крошки снизу.
   ========================================================= */

/* ---------- Основной блок ---------- */
.c-page-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 340px; /* ~30% ниже, чем 520px на услугах */
  display: flex;
  align-items: center;
  background: var(--c-bg-dark);
}

/* ---------- Фоновое изображение ---------- */
.c-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.c-page-hero__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: blur(6px) saturate(130%) brightness(0.72);
  transform: scale(1.14) translate3d(0, 0, 0);
  will-change: transform;
}

/* Затемняющий градиент */
.c-page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(20, 22, 26, 0.45) 0%,
      rgba(20, 22, 26, 0.30) 60%,
      rgba(176, 10, 39, 0.14) 100%);
}

/* ---------- Контент ---------- */
.c-page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
  box-sizing: border-box;
}

.c-page-hero__title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Телефон — аккуратная ссылка с иконкой */
.c-page-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color var(--c-transition),
    border-color var(--c-transition),
    transform var(--c-transition);
}
.c-page-hero__phone:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.c-page-hero__phone svg {
  flex-shrink: 0;
  display: block;
}

/* ---------- Хлебные крошки (ЕДИНЫЙ СТИЛЬ ДЛЯ ВСЕГО САЙТА) ---------- */
/*
   Full-bleed белая полоса во всю ширину экрана.
   Примыкает к предыдущему блоку сверху (без зазора).
   Контент центрируется внутри 1240px.

   Этот блок — единый источник стиля крошек. Он применяется ко всем
   .c-breadcrumbs на страницах (не только после .c-page-hero).
   Базовый .c-breadcrumbs { padding: 16px 0; } из components.min.css
   перекрывается этим — файл подключается позже.
*/
.c-breadcrumbs {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--c-border);
  box-sizing: border-box;
}

/* Внутренний контейнер — 1240px, боковые отступы совпадают с hero */
.c-breadcrumbs > .c-breadcrumbs__list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  box-sizing: border-box;
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .c-page-hero { min-height: 300px; }
  .c-page-hero__content { padding: 48px 20px; }
  .c-page-hero__title { font-size: clamp(22px, 5vw, 32px); }

  .c-breadcrumbs > .c-breadcrumbs__list {
    padding: 12px 20px;
  }
}

@media (max-width: 600px) {
  .c-page-hero { min-height: 260px; }
  .c-page-hero__content { padding: 40px 16px; }
  .c-page-hero__title { margin-bottom: 12px; }
  .c-page-hero__phone {
    font-size: 15px;
    padding: 9px 14px;
    gap: 8px;
  }
  .c-breadcrumbs > .c-breadcrumbs__list {
    padding: 10px 16px;
  }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .c-page-hero__bg-img {
    transition: none;
    transform: scale(1.06) translate3d(0, 0, 0);
  }
}