
/* ======================================================
   PRIVOZ — EXPERT
   BLOCK 01: HERO
====================================================== */

/* ПЕРЕМЕННЫЕ СТРАНИЦЫ */

.expert-page {
  --expert-bg: #f5efee;
  --expert-bg-soft: #faf7f6;
  --expert-card: #ffffff;

  --expert-accent: #b05c57;
  --expert-accent-light: #d9aaa6;
  --expert-accent-dark: #91433f;
  --expert-accent-deep: #65302d;
  --expert-accent-rgb: 176, 92, 87;

  --expert-text: #694441;
  --expert-text-dark: #422b29;
  --expert-text-soft: #7d6967;
  --expert-border: rgba(145, 67, 63, 0.15);

  --header-height: 80px;

  background: var(--expert-bg);
  color: var(--expert-text);
}

.expert-page .expert-hero,
.expert-page .expert-hero *,
.expert-page .expert-hero *::before,
.expert-page .expert-hero *::after {
  box-sizing: border-box;
}

/* ======================================================
   ОБЩИЙ КОНТЕЙНЕР
====================================================== */

.expert-page .expert-container {
  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ======================================================
   ФИРМЕННЫЕ СКОШЕННЫЕ ПЛАШКИ
====================================================== */

.expert-page .expert-kicker,
.expert-page .expert-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  max-width: 100%;
  min-height: 40px;

  padding: 10px 24px;
  margin: 0 0 25px;

  background: #efdcda;
  color: var(--expert-accent-dark);

  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  clip-path: polygon(
    0 0,
    calc(100% - 12px) 0,
    100% 100%,
    12px 100%
  );
}

/* ======================================================
   HERO
====================================================== */

.expert-page .expert-hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: calc(100vh - var(--header-height));
  padding: 65px 0;

  overflow: hidden;

  background: linear-gradient(
    135deg,
    #faf5f4,
    #f1e5e3
  );
}

/* ФОНОВАЯ СЕТКА */

.expert-page .expert-hero-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.2;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(var(--expert-accent-rgb), 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(var(--expert-accent-rgb), 0.08) 1px,
      transparent 1px
    );

  background-size: 90px 90px;
}

/* ======================================================
   ДВЕ КОЛОНКИ
====================================================== */

.expert-page .expert-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;
}

/* ======================================================
   ЛЕВАЯ ЧАСТЬ
====================================================== */

.expert-page .expert-hero-content {
  min-width: 0;
  max-width: 720px;
}

/* ЗАГОЛОВОК */

.expert-page .expert-hero-title {
  margin: 0 0 30px;

  color: var(--expert-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;
}

.expert-page .expert-hero-title span {
  display: block;
  color: var(--expert-accent);
}

/* ОСНОВНОЙ ТЕКСТ */

.expert-page .expert-hero-text {
  max-width: 650px;
  margin: 0 0 16px;

  color: var(--expert-text-soft);

  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
}

.expert-page .expert-hero-text-small {
  margin-bottom: 34px;
}

/* ======================================================
   КНОПКА
====================================================== */

.expert-page .expert-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  min-height: 61px;
  padding: 0 30px 0 34px;

  border: 0;
  background: var(--expert-accent-deep);

  color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  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;
}

.expert-page .expert-primary-button:hover {
  background: var(--expert-accent-dark);
  color: #ffffff;

  transform: translateY(-2px);
}

.expert-page .expert-primary-button svg {
  display: block;
  flex-shrink: 0;

  width: 18px;
  height: 18px;
}

.expert-page .expert-primary-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* НИЖНЯЯ СТРОКА */

.expert-page .expert-hero-note {
  margin-top: 24px;

  color: var(--expert-accent-dark);

  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

/* ======================================================
   ПРАВАЯ ЧАСТЬ
====================================================== */

.expert-page .expert-hero-visual {
  position: relative;

  min-width: 0;
  min-height: 570px;
}

/* ДЕКОРАТИВНЫЕ ФИГУРЫ */

.expert-page .expert-hero-shape {
  position: absolute;
  background: var(--expert-accent);
  pointer-events: none;
}

.expert-page .expert-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%
  );
}

.expert-page .expert-hero-shape-two {
  width: 530px;
  height: 330px;

  left: -60px;
  bottom: -45px;

  background: var(--expert-accent-dark);
  opacity: 0.78;

  clip-path: polygon(
    8% 0,
    100% 0,
    100% 88%,
    92% 100%,
    0 100%,
    0 10%
  );
}

/* ======================================================
   ВИДЕО
====================================================== */

.expert-page .expert-hero-media {
  position: absolute;
  inset: 45px 25px;

  z-index: 2;

  overflow: hidden;
  background: #422b29;

  box-shadow: 0 30px 70px rgba(90, 45, 42, 0.08);

  clip-path: polygon(
    23px 0,
    100% 0,
    100% calc(100% - 23px),
    calc(100% - 23px) 100%,
    0 100%,
    0 23px
  );
}

.expert-page .expert-hero-video {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.expert-page .expert-hero-video-overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(66, 43, 41, 0.02) 0%,
    rgba(66, 43, 41, 0.12) 100%
  );
}

/* ======================================================
   ПЛАНШЕТЫ
====================================================== */

@media (max-width: 1120px) {

  .expert-page .expert-container {
    width: calc(100% - 50px);
  }

  .expert-page .expert-hero {
    min-height: auto;
    padding: 90px 0;
  }

  .expert-page .expert-hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .expert-page .expert-hero-visual {
    min-height: 520px;
  }
}

/* ======================================================
   МОБИЛЬНАЯ ВЕРСИЯ
====================================================== */

@media (max-width: 768px) {

  .expert-page .expert-container {
    width: calc(100% - 32px);
  }

  .expert-page .expert-hero {
    padding: 70px 0;
  }

  .expert-page .expert-hero-title {
    font-size: clamp(43px, 13vw, 62px);
  }

  .expert-page .expert-hero-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .expert-page .expert-hero-visual {
    min-height: 390px;
  }

  .expert-page .expert-hero-media {
    inset: 15px 5px;
  }

  .expert-page .expert-hero-shape-one {
    width: 250px;
    height: 180px;
  }

  .expert-page .expert-hero-shape-two {
    width: 300px;
    height: 200px;
  }

  .expert-page .expert-kicker,
  .expert-page .expert-section-label {
    min-height: 34px;
    padding: 8px 18px;
    margin-bottom: 20px;

    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* ======================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
====================================================== */

@media (max-width: 430px) {

  .expert-page .expert-hero-title {
    font-size: clamp(39px, 11vw, 48px);
  }

  .expert-page .expert-primary-button {
    width: 100%;
  }

  .expert-page .expert-hero-visual {
    min-height: 320px;
  }

  .expert-page .expert-hero-shape-one {
    width: 210px;
  }

  .expert-page .expert-hero-shape-two {
    width: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .expert-page .expert-primary-button {
    transition: none;
  }

  .expert-page .expert-primary-button:hover {
    transform: none;
  }
}
