
/* ======================================================
   PRIVOZ — HOME
   BLOCK 01: HERO
   RESPONSIVE DESKTOP / MACBOOK / TABLET / MOBILE
====================================================== */

/* ======================================================
   ОСНОВНЫЕ НАСТРОЙКИ
====================================================== */

.hero-section {
  --hero-text-soft: rgba(255, 255, 255, 0.86);
  --hero-border: rgba(255, 255, 255, 0.2);

  position: relative;

  width: 100%;
  height: auto;

  min-height: calc(100vh - var(--header-height, 80px));

  display: flex;
  align-items: center;

  padding: clamp(32px, 5vh, 65px) 0;

  overflow: hidden;

  color: #ffffff;

  font-family: "Plus Jakarta Sans", Arial, sans-serif;

  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(255, 183, 112, 0.26) 0%,
      rgba(255, 104, 30, 0) 36%
    ),
    radial-gradient(
      circle at 82% 40%,
      rgba(255, 139, 65, 0.18) 0%,
      rgba(255, 104, 30, 0) 34%
    ),
    linear-gradient(
      135deg,
      #ff681e 0%,
      #df5d20 30%,
      #a94c24 58%,
      #713b22 80%,
      #492b1d 100%
    );
}

.hero-section,
.hero-section *,
.hero-section *::before,
.hero-section *::after {
  box-sizing: border-box;
}

/* ======================================================
   КОНТЕЙНЕР — ДВЕ КОЛОНКИ
====================================================== */

.hero-section .hero-container {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  align-items: center;

  gap: clamp(30px, 4vw, 75px);

  width: calc(100% - 100px);
  max-width: 1440px;

  margin: 0 auto;
}

/* ======================================================
   ЛЕВАЯ КОЛОНКА
====================================================== */

.hero-section .hero-content {
  width: 100%;
  min-width: 0;
  max-width: 720px;
}

/* ======================================================
   ЗАГОЛОВОК
====================================================== */

.hero-section .hero-title {
  margin: 0 0 clamp(18px, 2.5vh, 28px);

  color: #ffffff;

  font-family: "Plus Jakarta Sans", Arial, sans-serif;

  font-size: clamp(42px, 4.1vw, 68px);
  font-weight: 500;

  line-height: 1.08;
  letter-spacing: -0.025em;
  word-spacing: normal;

  overflow-wrap: normal;
}

/* ======================================================
   ОСНОВНОЙ ТЕКСТ
====================================================== */

.hero-section .hero-text {
  max-width: 650px;

  margin: 0 0 clamp(22px, 3vh, 35px);

  color: var(--hero-text-soft);

  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;

  line-height: 1.6;
  letter-spacing: 0;
  word-spacing: normal;
}

/* ======================================================
   ПЛАШКА PRIVOZ
====================================================== */

.hero-section .hero-tagline {
  display: inline-flex;
  align-items: center;

  gap: 13px;

  width: fit-content;
  max-width: 100%;

  min-height: 48px;

  margin: 0 0 clamp(22px, 3vh, 35px);
  padding: 12px 19px;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50px;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  color: #ffffff;

  font-size: clamp(12px, 0.98vw, 15px);
  font-weight: 500;
  line-height: 1.45;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* СВЕТЯЩАЯСЯ ТОЧКА */

.hero-section .hero-tagline-dot {
  display: block;

  width: 8px;
  height: 8px;

  flex: 0 0 8px;

  background: #ffffff;
  border-radius: 50%;

  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.14),
    0 0 14px rgba(255, 255, 255, 0.65);

  animation: heroDotPulse 2.5s ease-in-out infinite;
}

.hero-section .hero-tagline-text {
  color: #ffffff;
  letter-spacing: 0;
}

.hero-section .hero-tagline-text strong {
  font-weight: 800;
}

/* ======================================================
   КНОПКА
====================================================== */

.hero-section .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 18px;

  margin: 0;
  padding: 0;

  border: 0;
  box-shadow: none;
}

/* ОБЩАЯ КНОПКА */

.hero-section .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  width: auto;
  max-width: 100%;

  min-height: 58px;

  padding: 0 29px;

  gap: 25px;

  border: 0;
  border-radius: 0;

  outline: none;

  appearance: none;
  -webkit-appearance: none;

  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;

  line-height: 1.2;
  text-decoration: none;

  cursor: pointer;

  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 100%,
    20px 100%
  );

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

/* БЕЛАЯ КНОПКА */

.hero-section .hero-button-solid {
  background: #ffffff;
  color: #202020;
}

.hero-section .hero-button-solid:hover {
  background: #f3f3f3;
  color: #202020;
  transform: translateY(-2px);
}

/* КОНТУРНАЯ КНОПКА */

.hero-section .hero-button-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.hero-section .hero-button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* СТРЕЛКА */

.hero-section .hero-button > span:last-child {
  flex-shrink: 0;

  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.hero-section .hero-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

/* ======================================================
   ПРАВАЯ КОЛОНКА — ВИДЕО
====================================================== */

.hero-section .hero-media {
  position: relative;
  z-index: 2;

  width: 100%;
  min-width: 0;
}

/* ВНЕШНИЙ КОНТЕЙНЕР */

.hero-section .hero-media-placeholder {
  position: relative;

  width: 100%;

  height: clamp(330px, 55vh, 560px);
  min-height: 0;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hero-border);

  backdrop-filter: blur(4px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.18);

  clip-path: polygon(
    36px 0,
    100% 0,
    100% calc(100% - 36px),
    calc(100% - 36px) 100%,
    0 100%,
    0 36px
  );
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР */

.hero-section .hero-media-placeholder-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;
  min-height: 0;

  padding: 0;

  overflow: hidden;
}

/* ВИДЕО */

.hero-section .hero-media-placeholder video {
  position: absolute;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  background: #231c18;
}

/* ЕСЛИ ВМЕСТО ВИДЕО ИЗОБРАЖЕНИЕ */

.hero-section .hero-media-placeholder img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

/* ======================================================
   ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ
====================================================== */

.hero-section .hero-bg-glow {
  position: absolute;
  z-index: 1;

  pointer-events: none;

  filter: blur(70px);
}

.hero-section .hero-bg-glow-1 {
  top: 100px;
  left: -80px;

  width: 300px;
  height: 300px;

  background: rgba(255, 171, 79, 0.18);
}

.hero-section .hero-bg-glow-2 {
  right: 40px;
  bottom: 70px;

  width: 270px;
  height: 270px;

  background: rgba(255, 104, 30, 0.13);
}

/* ======================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
====================================================== */

.hero-section .hero-title {
  animation:
    hero-fade-up
    0.85s
    cubic-bezier(0.22, 0.61, 0.36, 1)
    0.18s
    both;
}

.hero-section .hero-text {
  animation:
    hero-fade-up
    0.85s
    cubic-bezier(0.22, 0.61, 0.36, 1)
    0.30s
    both;
}

.hero-section .hero-tagline,
.hero-section .hero-actions {
  animation:
    hero-fade-up
    0.85s
    cubic-bezier(0.22, 0.61, 0.36, 1)
    0.40s
    both;
}

.hero-section .hero-media {
  animation:
    hero-media-enter
    1s
    cubic-bezier(0.22, 0.61, 0.36, 1)
    0.22s
    both;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-media-enter {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes heroDotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}

/* ======================================================
   MACBOOK / НЕВЫСОКИЕ ЭКРАНЫ
   ШИРИНА ОТ 1101px, ВЫСОТА ДО 850px
====================================================== */

@media (min-width: 1101px) and (max-height: 850px) {

  .hero-section {
    padding: 30px 0;
  }

  .hero-section .hero-container {
    gap: clamp(28px, 3vw, 55px);
  }

  .hero-section .hero-title {
    margin-bottom: 19px;

    font-size: clamp(39px, 3.55vw, 61px);

    line-height: 1.055;
  }

  .hero-section .hero-text {
    margin-bottom: 23px;

    font-size: clamp(14px, 1.05vw, 16px);
    line-height: 1.55;
  }

  .hero-section .hero-tagline {
    min-height: 42px;

    margin-bottom: 24px;
    padding: 9px 15px;

    font-size: 12px;
  }

  .hero-section .hero-button {
    min-height: 54px;

    padding: 0 25px;

    font-size: 14px;
  }

  .hero-section .hero-media-placeholder {
    height: clamp(310px, 52vh, 480px);
  }
}

/* ======================================================
   КОМПАКТНЫЕ НОУТБУКИ
   ШИРИНА 1101–1350px
====================================================== */

@media (min-width: 1101px) and (max-width: 1350px) {

  .hero-section .hero-container {
    width: calc(100% - 64px);

    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);

    gap: 30px;
  }

  .hero-section .hero-title {
    font-size: clamp(38px, 4vw, 54px);
  }

  .hero-section .hero-text {
    font-size: 15px;
  }

  .hero-section .hero-media-placeholder {
    height: clamp(300px, 49vh, 440px);
  }
}

/* ======================================================
   ПЛАНШЕТЫ / УЗКИЕ ЭКРАНЫ
====================================================== */

@media (max-width: 1100px) {

  .hero-section {
    height: auto;
    min-height: calc(100vh - var(--header-height, 80px));
    padding: 65px 0;
  }

  .hero-section .hero-container {
    width: calc(100% - 64px);

    grid-template-columns: minmax(0, 1fr);

    gap: 45px;
  }

  .hero-section .hero-content {
    max-width: 850px;
  }

  .hero-section .hero-title {
    max-width: 800px;

    font-size: clamp(45px, 6vw, 66px);
  }

  .hero-section .hero-text {
    max-width: 720px;
    font-size: 17px;
  }

  .hero-section .hero-media {
    max-width: 850px;
  }

  .hero-section .hero-media-placeholder {
    height: clamp(350px, 45vw, 490px);
  }
}

/* ======================================================
   МОБИЛЬНАЯ ВЕРСИЯ
====================================================== */

@media (max-width: 768px) {

  .hero-section {
    height: auto;
    min-height: 0;

    padding: 60px 0 70px;
  }

  .hero-section .hero-container {
    width: calc(100% - 32px);

    gap: 35px;
  }

  .hero-section .hero-title {
    margin-bottom: 22px;

    font-size: clamp(38px, 9.5vw, 55px);
    line-height: 1.07;
  }

  .hero-section .hero-text {
    margin-bottom: 25px;

    font-size: 15px;
    line-height: 1.65;
  }

  .hero-section .hero-tagline {
    max-width: 100%;

    margin-bottom: 26px;
    padding: 12px 15px;

    border-radius: 18px;

    font-size: 13px;
  }

  .hero-section .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-section .hero-button {
    width: 100%;

    min-height: 56px;

    padding: 0 25px;

    font-size: 15px;
  }

  .hero-section .hero-media-placeholder {
    height: clamp(270px, 68vw, 430px);
  }

  .hero-section .hero-media-placeholder {
    clip-path: polygon(
      22px 0,
      100% 0,
      100% calc(100% - 22px),
      calc(100% - 22px) 100%,
      0 100%,
      0 22px
    );
  }

  .hero-section .hero-bg-glow-1 {
    width: 230px;
    height: 230px;
  }

  .hero-section .hero-bg-glow-2 {
    width: 220px;
    height: 220px;
  }
}

/* ======================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
====================================================== */

@media (max-width: 430px) {

  .hero-section {
    padding: 50px 0 60px;
  }

  .hero-section .hero-title {
    font-size: clamp(35px, 9vw, 41px);
    line-height: 1.08;
  }

  .hero-section .hero-text {
    font-size: 14px;
  }

  .hero-section .hero-tagline {
    font-size: 12px;
    padding: 11px 13px;
  }

  .hero-section .hero-button {
    min-height: 54px;
  }

  .hero-section .hero-media-placeholder {
    height: 270px;
  }
}

/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

  .hero-section .hero-title,
  .hero-section .hero-text,
  .hero-section .hero-tagline,
  .hero-section .hero-actions,
  .hero-section .hero-media,
  .hero-section .hero-tagline-dot {
    animation: none !important;
  }

  .hero-section .hero-button {
    transition: none;
  }

  .hero-section .hero-button:hover {
    transform: none;
  }
}
