﻿/* Слайдер «Готовые интерьерные решения» — масштаб от 100vw (база 375px) */
.landing-solutions {
  --ls-w: calc(100vw * 343 / 375);
  position: relative;
  width: var(--ls-w);
  max-width: none;
  margin: calc(100vw * 24 / 375) auto 0;
  padding: 0;
  overflow: visible;
  box-sizing: border-box;
}

.landing-solutions .calculator-result-slider {
  position: relative;
  --calc-title-shift: 0px;
  width: 100%;
  height: auto;
  min-height: calc(var(--ls-w) * 357 / 343 + var(--calc-title-shift));
  margin: 0;
  padding: 0 0 calc(var(--ls-w) * 4 / 343);
  box-sizing: border-box;
  touch-action: pan-y;
}

.landing-solutions .calculator-result-slider__pan {
  position: relative;
  width: 100%;
  min-height: calc(var(--ls-w) * 330 / 343 + var(--calc-title-shift));
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  touch-action: pan-y;
}

.landing-solutions .calculator-result-slider__pan-inner {
  position: relative;
  width: 100%;
  min-height: calc(var(--ls-w) * 330 / 343 + var(--calc-title-shift));
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes calculator-result-pan-left {
  from {
    transform: translate3d(calc(var(--ls-w) * 10 / 343), 0, 0);
    opacity: 0.9;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes calculator-result-pan-right {
  from {
    transform: translate3d(calc(var(--ls-w) * -10 / 343), 0, 0);
    opacity: 0.9;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.landing-solutions .calculator-result-slider__pan-inner.is-pan-left {
  animation: calculator-result-pan-left 0.55s cubic-bezier(0.25, 0.85, 0.35, 1) forwards;
}

.landing-solutions .calculator-result-slider__pan-inner.is-pan-right {
  animation: calculator-result-pan-right 0.55s cubic-bezier(0.25, 0.85, 0.35, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .landing-solutions .calculator-result-slider__pan-inner.is-pan-left,
  .landing-solutions .calculator-result-slider__pan-inner.is-pan-right {
    animation-duration: 0.01ms;
  }
}

.landing-solutions .calculator-result-slider__segments {
  position: relative;
  top: auto;
  left: 0;
  width: 100%;
  height: calc(var(--ls-w) * 27 / 343);
  margin: calc(var(--ls-w) * 14 / 343) 0 0;
  padding: 0;
  box-sizing: border-box;
  z-index: 5;
  flex-shrink: 0;
}

.landing-solutions .calculator-result-slider__segment {
  position: absolute;
  top: 0;
  width: calc(var(--ls-w) * 84 / 343);
  height: calc(var(--ls-w) * 27 / 343);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: calc(var(--ls-w) * 27 / 343);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.landing-solutions .calculator-result-slider__segment--left {
  left: calc(var(--ls-w) * 84 / 343);
}

.landing-solutions .calculator-result-slider__segment--right {
  left: calc(var(--ls-w) * 175 / 343);
}

.landing-solutions .calculator-result-slider__segment.is-active {
  background: #383838;
  border: none;
}

.landing-solutions .calculator-result-slider__segment:not(.is-active) {
  background: #fafafa;
  border: calc(var(--ls-w) * 0.61 / 343) solid #f2f2f2;
}

.landing-solutions .calculator-result-slider__segment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #202020;
  pointer-events: none;
}

.landing-solutions .calculator-result-slider__segment-icon svg {
  display: block;
  width: calc(var(--ls-w) * 52 / 343);
  height: calc(var(--ls-w) * 12 / 343);
  flex-shrink: 0;
}

.landing-solutions .calculator-result-slider__segment--right .calculator-result-slider__segment-icon svg {
  transform: rotate(180deg);
}

.landing-solutions .calculator-result-slider__segment.is-active .calculator-result-slider__segment-icon {
  color: #f0ebe5;
}

.landing-solutions .landing-reviews .calculator-result-slider__segments {
  margin: calc(100vw * 20 / 375) 0 0;
}

.landing-solutions .landing-reviews .calculator-result-slider__segment:disabled {
  opacity: 0.45;
  cursor: default;
}

.landing-solutions .calculator-result-slider__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--ls-w) * 268 / 343);
  box-sizing: border-box;
  border: 1px solid #cccccc;
  border-radius: calc(var(--ls-w) * 20 / 343);
  overflow: hidden;
  background: #ffffff;
  touch-action: pan-y;
}

.landing-solutions .calculator-result-slider__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  touch-action: pan-y;
}

.landing-solutions .calculator-result-slider__layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.25, 0.85, 0.35, 1);
  pointer-events: none;
  touch-action: pan-y;
}

.landing-solutions .calculator-result-slider__layer.is-active {
  opacity: 1;
  z-index: 1;
}

.landing-solutions .calculator-result-slider__captions {
  position: absolute;
  z-index: 3;
  top: calc(var(--ls-w) * 12 / 343);
  left: 0;
  width: 100%;
  min-height: calc(var(--ls-w) * 28 / 343);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  pointer-events: none;
  overflow: visible;
}

.landing-solutions .calculator-result-slider__chip {
  position: absolute;
  top: 0;
  height: calc(var(--ls-w) * 28 / 343);
  margin: 0;
  box-sizing: border-box;
  border-radius: calc(var(--ls-w) * 8 / 343);
  display: flex;
  align-items: center;
  overflow: hidden;
  max-width: calc(100% - var(--ls-w) * 24 / 343);
}

.landing-solutions .calculator-result-slider__chip--solid {
  left: calc(var(--ls-w) * 12 / 343);
  width: calc(var(--ls-w) * 110 / 343);
  padding: calc(var(--ls-w) * 8 / 343) calc(var(--ls-w) * 10 / 343);
  background: #ffffff;
  border: none;
  justify-content: center;
}

.landing-solutions .calculator-result-slider__chip--outline {
  right: calc(var(--ls-w) * 12 / 343);
  left: auto;
  width: calc(var(--ls-w) * 110 / 343);
  padding: calc(var(--ls-w) * 8 / 343) calc(var(--ls-w) * 10 / 343);
  background: transparent;
  border: 1px solid #ffffff;
  justify-content: flex-end;
}

.landing-solutions .calculator-result-slider__chip-label {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: calc(var(--ls-w) * 11 / 343);
  line-height: 1;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-solutions .calculator-result-slider__chip-label--dark {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1e1e1e;
  white-space: nowrap;
}

.landing-solutions .calculator-result-slider__chip-label--light {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  color: #ffffff;
  white-space: nowrap;
}

.landing-solutions .calculator-result-slider__nav {
  position: absolute;
  z-index: 4;
  top: calc(var(--ls-w) * 111 / 343);
  width: calc(var(--ls-w) * 30 / 343);
  height: calc(var(--ls-w) * 30 / 343);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.landing-solutions .calculator-result-slider__nav img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.landing-solutions .calculator-result-slider__nav--prev {
  left: calc(var(--ls-w) * 12 / 343);
}

.landing-solutions .calculator-result-slider__nav--next {
  right: calc(var(--ls-w) * 12 / 343);
  left: auto;
}

.landing-solutions .calculator-result-slider__dots {
  position: absolute;
  top: calc(var(--ls-w) * 243 / 343);
  left: calc(var(--ls-w) * 12 / 343);
  right: calc(var(--ls-w) * 12 / 343);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: calc(var(--ls-w) * 4 / 343);
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.landing-solutions .calculator-result-slider__dot {
  flex-shrink: 0;
  height: calc(var(--ls-w) * 9 / 343);
  width: calc(var(--ls-w) * 9 / 343);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: calc(var(--ls-w) * 0.53 / 343) solid #f5f5f5;
  border-radius: calc(var(--ls-w) * 28 / 343);
  background: #f6f6f6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.landing-solutions .calculator-result-slider__dot.is-active {
  width: calc(var(--ls-w) * 24 / 343);
  background: #383838;
  border-color: #383838;
}

.landing-solutions .calculator-result-slider__meta {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.landing-solutions .calculator-result-slider__meta-title {
  position: absolute;
  top: calc(var(--ls-w) * 279 / 343);
  left: 0;
  width: 100%;
  min-height: calc(var(--ls-w) * 18 / 343);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: calc(var(--ls-w) * 17 / 343);
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  color: #1e1e1e;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-solutions .calculator-result-slider__meta-budget {
  position: absolute;
  top: calc(var(--ls-w) * 310 / 343 + var(--calc-title-shift));
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: calc(var(--ls-w) * 14 / 343);
  line-height: 1.2;
  color: #1e1e1e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-solutions .calculator-result-slider__meta-budget-strong {
  font-weight: 600;
}

.landing-solutions .calculator-result-slider__meta-budget-value {
  font-weight: 400;
}

/* Текст под капсулами */
.landing-access-title {
  width: 100%;
  min-height: calc(100vw * 22 / 375);
  margin: calc(100vw * 40 / 375) 0 0;
  padding: 0;
  box-sizing: border-box;
  scroll-margin-top: calc(100vw * 16 / 375);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: calc(100vw * 20 / 375);
  line-height: 110%;
  letter-spacing: 0;
  text-align: center;
  color: #000000;
  opacity: 1;
}
