
/* ======================================================
   PRIVOZ — PROCUREMENT
   BLOCK 01: HERO
   ====================================================== */

/* ПЕРЕМЕННЫЕ СТРАНИЦЫ */

.purchases-page {
  --purchases-bg: #f5eeee;
  --purchases-bg-soft: #faf6f6;
  --purchases-card: #ffffff;

  --purchases-accent: #b86b70;
  --purchases-accent-light: #d9afb2;
  --purchases-accent-dark: #984f55;
  --purchases-accent-deep: #6d3539;
  --purchases-accent-rgb: 184, 107, 112;

  --purchases-text: #71484c;
  --purchases-text-dark: #462d30;
  --purchases-text-soft: #806d6f;

  --purchases-border: rgba(152, 79, 85, 0.15);

  --header-height: 80px;

  background: var(--purchases-bg);
  color: var(--purchases-text);
}

.purchases-page .purchases-hero,
.purchases-page .purchases-hero *,
.purchases-page .purchases-hero *::before,
.purchases-page .purchases-hero *::after {
  box-sizing: border-box;
}

/* ======================================================
   ОБЩИЙ КОНТЕЙНЕР
   ====================================================== */

.purchases-page .purchases-container {
  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ======================================================
   ОБЩИЕ ПЛАШКИ НАЗВАНИЙ БЛОКОВ
   Используются также в следующих секциях
   ====================================================== */

.purchases-page .purchases-kicker,
.purchases-page .purchases-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  max-width: 100%;
  min-height: 43px;

  padding: 10px 27px;
  margin: 0 0 25px;

  background: #ead4d6;
  color: #984f55;

  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 100%,
    14px 100%
  );
}

/* ======================================================
   HERO
   ====================================================== */

.purchases-page .purchases-hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));

  padding: 65px 0;

  overflow: hidden;

  background: linear-gradient(
    135deg,
    #faf5f5 0%,
    #f0e2e3 100%
  );
}

/* ФОНОВАЯ СЕТКА */

.purchases-page .purchases-hero-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.2;

  background-image:
    linear-gradient(
      rgba(var(--purchases-accent-rgb), 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(var(--purchases-accent-rgb), 0.08) 1px,
      transparent 1px
    );

  background-size: 90px 90px;

  pointer-events: none;
}

/* ======================================================
   ДВЕ КОЛОНКИ
   ====================================================== */

.purchases-page .purchases-hero-container {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(480px, 1.1fr);

  align-items: center;
  gap: 80px;
}

/* ======================================================
   ЛЕВАЯ ЧАСТЬ
   ====================================================== */

.purchases-page .purchases-hero-content {
  max-width: 720px;
  min-width: 0;
}

/* ЗАГОЛОВОК */

.purchases-page .purchases-hero-title {
  margin: 0 0 30px;

  color: var(--purchases-text-dark);

  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(58px, 6vw, 94px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.purchases-page .purchases-hero-title span {
  color: var(--purchases-accent);
}

/* ОПИСАНИЕ */

.purchases-page .purchases-hero-text {
  max-width: 650px;

  margin: 0 0 16px;

  color: var(--purchases-text-soft);

  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
}

.purchases-page .purchases-hero-text-small {
  margin-bottom: 34px;
}

/* ======================================================
   КНОПКА
   ====================================================== */

.purchases-page .purchases-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  min-height: 61px;
  padding: 0 30px 0 34px;

  border: 0;
  border-radius: 0;

  background: var(--purchases-accent-deep);
  color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;

  clip-path: polygon(
    0 0,
    88% 0,
    100% 100%,
    12% 100%
  );

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.purchases-page .purchases-primary-button:hover {
  background: var(--purchases-accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.purchases-page .purchases-primary-button svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.purchases-page .purchases-primary-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* НИЖНЯЯ СТРОКА */

.purchases-page .purchases-hero-note {
  margin-top: 24px;

  color: var(--purchases-accent-dark);

  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

/* ======================================================
   ПРАВАЯ ЧАСТЬ
   ====================================================== */

.purchases-page .purchases-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 570px;
}

/* ДЕКОРАТИВНЫЕ ФИГУРЫ */

.purchases-page .purchases-hero-shape {
  position: absolute;
  pointer-events: none;
  background: var(--purchases-accent);
}

.purchases-page .purchases-hero-shape-one {
  width: 410px;
  height: 280px;

  right: -20px;
  top: -35px;

  opacity: 0.72;

  clip-path: polygon(
    9% 0,
    100% 0,
    100% 88%,
    90% 100%,
    0 100%,
    0 11%
  );
}

.purchases-page .purchases-hero-shape-two {
  width: 530px;
  height: 330px;

  left: -60px;
  bottom: -45px;

  background: var(--purchases-accent-dark);
  opacity: 0.78;

  clip-path: polygon(
    8% 0,
    100% 0,
    100% 88%,
    92% 100%,
    0 100%,
    0 10%
  );
}

/* ВИДЕОБЛОК */

.purchases-page .purchases-hero-media {
  position: absolute;
  inset: 45px 25px;

  z-index: 2;

  overflow: hidden;

  background: #462d30;

  box-shadow: 0 30px 70px rgba(90, 50, 55, 0.08);

  clip-path: polygon(
    23px 0,
    100% 0,
    100% calc(100% - 23px),
    calc(100% - 23px) 100%,
    0 100%,
    0 23px
  );
}

.purchases-page .purchases-hero-video {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ЛЁГКОЕ ЗАТЕМНЕНИЕ ВИДЕО */

.purchases-page .purchases-hero-video-overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(70, 45, 48, 0.02) 0%,
    rgba(70, 45, 48, 0.12) 100%
  );
}

/* ======================================================
   ПЛАНШЕТЫ
   ====================================================== */

@media (max-width: 1120px) {
  .purchases-page .purchases-container {
    width: calc(100% - 50px);
  }

  .purchases-page .purchases-hero {
    min-height: 0;
    padding: 90px 0;
  }

  .purchases-page .purchases-hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .purchases-page .purchases-hero-visual {
    min-height: 520px;
  }
}

/* ======================================================
   ТЕЛЕФОНЫ
   ====================================================== */

@media (max-width: 768px) {
  .purchases-page .purchases-container {
    width: calc(100% - 32px);
  }

  .purchases-page .purchases-hero {
    min-height: 0;
    padding: 70px 0;
  }

  .purchases-page .purchases-hero-container {
    gap: 45px;
  }

  .purchases-page .purchases-hero-title {
    font-size: clamp(43px, 13vw, 62px);
  }

  .purchases-page .purchases-hero-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .purchases-page .purchases-hero-visual {
    min-height: 390px;
  }

  .purchases-page .purchases-hero-media {
    inset: 15px 5px;
  }

  .purchases-page .purchases-hero-shape-one {
    width: 250px;
    height: 180px;
  }

  .purchases-page .purchases-hero-shape-two {
    width: 300px;
    height: 200px;
  }

  .purchases-page .purchases-kicker,
  .purchases-page .purchases-section-label {
    min-height: 36px;
    padding: 9px 20px;
    margin-bottom: 22px;
    font-size: 10px;
  }
}

@media (max-width: 430px) {
  .purchases-page .purchases-hero-title {
    font-size: clamp(39px, 11vw, 48px);
  }

  .purchases-page .purchases-primary-button {
    width: 100%;
    justify-content: space-between;
  }

  .purchases-page .purchases-hero-visual {
    min-height: 320px;
  }

  .purchases-page .purchases-hero-shape-one {
    width: 210px;
  }

  .purchases-page .purchases-hero-shape-two {
    width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .purchases-page .purchases-primary-button {
    transition: none;
  }

  .purchases-page .purchases-primary-button:hover {
    transform: none;
  }
}
