.price-estimate {
  background: var(--color-bg-accent3);
  padding: 78px 0 0;
  border-radius: var(--radius-4xl) var(--radius-4xl) 0 0;
  position: relative;
  z-index: 15;
}
.price-estimate:after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 84px;
  bottom: 2px;
  transform: translateY(100%);
  background: var(--color-bg-accent3);
}
.price-estimate .container {
  padding-bottom: 68px;
  position: relative;
}
.price-estimate__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}
.price-estimate__left {
  max-width: 662px;
}
.price-estimate__title {
  margin: 0 0 clamp(18px, 1.75vw, 22px);
}
.price-estimate__title span {
  color: var(--color-primary);
}
.price-estimate__note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  margin-top: 22px;
  color: rgba(48, 48, 48, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-estimate__visual-img {
  position: absolute;
  bottom: 0;
  right: 240px;
  vertical-align: bottom;
  height: 635px;
  width: auto;
}
.price-estimate__side-text {
  max-width: 176px;
  display: flex;
  flex-direction: column;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 1.3;
  color: var(--color-text-heading);
}
.price-estimate__side-text svg {
  margin-bottom: 16px;
}
.price-estimate__side-text strong {
  font-weight: 700;
}
.price-estimate--dark {
  background: var(--color-primary);
  border-radius: 97px;
  color: #fff;
  padding-top: 97px;
}
.price-estimate--dark:after {
  display: none;
}
.price-estimate--dark .container {
  padding-bottom: 100px;
}
.price-estimate--dark .cinput__top {
  color: inherit;
}
.price-estimate--dark .btn--primary {
  background: var(--color-text-heading);
}
.price-estimate--dark .wpcf7-not-valid-tip {
  color: #ad1f15;
}
.price-estimate--dark .wpcf7-acceptance input {
  background-color: #fff;
}
.price-estimate--dark .wpcf7-acceptance input:checked {
  background-color: #333 !important;
}
.price-estimate--dark .wpcf7-list-item-label {
  color: var(--color-text-heading);
}
.price-estimate--dark .wpcf7-list-item-label a:hover {
  color: inherit;
}
.price-estimate--dark .price-estimate__side-text {
  color: #fff;
}
.price-estimate--dark .price-estimate__side-text svg path {
  fill: #fff;
}
.price-estimate--dark .price-estimate__title {
  color: inherit;
}
.price-estimate--dark .price-estimate__title span {
  color: inherit;
}
@media (width < 1700px) {
  .price-estimate__visual-img {
    right: 120px;
  }
}
@media (width < 1520px) {
  .price-estimate {
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  }
  .price-estimate__visual-img {
    right: -3px;
  }
}
@media (width < 1440px) {
  .price-estimate {
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    padding: 64px 0 0;
  }
  .price-estimate__inner {
    grid-template-columns: 540px 1fr;
    gap: 48px;
  }
  .price-estimate__right {
    max-width: 100%;
  }
}
@media (width < 1280px) {
  .price-estimate__visual-img {
    height: 560px;
  }
  .price-estimate__side-text {
    display: none;
  }
  .price-estimate .popover {
    display: none;
  }
}
@media (width < 992px) {
  .price-estimate__visual {
    display: none;
  }
  .price-estimate__inner {
    gap: 32px;
  }
  .price-estimate__side-text {
    display: flex;
  }
}
@media (width < 768px) {
  .price-estimate {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding-top: 48px;
  }
  .price-estimate .container {
    padding-bottom: 28px;
  }
  .price-estimate__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-estimate__note {
    display: none;
  }
  .price-estimate__side-text {
    max-width: 100%;
  }
}

.estimate-form-panel .wpcf7-form {
  display: flex;
  width: 661px;
  flex-wrap: wrap;
  gap: 16px;
}
.estimate-form-panel .cinput-group .wpcf7-form-control-wrap {
  padding-left: 8px;
  margin-top: 8px;
}
@media (width > 1280px) {
  .estimate-form-panel .cinput:has([name=rooms]),
  .estimate-form-panel .cinput:has([name=area]) {
    width: 67px;
    height: 67px;
    text-align: center;
  }
  .estimate-form-panel .cinput:has([name=rooms]) input,
  .estimate-form-panel .cinput:has([name=area]) input {
    text-align: center;
  }
  .estimate-form-panel .cinput:has([name=address]) {
    width: 489px;
  }
  .estimate-form-panel .cinput:has([name=details]) {
    width: 410px;
  }
  .estimate-form-panel .cinput:has([name=messenger]) {
    width: 234px;
  }
  .estimate-form-panel .cinput:has([name=phone]) {
    width: 272px;
  }
  .estimate-form-panel .cinput:has([name=phone]) .cinput__top {
    display: none;
  }
  .estimate-form-panel .cinput-group {
    width: 373px;
  }
  .estimate-form-panel .cinput-group .cinput__top {
    display: none;
  }
  .estimate-form-panel .cinput-group .btn {
    width: 100%;
  }
  .estimate-form-panel .cinput-group .wpcf7-form-control-wrap {
    padding-left: 16px;
    margin-top: 8px;
  }
  .estimate-form-panel .popover {
    display: none;
  }
}
@media (width >= 768px) {
  .estimate-form-panel .wpcf7-form {
    width: 540px;
  }
  .estimate-form-panel .cinput:has([name=rooms]),
  .estimate-form-panel .cinput:has([name=area]) {
    width: 67px;
    height: 67px;
    text-align: center;
  }
  .estimate-form-panel .cinput:has([name=rooms]) input,
  .estimate-form-panel .cinput:has([name=area]) input {
    text-align: center;
  }
  .estimate-form-panel .cinput:has([name=address]) {
    width: 366px;
  }
  .estimate-form-panel .cinput:has([name=details]) {
    width: 308px;
  }
  .estimate-form-panel .cinput:has([name=messenger]) {
    width: 208px;
  }
  .estimate-form-panel .cinput:has([name=phone]) {
    width: 100%;
  }
  .estimate-form-panel .cinput-group {
    width: 100%;
  }
  .estimate-form-panel .cinput-group .cinput__top {
    display: none;
  }
  .estimate-form-panel .cinput-group .btn {
    width: 100%;
  }
  .estimate-form-panel .cinput-group .wpcf7-form-control-wrap {
    padding-left: 16px;
    margin-top: 8px;
  }
}
@media (width < 768px) {
  .estimate-form-panel .wpcf7-form {
    display: grid;
    gap: 13px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .estimate-form-panel .cinput-group .cinput__top {
    display: none;
  }
  .estimate-form-panel .cinput-group .btn {
    width: 100%;
  }
}

.contract-guarantees:has(+ .price-estimate--dark):after {
  content: "";
  position: absolute;
  bottom: -80px;
  height: 108px;
  background: var(--color-bg-accent1);
  width: 100%;
}

.stressless-deals:has(+ .contract-guarantees) {
  z-index: 6;
}

.benefits-grid + .stressless-deals {
  padding-top: clamp(48px, 5vw, 66px);
  padding-bottom: clamp(40px, 6vw, 88px);
}

.stressless-deals + .contract-guarantees {
  padding-top: clamp(32px, 4vw, 66px);
}
.stressless-deals + .contract-guarantees:before {
  content: "";
  position: absolute;
  top: 0;
  height: 80px;
  background: var(--color-bg-accent1);
  width: 100%;
  transform: translateY(-99%);
}
