/* ─── Hero ──────────────────────────────────────────────────── */

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hero__breadcrumb-wrap {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding: 10px 20px;
}

.hero .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
}

.hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.hero .breadcrumb__item--active {
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.8);
}

.hero__wrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 60px 0;
}

.hero__badge {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: var(--lh-base);
}

.hero__title {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
}

/* ─── Breadcrumb ────────────────────────────────────────────── */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.breadcrumb__sep {
  color: var(--color-dark);
}

.breadcrumb__item--active {
  font-weight: var(--fw-medium);
  color: var(--color-black);
}

/* ─── Sol Content ────────────────────────────────────────────── */

.sol-content {
  padding: 60px 0 80px;
  background-color: var(--color-white);
}

.sol-content__text {
  max-width: 860px;
  margin: 90px auto 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}

/* Two-column variant (home page) */
.sol-content--two-col .sol-content__text {
  display: flex;
  gap: 56px;
  max-width: 1040px;
}

.sol-content--two-col .sol-content__text p {
  flex: 1 0 0;
  min-width: 0;
}

/* ─── Advantages ────────────────────────────────────────────── */

.advantages {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

.advantages__row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.advantages__row + .advantages__row {
  margin-top: 60px;
}

.advantages__content {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  justify-content: center;
}

.advantages__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantages__title {
  font-family: var(--font-base);
  font-size: 26px;
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.advantages__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advantages__desc {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}

.advantages__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 4px 0;
}

.advantages__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  line-height: var(--lh-loose);
}

.advantages__list li::before {
  content: '';
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.243 16.314L6 12.07L7.414 10.656L10.243 13.484L15.899 7.82703L17.314 9.24203L10.243 16.314Z' fill='%238F2B35'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 12C1 5.925 5.925 1 12 1C18.075 1 23 5.925 23 12C23 18.075 18.075 23 12 23C5.925 23 1 18.075 1 12ZM12 21C10.8181 21 9.64778 20.7672 8.55585 20.3149C7.46392 19.8626 6.47177 19.1997 5.63604 18.364C4.80031 17.5282 4.13738 16.5361 3.68508 15.4442C3.23279 14.3522 3 13.1819 3 12C3 10.8181 3.23279 9.64778 3.68508 8.55585C4.13738 7.46392 4.80031 6.47177 5.63604 5.63604C6.47177 4.80031 7.46392 4.13738 8.55585 3.68508C9.64778 3.23279 10.8181 3 12 3C14.3869 3 16.6761 3.94821 18.364 5.63604C20.0518 7.32387 21 9.61305 21 12C21 14.3869 20.0518 16.6761 18.364 18.364C16.6761 20.0518 14.3869 21 12 21Z' fill='%238F2B35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.advantages__media {
  flex: 1 0 0;
  min-width: 0;
  height: 456px;
}

.advantages__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* ─── Sol Products ───────────────────────────────────────────── */

.sol-products {
  padding: 100px 0;
  background-color: var(--color-white);
}

.sol-products__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 50px;
}

.sol-products__title {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
}

.sol-products__subtitle {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-gray);
  line-height: var(--lh-base);
}

.sol-products__slider-wrap {
  position: relative;
}

.sol-products__slider {
  width: 100%;
}

.sol-products__slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.sol-products__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sol-products__arrow:hover {
  background-color: var(--color-bg-fill);
  box-shadow: var(--shadow-card);
}

.sol-products__arrow--prev {
  left: -52px;
  transform: translateY(-50%) rotate(180deg);
}

.sol-products__arrow--next {
  right: -52px;
  transform: translateY(-50%);
}

.sol-products__grid .product-card__title {
  -webkit-line-clamp: 1;
  min-height: calc(var(--fs-md) * var(--lh-snug));
}

.sol-products__desc {
  -webkit-line-clamp: 2;
  min-height: calc(var(--fs-15) * var(--lh-base) * 2);
}

/* ─── Other Solutions ───────────────────────────────────────── */

.other-solutions {
  padding: 100px 0;
  background-color: var(--color-white);
}

.other-solutions__title {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

.other-solutions__grid {
  display: flex;
  gap: 17px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.other-solutions__grid::-webkit-scrollbar {
  display: none;
}

.other-solutions__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 0 320px;
  min-width: 320px;
  height: 320px;
  padding: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  transition: transform var(--transition-base);
}

.other-solutions__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-lg);
}

.other-solutions__card:hover {
  transform: translateY(-4px);
}

.other-solutions__card-title {
  position: relative;
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-white);
  z-index: 1;
}

/* ─── CTA ───────────────────────────────────────────────────── */

.cta {
  position: relative;
  padding: 140px 0;
  background-image: url('../../../img/solutions/home-cta.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-dark-1);
}

.cta .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.cta__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta__title {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
}

.cta__text {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  line-height: var(--lh-base);
}

.cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Responsive ────────────────────────────────────────────── */

@media (min-width: 1025px) and (max-width: 1440px) {
  .sol-products .container {
    padding-inline: 72px;
  }
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: var(--fs-2xl);
  }

  .sol-content__text {
    max-width: 100%;
    margin-top: 50px;
  }

  .sol-content--two-col .sol-content__text {
    max-width: 100%;
  }

  .advantages {
    padding: 60px 0;
  }

  .advantages__row {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .advantages__row--reverse {
    flex-direction: column;
  }

  .advantages__content {
    gap: 32px;
    width: 100%;
  }

  .advantages__media {
    width: 100%;
    height: 360px;
  }

  .sol-products {
    padding: 60px 0;
  }

  .sol-products__title {
    font-size: var(--fs-2xl);
  }

  .sol-products__slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .sol-products__arrow {
    position: static;
    transform: none;
    flex-shrink: 0;
  }

  .sol-products__arrow--prev {
    transform: rotate(180deg);
  }

  .sol-products__slider {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .other-solutions {
    padding: 60px 0;
  }

  .other-solutions__title {
    font-size: var(--fs-2xl);
  }

  .cta {
    padding: 100px 0;
  }

  .cta__title {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 320px;
  }

  .hero__title {
    font-size: var(--fs-xl);
  }

  .sol-content {
    padding: 20px 0 50px;
  }

  .sol-content__text {
    margin-top: 32px;
  }

  .sol-content--two-col .sol-content__text {
    flex-direction: column;
    gap: 20px;
  }

  .advantages {
    padding: 40px 0;
  }

  .advantages__row + .advantages__row {
    margin-top: 40px;
  }

  .advantages__media {
    height: 260px;
  }

  .sol-products {
    padding: 40px 0;
  }

  .other-solutions {
    padding: 40px 0;
  }

  .other-solutions__title {
    font-size: var(--fs-xl);
  }

  .cta {
    padding: 60px 0;
  }

  .cta__title {
    font-size: var(--fs-xl);
  }

  .cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
