.foundation.start {
	margin-top: 97px;
}
.foundation.start .btn {
	display: none;
}
.foundation-calc {
	padding: 100px 0 80px;
	background: #ffffff;
	position: relative;
	overflow: hidden;
}
.foundation-calc__title, .foundation-types__title {
	position: relative;
	text-align: center;
	margin-bottom: 60px;
}
.foundation-calc__title::before, .foundation-types__title::before {
	content: '';
	position: absolute;
	top: -20px;
	left: calc(50% - 40px);
	width: 80px;
	height: 4px;
/* 	background: #4CAF50; */
	background: var(--primary-color);
	border-radius: 2px;
}
.foundation-calc__title-accent, .foundation-types__title-accent {
	display: block;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
/* 	background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); */
	background: linear-gradient(135deg, var(--primary-color) 0%, #45a049 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}
.foundation-calc__title-main, .foundation-types__title-main {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #1A1A1A;
    letter-spacing: -0.02em;
}
.foundation-calc__wrapper {
	display: flex;
	gap: 40px;
}
.foundation-calc__wrapper > .calc-slider{
	width: calc(60% - 20px);
}
.foundation-calc__wrapper > .calc-results{
	width: calc(40% - 20px);
}
.foundation-types,
.foundation-all-types{
	padding: 80px 0;
}
.foundation-stages {
	padding: 100px 0 80px;
}
.foundation-types__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 42px;
}
.foundation-types__item {
	width: calc(33% - 28px);
	box-sizing: border-box;
	background: #fff;
	padding: 30px 20px;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}
.foundation-types__item h3.title {
	min-height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.selected-foundation {
	text-align: center;
	margin-bottom: 16px;
	font-size: 18px;
}
.selected-foundation span {
	font-weight: 600;
}
.foundation-stages .consultation__desc {
	margin-bottom: 16px;
}
.foundation-stages .contacts__social-link, .foundation-stages .contacts__social-link:visited {
/* 	background: #4CAF50; */
	background: var(--primary-color);
	color: #fff;
}
/*  */
.calc-slider__output input input {
    box-sizing: border-box;
    font-family: "MullerLight", sans-serif;
    color: #777;
    background: #fff;
    font-size: 16px;
    border: none;
    border-bottom: 5px solid #e9e9e9;
    border-radius: 5px;
    width: 100%;
    max-width: 480px;
    display: block;
    padding: 28px 0 22px 30px;
    margin-bottom: 20px;
}

.calc-slider__wrapper {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center
}
.calc-slider,
.calc-results__info,
.calc-results__form {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #F8F9FA;
	border-radius: 16px;
	padding: 30px;
	gap: 20px;
}
.calc-results__form {
	gap: 0;
    align-items: flex-start;
}
.calc-results__form .wpcf7 {
	width: 100%;
}
.calc-slider__item {
    width: 276px;
    position:relative;
    padding-bottom:24px;
    margin-bottom:20px;
}
.calc-slider__item::before {
    content:url('../img/ruler.webp');
    display:block;
    position:absolute;
    width:278px;
    height:24px;
    bottom:0;
    left:2px;
}
.calc-slider__item--size::before {
    display:none
}
.calc-slider__labels {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:24px;
}

.calc-label {
    display: block;
    border-radius: 5px;
    background: rgb(241, 241, 242);
    color: #777777;
    padding: 0 8px;
    line-height:28px;
    height:26px;
    white-space:nowrap;
    text-align: center;
    font-size:14px;
}
.calc-label--left-size {
    transform:translateX(-50%)
}
.calc-label--right-size {
    transform:translateX(50%)
}
.calc-slider__title {
    text-align:center;
    margin-bottom:50px;
    font-size:20px;
    font-family: "MullerBold", sans-serif;
    font-weight: 600;
}
.calc-slider__output {
    display:flex;
    justify-content: center;
    align-items: center;
    position:relative
}
.calc-slider__output input{
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    background-color: #FFF;
    width: 60px;
    height: 40px;
    outline:none;
    border:none;
    text-align:center;
    padding:0;
  }
.calc-slider__output span {
      position:absolute;
      right:-36px;
      top:9px;
      color:#777
}
.calc-results {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 40px;
}
.calc-results__price {
    margin-bottom:10px
}
.calc-results__details {
    color:#777
}
.calc-results__price > span{
    font-size:20px;
    line-height:20px
}
.calc-results strong{
    font-size:30px;
    margin-left:10px;
    white-space:nowrap;
    line-height:30px;
    font-family: "MullerBold", sans-serif;
}

@media (max-width: 1200px) {
	.foundation-calc__title-accent, .foundation-types__title-accent {
		font-size: 42px;
	}
	.foundation-calc__title-main, .foundation-types__title-main {
		font-size: 36px;
	}
	.foundation-calc__title, .foundation-types__title {
		font-size: 16px;
	}
}
@media (max-width: 900px) {
	.foundation-calc__title-accent, .foundation-types__title-accent {
        font-size: 36px;
    }
    .foundation-calc__title-main, .foundation-types__title-main {
        font-size: 32px;
    }
	.foundation-types__grid {
		gap: 30px;
	}
	.foundation-types__item {
		width: calc(50% - 15px);
	}
	.foundation-calc__wrapper {
		flex-direction: column;
	}
	.foundation-calc__wrapper > .calc-slider,
	.foundation-calc__wrapper > .calc-results {
		width: 100%;
	}
	.calc-results {
		flex-direction: row;
		align-items: flex-start;
	}
}
@media (max-width: 700px) {
	.calc-results {
		flex-direction: column;
	}
}
@media (max-width: 600px) {
	.foundation-calc__title, .foundation-types__title {
		margin-bottom: 30px;
	}
	.foundation-calc__title-accent, .foundation-types__title-accent {
        font-size: 30px;
    }
    .foundation-calc__title-main, .foundation-types__title-main {
        font-size: 26px;
    }
	.foundation-types__item .btn {
		gap: 15px;
		width: 100%;
		justify-content: center;
		white-space: normal;
	}
	.foundation-types__item .btn span {
		display: block;
		width: 85px;
	}
}
@media (max-width: 460px) {
	.foundation.start {
		margin-top: 77px;
	}
	.foundation-types__item {
		width: 100%;
	}
	.foundation-types__item .btn span {
		width: fit-content;
	}
}
@media (max-width: 320px) {
	.foundation-types__item .btn span {
		width: 85px;
	}
}


.noUi-target,
.noUi-target * {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    -ms-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.noUi-target {
    position: relative;
}
.noUi-base,
.noUi-connects {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

/* Wrapper for all connect elements.
  */
.noUi-connects {
    overflow: hidden;
    z-index: 0;
}
.noUi-connect,
.noUi-origin {
    will-change: transform;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    -ms-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -webkit-transform-style: preserve-3d;
    transform-origin: 0 0;
    transform-style: flat;
}
.noUi-connect {
    height: 100%;
    width: 100%;
}
.noUi-origin {
    height: 10%;
    width: 10%;
}

/* Offset direction
  */
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
    left: 0;
    right: auto;
}
/* Give origins 0 height/width so they don't interfere with clicking the
  * connect elements.
  */
.noUi-vertical .noUi-origin {
    width: 0;
}
.noUi-horizontal .noUi-origin {
    height: 0;
}
.noUi-handle {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
}
.noUi-touch-area {
    height: 100%;
    width: 100%;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
}
.noUi-state-drag * {
    cursor: inherit !important;
}

/* Slider size and handle placement;
  */
.noUi-horizontal {
    height: 3px;
} 
.noUi-horizontal .noUi-handle {
    width: 26px;
    height: 26px;
    right: -14px;
    top: -11px;
}
.noUi-vertical {
    width: 2px;
}
.noUi-vertical .noUi-handle {
    width: 26px;
    height: 26px;
    right: -6px;
    top: -17px;
}
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
    left: -17px;
    right: auto;
}

/* Styling;
  * Giving the connect element a border radius causes issues with using transform: scale
  */
.noUi-target {
    background: #cecece;
    border-radius:1px;
}
.noUi-connects {
    border-radius: 1px;
}
.noUi-connect {
/*     background: #4CAF50; */
	background: var(--primary-color);
    border-radius:1px;
}

/* Handles and cursors;
  */
.noUi-draggable {
    cursor: ew-resize;
}
.noUi-vertical .noUi-draggable {
    cursor: ns-resize;
}
.noUi-handle {
    background-color: #4CAF50;
	background-color: var(--primary-color);
    border-radius: 5px;   
    outline:none !important 
}
.noUi-active {
    outline:none !important
}

/* Handle stripes;
  */
.noUi-handle:before {
    content: "";
    display: block;
    position: absolute;
    height: 10px;
    width: 10px;
    background: rgb(249, 249, 250);
    left: 8px;
    top: 8px;
    border-radius: 2px;
}
/* Disabled state;
  */
[disabled] .noUi-connect {
    background: #B8B8B8;
}

[disabled].noUi-target,
[disabled].noUi-handle,
[disabled] .noUi-handle {
    cursor: not-allowed;
}

/* Base;
  *
  */
.noUi-pips,
.noUi-pips * {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.noUi-pips {
    position: absolute;
    color: #999;
}

/* Values;
  *
  */
.noUi-value {
    position: absolute;
    white-space: nowrap;
    text-align: center;
}
.noUi-value-sub {
    color: #ccc;
    font-size: 10px;
}

/* Markings;
  *
  */
.noUi-marker {
    position: absolute;
    background: #CCC;
}
.noUi-marker-sub {
    background: #AAA;
}
.noUi-marker-large {
    background: #AAA;
}

/* Horizontal layout;
  *
  */
.noUi-pips-horizontal {
    padding: 10px 0;
    height: 80px;
    top: 100%;
    left: 0;
    width: 100%;
}
.noUi-value-horizontal {
    -webkit-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}
.noUi-rtl .noUi-value-horizontal {
    -webkit-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
}
.noUi-marker-horizontal.noUi-marker {
    margin-left: -1px;
    width: 2px;
    height: 5px;
}
.noUi-marker-horizontal.noUi-marker-sub {
    height: 10px;
}
.noUi-marker-horizontal.noUi-marker-large {
    height: 15px;
}

/* Vertical layout;
  *
  */
.noUi-pips-vertical {
    padding: 0 10px;
    height: 100%;
    top: 0;
    left: 100%;
}
.noUi-value-vertical {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
    -webkit-transform: translate(0, 50%);
    transform: translate(0, 50%);
}
.noUi-marker-vertical.noUi-marker {
    width: 5px;
    height: 2px;
    margin-top: -1px;
}
.noUi-marker-vertical.noUi-marker-sub {
    width: 10px;
}
.noUi-marker-vertical.noUi-marker-large {
    width: 15px;
}
.noUi-tooltip {
    display: block;
    position: absolute;
    border-radius: 5px;
    background: #4CAF50;
	background: var(--primary-color);
    color: #FFF;
    padding: 0 8px;
    line-height:28px;
    height:26px;
    font-size:14px;
    white-space:nowrap;
    text-align: center;
    white-space: nowrap;
}
.noUi-horizontal .noUi-tooltip {
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    left: 50%;
    bottom: 150%;
}
.noUi-vertical .noUi-tooltip {
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    top: 50%;
    right: 150%;
}
.noUi-horizontal .noUi-origin>.noUi-tooltip {
    -webkit-transform: translate(50%, 0);
    transform: translate(50%, 0);
    left: auto;
    bottom: 10px;
}
.noUi-vertical .noUi-origin>.noUi-tooltip {
    -webkit-transform: translate(0, -18px);
    transform: translate(0, -18px);
    top: auto;
    right: 28px;
}


