/* ==========================================
   PRIVOZ — EXPORT
   BLOCK 05: WHY PRIVOZ
   ========================================== */

.export-page .export-why {
  --why-bg: #edf4f6;
  --why-dark: #244651;
  --why-text: #24444e;
  --why-muted: #5e7780;
  --why-accent: #668b99;
  --why-accent-dark: #456d7b;
  --why-border: rgba(69, 109, 123, 0.17);

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  min-height: 760px;
  width: 100%;

  background: var(--why-bg);
}

/* ==========================================
   ЛЕВАЯ ЧАСТЬ
   ========================================== */

.export-why-media {
  position: relative;

  min-height: 760px;
  overflow: hidden;

  background: var(--why-accent-dark);
}

.export-why-media video,
.export-why-media img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;

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

/* Временная заглушка */

.export-why-placeholder {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 55px;

  background: linear-gradient(145deg, #668b99, #244651);
}

.export-why-placeholder > span {
  display: block;

  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.export-why-placeholder > strong {
  display: block;

  color: rgba(255, 255, 255, 0.27);

  font-size: clamp(55px, 6vw, 90px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

/* ==========================================
   ПРАВАЯ ЧАСТЬ
   ========================================== */

.export-why-content {
  display: flex;
  align-items: center;

  padding: 90px 8%;

  background: var(--why-bg);
}

.export-why-content-inner {
  width: 100%;
  max-width: 650px;
}

/* ==========================================
   ПЛАШКА ПОЧЕМУ PRIVOZ
   ========================================== */

.export-page .export-why-content .export-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  max-width: 100%;

  margin: 0 0 28px;
  padding: 11px 19px;

  background: #dce9ed;
  color: #456d7b;

  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;

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

/* ==========================================
   ЗАГОЛОВОК
   ========================================== */

.export-page .export-why-content h2 {
  margin: 0 0 40px;

  color: var(--why-text);

  font-size: clamp(45px, 4.7vw, 70px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.055em;
}

.export-page .export-why-content h2 span {
  display: block;
  color: var(--why-accent-dark);
}

/* ==========================================
   ОСНОВНОЙ ТЕКСТ
   ========================================== */

.export-why-text {
  color: var(--why-muted);

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

.export-why-text p {
  margin: 0 0 18px;
}

.export-why-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================
   ВЫДЕЛЕННАЯ МЫСЛЬ
   ========================================== */

.export-why-accent {
  margin-top: 35px;
  padding-top: 25px;

  border-top: 1px solid var(--why-border);

  color: var(--why-dark);

  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* ==========================================
   КНОПКА О КОМПАНИИ
   ========================================== */

.export-page .export-why-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  width: fit-content;
  min-height: 58px;

  margin-top: 35px;
  padding: 0 32px;

  background: #244651;
  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;

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

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

.export-page .export-why-button:hover {
  background: #456d7b;
  color: #ffffff;
  transform: translateY(-3px);
}

.export-page .export-why-button:focus-visible {
  outline: 2px solid #244651;
  outline-offset: 5px;
}

.export-why-button svg {
  display: block;

  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

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

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

@media (max-width: 1120px) {
  .export-page .export-why {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .export-why-media {
    min-height: 500px;
  }

  .export-why-content {
    padding: 80px 50px;
  }

  .export-why-content-inner {
    max-width: 800px;
  }
}

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

@media (max-width: 768px) {
  .export-page .export-why {
    grid-template-columns: minmax(0, 1fr);
  }

  .export-why-media {
    min-height: 360px;
  }

  .export-why-placeholder {
    padding: 30px;
  }

  .export-why-placeholder > strong {
    font-size: clamp(48px, 11vw, 72px);
  }

  .export-why-content {
    padding: 70px 24px 80px;
  }

  .export-page .export-why-content .export-section-label {
    margin-bottom: 24px;
    padding: 9px 15px;
    font-size: 10px;
  }

  .export-page .export-why-content h2 {
    margin-bottom: 30px;
    font-size: clamp(36px, 8.5vw, 52px);
    line-height: 1.05;
  }

  .export-why-text {
    font-size: 14px;
  }

  .export-why-text p {
    margin-bottom: 16px;
  }

  .export-why-accent {
    margin-top: 28px;
    padding-top: 23px;
    font-size: 17px;
  }

  .export-page .export-why-button {
    min-height: 54px;
    margin-top: 28px;
    padding: 0 26px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .export-why-media {
    min-height: 290px;
  }

  .export-why-content {
    padding: 60px 20px 70px;
  }

  .export-page .export-why-content h2 {
    font-size: clamp(34px, 9vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .export-page .export-why-button {
    transition: none;
  }
}
