
/* ======================================================
   PRIVOZ — ABOUT PAGE
   BLOCK 04: TRUST
   MODX EVOLUTION
====================================================== */

/* ======================================================
   ОСНОВНАЯ СЕКЦИЯ
====================================================== */

#about-page .about-trust {
  position: relative;
  width: 100%;
  padding: 65px 0 75px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 88% 35%,
      rgba(255, 104, 30, 0.07),
      transparent 30%
    ),
    #0d0d0d;

  color: #ffffff;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#about-page .about-trust,
#about-page .about-trust *,
#about-page .about-trust *::before,
#about-page .about-trust *::after {
  box-sizing: border-box;
}

/* ======================================================
   ДЕКОРАТИВНОЕ СВЕЧЕНИЕ
====================================================== */

#about-page .about-trust-glow {
  position: absolute;

  width: 460px;
  height: 460px;

  left: -280px;
  bottom: -150px;

  border-radius: 50%;
  background: rgba(255, 104, 30, 0.1);
  filter: blur(120px);

  pointer-events: none;
}

/* ======================================================
   КОНТЕЙНЕР
====================================================== */

#about-page .about-trust-container {
  position: relative;
  z-index: 2;

  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ======================================================
   ЗАГОЛОВОК
====================================================== */

#about-page .about-trust-head {
  max-width: 950px;
  margin-bottom: 36px;
}

/* ПЛАШКА */

#about-page .about-trust-head .about-section-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;

  color: var(--about-orange, #ff681e);
}

/* ЗАГОЛОВОК */

#about-page .about-trust-title {
  margin: 0;

  color: #ffffff;

  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 500;

  line-height: 1.04;
  letter-spacing: -0.055em;
}

#about-page .about-trust-title span {
  display: block;
  color: rgba(255, 255, 255, 0.4);
}

/* ======================================================
   СЕТКА КАРТОЧЕК
====================================================== */

#about-page .about-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* ======================================================
   КАРТОЧКА
====================================================== */

#about-page .about-trust-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  margin: 0;

  overflow: hidden;

  background: #191919;
  border: 1px solid rgba(255, 255, 255, 0.07);

  clip-path: polygon(
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%,
    0 14px
  );

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

#about-page .about-trust-card:hover {
  transform: translateY(-5px);
  background: #222222;
}

/* ======================================================
   ОБЛАСТЬ ИЗОБРАЖЕНИЯ
====================================================== */

#about-page .about-trust-image {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 245px;

  padding: 18px;
  overflow: hidden;

  background: #111111;
}

/* ГРАМОТА — ЦЕЛИКОМ, БЕЗ ОБРЕЗАНИЯ */

#about-page .about-trust-image img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;

  object-fit: contain;
  object-position: center;

  transition: transform 0.35s ease;
}

#about-page .about-trust-card:hover .about-trust-image img {
  transform: scale(1.035);
}

/* ======================================================
   НИЖНЯЯ ЧАСТЬ КАРТОЧКИ
====================================================== */

#about-page .about-trust-card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  flex: 1;

  padding: 22px;
}

/* ТИП ДОКУМЕНТА */

#about-page .about-trust-type {
  display: block;

  margin-bottom: 13px;

  color: var(--about-orange, #ff681e);

  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* НАЗВАНИЕ */

#about-page .about-trust-card-bottom h3 {
  margin: 0 0 12px;

  color: #ffffff;

  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 500;

  line-height: 1.2;
  letter-spacing: -0.035em;

  overflow-wrap: break-word;
}

/* ОПИСАНИЕ */

#about-page .about-trust-card-bottom p {
  margin: 0 0 18px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

/* ======================================================
   ССЫЛКА «ПРОВЕРИТЬ КОМПАНИЮ»
====================================================== */

#about-page .about-trust-link {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  min-height: 46px;

  margin-top: auto;
  padding: 0 15px;

  gap: 15px;

  border: 1px solid rgba(255, 104, 30, 0.5);

  background: transparent;
  color: #ffffff;

  font-size: 12px;
  font-weight: 600;
  text-decoration: none;

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

#about-page .about-trust-link span {
  flex-shrink: 0;

  color: var(--about-orange, #ff681e);
  font-size: 19px;
}

#about-page .about-trust-link:hover {
  background: var(--about-orange, #ff681e);
  border-color: var(--about-orange, #ff681e);
  color: #ffffff;
}

#about-page .about-trust-link:hover span {
  color: #ffffff;
}

#about-page .about-trust-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ======================================================
   НЕВЫСОКИЕ МОНИТОРЫ
====================================================== */

@media (min-width: 1121px) and (max-height: 800px) {

  #about-page .about-trust {
    padding: 35px 0 45px;
  }

  #about-page .about-trust-head {
    margin-bottom: 25px;
  }

  #about-page .about-trust-title {
    font-size: clamp(38px, 3.3vw, 50px);
  }

  #about-page .about-trust-image {
    height: 200px;
    padding: 14px;
  }

  #about-page .about-trust-card-bottom {
    padding: 18px;
  }

  #about-page .about-trust-card-bottom h3 {
    font-size: 19px;
  }

  #about-page .about-trust-card-bottom p {
    font-size: 12px;
    line-height: 1.5;
  }
}

/* ======================================================
   ПЛАНШЕТЫ — ДО 1120px
====================================================== */

@media (max-width: 1120px) {

  #about-page .about-trust {
    padding: 75px 0 85px;
  }

  #about-page .about-trust-container {
    width: calc(100% - 50px);
  }

  #about-page .about-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #about-page .about-trust-image {
    height: 300px;
  }

  #about-page .about-trust-title {
    font-size: clamp(42px, 5vw, 60px);
  }

  #about-page .about-trust-card-bottom h3 {
    font-size: 23px;
  }
}

/* ======================================================
   ТЕЛЕФОНЫ — ДО 768px
====================================================== */

@media (max-width: 768px) {

  #about-page .about-trust {
    padding: 65px 0 75px;
  }

  #about-page .about-trust-container {
    width: calc(100% - 32px);
  }

  #about-page .about-trust-head {
    margin-bottom: 35px;
  }

  #about-page .about-trust-title {
    font-size: clamp(37px, 9vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  #about-page .about-trust-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  #about-page .about-trust-image {
    height: 320px;
    padding: 18px;
  }

  #about-page .about-trust-card-bottom {
    padding: 23px;
  }

  #about-page .about-trust-card-bottom h3 {
    font-size: 23px;
  }

  #about-page .about-trust-card-bottom p {
    font-size: 13px;
  }
}

/* ======================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ
====================================================== */

@media (max-width: 430px) {

  #about-page .about-trust {
    padding: 55px 0 65px;
  }

  #about-page .about-trust-title {
    font-size: clamp(33px, 8vw, 40px);
  }

  #about-page .about-trust-image {
    height: 275px;
  }

  #about-page .about-trust-card-bottom {
    padding: 20px;
  }

  #about-page .about-trust-card-bottom h3 {
    font-size: 21px;
  }
}

/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

  #about-page .about-trust-card,
  #about-page .about-trust-image img,
  #about-page .about-trust-link {
    transition: none;
  }

  #about-page .about-trust-card:hover,
  #about-page .about-trust-card:hover img {
    transform: none;
  }
}
