/* Кастомные стили */

/* ====== CALCULATOR (price-table / calc-price) ====== */
span.fwb{font-weight:700}

/* общий фон секции калька */
.bg_grey{
  background-color:#373738;
  padding-bottom:40px;
  margin-top:-2px;
}

:root {
    --swiper-theme-color: #007aff
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1
}

.swiper-vertical>.swiper-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

.swiper-android .swiper-slide,.swiper-wrapper {
    -webkit-transform: translate3d(0px, 0, 0);
    transform: translate3d(0px, 0, 0)
}

.swiper-pointer-events {
    -ms-touch-action: pan-y;
    touch-action: pan-y
}

.swiper-pointer-events.swiper-vertical {
    -ms-touch-action: pan-x;
    touch-action: pan-x
}

.swiper-slide {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform
}

.swiper-slide-invisible-blank {
    visibility: hidden
}

.swiper-autoheight,.swiper-autoheight .swiper-slide {
    height: auto;
}

.swiper-autoheight .swiper-wrapper {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition-property: height,-webkit-transform;
    transition-property: height,-webkit-transform;
    -o-transition-property: transform,height;
    transition-property: transform,height;
    transition-property: transform,height,-webkit-transform
}

.swiper-backface-hidden .swiper-slide {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper {
    -webkit-perspective: 1200px;
    perspective: 1200px
}

.swiper-3d .swiper-wrapper,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10
}

.swiper-3d .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15)
}

.swiper-3d .swiper-slide-shadow-left {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-3d .swiper-slide-shadow-right {
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-3d .swiper-slide-shadow-top {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-3d .swiper-slide-shadow-bottom {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))
}

.swiper-css-mode>.swiper-wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
    display: none
}

.swiper-css-mode>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: start start
}

.swiper-horizontal.swiper-css-mode>.swiper-wrapper {
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory
}

.swiper-vertical.swiper-css-mode>.swiper-wrapper {
    -ms-scroll-snap-type: y mandatory;
    scroll-snap-type: y mandatory
}

.swiper-centered>.swiper-wrapper::before {
    content: "";
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-ordinal-group: 10000;
    -ms-flex-order: 9999;
    order: 9999
}

.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child {
    -webkit-margin-start: var(--swiper-centered-offset-before);
    margin-inline-start:var(--swiper-centered-offset-before)}

.swiper-centered.swiper-horizontal>.swiper-wrapper: :before {
    height:100%;
    min-height: 1px;
    width: var(--swiper-centered-offset-after)
}

.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child {
    -webkit-margin-before: var(--swiper-centered-offset-before);
    margin-block-start:var(--swiper-centered-offset-before)}

.swiper-centered.swiper-vertical>.swiper-wrapper: :before {
    width:100%;
    min-width: 1px;
    height: var(--swiper-centered-offset-after)
}

.swiper-centered>.swiper-wrapper>.swiper-slide {
    scroll-snap-align: center center
}

.swiper-virtual .swiper-slide {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0)
}

.swiper-virtual.swiper-css-mode .swiper-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none
}

.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after {
    height: 1px;
    width: var(--swiper-virtual-size)
}

.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after {
    width: 1px;
    height: var(--swiper-virtual-size)
}

:root {
    --swiper-navigation-size: 44px
}

.swiper-button-prev,.swiper-button-next {
    position: absolute;
    top: 50%;
    width: calc(var(--swiper-navigation-size)/44*27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - var(--swiper-navigation-size)/2);
    z-index: 10;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color))
}

.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none
}

.swiper-button-prev:after,.swiper-button-next:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1
}

.swiper-button-prev,.swiper-rtl .swiper-button-next {
    left: 10px;
    right: auto
}

.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after {
    content: "prev"
}

.swiper-button-next,.swiper-rtl .swiper-button-prev {
    right: 10px;
    left: auto
}

.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after {
    content: "next"
}

.swiper-button-lock {
    display: none
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    -webkit-transition: 300ms opacity;
    -o-transition: 300ms opacity;
    transition: 300ms opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 10
}

.swiper-pagination.swiper-pagination-hidden {
    opacity: 0
}

.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px;
    left: 0;
    width: 100%
}

.swiper-pagination-bullets-dynamic {
    overflow: hidden;
    font-size: 0
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transform: scale(0.33);
    -ms-transform: scale(0.33);
    transform: scale(0.33);
    position: relative
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    -webkit-transform: scale(0.66);
    -ms-transform: scale(0.66);
    transform: scale(0.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
    -webkit-transform: scale(0.33);
    -ms-transform: scale(0.33);
    transform: scale(0.33)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    -webkit-transform: scale(0.66);
    -ms-transform: scale(0.66);
    transform: scale(0.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    -webkit-transform: scale(0.33);
    -ms-transform: scale(0.33);
    transform: scale(0.33)
}

.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    display: inline-block;
    border-radius: 50%;
    background: var(--swiper-pagination-bullet-inactive-color, #000);
    opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2)
}

button.swiper-pagination-bullet {
    border: none;
    margin: 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer
}

.swiper-pagination-bullet:only-child {
    display: none !important
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: var(--swiper-pagination-color, var(--swiper-theme-color))
}

.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets {
    right: 10px;
    top: 50%;
    -webkit-transform: translate3d(0px, -50%, 0);
    transform: translate3d(0px, -50%, 0)
}

.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;
    display: block
}

.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 8px
}

.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    display: inline-block;
    -webkit-transition: 200ms top,200ms -webkit-transform;
    transition: 200ms top,200ms -webkit-transform;
    -o-transition: 200ms transform,200ms top;
    transition: 200ms transform,200ms top;
    transition: 200ms transform,200ms top,200ms -webkit-transform
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px)
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    white-space: nowrap
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transition: 200ms left,200ms -webkit-transform;
    transition: 200ms left,200ms -webkit-transform;
    -o-transition: 200ms transform,200ms left;
    transition: 200ms transform,200ms left;
    transition: 200ms transform,200ms left,200ms -webkit-transform
}

.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transition: 200ms right,200ms -webkit-transform;
    transition: 200ms right,200ms -webkit-transform;
    -o-transition: 200ms transform,200ms right;
    transition: 200ms transform,200ms right;
    transition: 200ms transform,200ms right,200ms -webkit-transform
}

.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, 0.25);
    position: absolute
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: var(--swiper-pagination-color, var(--swiper-theme-color));
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top
}

.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top
}

.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: 4px;
    left: 0;
    top: 0
}

.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {
    width: 4px;
    height: 100%;
    left: 0;
    top: 0
}

.swiper-pagination-lock {
    display: none
}

.swiper-scrollbar {
    border-radius: 10px;
    position: relative;
    -ms-touch-action: none;
    background: rgba(0, 0, 0, 0.1)
}

.swiper-horizontal>.swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%
}

.swiper-vertical>.swiper-scrollbar {
    position: absolute;
    right: 3px;
    top: 1%;
    z-index: 50;
    width: 5px;
    height: 98%
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    left: 0;
    top: 0
}

.swiper-scrollbar-cursor-drag {
    cursor: move
}

.swiper-scrollbar-lock {
    display: none
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center
}

.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.swiper-slide-zoomed {
    cursor: move
}

.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
    border-radius: 50%;
    border-top-color: transparent
}

.swiper-slide-visible .swiper-lazy-preloader {
    -webkit-animation: swiper-preloader-spin 1s infinite linear;
    animation: swiper-preloader-spin 1s infinite linear
}

.swiper-lazy-preloader-white {
    --swiper-preloader-color: #fff
}

.swiper-lazy-preloader-black {
    --swiper-preloader-color: #000
}

@-webkit-keyframes swiper-preloader-spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes swiper-preloader-spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.swiper .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000
}

.swiper-free-mode>.swiper-wrapper {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    margin: 0 auto
}

.swiper-grid>.swiper-wrapper {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.swiper-grid-column>.swiper-wrapper {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.swiper-fade.swiper-free-mode .swiper-slide {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out
}

.swiper-fade .swiper-slide {
    pointer-events: none;
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.swiper-fade .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto;
}

.swiper-cube {
    overflow: visible
}

.swiper-cube .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    width: 100%;
    height: 100%
}

.swiper-cube .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-cube.swiper-rtl .swiper-slide {
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube .swiper-slide-next+.swiper-slide {
    pointer-events: auto;
    visibility: visible
}

.swiper-cube .swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 100%;
    opacity: .6;
    z-index: 0
}

.swiper-cube .swiper-cube-shadow:before {
    content: "";
    background: #000;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    -webkit-filter: blur(50px);
    filter: blur(50px)
}

.swiper-flip {
    overflow: visible
}

.swiper-flip .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1
}

.swiper-flip .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-flip .swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-creative .swiper-slide {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    -webkit-transition-property: opacity,height,-webkit-transform;
    transition-property: opacity,height,-webkit-transform;
    -o-transition-property: transform,opacity,height;
    transition-property: transform,opacity,height;
    transition-property: transform,opacity,height,-webkit-transform
}

.swiper-cards {
    overflow: visible
}

.swiper-cards .swiper-slide {
    -webkit-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden
}

[data-simplebar] {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

.simplebar-wrapper {
    overflow: hidden;
    width: inherit;
    height: inherit;
    max-width: inherit;
    max-height: inherit
}

.simplebar-mask {
    direction: inherit;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: auto !important;
    height: auto !important;
    z-index: 0
}

.simplebar-offset {
    direction: inherit !important;
    -webkit-box-sizing: inherit !important;
    box-sizing: inherit !important;
    resize: none !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch
}

.simplebar-content-wrapper {
    direction: inherit;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar {
    width: 0;
    height: 0
}

.simplebar-content:after,.simplebar-content:before {
    content: " ";
    display: table
}

.simplebar-placeholder {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    pointer-events: none
}

.simplebar-height-auto-observer-wrapper {
    -webkit-box-sizing: inherit !important;
    box-sizing: inherit !important;
    height: 100%;
    width: 100%;
    max-width: 1px;
    position: relative;
    float: left;
    max-height: 1px;
    overflow: hidden;
    z-index: -1;
    padding: 0;
    margin: 0;
    pointer-events: none;
    -webkit-box-flex: inherit;
    -ms-flex-positive: inherit;
    flex-grow: inherit;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-preferred-size: 0;
    flex-basis: 0
}

.simplebar-height-auto-observer {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 1000%;
    width: 1000%;
    min-height: 1px;
    min-width: 1px;
    overflow: hidden;
    pointer-events: none;
    z-index: -1
}

.simplebar-track {
    z-index: 1;
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden
}

[data-simplebar].simplebar-dragging .simplebar-content {
    pointer-events: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-select: none
}

[data-simplebar].simplebar-dragging .simplebar-track {
    pointer-events: all
}

.simplebar-scrollbar {
    position: absolute;
    left: 0;
    right: 0;
    min-height: 10px
}

.simplebar-scrollbar:before {
    position: absolute;
    content: "";
    background: #000;
    border-radius: 7px;
    left: 2px;
    right: 2px;
    opacity: 0;
    -webkit-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    transition: opacity .2s linear
}

.simplebar-scrollbar.simplebar-visible:before {
    opacity: .5;
    -webkit-transition: opacity 0s linear;
    -o-transition: opacity 0s linear;
    transition: opacity 0s linear
}

.simplebar-track.simplebar-vertical {
    top: 0;
    width: 11px
}

.simplebar-track.simplebar-vertical .simplebar-scrollbar:before {
    top: 2px;
    bottom: 2px
}

.simplebar-track.simplebar-horizontal {
    left: 0;
    height: 11px
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before {
    height: 100%;
    left: 2px;
    right: 2px
}

.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
    right: auto;
    left: 0;
    top: 2px;
    height: 7px;
    min-height: 0;
    min-width: 10px;
    width: auto
}

[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical {
    right: auto;
    left: 0
}

.hs-dummy-scrollbar-size {
    direction: rtl;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    height: 500px;
    width: 500px;
    overflow-y: hidden;
    overflow-x: scroll
}

.simplebar-hide-scrollbar {
    position: fixed;
    left: 0;
    visibility: hidden;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none
}
.s-icon {
    display: block;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    max-height: 100%;
    max-width: 100%
}

.s-icon--xs {
    width: 14px;
    height: 14px
}

.s-icon--lg {
    width: 52px;
    height: 52px
}
/*******************table price********************/
.price-table{
  color: #111;
}
.price-table__header > div{
   font-size: 13px;
}
.price-table__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 0.7rem 0.7rem 0 0;
  background-color: #fad442;
  padding: 0.9rem 2rem;
}
.price-table__row {
    overflow-y: scroll;
    height: 38rem;
    width: calc(100% + 1.5rem);
    padding-right: 1.5rem;
}
.price-table__row {
  overflow-y: scroll;
    height: 38rem;
    width: 100% ;
    padding-right: 0;
}
.price-table__cont{
    background-color: transparent;
}
.price-table__cont {
  border-radius: 0 0 0.7rem 0.7rem;
 /* background-color: #f6f6f6;*/
}
.t30.fwb {
    font-size: 18px;
    font-weight: bold;
}
.t18.mr {
    font-size: 20px;
}
.t30 {
  font-size: 20px;
}
.wr2 {
    display: inline-flex;
    width: 100%;
}
a.yellow.tdu.fw4.polit-js {
    color: #fff;
    text-decoration: underline!important;
}
.price-table__resrow{
    background-color: #f6f6f6;
}
.calc-price{
    background-color: #fff;
    color: #000;
}
.calc-price .container .ovh_block {
    margin-top: 0px;
    width: 95%;
}

.calc-price .ovh_block form .wr2 span{
    width: 33.333%;
}
.calc-price .ovh_block form .wr2 span{
    padding-left: 15px;
    padding-right: 15px;
  display: inline-block;
  position: relative;
}
.calc-price .ovh_block form .wr2 span.wpcf7-spinner{
  display: none;
}
.main .calc-price .ovh_block form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  display:none;
}
form .wpcf7-form-control-wrap .wpcf7-not-valid-tip:nth-of-type(1) {
  display:block!important;
  position: absolute!important;
    width: 100%!important;
    top: calc(100% + 5px);
}
.calc-price .ovh_block form .wr2 span input {
    padding: 0 !important;
    text-indent: 30px !important;
    -ms-flex-item-align: center !important;
    align-self: center !important;
    width: 100% !important;
    height: 60px !important;
    line-height: 60px !important;
    position: relative !important;
    border-radius: 3rem !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    background-color: #fff !important;
    font-size: 13px !important;
}
.calc-price .ovh_block form .wr2 span input[type=tel]{
    text-indent: 45px !important;
}
.calc-price .ovh_block form .wr2 input.btn.max.price__btn{
    height: 60px !important;
    line-height: 60px !important;
    width: 100% !important;
    padding: 0 !important;
    max-width: calc(33.3333% - 15px) !important;
    margin-left: 15px !important;
    border-radius: 30px !important;
}
.calc-price .ovh_block form .niz{
    text-align: center;
    margin-top: 55px;
}
.checkbox span.wpcf7-form-control-wrap {
    width: 10%;
}
.checkbox .li {
  display: inline-flex;
  width: 100%;
}
.price-table__row::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 5px;
  overflow: hidden;
}
.price-table__row::-webkit-scrollbar-button {
  display: none;
}

.price-table__row::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #ececec;
}
.price-table__row::-webkit-scrollbar-track-piece {
  border-radius: 5px;
  background-color: #ececec;
}
.price-table__row::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #fad442;
  width: 0.5rem;
}

.price-table__tit {
  padding: 0.9rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.price-table__tit:hover {
  background-color: #ececec;
}
.price-table__tit.active  {
  background-color: #ececec;
}
.price-table__tit{
  background-color:#dedede
}
.price-table__ar svg polygon {
    fill: #000 !important;
}
.price-result__dw a{
    color: #fff;
    text-decoration: underline!important;
}
.price-table__tit.active .price-table__ar {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.price-table__tit.active .price-table__ar svg polygon {
  fill: #282828 !important;
}

.price-table__ar {
  width: 1rem;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.price-table__ar svg {
  width: 100%;
}

.price-table__ar svg polygon {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  fill: #808080 !important;
}

.price-table__ar:hover svg polygon {
  fill: #282828 !important;
}

.price-table__res {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s ease-out;
  transition: max-height 0.5s ease-out;
}

.price-table__resrow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0rem 2rem;
  border-bottom: 1px solid #e6e6e6;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.price-table__resrow:hover {
  background-color: #ececec;
  position: relative;
}
.price-table__resrow.active  {
  background-color: #fff1bd;
  position: relative;
}

.price-table__resrow:active {
  background-color: #ececec;
  position: relative;
}

.price-table__resrow:last-child {
  border-bottom: none;
}

.price-table__resrow .price-it-5 {
  padding: 0.25rem 0.5rem;
  border-radius: 2rem;
  background-color: #ffffff;
  width: 5rem;
}

.price-it-1 {
  width: 32%;
}

.price-it-2 {
  width: 7%;
  text-align: center;
}

.price-it-3 {
  width: 7%;
  text-align: center;
}

.price-it-4 {
  width: 7%;
  text-align: center;
}

.price-it-5 {
  width: 7%;
  text-align: center;
}

.price-sum {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 2rem;
  background-color: #e1dfdf;
  width: auto;
  margin: 0.5rem;
}

.price-sum__minus,
.price-sum__plus {
  border-radius: 100%;
  background-color: #ffffff;
  padding: 0rem;
  width: 2rem;
  height: 2rem;
  outline: none;
  border: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  flex-shrink: 0;
}

.price-sum__minus:hover,
.price-sum__plus:hover {
  background-color: #fad442;
}

.price-sum__num {
/*   line-height: 1; */
  margin-left: 0.5rem;
  margin-right: 0.5rem;
      outline: none;
    border: none;
    background: none;
    width: 2.5rem;
    text-align: center;
}

.price-result {
  padding: 2rem;
  padding-bottom: 3rem;
  border-radius: 1rem;
  overflow: hidden;
}

.price-result__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.price-result__bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -1;
}

.price-result__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.price-result__lef {
  width: 47%;
}

.price-result__righ {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
/*  width: 51%; */
}

.price-result__dw {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.price-result__dwim {
  width: 1rem;
}

.price-result__dwim img {
  width: 100%;
}

.price-result__su {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px dashed #fad442;
  padding: 1rem 1.8rem;
  border-radius: 1rem;
  margin-right: 2rem;
}
.price-result__su .t18 {
  white-space: nowrap;
}

.price-result__su .t30 {
  white-space: nowrap;
  width: 14rem;
    text-align: right;
}

.price-result__su2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.price-result__su2 .t30 {
  white-space: nowrap;
  width: 10rem;
    text-align: right;
}
input.input.max.t14.mbm {
    width: 100%;
}
button.btn.max.price__btn.mbm {
    padding-top: 0;
    padding-bottom: 0;
    width: 33%;
}
.price-result__bot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.price-result__bot .t30 {
  width: 38%;
}

.price-result__bot .pg-form {
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.price-result__bot .check-label {
  background-color: #fad442;
  border: none;
}
.form-control, form input:not([type="file"]), input#ywqa_ask_question_text {
}
.price-result__min {
  padding: 1rem;
  background-color: #fad442;
  border-radius: 1rem;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.price-result.white.rel {
    background: #000;
    color: #fff;
  margin-top: 15px;
}
.price-result__bot {
    background: #000;
    padding: 25px;
    border-radius: 10px;
    margin-top: 15px;
    color: #fff;
}
span.t16 {
    background: #a59115;
    padding: 13px;
    color: #fff;
    border-radius: 10px;
}
.price-table__tit:hover {
    background: yellow;
}
.t24 {
    font-size: 16px;
  font-weight: 600;
}
.price-table__resrow .price-it-2 {
    font-weight: 700;
}
.price-table__resrow .price-sum__num {
  font-weight: 700;
}
.price-table__resrow .price-it-4 {
  font-weight: 700;
}
.price-table__resrow .price-it-5 {
  font-weight: 700;
}
.t16.active {
    max-height: none;
}
input.wpcf7-form-control.btn.max.price__btn {
    cursor: pointer;
    background: #ffaa6b;
}
input.wpcf7-form-control.btn.max.price__btn:hover {
    transform: translate(0, 2px);
}
input[type="tel"] {
    background: url(../images/ru.png) no-repeat center left 10px !important;
    background-size: 24px !important;
    padding-left: 45px !important;
}
/*******************table price end********************/

.m-dropdown .m-dropdown__list .simplebar-track.simplebar-vertical {
    top: 0;
    bottom: 0;
    right: 0;
    width: 3px
}

.m-dropdown .m-dropdown__list .simplebar-track.simplebar-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 3px;
    background: #bbb;
    border-radius: 5px
}

.m-dropdown .m-dropdown__list .simplebar-scrollbar::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 10px;
    background-color: #ffaa6b;
    opacity: 1
}

.m-dropdown {
    position: relative
}

.m-dropdown__wrapper {
    margin-bottom: 15px
}

@media(max-width: 500px) {
    .m-dropdown__wrapper {
        margin-bottom:10px
    }
}

.m-dropdown__suptitle {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 5px
}

.m-dropdown__button {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 40px 0 15px;
    color: #373738;
    font-family: "Stolzl",sans-serif;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    text-align: left;
    background-color: transparent;
    border: 1px solid #373738;
    border-radius: 10px;
    outline: transparent;
    cursor: pointer;
    -webkit-transition: border-color .2s;
    -o-transition: border-color .2s;
    transition: border-color .2s
}

.m-dropdown__button:focus,.m-dropdown__button--active {
    outline: transparent;
    border-color: #ffaa6b
}

.m-dropdown__button--active {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px
}

.m-dropdown__button::after {
    content: url("../images/icons/arrow-down.svg");
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 17px;
    height: 12px;
    pointer-events: none
}

.m-dropdown__list {
    display: none;
    position: absolute;
    left: 0;
    top: 48px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background: #fff;
    -webkit-box-shadow: 0px 4px 8px rgba(176,198,225,.6);
    box-shadow: 0px 4px 8px rgba(176,198,225,.6);
    overflow-x: hidden;
    max-height: 150px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom: 1px solid #ffaa6b;
    width: 100%;
    z-index: 35
}

@media(max-width: 768px) {
    .m-dropdown__list {
        max-height:90px
    }
}

.m-dropdown__list--visible {
    display: block
}

.m-dropdown__list-item {
    font-size: 14px;
    margin: 0;
    padding: 0;
    border: 1px solid #373738;
    border-left: 1px solid #ffaa6b;
    border-right: 1px solid #ffaa6b;
    border-bottom: 0px;
    padding: 8px 15px;
    cursor: pointer
}

.m-dropdown__list-item:first-child {
    border-top: none
}

.m-dropdown__list-item:last-child {
    border-radius: 0 0 6px 6px
}

.m-dropdown__list-item:hover {
    background: rgba(176,198,225,.26)
}

.m-dropdown__input-hidden {
    display: none
}

.m-file {
    position: relative;
    width: 100%;
    max-width: 300px;
    cursor: pointer
}

.m-file__field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none
}

.m-file__field:focus+.m-file__box {
    border-color: #ffaa6b
}

.m-file__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 48px;
    color: #373738;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 300;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #373738;
    pointer-events: none;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    transition: background-color .25s
}

.m-file__text {
    padding: 10px 40px 10px 15px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 240px;
    white-space: nowrap
}

.m-file__icon {
    position: absolute;
    right: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 24px;
    height: 27px;
    vertical-align: middle;
    margin-left: 0px;
    pointer-events: none;
    -webkit-transition: width .2s,margin .2s;
    -o-transition: width .2s,margin .2s;
    transition: width .2s,margin .2s;
    fill: #ffaa6b
}

.m-house-type {
    min-height: 157px;
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    cursor: pointer
}

.m-house-type__field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none
}

.m-house-type__field:checked+.m-house-type__text {
    background-color: #ffaa6b
}

.m-house-type__field:checked+.m-house-type__text .m-house-type__icon {
    width: 21px;
    margin-left: 15px
}

.m-house-type__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    padding: 6px 5px;
    color: #000;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    background-color: #fff;
    border-radius: 10px;
    pointer-events: none;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    transition: background-color .25s
}

.m-house-type__icon {
    width: 0;
    height: 21px;
    vertical-align: middle;
    margin-left: 0px;
    pointer-events: none;
    -webkit-transition: width .2s,margin .2s;
    -o-transition: width .2s,margin .2s;
    transition: width .2s,margin .2s
}

.m-number input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield
}

.m-number input[type=number]::-webkit-inner-spin-button,.m-number input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none
}

.m-number {
    position: relative;
    display: block
}

.m-number:not(:last-child) {
    margin-bottom: 15px
}

@media(max-width: 500px) {
    .m-number:not(:last-child) {
        margin-bottom:10px
    }
}

.m-number__text {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 5px
}

.m-number__wrapper {
    position: relative;
    display: block
}

.m-number__field {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    padding-right: 40px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    border: 1px solid #373738;
    border-radius: 10px;
    outline: transparent;
    -webkit-transition: border-color .2s;
    -o-transition: border-color .2s;
    transition: border-color .2s
}

.m-number__field:focus {
    border-color: #ffaa6b
}

.m-number__field::-webkit-input-placeholder {
    font-family: "Stolzl",sans-serif;
    color: #373738;
    font-weight: 300;
    font-size: 14px
}

.m-number__field::-moz-placeholder {
    font-family: "Stolzl",sans-serif;
    color: #373738;
    font-weight: 300;
    font-size: 14px
}

.m-number__field:-ms-input-placeholder {
    font-family: "Stolzl",sans-serif;
    color: #373738;
    font-weight: 300;
    font-size: 14px
}

.m-number__field::-ms-input-placeholder {
    font-family: "Stolzl",sans-serif;
    color: #373738;
    font-weight: 300;
    font-size: 14px
}

.m-number__field::placeholder {
    font-family: "Stolzl",sans-serif;
    color: #373738;
    font-weight: 300;
    font-size: 14px
}

.m-number__control {
    position: absolute;
    z-index: 1;
    right: 15px;
    width: 17px;
    height: 12px;
    cursor: pointer
}

@media(max-width: 500px) {
    .m-number__control {
        display:none
    }
}

.m-number__control .s-icon {
    stroke: #373738;
    -webkit-transition: stroke .2s;
    -o-transition: stroke .2s;
    transition: stroke .2s
}

.m-number__control--inc {
    top: 10px
}

.m-number__control--inc .s-icon {
    stroke: #ffaa6b
}

.m-number__control--dec {
    bottom: 10px
}

.m-radio {
    width: 100%;
    cursor: pointer;
    max-width: 246px
}

.m-radio__field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none
}

.m-radio__field:checked+.m-radio__box .m-radio__icon {
    width: 21px;
    margin-left: 10px
}

.m-radio__field:focus+.m-radio__box {
    border-color: #ffaa6b
}

.m-radio__box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    padding: 13px 20px 14px;
    color: #373738;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 300;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #373738;
    pointer-events: none;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    transition: background-color .25s
}

.m-radio__icon {
    width: 0;
    height: 21px;
    vertical-align: middle;
    margin-left: 0px;
    pointer-events: none;
    -webkit-transition: width .2s,margin .2s;
    -o-transition: width .2s,margin .2s;
    transition: width .2s,margin .2s;
    fill: #ffaa6b
}

/*************************start quiz house**************/
.quiz-section {
    font-family: "Stolzl",sans-serif;
    padding-top: 20px;
    padding-bottom: 65px;
    background: #fff;
    color: #000;
}

.quiz-section__title {
    margin-bottom: 90px
}

@media(max-width: 768px) {
    .quiz-section__title {
        margin-bottom:70px
    }
}

.quiz-section__discount {
    margin-top: 20px;
    font-size: 32px;
    font-weight: 700;
    text-align: center
}

@media(max-width: 1000px) {
    .quiz-section__discount {
        font-size:28px
    }
}

@media(max-width: 768px) {
    .quiz-section__discount {
        font-size:18px;
        margin-top: 10px
    }
}

@media(max-width: 768px) {
    .quiz-section {
        padding-bottom:40px
    }
}

.m-quiz .m-quiz__swiper {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    list-style: none;
    padding: 0;
    background-color: #fff;
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.15);
    box-shadow: 5px 5px 15px rgba(0,0,0,.15);
    border-radius: 20px;
    margin-bottom: 30px
}

.m-quiz .swiper-container {
    max-height: 100%
}

.m-quiz .simplebar-track.simplebar-vertical {
    top: 25px;
    bottom: 25px;
    right: 7px;
    width: 10px
}

@media(max-width: 768px) {
    .m-quiz .simplebar-track.simplebar-vertical {
        right:2px
    }
}

.m-quiz .simplebar-track.simplebar-vertical::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 3px;
    background: #bbb;
    border-radius: 5px
}

.m-quiz .simplebar-scrollbar {
    cursor: pointer;
    pointer-events: visible
}

.m-quiz .simplebar-scrollbar::before {
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 10px;
    margin: -2px 0;
    background-color: #ffaa6b;
    opacity: 1;
    cursor: pointer
}

.m-quiz {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Stolzl",sans-serif;
    position: relative
}

.m-quiz::before {
    content: "";
    width: 50%;
    height: 25px;
    background-image: url("../images/icons/calcprice-decor.svg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -35px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-name: up-down;
    animation-name: up-down;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite
}

@media(max-width: 768px) {
    .m-quiz::before {
        width:80%
    }
}

@-webkit-keyframes up-down {
    from {
        top: -50px
    }

    to {
        top: -35px
    }
}

@keyframes up-down {
    from {
        top: -50px
    }

    to {
        top: -35px
    }
}

.m-quiz *,.m-quiz::after,.m-quiz::before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit
}

.m-quiz__pagination-count {
    margin-bottom: 23px;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    font-weight: 400
}

.m-quiz__pagination-current {
    font-weight: 700;
    margin-right: 5px
}

.m-quiz__scrollbar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 15px;
    overflow: hidden;
    margin-bottom: 23px;
    border-radius: 15px;
    background-color: transparent
}

.m-quiz__scrollbar::before {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 5px;
    width: 100%;
    background-color: #bbb;
    border-radius: 5px
}

.m-quiz__scrollbar-fill {
    position: relative;
    z-index: 2;
    background-color: #ffaa6b;
    border-radius: 150px;
    -webkit-transition: width .3s;
    -o-transition: width .3s;
    transition: width .3s
}

.m-quiz__slider {
    width: 100%;
    max-width: calc(100% - 382px - 34px)
}

@media(max-width: 1200px) {
    .m-quiz__slider {
        -webkit-box-flex:1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: calc(100% - 300px);
        margin-left: auto;
        margin-right: auto
    }
}

@media(max-width: 1000px) {
    .m-quiz__slider {
        max-width:738px
    }
}

.m-quiz__slide {
    max-height: 480px;
    padding: 25px 0
}

@media(max-width: 768px) {
    .m-quiz__slide {
        max-height:none
    }
}

@media(max-width: 500px) {
    .m-quiz__slide {
        padding:15px 0
    }
}

.m-quiz__slide:first-child {
    max-height: 450px
}

@media(max-width: 768px) {
    .m-quiz__slide:first-child {
        max-height:450px
    }
}

.m-quiz__slide[data-simplebar] {
    overflow-x: hidden
}

.m-quiz__navigation {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.m-quiz__btn {
    position: relative;
    max-width: 303px;
    width: 100%;
    padding: 13px 25px;
    font-family: inherit;
    color: #000;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    background-color: #ffaa6b;
    -webkit-box-shadow: 0px 2px 0px #000;
    box-shadow: 0px 2px 0px #000;
    border: none;
    border-radius: 20px;
    outline: transparent;
    cursor: pointer;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    transition: background-color .25s
}

.m-quiz__btn:hover {
    background-color: #ff9b52
}

.m-quiz__btn:active {
    background-color: #ff8d38
}

.m-quiz__btn.hide {
    pointer-events: none;
    cursor: default;
    background: #dadada
}

.m-quiz__btn--prev {
    margin-right: 30px
}

@media(max-width: 500px) {
    .m-quiz__btn--prev {
        margin-right:15px
    }
}

.m-quiz__btn:disabled {
    cursor: default;
    background: #dadada
}

.m-quiz__btn:disabled:not(.hide)+.m-quiz__btn-prompt {
    opacity: 1
}

.m-quiz__btn-prompt {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 0;
    right: 0;
    text-align: center;
    color: red;
    font-size: 14px;
    opacity: 0;
    -webkit-transition: opacity .4s;
    -o-transition: opacity .4s;
    transition: opacity .4s
}

@media(max-width: 768px) {
    .m-quiz__btn-prompt {
        font-size:12px
    }
}

.m-quiz__title {
    margin-top: 0;
    margin-bottom: 25px;
    padding: 0 35px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    color:000;
}

@media(max-width: 768px) {
    .m-quiz__title {
        max-width:97%;
        font-size: 28px;
        padding: 0 25px
    }
}

@media(max-width: 500px) {
    .m-quiz__title {
        font-size:24px;
        padding: 0 15px;
        margin-bottom: 15px
    }
}

.m-quiz__types {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 25px
}

@media(max-width: 500px) {
    .m-quiz__types {
        -webkit-box-pack:center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 0 15px
    }
}

.m-quiz__house-type {
    max-width: 236px;
    width: 100%;
    margin-bottom: 25px
}

@media(max-width: 1200px) {
    .m-quiz__house-type {
        max-width:32%
    }
}

@media(max-width: 1000px) {
    .m-quiz__house-type {
        max-width:216px
    }
}

@media(max-width: 768px) {
    .m-quiz__house-type {
        margin-bottom:2vw;
        max-width: calc(50% - 1vw);
        min-height: 29vw
    }
}

@media(max-width: 500px) {
    .m-quiz__house-type {
        max-width:320px;
        min-height: 167px
    }
}

.m-quiz__info {
    position: relative;
    max-width: 382px;
    width: 100%;
    padding: 67px 45px 169px;
    text-align: center;
    background: #fff;
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.15);
    box-shadow: 5px 5px 15px rgba(0,0,0,.15);
    border-radius: 20px
}

@media(max-width: 1200px) {
    .m-quiz__info {
        display:-webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 30px 10px 169px;
        max-width: 280px;
        margin-top: 82px
    }
}

@media(max-width: 1000px) {
    .m-quiz__info {
        display:none
    }
}

.m-quiz__questions-progress {
    color: #373738;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2
}

.m-quiz__questions-progress span {
    font-weight: 700;
    color: #000
}

.m-quiz__info-text {
    margin: 30px 0;
    font-size: 22px
}

@media(max-width: 1200px) {
    .m-quiz__info-text {
        font-size:18px;
        margin-top: 10px
    }
}

.m-quiz__discount {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0 -35px;
    color: #ffaa6b;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700
}

@media(max-width: 1200px) {
    .m-quiz__discount {
        margin:35px 0
    }
}

.m-quiz__discount-number {
    color: #373738;
    font-size: 145px;
    font-weight: inherit
}

@media(max-width: 1200px) {
    .m-quiz__discount-number {
        font-size:90px;
        line-height: 1
    }
}

.m-quiz__discount-image {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 164px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}

@media(max-width: 1200px) {
    .m-quiz__discount-image {
        height:164px;
        background-size: contain;
        background-position: center bottom
    }
}

.m-quiz__form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 30px 0 35px
}

@media(max-width: 768px) {
    .m-quiz__form {
        -webkit-box-orient:vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        padding: 0 15px 0
    }
}

.m-quiz__form-left {
    margin-right: 30px;
    -ms-flex-preferred-size: 300px;
    flex-basis: 300px
}

@media(max-width: 1200px) {
    .m-quiz__form-left {
        -webkit-box-flex:1;
        -ms-flex-positive: 1;
        flex-grow: 1
    }
}

@media(max-width: 768px) {
    .m-quiz__form-left {
        margin-right:0;
        max-width: 97%;
        -ms-flex-preferred-size: auto;
        flex-basis: auto
    }
}

.m-quiz__form-left--centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

@media(max-width: 768px) {
    .m-quiz__form-left--centered {
        -webkit-box-align:start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start
    }
}

.m-quiz__form-left--column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

@media(max-width: 768px) {
    .m-quiz__form-left--column {
        -webkit-box-align:center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start
    }
}

.m-quiz__form-image {
    width: 402px;
    height: 342px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px
}

@media(max-width: 1200px) {
    .m-quiz__form-image {
        max-width:50%;
        width: 100%
    }
}

@media(max-width: 768px) {
    .m-quiz__form-image {
        width:100%;
        max-width: 402px;
        margin: 0 auto;
        margin-bottom: 30px
    }
}

@media(max-width: 500px) {
    .m-quiz__form-image {
        max-width:97%;
        height: 60vw;
        max-height: 342px;
        margin-bottom: 20px
    }
}

.m-quiz__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.m-quiz__row:not(:last-child) {
    margin-bottom: 15px
}

.m-quiz__row .m-radio {
    width: calc(50% - 7px)
}

.m-quiz__row--column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%
}

@media(max-width: 768px) {
    .m-quiz__row--column {
        -webkit-box-align:center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row
    }
}

.m-quiz__row--column .m-radio {
    width: 100%
}

.m-quiz__row--column .m-radio:not(:last-child) {
    margin-bottom: 30px
}

@media(max-width: 768px) {
    .m-quiz__row--column .m-radio:not(:last-child) {
        margin-right:10px;
        margin-bottom: 0
    }
}

.m-quiz__signature {
    max-width: 255px;
    margin-top: 21px;
    font-size: 18px;
    font-weight: 400
}

.m-quiz__final {
    padding-left: 43px;
    max-width: 513px
}

@media(max-width: 1200px) {
    .m-quiz__final {
        padding:0 15px;
        max-width: 485px
    }
}

@media(max-width: 768px) {
    .m-quiz__final {
        max-width:97%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 0 15px
    }
}

.m-quiz__final-title {
    margin-top: 0;
    margin-bottom: 10px;
    padding-left: 43px;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2
}

@media(max-width: 1200px) {
    .m-quiz__final-title {
        -webkit-box-ordinal-group:6;
        -ms-flex-order: 5;
        order: 5;
        padding: 0 15px
    }
}

@media(max-width: 500px) {
    .m-quiz__final-title {
        font-size:20px
    }
}

.m-quiz__final-text {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    max-width: 465px
}

@media(max-width: 1200px) {
    .m-quiz__final-text {
        -webkit-box-ordinal-group:2;
        -ms-flex-order: 1;
        order: 1;
        margin: 10px 0;
        font-size: 16px
    }
}

@media(max-width: 500px) {
    .m-quiz__final-text {
        margin:5px 0
    }
}

.m-quiz__final-suptitle {
    margin: 0 0 10px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2
}

@media(max-width: 768px) {
    .m-quiz__final-suptitle {
        -webkit-box-ordinal-group:2;
        -ms-flex-order: 1;
        order: 1
    }
}

.m-quiz__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 25px
}

@media(max-width: 768px) {
    .m-quiz__social {
        -webkit-box-ordinal-group:2;
        -ms-flex-order: 1;
        order: 1
    }
}

@media(max-width: 500px) {
    .m-quiz__social {
        -ms-flex-wrap:wrap;
        flex-wrap: wrap;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }
}

.m-quiz__socia-item {
    max-width: 134px;
    width: 100%
}

@media(max-width: 500px) {
    .m-quiz__socia-item {
        max-width:calc(50% - 4px);
        margin: 0 2px
    }
}

.m-quiz__socia-item:not(:last-child) {
    margin-right: 15px
}

@media(max-width: 500px) {
    .m-quiz__socia-item:not(:last-child) {
        margin-right:2px;
        margin-bottom: 10px
    }
}

@media(max-width: 500px) {
    .m-quiz__socia-item:last-child {
        max-width:100%
    }
}

.m-quiz__social-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 6px;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    border-radius: 10px;
    border: 1px solid #373738;
    background-color: transparent;
    outline: transparent;
    cursor: pointer;
    -webkit-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s
}

.m-quiz__social-btn.active {
    background-color: #ffaa6b
}

.m-quiz__social-btn.active .s-icon {
    fill: #fff
}

.m-quiz__social-btn .s-icon {
    width: 36px;
    height: 36px;
    margin-right: 5px;
    fill: #000
}

.m-quiz__final-number {
    max-width: 303px
}

@media(max-width: 768px) {
    .m-quiz__final-number {
        -webkit-box-ordinal-group:3;
        -ms-flex-order: 2;
        order: 2;
        max-width: 300px
    }
}

@media(max-width: 500px) {
    .m-quiz__final-number {
        margin-left:auto;
        margin-right: auto;
        margin: 0 auto 0;
        width: 100%
    }
}

@media(max-width: 500px) {
    .m-quiz__final-number:not(:last-child) {
        margin-bottom:5px
    }
}

.m-quiz__final-btn {
    max-width: 301px;
    width: 100%;
    padding: 13px 25px;
    margin-top: 10px;
    font-family: inherit;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    background: #ffaa6b;
    border: none;
    -webkit-box-shadow: 0px 2px 0px #000;
    box-shadow: 0px 2px 0px #000;
    border-radius: 20px;
    cursor: pointer;
    -webkit-transition: background-color .25s;
    -o-transition: background-color .25s;
    transition: background-color .25s
}

@media(max-width: 768px) {
    .m-quiz__final-btn {
        -webkit-box-ordinal-group:4;
        -ms-flex-order: 3;
        order: 3
    }
}

@media(max-width: 500px) {
    .m-quiz__final-btn {
        margin-left:auto;
        margin-right: auto
    }
}

.m-quiz__final-btn:hover {
    background-color: #ff9b52
}

.m-quiz__final-btn:active {
    background-color: #ff8d38
}

.m-quiz__final-discount {
    display: none
}

@media(max-width: 1200px) {
    .m-quiz__final-discount {
        display:block;
        margin-top: 15px;
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
        order: 5
    }
}

@media(max-width: 500px) {
    .m-quiz__final-discount {
        margin-left:auto;
        margin-right: auto;
        max-width: 300px
    }
}

.m-quiz__final-discount span {
    font-weight: 700
}

.m-quiz__final-image {
    position: absolute;
    bottom: 0px;
    right: 30px;
    width: 242px;
    height: 324px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat
}

@media(max-width: 1200px) {
    .m-quiz__final-image {
        width:200px;
        right: 0;
        background-position: center bottom
    }
}

@media(max-width: 1000px) {
    .m-quiz__final-image {
        right:0
    }
}

@media(max-width: 768px) {
    .m-quiz__final-image {
        position:static;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        height: 30vw;
        max-height: 180px;
        width: 100%;
        max-width: 300px
    }
}

@media(max-width: 500px) {
    .m-quiz__final-image {
        margin-left:auto;
        margin-right: auto
    }
}
.m-house-type__field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    pointer-events: none;
}
/*************************end quiz house**************/


/*******************calc form start*********/
.calc{
      background: #fff;
    color: #000;
}
.calc .m-dropdown__wrapper:not(:last-child) {
    margin-bottom: 40px
}

.calc .m-dropdown__list {
    max-height: 200px
}

@media(max-width: 500px) {
    .calc .m-number {
        width:100%
    }
}

.calc .m-number:not(:last-child) {
    margin-bottom: 0;
    margin-right: 20px
}

@media(max-width: 500px) {
    .calc .m-number:not(:last-child) {
        margin-right:0;
        margin-bottom: 10px
    }
}

.calc__bigtitle {
    margin-bottom: 80px
}

@media(max-width: 768px) {
    .calc__bigtitle {
        margin-bottom:40px
    }
}

.calc__title {
    font-weight: 700;
    font-size: 32px;
    color: #000;
    margin-bottom: 50px
}

@media(max-width: 768px) {
    .calc__title {
        font-size:20px;
        margin-bottom: 25px
    }
}

.calc__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

@media(max-width: 768px) {
    .calc__inner {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

.calc__left {
    width: 50%;
    padding-right: 40px;
    position: relative
}

.calc__left::before {
    content: "";
    width: 5px;
    height: 100%;
    border-radius: 5px;
    background-color: #ffaa6b;
    position: absolute;
    right: 0;
    top: 0
}

@media(max-width: 1000px) {
    .calc__left {
        padding-right:20px
    }
}

@media(max-width: 768px) {
    .calc__left {
        width:100%;
        margin-bottom: 20px;
        padding-right: 0
    }

    .calc__left::before {
        display: none
    }
}

.calc__subtitle {
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 25px
}

.calc__subtitle--price {
    margin-bottom: 10px
}

@media(max-width: 1000px) {
    .calc__subtitle {
        margin-bottom:15px
    }

    .calc__subtitle--price {
        margin-bottom: 5px
    }
}

.calc__label {
    display: block;
    width: 100%
}

.calc__label:not(:last-child) {
    margin-right: 20px
}

@media(max-width: 768px) {
    .calc__label:not(:last-child) {
        margin-right:5px
    }
}

@media(max-width: 500px) {
    .calc__label:not(:last-child) {
        margin-right:0;
        margin-bottom: 10px
    }
}

.calc__label--select {
    margin-bottom: 40px
}

@media(max-width: 1000px) {
    .calc__label--select {
        margin-bottom:25px
    }
}

.calc__row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 18px
}

.calc__descr {
    font-size: 16px;
    color: #000;
    margin-right: 5px
}

.calc__sel {
    position: relative;
    background-color: #fff
}

.calc__sel::before {
    content: "";
    width: 40px;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    right: 0;
    top: 1px;
    bottom: 1px;
    right: 1px;
    z-index: 1
}

.calc__sel::after {
    content: "";
    width: 13px;
    height: 13px;
    border-left: 3px solid #ffaa6b;
    border-bottom: 3px solid #ffaa6b;
    border-radius: 3px;
    position: absolute;
    right: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%) rotate(-45deg);
    -ms-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
    z-index: 2
}

.calc__select,.calc__input {
    width: 100%;
    padding: 15px;
    border: 1px solid #373738;
    border-radius: 10px;
    font-weight: 300;
    font-size: 14px;
    color: #373738;
    background-color: transparent;
    position: relative
}

.calc__select {
    padding-right: 45px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 3
}

.calc__inputs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative
}

@media(max-width: 500px) {
    .calc__inputs {
        -webkit-box-orient:vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column
    }
}

.calc__input {
    padding-right: 30px
}

.calc input[type=file] {
    display: none
}

.calc .file-select-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #000;
    cursor: pointer;
    position: relative
}

.calc .file-select-button::before {
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("../images/icons/file-icon.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: left center;
    position: absolute;
    left: 0
}

.calc__square {
    position: relative
}

.calc__btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    border-radius: 2px;
    width: 20%;
    right: 1px;
    top: 1px;
    bottom: 1px
}

.calc__plus,.calc__minus {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 50%;
    position: relative
}

.calc__plus::before,.calc__minus::before {
    content: "";
    width: 13px;
    height: 13px;
    border-left: 3px solid;
    border-bottom: 3px solid;
    position: absolute
}

.calc__plus::before {
    top: 50%;
    border-color: #ffaa6b;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg)
}

.calc__minus::before {
    bottom: 50%;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-color: #373738
}

.calc__right {
    width: 50%;
    padding-left: 40px
}

@media(max-width: 1000px) {
    .calc__right {
        padding-left:20px
    }
}

@media(max-width: 768px) {
    .calc__right {
        width:100%;
        padding-left: 0
    }
}

.calc__price {
    margin-bottom: 20px
}

.calc__total {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    font-size: 50px;
    color: #373738
}

.calc__rub {
    color: #ffaa6b;
    margin-left: 15px
}

.calc__text {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc__text--small {
    max-width: 320px
}

.tooltip {
    display: block;
    background-color: #fff
}

.tooltip__btn {
    width: 15px;
    height: 15px;
    background-image: url("../images/icons/tooltip.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

.tooltip__content {
    max-width: 320px;
    position: fixed;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.25);
    box-shadow: 5px 5px 15px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease,-webkit-transform .3s ease;
    transition: opacity .3s ease,-webkit-transform .3s ease;
    -o-transition: opacity .3s ease,transform .3s ease;
    transition: opacity .3s ease,transform .3s ease;
    transition: opacity .3s ease,transform .3s ease,-webkit-transform .3s ease;
    z-index: 150
}

.tooltip__content--active {
    opacity: 1;
    visibility: visible
}

.tooltip__title {
    font-size: 15px;
    margin-bottom: 10px
}

.tooltip__list {
    list-style-type: disc;
    padding-left: 30px
}

.tooltip__item:not(:last-child) {
    margin-bottom: 5px
}

.tooltip__text {
    font-size: 11px
}

.calc-form {
    width: 100%
}

.calc-form__title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px
}

.calc-form__label {
    display: block;
    width: 100%;
    margin-bottom: 15px
}

.calc-form__input {
    width: 100%;
    border: 1px solid #373738;
    border-radius: 10px;
    padding: 15px
}

.calc-form__input::-webkit-input-placeholder {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc-form__input::-moz-placeholder {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc-form__input:-ms-input-placeholder {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc-form__input::-ms-input-placeholder {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc-form__input::placeholder {
    font-weight: 300;
    font-size: 14px;
    color: #373738
}

.calc-form__bottom {
    max-width: 310px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

@media(max-width: 768px) {
    .calc-form__bottom {
        max-width:100%;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }
}

.calc-form__btn {
    width: 100%;
    margin-bottom: 10px
}

.calc-form__text {
    font-weight: 300;
    font-size: 12px;
    color: #373738
}
.calc-form__btn {
    display: inline-block;
    padding: 15px 30px;
    font-weight: 500;
    font-size: 18px;
    background: #ffaa6b;
    border-radius: 20px;
    -webkit-box-shadow: 0px 3px 2px 0px #000;
    box-shadow: 0px 3px 2px 0px #000;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    width: 100%;
    margin-bottom: 10px;
}
.calc-form__btn:hover {
    opacity: .7;
    box-shadow: 0px 2px 2px 0px #000 !important;
    transform: translate(0, 2px);
}
/****************end calc form***********/
.add_photo-content .item img {
  width: 30px;
    height: 23px;
}
.add_photo-content #uploadImagesList{
  display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.add_photo-content #uploadImagesList li{
      width: 120px;
    display: flex;
    margin-bottom: 10px;
}
.add_photo-content #uploadImagesList li img {
  padding-right:5px;
}
.title--border::after {
    content: "";
    width: 183px;
    height: 5px;
    border-radius: 5px;
    background-color: #ffaa6b;
    position: absolute;
    left: 50%;
    bottom: -28px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.title {
    font-size: 54px;
    font-weight: 700;
    color: #000;
    text-align: center;
    position: relative;
}
@media (max-width: 768px) {
    .title {
        font-size: 22px;
    }
}

@media (max-width: 1000px) {
    .title {
        font-size: 38px;
    }
}

.warn_box{
    padding: 20px 50px;
    background-color: #ffaa6b;
    border-radius: 10px;
    position: relative;
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    top: -50%;
}
.warn_box p{
    font-size: 20px;

}
.warn_box p b{
    font-weight: bold;
}
.price-result__bot{
    padding-bottom: 55px;
}
.warn_box_tac{
    text-align: center;
}



/* Акцентный цвет для заголовков (оранжевый из логотипа) */
.accent{
  color:#ff8f2e; /* можно заменить на точный оттенок логотипа */
  font-weight:700;
}

/* Небольшое усиление в подзаголовке */
.sub-bold{
  font-weight:600;
}
/* Галки вместо маркеров в списках портфолио */
.portfolio-typical__editor ul.wp-block-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.portfolio-typical__editor ul.wp-block-list li{
  position: relative;
  padding-left: 28px; /* место под галку */
  margin: 0 0 10px;
}

.portfolio-typical__editor ul.wp-block-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  color: #22c55e; /* цвет галки (можно поменять) */
}



@media (min-width: 768px) and (max-width: 1199px){
    .price-it-3,
    .price-it-4{
        width: 16%;
    }
    .portfolio_content_part_items .portfolio_content_part_item{
        flex: 0 0 50%;
        max-width: 50%;
    }

}
@media  (min-width:769px) and  (max-width:1024px) {
  .price-it-5 {
    width: 10%;
    text-align: center;
  }
}
@media(max-width: 1199px){
    .price-result__bot .t30{
        width: 100%
    }
    .price-result__bot{
        flex-wrap: wrap;
    }
    .calc-price .ovh_block form .wr2 span,
    .calc-price .ovh_block form .wr2 input.btn.max.price__btn{
        margin-top: 15px
    }
}
@media (max-width:  767px){
  button.btn.max.price__btn.mbm {
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
  }
    .price-result__lef{
        width: 100%
    }
    .price-result__bot .t30{
        width: 100%
    }
    .portfolio1-more-slider-for{
        height: 220px
    }
    .price-result__bot{
        flex-wrap: wrap;
    }
    .calc-price .ovh_block form .wr2 span{
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        margin-top: 15px
    }
  form .wpcf7-form-control-wrap .wpcf7-not-valid-tip:nth-of-type(1) {
  display:block!important;
  position: relative!important;
    width: 100%!important;
    top: inherit;
}
    .calc-price .ovh_block form .wr2 input.btn.max.price__btn{
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-top: 15px
    }
    .calc-price__subtitle{
        font-size: 24px;
        margin-bottom: 15px
    }
    .calc-price__bottom{
        -webkit-clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 4%);
        clip-path: polygon(100% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 4%);
    }
    .services_2 .content h3,
    .services_2 .price{
        font-size: 15px
    }
    .t24 {
    font-size: 1rem;
    font-weight: bold;
   }
  .price-table__header {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .price-table__header .price-it-1 {
    display: none;
  }

  .price-it-1 {
    width: 100%;
    margin-bottom: 0;
  }

  .price-it-2 {/*     width: 19%; */width: 40%;}

  .price-it-3 {
/*     width: 35%; */
    width: 60%;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .price-it-4 {
/*     width: 19%; */
    width: 40%;
  }

  .price-it-5 {
/*     width: 23%; */
     width: 60%;
  }
  .price-sum {
    width: 10rem;
    margin: 0;
  }

  .price-result__righ {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .price-result__su {
    margin-right: 0;
    margin-bottom: 1rem;
  padding: 1rem 1rem;
  }

  .wr2 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
  }

  .wr2 .input {
    width: 100%;
  }

  .wr2 .price__btn {
    width: 100%;
  }

  .price-result__min {
    margin-top: -1rem;
    width: 100%;
    -webkit-transform: none;
    transform: none;
  }
    .price-result__top {
    display: contents;
  }
  .t30.fwb {
    font-size: 14px;
    font-weight: bold;
  }
  .price-result__lef {
    width: 139%;
  }
}

@media (max-width:  575px){
  .price-table__resrow {
     flex: 0 100%;
  display: flex;
  flex-flow: row wrap;
  align-items: space-around;
  align-content: flex-start;
  }
 .price-it-1 {
    margin-top: 5px;
 }
}

.quiz-section .container, .calc .container {
    max-width: 1245px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
/* Ссылки в основном тексте портфолио */
.portfolio-typical__editor a{
  color: #ffb27a !important;
  font-weight: 500;
  text-decoration: none !important;

  border-bottom: 1px dotted rgba(255,178,122,.85);
  padding-bottom: 2px; /* чтобы точки не прилипали к буквам */
}

.portfolio-typical__editor a:hover{
  color: #ffd2b3 !important;
  border-bottom-color: rgba(255,210,179,.95);
}


/* ===== Service Intro (текст + список) ===== */

.service-intro{
  padding: 2vw 0;
}

/* внутренний контейнер (не на всю ширину + отступы) */
.service-intro__inner{
  display: grid;
  gap: 24px;
  align-items: start;

  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* отступы от краёв */
}

/* 2 колонки */
.service-intro--two .service-intro__inner{
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
}

/* 1 колонка */
.service-intro--one .service-intro__inner{
  grid-template-columns: minmax(0, 1fr);
}

/* важно для грида: не даём детям раздувать ширину */
.service-intro__content,
.service-intro__list{
  min-width: 0;
}

/* ограничим удобочитаемую ширину текста */
.service-intro__content{
  max-width: 820px;
}

/* перенос длинных строк  */
.service-intro__title,
.service-intro__text,
.service-intro__li span{
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-intro__title{
  margin: 0 0 10px;
}

/* текст */
.service-intro__text{
  margin: 0;
  line-height: 1.55;   
}

/* ссылка в тексте (не синяя “по умолчанию”) */
.service-intro__text a,
.simple-text__content a{
  color: #FF9640 !important; /* подстрой под твой основной оранжевый */
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,150,64,.45);
}
.service-intro__text a:hover{
  border-bottom-color: rgba(255,150,64,.9);
}

/* список */
.service-intro__ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-intro__li{
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  line-height: 1.35;
}

.service-intro__li span{
  display: inline-block;
}

/* галочка */
.service-intro__li::before{
  content: "✓";
  line-height: 1.3;
  margin-top: 2px;
  opacity: .9;
}

/* мобилка */
@media (max-width: 900px){
  .service-intro__inner{
    grid-template-columns: 1fr !important;
    padding: 0 16px;
  }
  .service-intro__content{
    max-width: 100%;
  }
}


/* Таблица цен (мини сео блок) */
.md-price-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:14px 0 10px;
  border-radius:12px;
  overflow:hidden;
}

.md-price-table--dark{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.md-price-table--dark td{
  padding:14px 16px;
  vertical-align:top;
  border-top:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}

.md-price-table--dark tr:first-child td{
  border-top:none;
}

.md-price-table--dark td:last-child{
  white-space:nowrap;
  text-align:right;
  color:#fff;
}

.md-price-table--dark strong{
  color:#fff;
}
.md-price-table--dark{
  position: relative;
  background: rgba(255,255,255,.04);
  border: none;
}

.md-price-table--dark:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  padding:1px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.22) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,.22) 0 4px, transparent 4px 8px);
  background-position: top left, bottom left, top left, top right;
  background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
  background-repeat:no-repeat;
  pointer-events:none;
}

.md-price-table--dark td{
  border-top: 1px dashed rgba(255,255,255,.14);
}

@media (max-width:560px){
  .md-price-table--dark td:last-child{
    white-space:normal;
    text-align:left;
    margin-top:6px;
  }
}

/* Примечание под таблицей */
.md-note{
  margin:0;
  line-height:1.55;
}

.md-note--dark{
  color: rgba(255,255,255,.78);
}

.md-note--dark strong{
  color:#fff;
}

/* THANK YOU PAGE (template-thanx): полный экран без сдвига */
body.page-template-template-thanx{
  padding-top: 0 !important;
}

body.page-template-template-thanx .first.md-thanx-page{
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

/* фон-слой контейнер */
body.page-template-template-thanx .first.md-thanx-page .first__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 1) ОСНОВНОЙ ФОН на весь экран */
body.page-template-template-thanx .first.md-thanx-page .first__bg .main-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 2) ОВЕРЛЕЙ (мужик): НЕ уменьшается бесконечно при сужении */
body.page-template-template-thanx .first.md-thanx-page .first__bg .second-bg{
  position: absolute;
  display: block;
  object-fit: contain;
  height: auto;
  z-index: 1;

  /* главное: clamp вместо vw */
  width: clamp(260px, 52vw, 620px);

  right: clamp(8px, 6vw, 160px);
  bottom: 0;
}

/* контент поверх фона */
body.page-template-template-thanx .first.md-thanx-page .wrapper{
  position: relative;
  z-index: 2;
}

/* Если хедер фиксированный — пусть не делает отступы секции */
body.page-template-template-thanx header.header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* МОБИЛКА */
@media (max-width: 768px){

  body.page-template-template-thanx .first.md-thanx-page{
    min-height: 100svh;
  }

  /* УБРАЛИ 55vw! только небольшой отступ под хедер */
  body.page-template-template-thanx .first.md-thanx-page .wrapper{
    padding-top: 50vw !important; /* подстрой 64–92px */
  }

  /* мужик крупнее и стабильный */
  body.page-template-template-thanx .first.md-thanx-page .first__bg .second-bg{
    width: clamp(240px, 70vw, 360px);
    right: -10px;
    bottom: 0;
    opacity: .95;
  }

  /* фон чуть сместим, чтобы кадр выглядел приятнее */
  body.page-template-template-thanx .first.md-thanx-page .first__bg .main-bg{
    object-position: 55% center; /* подстрой 50–70% */
  }

  body.page-template-template-thanx .first__buttons-btn.md-main-color-btn{
  border-radius: 2vw !important;     /* подстрой: 14–28px */
  overflow: hidden;                   /* чтобы псевдоэлементы не торчали */
}
}
/* таблица в верхнем сео-блоке с ценами */
.md-price-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.md-price-table thead th{
  position: sticky;            /* шапка “липнет” при скролле */
  top: 0;
  z-index: 2;
  background: #2a2a2a;         /* темнее тела */
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  border-bottom: 2px solid rgba(255,255,255,.18);
}

.md-price-table thead th:first-child{
  border-top-left-radius: 12px;
}
.md-price-table thead th:last-child{
  border-top-right-radius: 12px;
}
.md-price-table td,
.md-price-table th{
  white-space: nowrap;         /* запрещаем переносы */
}

.md-price-table td{
  font-variant-numeric: tabular-nums;
}

.md-table-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.md-table-scroll::-webkit-scrollbar{
  height: 6px;
}
.md-table-scroll::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18);
  border-radius: 10px;
}
@media (max-width: 768px){
  .md-price-table thead th{
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.1;
  }
  .md-price-table td{
    padding: 12px 10px;
    font-size: 14px;
  }
  /* 1) фиксируем ширину 1-го столбца и выравнивание */
  .md-price-table th:first-child,
  .md-price-table td:first-child{
    width: 92px;
    min-width: 92px;
    text-align: left;
  }

  /* 2) делаем заголовок 1-го столбца “нормальным” (2 строки, без плясок) */
  .md-price-table thead th:first-child{
    white-space: normal;        /* разрешаем перенос */
    line-height: 1.15;
    word-break: keep-all;       /* не рвёт слова на буквы */
    overflow-wrap: normal;
  }

  /* 3) чтобы “4×5” не переносилось и не центрилось странно */
  .md-price-table tbody td:first-child{
    white-space: nowrap;
    font-weight: 600;
  }
}

.sitemap-page .sitemap-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .sitemap-page .sitemap-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sitemap-page .sitemap-columns {
        grid-template-columns: 1fr;
    }
}

.sitemap-page .sitemap-column h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.sitemap-page .sitemap-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sitemap-page .sitemap-column li + li {
    margin-top: 10px;
}

.sitemap-page .sitemap-column a {
    text-decoration: none;
    color: #CACACA;
    font-size: 16px;
}

.sitemap-page .sitemap-column a:hover {
    text-decoration: underline;
}
/* заметка под таблицей стоимости */

.md-note{
  margin-top: 18px;
  padding: 0 0 0 18px;      /* место под маркер слева */
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  max-width: 980px;         /* чтобы не растягивалось слишком */
}

/* вертикальная линия слева */
.md-note:before{
  content:"";
  position:absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(255,154,77,.75); /* акцент */
  border-radius: 2px;
}

/* заголовок */
.md-note__title{
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0 0 6px;
  opacity: .95;
}

/* значок перед "Важно" — маленький кружок с ! */
.md-note__title:before{
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255,154,77,.95);
  color: rgba(20,20,20,.92);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(255,154,77,.14);
  border: none;
}

/* текст примечания */
.md-note__text{
  line-height: 1.55;
  opacity: .88;
  font-size: 15px;
}

/* жирное внутри текста */
.md-note__text b,
.md-note__text strong{
  opacity: 1;
}

/* ===== Example calc block  ===== */

.md-excalc{ padding: 36px 0; }

.md-excalc__title{
  text-align: center;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(20px, 2.1vw, 30px);
}

/* карточка */
.md-excalc__card{
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
}

/* шапка — под стиль сайта */
.md-excalc__head{
  padding: 0;
  background: transparent;
  border-bottom: 1px dashed rgba(255,255,255,.14);
}

.md-excalc__head-inner{
  padding: 18px 22px;
  border-radius: 0;
  background: rgba(255,255,255,.03);
  border: none;
  color: rgba(255,255,255,.92);
  font-weight: 800;
  line-height: 1.35;
  font-size: 18px;
  position: relative;
}

.md-excalc__head-inner:before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: #ff9a4d;
}

/* сетка пунктов */
.md-excalc__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.md-excalc__item{
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px dashed rgba(255,255,255,.14);
}

.md-excalc__item:nth-child(odd){
  border-right: 1px dashed rgba(255,255,255,.14);
}

/* иконка */
.md-excalc__icon{
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top: 2px;
}

.md-excalc__icon img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

.md-excalc__text{
  line-height: 1.5;
  opacity: .95;
  font-size: 16px;
}

/* нижняя плашка итогов */
.md-excalc__bottom{
  padding: 16px 22px;
  background: rgba(255,255,255,.03);
  border-top: 1px dashed rgba(255,255,255,.14);
}

.md-excalc__total{
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.35;
}

.md-excalc__total-label{
  margin-right: 8px;
  opacity: .95;
}

.md-excalc__total-text{
  opacity: 1;
}

.md-excalc__time{
  opacity: .90;
}

/* примечание */
.md-excalc__note{
  margin-top: 14px;
  opacity: .92;
  line-height: 1.55;
  max-width: 980px;
}

/* кнопки (чтобы не были “голыми”) */
.md-excalc__actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.md-excalc__btn{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.md-excalc__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
}

.md-excalc__btn--primary{
  background: rgba(60,160,255,.18);
  border-color: rgba(60,160,255,.30);
}

.md-excalc__btn--accent{
  background: rgba(170,205,95,.18);
  border-color: rgba(170,205,95,.30);
}


/* вертикальная линия слева */
.md-excalc__note{
  margin-top: 14px;
  padding-left: 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: 980px;
  line-height: 1.55;
  opacity: .88;
  font-size: 15px;
  position: relative;
}

/* вертикальная линия слева */
.md-excalc__note:before{
  content:"";
  position:absolute;
  left: 0;
  top: 8px;
  bottom: 6px;
  width: 2px;
  background: rgba(255,154,77,.75);
  border-radius: 2px;
}

/* кружок с "i" */
.md-excalc__note:after{
  content:"i";
  position:absolute;
  left: -7px;
  top: 4px;
  width: 16px;
  height: 16px;
  display:flex;
  align-items:center;
  justify-content:center;

  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  color: rgba(20,20,20,.92);

  background: rgba(255,154,77,.95);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,154,77,.14);
}

/* жирное внутри примечания */
.md-excalc__note b,
.md-excalc__note strong{
  opacity: 1;
}

/* адаптив */
@media (max-width: 768px){
  .md-excalc__grid{ grid-template-columns: 1fr; }
  .md-excalc__item:nth-child(odd){ border-right: none; }
  .md-excalc__head-inner{ font-size: 16px; }
  .md-excalc__text{ font-size: 15px; }
}

button.show-more-btn {
    text-align: center;
    justify-content: center;
    font-weight: bold;
    margin-top: 50px;
}

#quiz-form input::placeholder {
    color: #999!important;
}
.calc__notices {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #ffaa6b;
}


  .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }

  .price-input {
    width: 80px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #666;
    text-align: right;
  }

  .slider {
    width: 100%;
    appearance: none;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, #ffaa6b 30%, #9E9E9E 30%);
    outline: none;
  }

  .slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #5a8f2b;
    border-radius: 50%;
    cursor: pointer;
  }
.block_citys{
    margin-bottom: 4.1666666667vw;
}
  .slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #5a8f2b;
    border-radius: 50%;
    cursor: pointer;
  }
.list_city {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
}
.list_city > div {
    /* width: 14%; */
    margin: 0 15px;
}
.block_city {
    color: #a48b2a;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-decoration: none;
    display: flex;
    transition: 0.5s;
}
.block_city:before {
    content: " ";
    background: url(../img/icons/location.svg) no-repeat;
    width: 20px;
    height: 20px;
    display: block;
    min-width: 20px;
    margin-right: 6px;
}
a.block_city:hover {
    color: #ffffff;
}


/* =========================
   EXPERT HERO (desktop photo + mobile avatar)
   ========================= */


/* секция */
.expert-hero{
  padding: 30px 0 44px !important;
}

/* сетка: фото + контент */
.expert-hero__container{
  display: grid !important;
  grid-template-columns: 540px 1fr !important;  /* БОЛЬШЕ фото на десктопе */
  align-items: center !important;
  gap: 56px !important;
}

/* фото слева */
.expert-hero__img{
  align-self: end !important;
}

.expert-hero__img img{
  width: 100% !important;
  max-width: 540px !important;                 /* БОЛЬШЕ фото на десктопе */
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  transform: translateY(10px) !important;
}

/* контент */
.expert-hero__content{
  max-width: 760px !important;
}

/* head (для мобилки) */
.expert-hero__head{
  display: block !important;
}

/* аватар — только мобилка */
.expert-hero__avatar{
  display: none !important;
}

.expert-hero__title{
  margin: 0 0 16px !important;
  font-size: 56px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.expert-hero__meta{
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  margin-bottom: 18px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  opacity: .95 !important;
}

.expert-hero__dot{
  opacity: .65 !important;
}

.expert-hero__text{
  font-size: 18px !important;
  line-height: 1.55 !important;
  max-width: 680px !important;
  margin-bottom: 22px !important;
  opacity: .95 !important;
}

.expert-hero__btn{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* =========================
   Очень широкие экраны — ещё больше фото
   ========================= */
@media (min-width: 1400px){
  .expert-hero__container{
    grid-template-columns: 620px 1fr !important;
    gap: 64px !important;
  }
  .expert-hero__img img{
    max-width: 620px !important;
  }
  .expert-hero__title{
    font-size: 62px !important;
  }
}

/* =========================
   Планшет
   ========================= */
@media (max-width: 1024px){
  .expert-hero{
    padding: 70px 0 36px !important;
  }
  .expert-hero__container{
    grid-template-columns: 420px 1fr !important;
    gap: 32px !important;
  }
  .expert-hero__img img{
    max-width: 420px !important;
    transform: translateY(0) !important;
  }
  .expert-hero__title{
    font-size: 46px !important;
  }
}

/* =========================
   Mobile — аватар рядом с именем + скрываем большое фото слева
   ========================= */
@media (max-width: 768px){
  .expert-hero{
    padding: 56px 0 28px !important;
  }

  .expert-hero__container{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: start !important;
  }

  /* убираем большой блок фото */
  .expert-hero__img{
    display: none !important;
  }

  /* включаем head-строку */
  .expert-hero__head{
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 10px !important;
  }

  .expert-hero__avatar{
    display: block !important;
    flex: 0 0 auto !important;
  }

  .expert-hero__avatar img{
    width: 92px !important;
    height: 92px !important;
    border-radius: 999px !important;
    object-fit: cover !important;
    display: block !important;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
  }

  .expert-hero__headtext{
    flex: 1 1 auto !important;
  }

  .expert-hero__title{
    font-size: 34px !important;
    line-height: 1.06 !important;
    margin: 0 0 10px !important;
  }

  .expert-hero__meta{
    margin: 0 !important;
    font-size: 15px !important;
  }

  .expert-hero__text{
    font-size: 16px !important;
    margin-bottom: 18px !important;
  }
}

/* =========================
   Очень маленькие экраны
   ========================= */
@media (max-width: 420px){
  .expert-hero__avatar img{
    width: 84px !important;
    height: 84px !important;
  }
  .expert-hero__title{
    font-size: 32px !important;
  }
}
/* ===== Expert hero: make photo closer + bigger (desktop) ===== */
@media (min-width: 1025px){

  /* уменьшаем расстояние между фото и текстом */
  .expert-hero__container{
    gap: 28px !important;                 /* было 56/64 */
    grid-template-columns: 520px 1fr !important;
    align-items: end !important;
  }

  /* контент не зажимай */
  .expert-hero__content{
    max-width: none !important;
  }

  /* делаем фото чуть больше + "подъезжаем" к тексту */
  .expert-hero__img{
    justify-self: end !important;         /* толкаем фото вправо внутри колонки */
  }

  .expert-hero__img img{
    max-width: 520px !important;
    width: 520px !important;             /* фиксируем ширину, чтобы не зависело от авторасчётов */
    transform: translateX(24px) translateY(10px) !important; /* подъезд к тексту */
  }
}

/* ===== Wide desktop: ещё крупнее ===== */
@media (min-width: 1400px){
  .expert-hero__container{
    grid-template-columns: 600px 1fr !important;
    gap: 32px !important;
  }
  .expert-hero__img img{
    width: 600px !important;
    max-width: 600px !important;
    transform: translateX(34px) translateY(10px) !important;
  }
}

/* ===== Expert cases ===== */
.expert-cases{ padding: 30px 0; }
.expert-cases__title{
  margin: 0 0 26px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
}

.expert-cases__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.expert-cases__card{
  display: block;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  text-decoration: none;
}

.expert-cases__thumb{
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,.03);
}
.expert-cases__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.expert-cases__name{
  padding: 16px 18px 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}

.expert-cases__more{
  margin-top: 26px;
}

@media (max-width: 1024px){
  .expert-cases__grid{ grid-template-columns: repeat(2, 1fr); }
  .expert-cases__title{ font-size: 34px; }
}

@media (max-width: 640px){
  .expert-cases__grid{ grid-template-columns: 1fr; }
}
/* улучшение карточек кейсов */
.expert-cases__card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.expert-cases__card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.12);
}

.expert-cases__thumb{
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* чтобы длинные заголовки не превращались в простыню */
.expert-cases__name{
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* максимум 2 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
/* byline под карточкой статьи в архиве */
.article-byline{
  margin: 14px 0 18px;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255,255,255,.78);
}

.article-byline__link{
  color: #FF9640;
  text-decoration: none;
  border-bottom: 1px dotted #FF9640;
}

.article-byline__link:hover{
  color: #fff;
  border-bottom-color: rgba(255,150,64,.45);
}


/* ===== TOC / Оглавление (premium soft) ===== */

.md-toc.md-toc--premium{
  margin: 14px 0 22px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
  box-shadow: none;
}

/* список как сетка */
.md-toc.md-toc--premium ul{
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px 18px;
}

/* 2 колонки на десктопе */
@media (min-width: 980px){
  .md-toc.md-toc--premium ul{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* элементы */
.md-toc.md-toc--premium li{
  list-style: none;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  column-gap: 10px;
}

/* маркер-стрелка */
.md-toc.md-toc--premium li::before{
  content: "→";
  color: rgba(255,150,64,.75);
  line-height: 1.1;
  margin-top: 2px;
}

/* ссылки (как у тебя: оранжевый + пунктир) */
.md-toc.md-toc--premium a{
  color: rgba(255,150,64,.92) !important;
  text-decoration: none !important;
  border-bottom: 1px dashed rgba(255,150,64,.28);
  padding-bottom: 1px;
  display: inline;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* hover мягкий */
.md-toc.md-toc--premium a:hover{
  border-bottom-style: solid;
  border-bottom-color: rgba(255,150,64,.55);
}

/* мобилка: компактнее */
@media (max-width: 480px){
  .md-toc.md-toc--premium{
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.015);
    border-color: rgba(255,255,255,.05);
  }
  .md-toc.md-toc--premium ul{
    gap: 8px;
  }
}
/* Чек-лист с галочками: стабильная сетка и выравнивание */
/* md-checklist в Gutenberg: класс стоит на ul.wp-block-list */
.articles-typical__content ul.wp-block-list.md-checklist{
  margin: 12px 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

/* li сетка */
.articles-typical__content ul.wp-block-list.md-checklist > li{
  list-style: none;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

/* галка */
.articles-typical__content ul.wp-block-list.md-checklist > li::before{
  content: "✓";
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(184, 178, 174, 0.95);
  line-height: 1;
  margin-top: 2px;
}

/* чтобы <strong>/<a> не растягивали и не ломали переносы */
.articles-typical__content ul.wp-block-list.md-checklist > li > *{
  min-width: 0;
}

/* если внутри есть span — ок */
.articles-typical__content ul.wp-block-list.md-checklist > li > span{
  display: block;
  min-width: 0;
}



/* Нумерованный список: ровные отступы и стабильные маркеры */
.articles-typical__content ol.md-steps,
.articles-typical__content ol.md-list{
  margin: 14px 0 16px;
  padding-left: 0;
  list-style-position: inside;
  display: grid;
  gap: 10px;
}

/* Если нужно применить ко всем ol внутри статьи — используй этот вариант вместо классов:
.articles-typical__content ol{
  margin: 14px 0 16px;
  padding-left: 0;
  list-style-position: inside;
  display: grid;
  gap: 10px;
}
*/

.articles-typical__content ol.md-steps li,
.articles-typical__content ol.md-list li{
  margin: 0;
  padding: 0;
}

/* Стабилизация при жирном тексте/переносах */
.articles-typical__content ol.md-steps li > span,
.articles-typical__content ol.md-list li > span{
  display: inline;
}
/* Заголовки в статье: читаемость на тёмном фоне */
.articles-typical__content h2{
  color: #F28A2E;              /* акцент как в макете */
  margin-top: 42px;
  margin-bottom: 16px;
  letter-spacing: .2px;
}

.articles-typical__content h3{
  color: rgba(255,255,255,.96);
  margin-top: 22px;
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}

/* тонкая акцентная линия слева у H3 — визуально разделяет блоки */
.articles-typical__content h3{
  position: relative;
  padding-left: 16px;
}

.articles-typical__content h3::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;        /* начало чуть ниже верхней границы */
  bottom: 0.15em;     /* и чуть выше нижней — линия по высоте заголовка */
  width: 4px;
  border-radius: 10px;
  background: rgba(242,138,46,.95);
}




/* Чуть больше воздуха между абзацами */
.articles-typical__content p{
  margin: 0 0 14px;
}

/* Разделитель — потоньше и спокойнее */
.articles-typical__content hr,
.articles-typical__content .wp-block-separator{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 26px 0;
}
/* ЖЕЛЕЗНО: не даём <strong> ломать строку внутри чек-листа */
.articles-typical__content ul.wp-block-list.md-checklist li strong{
  display: inline !important;
  white-space: normal !important;
}

.articles-typical__content ul.wp-block-list.md-checklist li strong,
.articles-typical__content ul.wp-block-list.md-checklist li a,
.articles-typical__content ul.wp-block-list.md-checklist li span{
  max-width: 100%;
}
/* Ссылки внутри статьи: фирменный оранжевый + нормальный hover */
.articles-typical__content a{
  color: rgba(242, 138, 46, 0.98);
  text-decoration: none;
  border-bottom: 1px dashed rgba(242, 138, 46, 0.55);
  transition: border-color .2s ease, opacity .2s ease;
}

.articles-typical__content a:hover{
  border-bottom-color: rgba(242, 138, 46, 0.95);
  opacity: 0.92;
}

/* Чтобы ссылки не переносились "по слогам" и не ломали строки в узких местах */
.articles-typical__content a{
  word-break: normal;
  overflow-wrap: anywhere; /* если вдруг всё же вставили голый URL */
}
/* =========================
   ПОРТФОЛИО: читабельная типографика
   (перебиваем vw на clamp)
   ========================= */

.portfolio-typical__editor{
  /* базовый размер текста */
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
}

/* Абзацы */
.portfolio-typical__editor p{
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 0 14px !important;
}

/* Заголовки в тексте (Этап 1/2/3...) */
.portfolio-typical__editor h2,
.portfolio-typical__editor h3{
  font-size: clamp(22px, 1.6vw, 30px) !important;
  line-height: 1.2 !important;
  margin: 22px 0 12px !important;
  letter-spacing: 0 !important; /* если где-то задано */
}

/* Если есть h4 */
.portfolio-typical__editor h4{
  font-size: clamp(18px, 1.2vw, 22px) !important;
  line-height: 1.25 !important;
  margin: 18px 0 10px !important;
}

/* Списки */
.portfolio-typical__editor ul,
.portfolio-typical__editor ol{
  margin: 10px 0 18px !important;
  padding-left: 22px !important;
}

.portfolio-typical__editor li{
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 6px 0 !important;
}

/* Чуть воздуха на мобильной */
@media (max-width: 768px){
  .portfolio-typical__editor{
    font-size: 16px;
    line-height: 1.75;
  }
  .portfolio-typical__editor h2,
  .portfolio-typical__editor h3{
    font-size: 22px !important;
  }
}

/* Если текст визуально "узкий" в десктопе — расширяем колонку */
.portfolio-typical__description,
.portfolio-typical__editor{
  max-width: 920px;   /* можно 980px, если хочешь шире */
}

/* Если контент центрируется и есть большие поля — убираем чрезмерное сжатие */
@media (min-width: 1200px){
  .portfolio-typical__editor{
    max-width: 980px;
  }
}