/* PRIVOZ — Решения для бизнеса. Отдельный блок MODX, без влияния на другие секции. */
#home-solutions.business-solutions-section {
  position: relative;
  height: auto;
  max-height: none;
  min-height: 0;
  padding: 85px 0 105px;
  display: block;
  overflow: visible;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 104, 30, 0.035),
      transparent 34%
    ),
    #fafafa;
  font-family: "Plus Jakarta Sans", sans-serif;
}
#home-solutions *,
#home-solutions *::before,
#home-solutions *::after {
  box-sizing: border-box;
}
#home-solutions .business-solutions-container {
  width: calc(100% - 100px);
  max-width: 1450px;
  margin: 0 auto;
  height: auto;
}
#home-solutions .business-solutions-head {
  max-width: 980px;
  margin: 0 auto 35px;
  text-align: center;
}
#home-solutions .business-solutions-label {
  min-height: 35px;
  margin: 0 0 22px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff681e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255, 104, 30, 0.18);
  background: rgba(255, 104, 30, 0.08);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}
#home-solutions .business-solutions-title {
  margin: 0 0 16px;
  color: #171717;
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -0.05em;
}
#home-solutions .business-solutions-description {
  max-width: 720px;
  margin: 0 auto;
  color: #6c6c6c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
#home-solutions .business-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  height: auto;
  overflow: visible;
}
#home-solutions .business-solution-card {
  position: relative;
  min-width: 0;
  height: auto;
  min-height: 390px;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  color: #202020;
  clip-path: polygon(
    14px 0,
    100% 0,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    0 100%,
    0 14px
  );
  transition:
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.3s ease;
}
#home-solutions .business-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}
#home-solutions .business-solution-icon {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 150px;
  height: 135px;
  flex: 0 0 135px;
  align-self: center;
  margin: 0 auto 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  clip-path: none;
}
#home-solutions .business-solution-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
#home-solutions .business-solution-card:hover .business-solution-icon img {
  transform: scale(1.06);
}
#home-solutions .business-solution-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: #202020;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
#home-solutions .business-solution-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  color: #55504d;
  font-size: 14px;
  line-height: 1.55;
}
#home-solutions .business-solution-card > a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-shrink: 0;
  margin: auto 0 0;
  padding: 12px 20px;
  min-height: 42px;
  background: #202020;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: background 0.25s ease;
}
#home-solutions .business-solution-card > a:hover {
  background: #ff681e;
  color: #fff;
}
#home-solutions .business-solution-card > a span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}
#home-solutions .business-solution-card > a:hover span {
  transform: translateX(4px);
}
#home-solutions .business-solution-card-orange {
  background: linear-gradient(145deg, #f9e5d8, #f3d1bd);
}
#home-solutions .business-solution-card-beige {
  background: linear-gradient(145deg, #f1e9df, #e8dbc9);
}
#home-solutions .business-solution-card-blue {
  background: linear-gradient(145deg, #e7eef0, #d4e0e4);
}
#home-solutions .business-solution-card-olive {
  background: linear-gradient(145deg, #eef1e8, #dce3cf);
}
#home-solutions .business-solution-card-pink {
  background: linear-gradient(145deg, #f2e1e0, #e7cbca);
}
#home-solutions .business-solution-card-purple {
  background: linear-gradient(145deg, #ebe3ed, #dcd0df);
}
#home-solutions .business-solution-card-gray {
  background: linear-gradient(145deg, #eceeef, #dfe3e5);
}
#home-solutions .business-solution-card-sand {
  background: linear-gradient(145deg, #f1e8dd, #e2d2bd);
}
/* Появление блока — только когда JS добавил класс. Без JS контент виден. */
#home-solutions.solutions-js-ready .business-solutions-label,
#home-solutions.solutions-js-ready .business-solutions-title,
#home-solutions.solutions-js-ready .business-solutions-description,
#home-solutions.solutions-js-ready .business-solution-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solutions-label,
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solutions-title,
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solutions-description,
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card {
  opacity: 1;
  transform: none;
}
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(2),
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(6) {
  transition-delay: 0.07s;
}
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(3),
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(7) {
  transition-delay: 0.14s;
}
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(4),
#home-solutions.solutions-js-ready.solutions-is-visible
  .business-solution-card:nth-child(8) {
  transition-delay: 0.21s;
}
@media (max-width: 1120px) {
  #home-solutions.business-solutions-section {
    padding: 85px 0 95px;
  }
  #home-solutions .business-solutions-container {
    width: calc(100% - 50px);
  }
  #home-solutions .business-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  #home-solutions .business-solution-card {
    min-height: 370px;
  }
}
@media (max-width: 768px) {
  #home-solutions.business-solutions-section {
    padding: 70px 0 80px;
  }
  #home-solutions .business-solutions-container {
    width: calc(100% - 32px);
  }
  #home-solutions .business-solutions-head {
    margin-bottom: 32px;
  }
  #home-solutions .business-solutions-title {
    font-size: clamp(35px, 9vw, 49px);
  }
  #home-solutions .business-solutions-description {
    font-size: 16px;
    line-height: 1.6;
  }
}
@media (max-width: 550px) {
  #home-solutions .business-solutions-grid {
    grid-template-columns: 1fr;
  }
  #home-solutions .business-solution-card {
    min-height: 0;
    padding: 20px;
  }
  #home-solutions .business-solution-icon {
    width: 135px;
    height: 115px;
    flex-basis: 115px;
    margin-bottom: 16px;
  }
  #home-solutions .business-solution-card h3 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #home-solutions.solutions-js-ready .business-solutions-label,
  #home-solutions.solutions-js-ready .business-solutions-title,
  #home-solutions.solutions-js-ready .business-solutions-description,
  #home-solutions.solutions-js-ready .business-solution-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
