/* ==========================================================
   PRIVOZ — IMPORT
   BLOCK 01: HERO
   ========================================================== */

.import-page {
  --service-bg: #f8eae2;
  --service-bg-soft: #f3ddd1;
  --service-accent: #cf704b;
  --service-accent-dark: #a2553a;
  --service-accent-deep: #873d28;
  --service-accent-rgb: 207, 112, 75;
  --service-text: #8a3f2b;
  --service-text-dark: #733321;
  --service-text-soft: #7e6b62;
  --service-border: rgba(162, 85, 58, 0.16);

  background: var(--service-bg);
  color: var(--service-text);
}

.import-page .import-hero,
.import-page .import-hero * {
  box-sizing: border-box;
}

/* ==========================================================
   HERO
   ========================================================== */

.import-page .import-hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 720px;
  min-height: max(720px, calc(100dvh - 80px));

  padding: 55px 0;

  overflow: hidden;

  background: linear-gradient(135deg, #f9eee7 0%, #f8eae2 55%, #f3ddd1 100%);
}

/* ==========================================================
   BACKGROUND GRID
   ========================================================== */

.import-hero-grid {
  position: absolute;
  inset: 0;

  opacity: 0.12;

  background-image:
    linear-gradient(rgba(207, 112, 75, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 112, 75, 0.08) 1px, transparent 1px);

  background-size: 90px 90px;

  pointer-events: none;
}

/* ==========================================================
   CONTAINER
   ========================================================== */

.import-page .import-page-container {
  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

.import-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;
}

/* ==========================================================
   LEFT CONTENT
   ========================================================== */

.import-hero-content {
  max-width: 700px;
  min-width: 0;
}

.import-page .import-hero-title {
  margin: 0 0 30px;

  color: var(--service-text);

  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.import-page .import-hero-title span {
  display: block;
  color: var(--service-text);
}

.import-page .import-hero-text {
  max-width: 630px;

  margin: 0 0 40px;

  color: var(--service-text-soft);

  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

/* ==========================================================
   PRIMARY BUTTON
   ========================================================== */

.import-page .import-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;

  min-height: 62px;

  padding: 0 30px 0 34px;

  border: none;
  border-radius: 0;

  background: var(--service-accent-deep);
  color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;

  cursor: pointer;
  text-decoration: none;

  clip-path: polygon(0 0, 88% 0, 100% 100%, 12% 100%);

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.import-page .import-primary-button:hover {
  background: var(--service-accent-dark);
  color: #ffffff;

  transform: translateY(-2px);
}

.import-page .import-primary-button:focus-visible {
  outline: 2px solid var(--service-accent-deep);
  outline-offset: 5px;
}

.import-primary-button svg {
  display: block;

  width: 18px;
  height: 18px;

  flex-shrink: 0;
}

.import-primary-button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
   RIGHT VISUAL
   ========================================================== */

.import-hero-visual {
  position: relative;
  min-height: 570px;
  min-width: 0;
}

/* Верхняя декоративная фигура */

.import-hero-visual::before {
  content: "";

  position: absolute;

  width: 390px;
  height: 275px;

  right: -20px;
  top: -45px;

  background: var(--service-accent);

  clip-path: polygon(8% 0, 100% 0, 100% 78%, 92% 100%, 0 100%, 0 10%);

  z-index: 0;
}

/* Нижняя декоративная фигура */

.import-hero-visual::after {
  content: "";

  position: absolute;

  width: 520px;
  height: 330px;

  left: -70px;
  bottom: -50px;

  background: var(--service-accent-dark);

  clip-path: polygon(7% 0, 100% 0, 100% 88%, 92% 100%, 0 100%, 0 10%);

  z-index: 0;
}

/* Видео */

.import-page .import-hero-visual .import-hero-video {
  position: absolute;

  inset: 45px 25px 25px 25px;

  display: block;

  width: calc(100% - 50px);
  height: calc(100% - 70px);

  object-fit: cover;
  object-position: center;

  background: #a2553a;

  z-index: 2;

  clip-path: polygon(
    22px 0,
    100% 0,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    0 100%,
    0 22px
  );
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1120px) {
  .import-page .import-hero {
    min-height: 0;
    padding: 90px 0;
  }

  .import-page .import-page-container {
    width: calc(100% - 50px);
  }

  .import-hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .import-hero-content {
    max-width: 850px;
  }

  .import-hero-visual {
    min-height: 500px;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {
  .import-page .import-hero {
    min-height: 0;
    padding: 70px 0;
  }

  .import-page .import-page-container {
    width: calc(100% - 32px);
  }

  .import-hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .import-page .import-hero-title {
    font-size: clamp(43px, 13vw, 62px);
    line-height: 1;
  }

  .import-page .import-hero-text {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.65;
  }

  .import-hero-visual {
    min-height: 390px;
  }

  .import-hero-visual::before {
    width: 250px;
    height: 180px;

    right: -40px;
    top: -20px;
  }

  .import-hero-visual::after {
    width: 300px;
    height: 200px;

    left: -35px;
    bottom: -20px;
  }

  .import-page .import-hero-visual .import-hero-video {
    inset: 25px 15px 20px 15px;

    width: calc(100% - 30px);
    height: calc(100% - 45px);
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 430px) {
  .import-page .import-primary-button {
    width: 100%;
    justify-content: space-between;
  }

  .import-hero-visual {
    min-height: 340px;
  }

  .import-hero-visual::before {
    width: 210px;
  }

  .import-hero-visual::after {
    width: 260px;
  }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .import-primary-button {
    transition: none;
  }
}
