
/* ==========================================================
   PRIVOZ — SHARED ALL SERVICES
   Общий блок для всех страниц услуг
   ========================================================== */

.ps-all-services {
  padding: 65px 0 75px;
  background: #ffffff;
}

.ps-all-services,
.ps-all-services *,
.ps-all-services *::before,
.ps-all-services *::after {
  box-sizing: border-box;
}

/* КОНТЕЙНЕР */

.ps-all-services .ps-wrap {
  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ПЛАШКА */

.ps-all-services .ps-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  min-height: 34px;

  padding: 10px 20px;
  margin: 0 0 25px;

  background: #fff1eb;
  color: #ff641c;

  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    100% 100%,
    10px 100%
  );

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ЗАГОЛОВОК */

.ps-all-services h2 {
  margin: 0 0 30px;

  color: #171717;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(46px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

/* СЕТКА */

.ps-all-services .about-company-grid-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* КАРТОЧКИ */

.ps-all-services .about-card {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;

  width: 100%;
  height: 175px;
  min-height: 175px;
  min-width: 0;

  margin: 0;
  padding: 20px 22px;

  overflow: hidden;

  border: 0;
  border-radius: 0;

  color: #171717;
  text-decoration: none;
  cursor: pointer;

  clip-path: polygon(
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%,
    0 14px
  );

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.ps-all-services .about-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.03);
}

.ps-all-services .about-card:focus-visible {
  outline: 2px solid #244651;
  outline-offset: 3px;
}

/* ЦВЕТА КАРТОЧЕК */

.ps-all-services .about-card-orange {
  background: #ffd2b9;
}

.ps-all-services .about-card-export {
  background: #d3e2e6;
}

.ps-all-services .about-card-import {
  background: #ebcfc4;
}

.ps-all-services .about-card-retail {
  background: #e2e8d4;
}

.ps-all-services .about-card-procurement {
  background: #ead2d8;
}

.ps-all-services .about-card-quality {
  background: #d3e2df;
}

.ps-all-services .about-card-logistics {
  background: #ebdeca;
}

.ps-all-services .about-card-expert {
  background: #e5cccc;
}

.ps-all-services .about-card-additional {
  background: #e0e1dd;
}

/* ИЗОБРАЖЕНИЯ */

.ps-all-services .about-card-icon {
  position: absolute;
  top: 10px;
  right: 14px;
  bottom: auto;
  left: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 105px;
  height: 105px;

  margin: 0;
  padding: 0;

  background: transparent;
  transform: none;
  z-index: 2;
}

.ps-all-services .about-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* НАЗВАНИЯ УСЛУГ */

.ps-all-services .about-card h3 {
  position: relative;
  z-index: 3;

  max-width: 75%;

  margin: 0;
  padding: 0;

  color: #171717;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-align: left;
}

/* ПЛАНШЕТЫ */

@media (max-width: 1000px) {
  .ps-all-services .about-company-grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-all-services .about-card {
    height: 180px;
    min-height: 180px;
  }
}

/* ТЕЛЕФОНЫ */

@media (max-width: 600px) {
  .ps-all-services {
    padding: 55px 0;
  }

  .ps-all-services .ps-wrap {
    width: calc(100% - 36px);
  }

  .ps-all-services .ps-eyebrow {
    margin-bottom: 25px;
    font-size: 11px;
  }

  .ps-all-services h2 {
    margin-bottom: 25px;
    font-size: clamp(34px, 8vw, 46px);
  }

  .ps-all-services .about-company-grid-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ps-all-services .about-card {
    height: 155px;
    min-height: 155px;
    padding: 14px;
  }

  .ps-all-services .about-card-icon {
    top: 8px;
    right: 8px;
    width: 72px;
    height: 72px;
  }

  .ps-all-services .about-card h3 {
    max-width: 95%;
    font-size: 16px;
  }
}

/* МАЛЕНЬКИЕ ТЕЛЕФОНЫ */

@media (max-width: 380px) {
  .ps-all-services .about-company-grid-services {
    grid-template-columns: 1fr;
  }
}

/* ОТКЛЮЧЕНИЕ АНИМАЦИИ */

@media (prefers-reduced-motion: reduce) {
  .ps-all-services .about-card {
    transition: none;
  }

  .ps-all-services .about-card:hover {
    transform: none;
  }
}
