@font-face {
    font-family: 'SuisseIntl';
    src: url('/wp-content/themes/twentytwenty/assets/fonts/SuisseIntl/SuisseIntl-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('/wp-content/themes/twentytwenty/assets/fonts/SuisseIntl/SuisseIntl_regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SuisseIntl';
    src: url('/wp-content/themes/twentytwenty/assets/fonts/SuisseIntl/SuisseIntl_medium.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

:root {
    --black: #000000;
    --white: #ffffff;

    --mainColor: #2977c5;

    --linkColor: #2977c5;
    --textColor: #083d66;
    --mobileMenuBg: #083d66;
    --titleColor: #083d66;

    --btnBlue: #2977c5;
    --btnBorderBlue: #083d66;
    --btnBorderWhite: #083d66;

    --footerBg: #083d66;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'SuisseIntl';
    font-weight: 400;
    font-size: 16px;
    letter-spacing: normal;
}

input,
textarea,
button {
    font-family: 'SuisseIntl';
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    border: none;
    outline: none;
    background: none;
    text-decoration: none !important;
    text-transform: none !important;
    padding: 0;
    width: fit-content;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: 200ms linear;
}

.btn-border-blue {
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--btnBorderBlue);
    border-radius: 30px;
    font-size: 12px;
    line-height: 1;
    color: var(--black);
}

.btn-border-blue:hover {
    background: var(--linkColor);
    border-color: var(--linkColor);
    color: var(--white);
}

.btn-blue {
    background: var(--btnBlue);
    border: 1px solid var(--btnBlue);
    border-radius: 30px;
    color: #ffffff;
    font-size: 18px;
    line-height: 23px;
    font-weight: 600;
    padding: 15px 23px;
}

.btn-blue:hover {
    color: var(--btnBlue);
    background: var(--white);
}

.btn-border-white {
    background: var(--btnBorderWhite);
    border: 1px solid var(--white);
    border-radius: 30px;
    color: #ffffff;
    font-size: 18px;
    line-height: 25px;
    font-weight: 600;
    padding: 15px 24px;
}

.btn-border-white:hover {
    color: var(--btnBorderWhite);
    background: var(--white);
}

h1,
.h1,
.heading-size-1,
h2,
.h2,
.heading-size-2,
h3,
.h3,
.heading-size-3,
h4,
.h4,
.heading-size-4,
h5,
.h5,
.heading-size-5,
h6,
.h6,
.heading-size-6,
.title {
    margin: 0;
    margin-bottom: 40px;
    font-size: 36px;
    line-height: 56px;
    color: var(--titleColor);
    font-weight: 700;
}

h3,
.h3,
.heading-size-3,
h4,
.h4,
.heading-size-4,
h5,
.h5,
.heading-size-5,
h6,
.h6,
.heading-size-6 {
    font-size: 30px;
}

section {
    padding: 50px 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    margin: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translateY(-50%);
    background-color: rgb(232, 232, 232);
    background-image: url("data:image/svg+xml,%3Csvg role='presentation' focusable='false' style='display: block' viewBox='0 0 7.3 13' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cpolyline fill='none' stroke='%23222222' stroke-linejoin='butt' stroke-linecap='butt' stroke-width='1' points='0.5,0.5 6.5,6.5 0.5,12.5'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px auto;
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
    transform: translateY(-50%) rotate(180deg);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tags-list a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--mainColor);
    border: 3px solid var(--mainColor);
    border-radius: 5px;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    transition: all 0.8s ease;
}

.tags-list a:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--mainColor);
}

.unfolding-block__text>* {
    margin-bottom: 10px !important;
}

.unfolding-block__text>*:last-child {
    margin-bottom: 0;
}

.unfolding-block__more {
    width: fit-content;
    cursor: pointer;
    font-size: 16px;
    color: var(--textColor);
    transition: color 0.2s ease;
    font-weight: 600;
    border-bottom: 2px solid var(--textColor);
}

.unfolding-block__more:hover {
    color: var(--black);
    border-color: var(--black);
}

.unfolding-block__more:before {
    content: attr(data-unfolding-hide);
}

.unfolding-block__more.active:before {
    content: attr(data-unfolding-show);
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {
    outline: none;
    display: block;
    width: 100%;
    height: 55px;
    padding: 0 20px;
    color: var(--textColor);
    border: 1px solid var(--btnBorderBlue);
    background-color: var(--white);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 400;
}

.wpcf7-form-control.wpcf7-textarea {
    resize: none;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 135px;
}

.wpcf7-form-control::placeholder {
    opacity: 0.5;
    color: var(--textColor);
}

.wpcf7-form-control::-webkit-input-placeholder {
    opacity: 0.5;
    color: var(--textColor);
}

.wpcf7-form-control::-moz-placeholder {
    opacity: 0.5;
    color: var(--textColor);
}

.wpcf7-form-control:-moz-placeholder {
    opacity: 0.5;
    color: var(--textColor);
}

.wpcf7-form-control:-ms-input-placeholder {
    opacity: 0.5;
    color: var(--textColor);
}

.wpcf7-form-control.wpcf7-submit {
    padding: 15px 32px;
}

.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    width: 100%;
    font-size: 14px;
    color: var(--textColor);
}

/*********
* HEADER
**********/
.header {
	position: relative;
	top: 0;
	width: 100%;
	transition: all 0.3s ease;
	z-index: 1000;
}

.header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	background: #fff; /* Цвет фона, чтобы не сливался с контентом */
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-top__wrap {
    display: grid;
    grid-template-columns: repeat(6, auto);
    align-items: flex-start;
    justify-content: space-between;
    grid-gap: 20px;
    padding: 20px 0;
}

.header__logo img {
    max-width: 190px;
}

.header__slogan {
    max-width: 180px;
    font-size: 14px;
    line-height: 17px;
}

.header__address {
    max-width: 190px;
    font-size: 14px;
    line-height: 17px;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header-contacts-tel,
.header-contacts__mail {
    position: relative;
    line-height: 1;
}

.header-contacts-tel>a {
    position: relative;
    z-index: 5;
}

.header-contacts-tel a {
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
}

.header-contacts-tel__hover {
    display: flex;
    flex-direction: column;
    position: absolute;
    padding: 10px;
    top: 19px;
    left: 0;
    z-index: 1;
    background: var(--white);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.20);
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
}

.header-contacts-tel:hover .header-contacts-tel__hover {
    visibility: visible;
    opacity: 1;
}

.header-contacts__mail a {
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
}

.header-contacts-tel a:hover,
.header-contacts__mail a:hover,
.header__btns a:not(.btn):hover {
    text-decoration: underline;
}

.header__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.header__btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.header__btns a:not(.btn) {
    font-size: 14px;
    color: var(--linkColor);
    text-decoration: none;
}

.header__btns .btn-border-blue {
    min-width: 130px;
}

.header__burger {
    flex-direction: column;
    gap: 4px;
}

.header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--linkColor);
}

.header-nav ul {
    margin: 0;
    padding: 0;
}

.header-nav__arrow {
    flex: none;
    display: block;
    transform: translateY(-25%);
    width: 8px;
    height: 7px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='7' viewBox='0 0 8 7' fill='none'%3E%3Cpath d='M4.86603 6.5C4.48113 7.16667 3.51887 7.16667 3.13397 6.5L0.535898 2C0.150998 1.33333 0.632123 0.5 1.40192 0.5L6.59808 0.5C7.36788 0.5 7.849 1.33333 7.4641 2L4.86603 6.5Z' fill='%232977C5'/%3E%3C/svg%3E");
}

.header-nav__wrap {
    position: absolute;
    left: 50%;
    top: calc(100% - 5px);
    z-index: 10;
    transform: translateX(-50%);
    padding-top: 13px;
    visibility: hidden;
    opacity: 0;
    transition: 200ms linear;
}

.header-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header-nav__list li {
    margin: 0;
    position: relative;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-nav__list>li a {
    padding: 14px 0;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--textColor);
    text-decoration: none;
}

.header-nav__list>li a:hover {
    color: var(--linkColor);
}

.header-nav__list li ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.2);
    background: #fff;
    text-align: left;
    width: 200px;
    border-radius: 3px;
    padding: 18px 20px;
}

.header-nav__list li:hover>.header-nav__wrap {
    visibility: visible;
    opacity: 1;
}

.header-nav__list li ul:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 15px;
    height: 15px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

.header-nav__list li ul a {
    padding: 0;
    color: var(--textColor);
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.header-nav__close {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 999;
    width: 40px;
    height: 40px;
}

.header-nav__close span {
    position: absolute;
    left: 8px;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
}

.header-nav__close span:nth-child(1) {
    transform: rotate(45deg);
}

.header-nav__close span:nth-child(2) {
    transform: rotate(-45deg);
}


/*********
* FOOTER
**********/
.footer {
    background: var(--footerBg);
    color: var(--white);
}

.footer-top {
    border: none;
    padding: 50px 0 25px 0;
}

.footer-top__wrap {
    display: grid;
    grid-template-columns: auto minmax(125px, auto) minmax(150px, 210px) minmax(150px, 200px) auto;
    grid-template-rows: auto 1fr;
    align-items: flex-start;
    justify-content: space-between;
    grid-gap: 15px 30px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__col:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.footer__col:nth-child(2) {
    grid-column: 2 span;
    grid-row: 2;
}

.footer__col:nth-child(5),
.footer__col:nth-child(6) {
    grid-row: 1 / 3;
}

.footer__logo img {
    max-width: 150px;
}

.footer__title,
.footer__col:nth-child(5) .footer__menu li a {
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.footer__col:nth-child(5) .footer__menu {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer__tel {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.footer__tel a {
    color: var(--white);
    font-size: 12px;
    line-height: 20px;
    text-decoration: none;
}

.footer__tel a:hover,
.footer__mail a:hover,
.footer__menu li a:hover {
    text-decoration: underline;
}

.footer__badge iframe {
    width: 150px !important;
    height: 50px !important;
}

.footer__menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__menu li {
    margin: 0;
    line-height: 17px;
}

.footer__menu li a {
    font-size: 11px;
    line-height: 17px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.footer-contacts {
    display: grid;
    grid-template-columns: minmax(125px, auto) minmax(150px, 200px);
    align-items: flex-end;
    grid-gap: 50px;
}

.footer-contacts__left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__mail {
    line-height: 1;
}

.footer__mail a {
    font-size: 12px;
    line-height: 19px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
}

.footer__address {
    max-width: 165px;
    font-size: 12px;
    line-height: 19px;
    font-weight: 500;
}

.footer .btn-blue {
    padding: 15px 27px;
    font-size: 17px;
}

.footer-bottom {
    border-top: 1px solid var(--white);
    padding: 20px 0;
}

.footer-bottom__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer__copyright,
.footer__dev {
    font-size: 12px;
    line-height: 18px;
}

/*********
* POPUP
**********/
.popup {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: 200ms linear;
}

.popup.opened {
    visibility: visible;
    opacity: 1;
}

.popup__close {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 200ms linear;
}

.popup__close:hover {
    opacity: 0.7;
}

.popup__wrap {
    max-width: 560px;
    width: 100%;
    margin: 65px auto;
    background: #083d66;
}

.modal-form {
    color: #fff;
}

.modal-form p {
    margin: 0;
}

.modal-form .wpcf7-spinner {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.modal-form .wpcf7-not-valid-tip {
    font-size: 10px;
}

.popup .wpcf7-response-output {
    margin: 0 !important;
    border: none !important;
    padding: 0 20px 40px 20px !important;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.modal-form__head {
    margin-bottom: 24px;
}

.modal-form__body {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0 45px;
}

.modal-form__foot {
    padding: 20px 45px 40px 45px;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
}

.modal-form__img {
    margin-bottom: 40px;
}

.modal-form__title {
    margin-bottom: 11px;
    font-size: 36px;
    line-height: 1.23;
    text-align: center;
}

.modal-form__subtitle {
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
}

.modal-form__contol {
    position: relative;
}

.modal-form__contol .wpcf7-form-control.wpcf7-text:not(input[type="submit"]),
.modal-form__contol .wpcf7-form-control.wpcf7-textarea {
    outline: none;
    background: none !important;
    border: none;
    border-radius: 0 !important;
    display: block;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid #ffffff;
    padding: 25px 0 10px 0;
    color: #fff;
}

.modal-form__contol input::placeholder {
    color: rgba(245, 245, 245, 0.5);
}

.modal-form__contol input::-webkit-input-placeholder {
    color: rgba(245, 245, 245, 0.5);
}

.modal-form__contol input::-moz-placeholder {
    color: rgba(245, 245, 245, 0.5);
}

.modal-form__contol input:-moz-placeholder {
    color: rgba(245, 245, 245, 0.5);
}

.modal-form__contol input:-ms-input-placeholder {
    color: rgba(245, 245, 245, 0.5);
}

.modal-form__contol .wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    height: 100px;
    padding-top: 16px;
}

.modal-form__contol label {
    display: block;
    margin: 0;
}

.modal-form__contol label span:not(.wpcf7-form-control-wrap) {
    position: absolute;
    left: 0;
    top: 20px;
    opacity: 0.5;
    font-size: 16px;
    line-height: 20px;
    transform-origin: left;
    transition: 200ms linear;
}

.modal-form__contol.js-focus label span:not(.wpcf7-form-control-wrap) {
    transform: translateY(-100%) scale(.7);
}

.modal-form__contol.textarea label span:not(.wpcf7-form-control-wrap) {
    top: 12px;
}

.modal-form__contol .btn {
    width: 100%;
}

/*********
* HOME
**********/
.main-first {
    padding: 70px 0 15px 0;
    background-image: url('/wp-content/uploads/2025/04/vash-elektrik-gl_1-scaled.webp');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 100% auto;
}

.main-first h1 {
    margin: 0;
    max-width: 800px;
    font-size: 58px;
    line-height: 64px;
    font-weight: 700;
    letter-spacing: -2.5px;
    color: var(--titleColor);
}

.main-first__tags {
    margin-top: 25px;
    max-width: 415px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.main-first__tags>* {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mainColor);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
    border: 1px solid var(--mainColor);
    border-radius: 30px;
    height: 45px;
    padding: 0 15px;
}

.main-first .btn {
    margin-top: 36px;
    padding: 15px 28px;
}

.bonuses__items {
    display: grid;
    grid-template-columns: repeat(3, auto);
    align-items: center;
    grid-gap: 50px;
}

.bonuses-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-gap: 10px;
}

.bonuses-item__right {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bonuses-item__title {
    font-size: 16px;
    line-height: 25px;
}

.bonuses-item__title span {
    color: var(--textColor);
}

.bonuses-item__desc {
    font-size: 14px;
    line-height: 19px;
    color: rgba(80, 80, 80, 1);
}

.we-solving .title {
    margin-bottom: 60px;
}

.we-solving__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    grid-gap: 40px;
}

.we-solving-item {
    position: relative;
    z-index: 1;
    min-height: 300px;
    background: #EEEEEE;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
}

.we-solving-item:hover .we-solving-item__subtitle:after {
    transform: translateX(10px);
}

.we-solving-item__link {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.we-solving-item__img {
    position: absolute;
    z-index: -1;
}

.we-solving-item__title {
    margin-top: auto;
    color: var(--textColor);
    font-size: 24px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: -1px;
}

.we-solving-item__subtitle {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--textColor);
    font-size: 16px;
}

.we-solving-item__subtitle:after {
    content: '';
    display: block;
    width: 21px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='8' viewBox='0 0 21 8' fill='none'%3E%3Cpath d='M20.3536 4.35355C20.5488 4.15829 20.5488 3.84171 20.3536 3.64645L17.1716 0.464466C16.9763 0.269204 16.6597 0.269204 16.4645 0.464466C16.2692 0.659728 16.2692 0.976311 16.4645 1.17157L19.2929 4L16.4645 6.82843C16.2692 7.02369 16.2692 7.34027 16.4645 7.53553C16.6597 7.7308 16.9763 7.7308 17.1716 7.53553L20.3536 4.35355ZM0 4.5H20V3.5H0V4.5Z' fill='%23083D66'/%3E%3C/svg%3E");
    transition: 200ms linear;
}

.about__grid {
    display: grid;
    grid-template-columns: 473px 1fr;
    align-items: flex-start;
    grid-gap: 80px;
}

.about__left {
    position: relative;
    z-index: 1;
}

.about__left:before {
    content: '';
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: -1;
    width: 336px;
    height: 341px;
    background: var(--mobileMenuBg);
    border-radius: 35px;
}

.about__left img:nth-child(1) {
    border-radius: 35px;
}

.about__left img:nth-child(2) {
    position: absolute;
    left: -20px;
    bottom: -20px;
    z-index: -1;
}

.about-right__title {
    margin-bottom: 25px;
    max-width: 450px;
    font-size: 24px;
    line-height: 1.2;
    color: var(--titleColor);
}

.about-right-adv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 20px 40px;
    margin-top: 50px;
}

.about-right-adv__item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-gap: 15px;
    font-size: 16px;
    line-height: 1.55;
}

.about-right-adv__item img {
    max-width: 90px;
}

.about-right-adv__item strong {
    color: var(--textColor);
}

.about-right .btn {
    margin-top: 50px;
}

.cost-works {
    background-image: url('/wp-content/uploads/2025/04/cost-works-bg.jpg');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--white);
}

.cost-works .title {
    margin-bottom: 13px;
}

.cost-works__desc {
    max-width: 630px;
    line-height: 1.55;
}

.cost-works__items {
    margin: 35px 0;
}

.cost-works__item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-gap: 12px;
    line-height: 25px;
    color: var(--mainColor);
}

.cost-works__item div {
    max-width: 325px;
}

.mounting__uptitle {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.2;
    color: var(--titleColor);
}

.mounting .title {
    margin-bottom: 0px;
}

.price_mounting_wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: all ease 0.3s;
}

.accordion_item.active .price_mounting_wrapper {
    grid-template-rows: 1fr;
    margin-top: 20px;
}


.price_mounting_inner {
    overflow: hidden;
}

.price-tables {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    grid-gap: 0 40px;
}

.price-tables table {
    border: none;
    margin: 0;
}

.price-tables table tr td {
    border: none;
    vertical-align: bottom;
    padding: 30px 0 10px 0;
    border-bottom: 1px solid rgba(8, 61, 102, 0.2);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--textColor);
}

.price-tables table tr td:nth-child(2) {
    white-space: nowrap;
    text-align: right;
    padding-left: 20px;
}

.diagnostics .title {
    text-align: center;
}

.diagnostics__subtitle {
    margin-bottom: 90px;
    text-align: center;
    font-size: 20px;
    color: var(--textColor);
}

.diagnostics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: flex-start;
    grid-gap: 40px;
}

.diagnostics-item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 25px;
}

.diagnostics-item__title {
    font-size: 20px;
    color: var(--textColor);
    font-weight: 600;
}

.individual-build .title {
    margin-bottom: 50px;
}

.individual-build__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    grid-gap: 50px 25px;
}

.individual-build-item {
    display: flex;
    flex-direction: column;
}

.individual-build-item__title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--titleColor);
}

.individual-build-item__desc {
    flex-grow: 1;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    color: var(--textColor);
}

.faq .title {
    margin-bottom: 60px;
    text-align: center;
}

.faq__items {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.faq-item {
    background-color: #eeeeee;
    border-radius: 10px;
    color: #212121;
    line-height: 1.55;
}

.faq-item__head {
    position: relative;
    padding: 25px 30px;
    cursor: pointer;
}

.faq-item__head.active:after {
    transform: translateY(-50%) rotate(-45deg);
}

.faq-item__head:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 1;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--mainColor);
    background-image: url("data:image/svg+xml,%3Csvg role='presentation' focusable='false' width='24px' height='24px' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg stroke='none' stroke-width='2px' fill='none' fill-rule='evenodd' stroke-linecap='square'%3E%3Cg transform='translate(1.000000, 1.000000)' stroke='%23ffffff'%3E%3Cpath d='M0,11 L22,11'%3E%3C/path%3E%3Cpath d='M11,0 L11,22'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    border-radius: 50%;
    transition: 200ms linear;
}

.faq-item__body {
    padding: 0 30px 20px 30px;
    display: none;
}

.ya-reviews {
    background-color: #eeeeee;
}

.ya-reviews .title {
    margin-bottom: 35px;
    text-align: center;
    line-height: 1;
}

.ya-reviews .btn {
    margin: 0 auto;
    min-width: 230px;
    font-size: 16px;
    line-height: 28px;
}

.clients .title {
    margin-bottom: 60px;
    text-align: center;
}

.clients__slider {
    position: relative;
}

.clients__slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients__slider .swiper-slide img {
    display: block;
    width: 100%;
}

.interested .title {
    text-align: center;
}

.our-work .title {
    margin-bottom: 60px;
    text-align: center;
}

.our-work .btn {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 336px;
    width: 100%;
    font-size: 16px;
    line-height: 28px;
}

.our-work__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-gap: 40px;
}

.our-work-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
    text-decoration: none !important;
}

.our-work-item__img {
    margin-bottom: 16px;
    height: 234px;
}

.our-work-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.our-work-item__date {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    color: #777;
    text-transform: uppercase;
}

.our-work-item__title {
    flex-grow: 1;
    font-size: 26px;
    line-height: 1.23;
    font-weight: 600;
    color: var(--titleColor);
}

.our-work-item__desc {
    margin-top: 12px;
    min-height: 74px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 1.5;
    color: #777;
}

.our-work-item__desc p {
    color: #777 !important;
}

.electrical-services {
    padding: 90px 0;
    background-color: #dee4e9;
    background-image: url('/wp-content/uploads/2025/04/electrical-services-bg.jpg');
    background-repeat: no-repeat;
    background-position: right top;
    background-attachment: scroll;
}

.electrical-services .title,
.electrical-services .h2 {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.17;
}

.electrical-services__desc {
    max-width: 660px;
}

.certificates .title {
    margin-bottom: 60px;
    text-align: center;
}

.certificates__slider {
    position: relative;
}

.portfolio .title {
    margin-bottom: 60px;
    text-align: center;
}

.portfolio .btn {
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
    font-size: 16px;
    min-width: 230px;
}

.portfolio__slider {
    position: relative;
}

.portfolio .swiper-slide img {
    height: 172px;
    width: 100%;
    object-fit: cover;
}

.portfolio .swiper-slide a {
    font-size: 18px;
    color: var(--textColor);
    font-weight: 500;
    text-decoration: none;
}

.portfolio .swiper-slide a div {
    padding: 18px 20px;
}

.feedback {
    margin-bottom: 50px;
}

.feedback .title {
    margin-bottom: 75px;
}

.feedback__grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    grid-gap: 120px;
}

.feedback__left {
    max-width: 482px;
}

.feedback form {
    max-width: 400px;
}

.feedback-form p {
    margin: 0;
}

.feedback-form .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 5px;
    z-index: 1;
    transform: translateY(-50%);
}

.feedback-form__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.feedback-form__contol {
    position: relative;
}

.feedback-form__foot {
    color: var(--textColor);
    font-size: 14px;
}


#popup-ya-review {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

#popup-ya-review .popup__close svg {
    filter: brightness(0) invert(1);
}

#popup-ya-review .popup__wrap {
    height: auto;
    min-height: auto;
    transform: scale(0.9);
}

.ya-review__wrap {
    padding: 40px 45px;
}

.ya-review__desc {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--white);
    text-align: center;
}

.ya-review .btn {
    margin-top: 26px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.btn-scroll-up {
    position: fixed;
    z-index: 100000;
    bottom: 130px;
    right: 74px;
    min-height: 30px;
    display: none;
    cursor: pointer;
}

.btn-scroll-up svg {
    display: block;
}

.fixed-soclinks {
    position: fixed;
    bottom: 50px;
    right: 65px;
    z-index: 100000;
    cursor: pointer;
}

.fixed-soclinks__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--mainColor);
    border: 2px solid var(--mainColor);
}

.fixed-soclinks__btn>svg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    margin: auto;
    transition: 200ms linear;
}

.fixed-soclinks__close {
    transform: scale(0);
}

.fixed-soclinks__link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    margin: 7px;
    opacity: 0;
    visibility: hidden;
}

.fixed-soclinks__btn.active {
    background: var(--white);
}

.fixed-soclinks__btn.active .fixed-soclinks__write {
    transform: scale(0);
}

.fixed-soclinks__btn.active .fixed-soclinks__close {
    transform: scale(1);
}

.fixed-soclinks__btn.active~.fixed-soclinks__link {
    opacity: 1;
    visibility: visible;
}

.fixed-soclinks__btn.active~.fixed-soclinks__link:nth-of-type(1) {
    transition: all 0.2s ease-in-out;
    transform: translate(0, -135%);
}

.fixed-soclinks__btn.active~.fixed-soclinks__link:nth-of-type(2) {
    transition: all 0.225s ease-in-out;
    transform: translate(0, -255%);
}

.fixed-soclinks__btn.active~.fixed-soclinks__link:nth-of-type(3) {
    transition: all 0.25s ease-in-out;
    transform: translate(0, -375%);
}

.fixed-soclinks__link:hover span {
    opacity: .85;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .4);
}

.fixed-soclinks__link span {
    display: block;
    position: absolute;
    right: 80px;
    white-space: nowrap;
    background: #fff;
    padding: 9px 13px;
    font-size: 15px;
    border-radius: 3px;
    transform: translateX(0%) translateY(-50%);
    top: 50%;
    background: #292929;
    color: #fff;
    opacity: 0;
    transition: all 0.1s linear;
    user-select: none;
}

.fixed-soclinks__link span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: solid transparent;
    border-width: 10px;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    border-left-color: #292929;
}

.fixed-soclinks__svg {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.fixed-soclinks__svg:before {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    right: 2px;
    bottom: 2px;
    z-index: -1;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: var(--white);
    border-radius: 50%;
}

.fixed-soclinks__svg svg {
    display: block;
}

.why-choose__grid,
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    grid-gap: 40px;
}

.steps.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.why-choose-item,
.steps-item {
    position: relative;
    padding: 53px 40px;
    min-height: 263px;
    color: var(--titleColor);
    background-color: var(--white);
}

.steps-item--img {
    padding: 0;
    display: flex;
    align-items: center;
}

.steps-item--img:before {
    display: none;
}

.why-choose-item:before,
.steps-item:before {
    content: '';
    position: absolute;
    left: -12px;
    top: -12px;
    z-index: -1;
    width: calc(100% + 40px);
    height: calc(100% + 44px);
    background-image: url('/wp-content/themes/twentytwenty/assets/images/why-choose-shadow.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: 200ms linear;
}

.steps-item__numb {
    margin-bottom: 20px;
    font-size: 17px;
    font-weight: 600;
    color: var(--mainColor);
}

.why-choose-item__head,
.steps-item__head {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: flex-start;
}

.why-choose-item__head img,
.steps-item__head img {
    margin-left: 20px;
}

.why-choose-item__title,
.steps-item__title {
    font-size: 24px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: -1px;
}

.why-choose-item__body,
.steps-item__body {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.4;
}

.why-choose-item:hover:before,
.steps-item:hover:before {
    transform: translateX(-8px) scale(1.05);
}

/**********
STYLE PAGES
**********/
.page-content__container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page-head.page-head-bg {
    display: flex;
    align-items: center;
    min-height: 400px;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-head.page-head-full {
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(100vh - 152px);
}

.page-head .title {
    margin-bottom: 0 !important;
}

.page-head .title.title-center {
    text-align: center !important;
}

.page-head__desc {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.2;
    color: var(--textColor);
}

.page-head .btn {
    min-width: 206px;
    margin-top: 50px;
}

.page-content {
    overflow: hidden;
}

.page-content .wp-block-heading {
    margin-top: 40px;
}

.page-content .btn {
    min-width: 206px;
}

.page-content p {
    color: var(--textColor);
}

.page-content a:not(.btn) {
    color: var(--linkColor);
    text-decoration: underline;
}

.page-content .tags-list a {
    text-decoration: none;
}

.page-content .tags-list a:not(:hover) {
    color: var(--white);
}

.page-content a:not(.btn):hover {
    text-decoration: none;
}

.page-content .wp-block-columns {
    margin: 0 !important;
    padding: 50px 0;
    color: var(--textColor);
}

.page-content p+.wp-block-columns {
    padding-top: 0;
}

.page-content .wp-block-column {
    display: flex;
    flex-direction: column;
}

.page-content .wp-block-column .btn {
    margin-top: auto;
}

.page-content .wp-block-image {
    margin: 0 !important;
}

.page-content .wp-block-image img {
    width: 100%;
}

.page-content .wp-block-heading+.wp-block-columns {
    padding-top: 0;
}

.page-contacts {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    grid-gap: 30px;
    font-size: 20px;
    line-height: 1.55;
    color: var(--textColor);
}

.page-contacts h1 {
    margin-bottom: 30px;
}

.page-contacts__right iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.social-list {
    margin: 0;
    list-style: none;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.social-list li {
    margin: 0;
}

#post-id-169 .page-head {
    padding-bottom: 0;
}

#post-id-141 .page-content,
#post-id-173 .page-content,
#post-id-169 .page-content,
#post-id-167 .page-content {
    padding-top: 0;
}

#post-id-141 .container>p,
#post-id-173 .container>p,
#post-id-169 .container>p {
    font-size: 20px;
    line-height: 1.55;
}

#post-id-169 .price-tables {
    padding-bottom: 30px;
    text-transform: uppercase;
}

#post-id-141 .about__grid {
    padding-bottom: 50px;
}

#post-id-167 .our-work__items:not(:last-child) {
    margin-bottom: 40px;
}

#post-id-167 .our-work-item__title {
    flex-grow: initial;
}

#post-id-167 .our-work-item__desc {
    flex-grow: 1;
    display: block;
    min-height: auto;
}

#post-id-167 .our-work-item__desc p {
    margin: 0;
}

#post-id-167 .page-head .title,
#post-id-167 .page-head__desc {
    display: none;
}

#post-id-167 .page-head .btn {
    margin-bottom: -50px;
}

#post-id-167 .page-head.page-head-bg {
    align-items: flex-end;
}


.block-srochnyj-vyzov {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('/wp-content/uploads/2025/04/srochnyi-vyzov-1.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100%;
}

.block-srochnyj-vyzov .title {
    margin: 0;
    line-height: 40px;
}

.block-srochnyj-vyzov .btn {
    margin-top: 64px;
}

.page-bottom .block-cost-work {
    padding: 0;
}

.block-cost-work {
    padding: 50px 0;
}

.block-cost-work__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    grid-gap: 100px;
}

.block-cost-work__right {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    color: var(--textColor);
}

.block-cost-work__right .btn {
    margin-top: auto;
}

.ya-reviews-2 .title {
    text-align: center;
}

.ya-reviews-2 .btn {
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.single-head .title {
    margin: 0 !important;
}

.single-head .title.title-center {
    text-align: center;
}

.single-content {
    padding-top: 0;
}

.single-content {
    color: var(--textColor);
    font-size: 20px;
    line-height: 1.5;
}

.single-content p {
    margin-bottom: 0.5em;
}

.single-content p+.wp-block-gallery {
    margin-top: 50px !important;
}

.single-content .wp-block-gallery+p {
    margin-top: 50px;
}

.single-content .wp-block-gallery {
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch !important;
    grid-gap: 30px !important;
}

.single-content .wp-block-gallery .wp-block-image {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
}

.single-content .wp-block-gallery .wp-block-image a,
.single-content .wp-block-gallery .wp-block-image img {
    display: block !important;
    height: 360px !important;
}

.single-content .wp-block-gallery .wp-block-image:before {
    display: none !important;
}

.single-content .wp-block-gallery .wp-element-caption {
    position: static !important;
    background: none !important;
    text-align: left !important;
    text-shadow: none !important;
    padding: 0 !important;
    margin-top: 20px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    color: var(--textColor) !important;
    scrollbar-gutter: auto !important;
}

/* Шаблон - Электромонтаж */
.block-skidka {
    padding: 80px 0 50px 35px;
    margin: 50px 0;
    background-image: url('/wp-content/uploads/2025/04/skidka1.webp');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
}

.block-skidka__title {
    font-size: 30px;
    line-height: 64px;
    color: var(--titleColor);
    font-weight: 600;
}

.block-skidka__title span {
    padding-left: 40px;
    font-size: 64px;
    color: var(--mainColor);
}

.block-skidka__desc {
    max-width: 320px;
    margin-top: 26px;
    color: var(--textColor);
}

.block-skidka .btn {
    margin-top: 60px;
}

.dop-bonuses .title.title-center {
    text-align: center;
}

.dop-bonuses__items {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: number 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    grid-gap: 40px;
}

.dop-bonuses-item {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    grid-gap: 20px;
}

.dop-bonuses-item:before {
    counter-increment: number;
    content: counter(number);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #ededed;
    border-radius: 50%;
    font-size: 20px;
    line-height: 60px;
    font-weight: 600;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
}

.dop-bonuses-item__title {
    margin-bottom: 13px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--titleColor);
}

.dop-bonuses-item__desc {
    color: var(--textColor);
}

.portfolio--envira .title.title-center {
    text-align: center;
}

.portfolio--envira .dop-opisanine {
    font-size: 20px;
    line-height: 31px;
    color: var(--textColor);
}

.portfolio--envira .dop-opisanine .unfolding-block__more {
    border: none;
    margin-top: 50px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
    font-size: 24px;
    line-height: 32px;
}

.portfolio--envira .dop-opisanine .unfolding-block__more:after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg role='presentation' focusable='false' viewBox='0 0 40 40' fill='none' stroke='%23222222' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' stroke-width='0'%3E%3C/circle%3E%3Cg stroke-width='2px' fill='none'%3E%3Cpath d='M9 20H31'%3E%3C/path%3E%3Cpath d='M20 9V31'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    transition: 200ms linear;
}

.portfolio--envira .dop-opisanine .unfolding-block__more:hover:after {
    background-image: url("data:image/svg+xml,%3Csvg role='presentation' focusable='false' viewBox='0 0 40 40' fill='%231f5bff' stroke='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' stroke-width='0'%3E%3C/circle%3E%3Cg stroke-width='2px' fill='none'%3E%3Cpath d='M9 20H31'%3E%3C/path%3E%3Cpath d='M20 9V31'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
}

.portfolio--envira .dop-opisanine .unfolding-block__more.active:after {
    transform: rotate(-45deg);
}

.portfolio--envira .envira-gallery-wrap {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.portfolio--envira .envira-gallery-wrap .envira-gallery-public {
    margin-bottom: 0;
    position: relative;
    width: 100%;
    height: 100% !important;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
    transform: translate3d(0px, 0, 0);
}

.portfolio--envira .envira-gallery-wrap .envira-gallery-public .envira-gallery-item {
    position: static !important;
    float: none !important;
    padding: 0 !important;
    flex-shrink: 0;
    width: 100%;
    height: fit-content !important;
    position: relative;
    transition-property: transform;
    display: block;
}

.portfolio--envira .envira-gallery-wrap .envira-gallery-public .envira-gallery-item img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

.portfolio--envira .envira-image-title {
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--titleColor);
}

.hidden-table {
    display: none;
}

.show-all:hover {
    text-decoration: none;
}

.show-all {
    cursor: pointer;
    text-decoration: underline;
}

table.table-price {
    margin-top: 0;
    border: none;
    width: 100%;
    font-size: 18px;
    color: #083d66;
    text-align: left;
}

table.table-price tr td {
    padding: 10px 20px;
    margin: 0;
}

table.table-price td:first-child {
    background: #2977c5;
    color: white;
    padding: 10px 20px;
}

table.table-price tr.bg-none td {
    background: #fff;
}

table.table-price td {
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: white;
}

table.table-price td {
    background: #D8E6F3;
}

table.table-price td:first-child {
    text-align: left;
}

table.table-price .not-table td:first-child {
    background: transparent;
    text-align: center;
    color: #083d66;
    font-size: 16px;
    font-weight: bold;
}

/* шаги работы с линиями */
.steps-work {
    padding: 50px 0;
}

.steps-work .title {
    font-size: 30px;
    letter-spacing: -1px;
    margin-bottom: 80px;
}

.steps-work__items {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    grid-gap: 40px 80px;
}

.steps-work-item {
    position: relative;
}

.steps-work-item.steps-work-item--first {
    top: -40px;
}

.steps-work-item__title {
    position: relative;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: -1px;
    font-weight: 600;
    color: var(--titleColor);
    padding-left: 40px;
}

.steps-work-item__desc {
    margin-top: 15px;
    color: var(--textColor);
    line-height: 1.4;
}

.steps-work-item .rect-line-top,
.steps-work-item .rect-line-bottom,
.steps-work-item .rect-line-right,
.steps-work-item .rect-line-left {
    position: absolute;
    z-index: 1;
    height: 0;
    width: 0;
}

.steps-work-item .rect-line-top,
.steps-work-item .rect-line-bottom {
    position: absolute;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 6px;
    border-left: 2px solid #2977c5;
    border-right: 2px solid #2977c5;
}

.steps-work-item .rect-line-right,
.steps-work-item .rect-line-left {
    position: absolute;
    top: 50%;
    z-index: -1;
    transform: translateY(-50%);
    height: 6px;
    border-top: 2px solid #2977c5;
    border-bottom: 2px solid #2977c5;
}

.steps-work-item .rect-line-right {
    left: 15px;
}

.steps-work-item .rect-line-left {
    right: 15px;
}

.steps-work-item .rect-line-top {
    bottom: 15px;
}

.steps-work-item .rect-line-bottom {
    top: 15px;
}


.steps-work-item .rect-lines {
    position: absolute;
    top: 21px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.steps-work-item .rect-lines:before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 5px;
    background: #083D66;
    position: relative;
    z-index: 1;
}

.steps-work-item .rect-line-top,
.steps-work-item .rect-line-bottom {
    left: calc(15px / 2);
    height: calc(100% + 40px + 15px) !important;
}

.steps-work-item .rect-line-right,
.steps-work-item .rect-line-left {
    top: calc(15px / 2);
    width: 100% !important;
}

.steps-work-item .rect-line-top {
    bottom: 100%;
}

.steps-work-item .rect-line-right {
    width: 15px !important;
    z-index: -1;
}
.rect-line-right.full{
    width: 30% !important;
}

.steps-work-item .rect-line-left {
    width: 100% !important;
    right: 100%;
}

.steps-work-item__title {
    padding-bottom: 15px;
}

.steps-work-item__title span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.steps-work-item__title span:before {
    content: '';
    position: absolute;
    top: 95%;
    left: -10px;
    right: -10px;
    z-index: 1;
    height: 8px;
    width: calc(100% + 20px);
    background-color: #fff;
}

.steps-work-item__desc {
    margin-top: 0;
    position: relative;
    z-index: 5;
    background: #fff;
}

/* Шаблон - Доп. работы */
.portfolio--envira .block-skidka {
    margin-bottom: 0;
}

.srochnyi-problems {
    padding: 50px 0;
    color: var(--textColor);
}

.srochnyi-problems__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    grid-gap: 58px;
}

.srochnyi-problems-item {
    position: relative;
    padding-left: 124px;
}

.srochnyi-problems-item:before {
    content: attr(data-numb);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Arial';
    font-size: 198px;
    line-height: 1.4;
    color: var(--mainColor);
    font-weight: 600;
    opacity: 0.2;
}

.srochnyi-problems-item:nth-child(6) {
    padding-left: 0;
    grid-column: 2;
    grid-row: 1 / 3;
}

.srochnyi-problems-item:nth-child(6) img {
    width: 100%;
}

.srochnyi-problems-item__title {
    font-size: 24px;
    letter-spacing: -1px;
    color: var(--titleColor);
    font-weight: 600;
}

.srochnyi-problems-item__desc {
    margin-top: 29px;
    font-family: 'Arial';
    line-height: 1.4;
}

.srochnyi-problems__desc {
    margin-top: -28px;
    padding-left: 124px;
    max-width: 550px;
    font-family: 'Arial';
    line-height: 1.4;
}

.srochnyi-price {
    padding: 50px 0;
}

.srochnyi-problems .title,
.srochnyi-price .title {
    margin-top: 0;
}

.srochnyi-price__wrap {
    min-height: 472px;
    background-image: url('/wp-content/uploads/2025/04/srochnyi-vyzov-4.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    display: flex;
    align-items: center;
}

.srochnyi-price__right {
    max-width: 525px;
    margin-left: auto;
}

.srochnyi-price__title {
    max-width: 410px;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--titleColor);
}

.srochnyi-price__title span {
    padding-left: 30px;
    font-size: 62px;
    color: var(--mainColor);
}

.srochnyi-price__subtitle {
    margin-top: 34px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--titleColor);
}

.srochnyi-price__parts {
    position: relative;
    padding-left: 60px;
    margin-top: 28px;
    color: var(--mainColor);
    line-height: 22px;
}

.srochnyi-price__parts:before {
    content: '!';
    position: absolute;
    left: -7px;
    top: -56px;
    font-size: 145px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--titleColor);
    opacity: 0.2;
}

.srochnyi-price__parts p {
    margin-bottom: 0;
}

.srochnyi-price__parts p:last-child {
    margin-top: 30px;
}

.previews-type-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    grid-gap: 40px;
}

.previews-type-1-item {
    position: relative;
    background: #fff;
}

.previews-type-1-item:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: #083D66;
    filter: blur(8px);
    opacity: 0.12;
    transition: 200ms linear;
}

.previews-type-1-item:hover:before {
    transform: scale(1.05) translateX(-2px);
}

.previews-type-1-item__head img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.previews-type-1-item__body {
    padding: 40px 40px 52px 40px;
}

.previews-type-1-item__title {
    font-size: 24px;
    color: var(--titleColor);
    line-height: 1.5;
    letter-spacing: -1px;
    font-weight: 600;
}

.previews-type-1-item__desc {
    margin-top: 22px;
    color: var(--textColor);
    line-height: 1.4;
}

.advantages-type-1 {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.advantages-type-1__item {
    position: relative;
    z-index: 1;
    padding-top: 37px;
}

.advantages-type-1__title {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -3px;
    text-transform: uppercase;
    opacity: 0.15;
    color: var(--titleColor);
}

.previews-type-1-item__desc {
    line-height: 22px;
    color: var(--textColor);
}

/*********
* MEDIA
**********/
@media (min-width: 992px) {

    .header__burger,
    .header-nav__close,
    .header-nav__logo,
    .header-nav__tel,
    .header-nav__bottom {
        display: none;
    }

    .page-head.page-head-bg .title {
        max-width: 58%;
        font-size: 62px;
    }
}

@media (max-width: 1200px) {
    .header__slogan {
        display: none;
    }

    .footer-top__wrap {
        grid-gap: 20px;
    }

    .about__grid {
        grid-template-columns: 372px 1fr;
    }
}

@media (max-width: 1100px) {
    .about__grid {
        grid-template-columns: 272px 1fr;
    }

    .about__left:before {
        width: 230px;
        height: 230px;
    }

    .about__left img:nth-child(2) {
        width: 230px;
        left: -10px;
        bottom: -10px;
    }

    .page-content p br {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top__wrap {
        padding: 10px 0;
        grid-template-columns: auto auto;
        align-items: center;
    }

    .header__address,
    .header-contacts,
    .header__social,
    .header__btns {
        display: none;
    }

    .header-nav {
        overflow: hidden;
    }

    .header-nav.opened:before {
        content: '';
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 998;
        width: 100vw;
        height: 100vh;
        background: #000;
        opacity: 0.6;
    }

    .header-nav.opened .header-nav__inner {
        transform: translateX(0%);
    }

    .header-nav .container {
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .header-nav__inner {
        position: fixed;
        right: 0;
        top: 0;
        z-index: 999;
        max-width: 260px;
        height: 100vh;
        padding: 48px 40px 38px;
        background: var(--mobileMenuBg);
        overflow: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(100%);
        transition: 200ms linear;
    }

    .header-nav__arrow {
        transform: none;
        width: 10px;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center;
        filter: brightness(0) invert(1);
    }

    .header-nav__list {
        border: none;
        margin: 25px 0 15px 0 !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .header-nav__list li {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-gap: 0 8px;
    }

    .header-nav__list>li a {
        padding: 0;
        color: #fff;
    }

    .header-nav__wrap {
        grid-column: 2 span;
        position: static;
        padding: 10px 0 0 0;
        transform: none;
        visibility: visible;
        opacity: 1;
        display: none;
        transition: none;
    }

    .header-nav__list li ul {
        box-shadow: none;
        background: none;
        padding: 0 0 0 10px;
        gap: 5px;
    }

    .header-nav__list li ul:before {
        display: none;
    }

    .header-nav__list li ul a {
        color: #fff;
    }

    .header-nav__tel {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-nav__tel a {
        font-size: 16px;
        color: #ffffff;
        font-weight: 500;
        text-transform: uppercase;
        text-decoration: none;
    }

    .header-nav__bottom {
        margin-top: auto;
    }

    .header-nav__social {
        margin-top: 25px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-nav__bottom .btn-blue,
    .header-nav__bottom .btn-border-white {
        font-size: 14px;
        line-height: 18px;
    }

    .header-nav__bottom .btn-border-white {
        margin-top: 10px;
        background: none;
    }

    .footer-top {
        padding: 25px 0;
    }

    .footer-top__wrap {
        max-width: 360px;
        margin: 0 auto;
        grid-template-columns: 1fr 1.5fr;
        grid-template-rows: repeat(6, auto);
        grid-gap: 20px 10px;
    }

    .footer__col {
        grid-row: auto !important;
    }

    .footer-contacts:nth-child(2) {
        grid-template-columns: 1fr 1.5fr;
        grid-gap: 10px;
        grid-row: 3 !important;
    }

    .footer__col:nth-child(1),
    .footer__col:nth-child(5),
    .footer__col:nth-child(6) {
        grid-column: 2 span;
    }

    .footer__col:nth-child(5) {
        grid-row: 3;
    }

    .footer__col:nth-child(5) .footer__menu {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        align-items: center;
        grid-gap: 10px;
    }

    .footer__logo,
    .footer__badge {
        display: flex;
        justify-content: center;
    }

    .footer__title,
    .footer__col:nth-child(5) .footer__menu li a {
        font-size: 12px;
    }

    .footer__tel,
    .footer .btn-blue {
        margin: 0 auto;
    }

    .footer-bottom__wrap {
        flex-direction: column;
        gap: 5px;
    }

    .bonuses__items {
        grid-template-columns: 100%;
        grid-gap: 20px;
    }

    .about-right-adv {
        grid-template-columns: 100%;
    }

    .about__grid {
        grid-template-columns: 100%;
        grid-gap: 30px;
    }

    .about__left {
        max-width: 273px;
    }

    .price-tables {
        grid-template-columns: 100%;
        grid-gap: 0;
    }

    .diagnostics__grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }

    .electrical-services {
        position: relative;
        z-index: 1;
        padding: 50px 0;
    }

    .electrical-services:before,
    .cost-works:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(223, 228, 234, .85);
        z-index: -1;
    }

    .cost-works {
        position: relative;
        z-index: 1;
    }

    .feedback__grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }

    .main-first {
        padding: 50px 0;
        background-size: cover;
        background-position: center;
    }

    .main-first h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .clients__slider,
    .certificates__slider,
    .portfolio__slider {
        padding: 0 15px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 24px;
        height: 24px;
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-button-next {
        right: 5px;
    }

    .btn-scroll-up {
        right: 22px;
    }

    .btn-scroll-up svg {
        width: 40px;
    }

    .fixed-soclinks {
        right: 10px;
    }

    .why-choose__grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .page-contacts {
        grid-template-columns: 100%;
    }

    .page-head.page-head-full {
        position: relative;
        z-index: 1;
        height: calc(100vh - 44px);
        background-position: right -470px center;
    }

    .page-head.page-head-full:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        background: var(--white);
        opacity: 0.5;
    }

    .block-cost-work__grid {
        grid-gap: 30px;
    }

    #post-id-167 .page-head.page-head-bg {
        min-height: 250px;
        background-position: left -200px top 0px;
    }

    #post-id-167 .page-head .btn {
        margin-bottom: -25px;
    }

    .srochnyi-problems,
    .srochnyi-price {
        padding: 25px 0;
    }

    .srochnyi-problems__grid {
        grid-template-columns: 100%;
        grid-gap: 36px;
    }

    .srochnyi-problems-item:nth-child(6) {
        grid-column: 1;
        grid-row: auto;
    }

    .srochnyi-problems__desc {
        margin-top: 0;
    }

    .srochnyi-price__wrap {
        position: relative;
        width: calc(100% + 40px);
        margin-left: -20px;
        padding: 30px 20px;
    }

    .srochnyi-price__wrap:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: var(--white);
        opacity: 0.7;
    }

    .srochnyi-price__right {
        position: relative;
        z-index: 5;
    }

    .srochnyi-price__title span {
        white-space: nowrap;
        font-size: 60px;
    }

    .srochnyi-price__parts {
        padding-left: 50px;
    }

    .srochnyi-price__parts p:last-child {
        margin-top: 30px;
        margin-left: -50px;
        font-size: 14px;
    }

    .previews-type-1 {
        grid-gap: 20px;
    }

    .steps-item--img {
        display: none;
    }

    .portfolio--envira .envira-gallery-wrap .envira-gallery-public .envira-gallery-item img,
    .portfolio--envira .envira-gallery-wrap .envira-gallery-public .envira-gallery-item img {
        height: 150px !important;
    }

    .single-content .wp-block-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
    }

    .single-content .wp-block-gallery .wp-block-image a,
    .single-content .wp-block-gallery .wp-block-image img {
        height: 260px !important;
    }

    .single-content .wp-block-gallery .wp-element-caption {
        margin-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .dop-bonuses__items {
        grid-template-columns: 100%;
    }

    .table-price {
        min-width: 700px;
    }

    .table-price td:last-child,
    .table-price td:nth-last-child(2) {
        white-space: nowrap;
    }

    table.table-price .show-all {
        position: absolute;
        left: 0;
        right: 0;
        z-index: 1;
    }
}

@media (max-width: 767px) {
    .popup__close {
        top: 0;
        right: 0;
        background: var(--black);
    }

    .popup__wrap {
        margin: 0;
        min-height: 100vh;
    }

    .modal-form__body {
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px;
    }

    .modal-form__img {
        margin-bottom: 20px;
    }

    .modal-form__title {
        margin-bottom: 6px;
        font-size: 28px;
    }

    .modal-form__subtitle {
        font-size: 12px;
    }

    .modal-form__foot {
        padding: 20px;
        font-size: 12px;
    }

    h1,
    .h1,
    .heading-size-1,
    h2,
    .h2,
    .heading-size-2,
    h3,
    .h3,
    .heading-size-3,
    h4,
    .h4,
    .heading-size-4,
    h5,
    .h5,
    .heading-size-5,
    h6,
    .h6,
    .heading-size-6,
    .title {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 50px !important;
    }

    h3,
    .h3,
    .heading-size-3,
    h4,
    .h4,
    .heading-size-4,
    h5,
    .h5,
    .heading-size-5,
    h6,
    .h6,
    .heading-size-6 {
        font-size: 24px;
    }

    .page-content h2 {
        margin-bottom: 30px !important;
    }

    .main-first h1 {
        font-size: 28px;
        margin-bottom: 25px !important;
    }

    .main-first__tags {
        gap: 10px;
    }

    .main-first__tags>* {
        font-size: 14px;
        padding: 0 10px;
    }

    .we-solving__items {
        grid-template-columns: 100%;
        grid-gap: 20px;
    }

    .we-solving-item {
        padding: 20px;
        border-radius: 15px;
        min-height: 160px;
    }

    .we-solving-item__img {
        top: 15px !important;
        right: 30px !important;
        max-width: 125px;
    }

    .we-solving-item__title {
        font-size: 20px;
    }

    .we-solving-item__subtitle {
        font-size: 12px;
    }

    .cost-works__item {
        font-size: 15px;
        line-height: 1.2;
    }

    .cost-works__item img {
        max-width: 90px;
    }

    .price-tables__col:nth-child(1) tr:nth-child(1) td {
        padding-top: 0;
    }

    .price-tables table {
        font-size: 14px;
        line-height: 1.3;
    }

    .price-tables table tr td:nth-child(2) {
        padding-left: 10px;
    }

    .diagnostics__subtitle {
        margin-bottom: 50px;
    }

    .diagnostics-item img {
        height: 360px;
    }

    .individual-build__grid {
        grid-template-columns: 100%;
    }

    .faq-item__head {
        padding: 20px 50px 20px 20px;
    }

    .faq-item__head:after {
        right: 8px;
    }

    .faq-item__body {
        padding: 0 20px 20px 20px;
    }

    .our-work__items {
        grid-template-columns: 100%;
    }

    .our-work-item__desc {
        min-height: auto;
        font-size: 14px;
    }

    .our-work-item__title {
        font-size: 16px;
    }

    .our-work .btn {
        margin-top: 30px;
    }

    .portfolio--envira .envira-image-title {
        padding-bottom: 0;
    }

    .portfolio .swiper-slide a,
    .portfolio--envira .envira-image-title {
        font-size: 14px;
    }

    .portfolio .swiper-slide a div,
    .portfolio--envira .envira-image-title {
        padding-left: 0;
        padding-right: 0;
    }

    .portfolio .swiper-button-prev,
    .portfolio .swiper-button-next {
        top: calc(172px / 2);
    }

    .portfolio .btn {
        margin-top: 30px;
    }

    .feedback__grid {
        grid-template-columns: 100%;
        grid-gap: 40px;
    }

    .feedback__left {
        max-width: 100%;
    }

    .feedback form {
        max-width: 100%;
    }

    .ya-review__wrap {
        padding: 20px;
    }

    .ya-review__desc {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.45;
    }

    .ya-review .btn {
        font-size: 12px;
        line-height: 17px;
    }

    .why-choose__grid,
    .steps,
    .steps.columns-2 {
        grid-template-columns: 100%;
    }

    .why-choose-item,
    .steps-item {
        min-height: auto;
        padding: 40px 20px 30px 40px;
    }

    .why-choose-item img,
    .steps-item img {
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

    .why-choose-item__title,
    .steps-item__title {
        font-size: 20px;
    }

    #post-id-141 .why-choose {
        margin-bottom: 25px;
    }

    #post-id-141 .container>p,
    #post-id-173 .container>p,
    #post-id-169 .container>p {
        font-size: 16px;
        line-height: 1.45;
    }

    .block-srochnyj-vyzov {
        background-position: right -100px top 0px;
        width: calc(100% + 40px);
        margin-left: -20px;
        padding-left: 20px;
    }

    .block-srochnyj-vyzov .title {
        max-width: 240px;
        line-height: 1.2;
    }

    .block-cost-work__grid {
        grid-template-columns: 100%;
    }

    .srochnyi-problems-item,
    .srochnyi-problems__desc {
        padding-left: 0;
    }

    .srochnyi-problems-item__title {
        font-size: 20px;
    }

    .block-skidka {
        position: relative;
        z-index: 1;
        background-position: left -310px center;
        padding: 30px 0 30px 30px;
    }

    .block-skidka:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        background: var(--white);
        opacity: 0.7;
    }

    .previews-type-1 {
        grid-template-columns: 100%;
    }

    .previews-type-1-item__body {
        padding: 30px;
    }

    .single-content {
        font-size: 16px;
    }

    .single-content .wp-block-gallery .wp-block-image a,
    .single-content .wp-block-gallery .wp-block-image img {
        height: 200px !important;
    }

    .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
        font-size: 14px !important;
    }
}

@media (max-width: 525px) {
    section {
        padding: 25px 0;
    }

    h1,
    .h1,
    .heading-size-1,
    h2,
    .h2,
    .heading-size-2,
    h3,
    .h3,
    .heading-size-3,
    h4,
    .h4,
    .heading-size-4,
    h5,
    .h5,
    .heading-size-5,
    h6,
    .h6,
    .heading-size-6,
    .title {
        font-size: 24px;
        margin-bottom: 30px !important;
    }

    h3,
    .h3,
    .heading-size-3,
    h4,
    .h4,
    .heading-size-4,
    h5,
    .h5,
    .heading-size-5,
    h6,
    .h6,
    .heading-size-6 {
        font-size: 20px;
    }

    .page-content h2 {
        margin-top: 30px;
    }

    .main-first {
        margin-bottom: 25px;
    }

    .cost-works,
    .ya-reviews,
    .electrical-services {
        margin: 25px 0;
    }

    .tags-list {
        gap: 10px;
    }

    .tags-list a {
        width: calc(50% - 5px);
        padding-left: 10px;
        padding-right: 10px;
    }

    .diagnostics-item img {
        height: 230px;
        border-radius: 15px;
    }

    .diagnostics-item__title {
        font-size: 16px;
    }
}

/* адаптация блоков с линиями делается для каждого блока отдельно по id странице */
@media (max-width: 991px) {
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] {
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item,
    .steps-work__items[data-steps="Основные работы"] .steps-work-item {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(3) {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(4) {
        grid-column: 1 !important;
        grid-row: 2 !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(3) .rect-line-right {
        right: 100%;
        left: auto;
        width: 100% !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(4) .rect-line-left {
        right: auto;
        left: 15px;
        width: 15px !important;
    }

    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"],
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"],
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"],
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"],
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"],
    .steps-work__items[data-steps="Основные работы"] {
        grid-template-columns: 100%;
        grid-gap: 40px;
    }

    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"]:before,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"]:before,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"]:before,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"]:before,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"]:before,
    .steps-work__items[data-steps="Основные работы"]:before {
        content: '';
        position: absolute;
        top: 21px;
        left: calc(15px / 2);
        z-index: -1;
        transform: translateX(-50%);
        width: 6px;
        height: calc(100% - 21px);
        border-left: 2px solid #2977c5;
        border-right: 2px solid #2977c5;
    }

    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before,
    #post-id-155 .steps-work__items[data-steps="Основные работы"] .steps-work-item:nth-last-child(2):before,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before,
    .steps-work__items[data-steps="Основные работы"] .steps-work-item:last-child:before {
        content: '';
        position: absolute;
        top: 21px;
        left: 0;
        z-index: -1;
        width: 15px;
        height: calc(100% - 21px);
        background: #fff;
    }

    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-left,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-left,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-left,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-left,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-left {
        left: 15px;
        right: auto;
        width: 15px !important;
    }

    #post-id-153 .steps-work__items[data-steps="Основные работы"],
    #post-id-177 .steps-work__items[data-steps="Основные работы"] {
        grid-gap: 20px;
    }

    #post-id-153 .steps-work__items[data-steps="Основные работы"] .steps-work-item__title,
    #post-id-177 .steps-work__items[data-steps="Основные работы"] .steps-work-item__title {
        padding-bottom: 0;
    }

    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-right,
    #post-id-151 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item--img,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-right,
    #post-id-153 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item--img,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-right,
    #post-id-155 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item--img,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-right,
    #post-id-157 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item--img,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-right,
    #post-id-177 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item--img,
    .steps-work__items[data-steps="Основные работы"] .rect-line-top,
    .steps-work__items[data-steps="Основные работы"] .rect-line-bottom,
    .steps-work__items[data-steps="Основные работы"] .rect-line-left,
    .steps-work__items[data-steps="Основные работы"] .steps-work-item:last-child .rect-line-right,
    .steps-work__items[data-steps="Основные работы"] .steps-work-item--img {
        display: none;
    }
}

@media (max-width: 767px) {
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] {
        grid-template-columns: 100%;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"]:before {
        content: '';
        position: absolute;
        top: 21px;
        left: calc(15px / 2);
        z-index: -1;
        transform: translateX(-50%);
        width: 6px;
        height: calc(100% - 21px);
        border-left: 2px solid #2977c5;
        border-right: 2px solid #2977c5;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(3) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item .rect-line-left,
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:nth-child(3) .rect-line-right {
        right: auto;
        left: 15px;
        width: 15px !important;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-bottom,
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .rect-line-top,
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:first-child .rect-line-right,
    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child .rect-line-left {
        display: none;
    }

    #post-id-149 .steps-work__items[data-steps="Подготовительные работы"] .steps-work-item:last-child:before {
        content: '';
        position: absolute;
        top: 21px;
        left: 0;
        z-index: -1;
        width: 15px;
        height: calc(100% - 21px);
        background: #fff;
    }
}

#popup-ya-review {
    display: none;
}

.steps-work-item__group {
  position: absolute;
  width: 180px;
  right: 0px;
  top: -51px;
  background: #fff;
}

.steps-work-item__group .steps-work-item__title {
  padding-left: 10px;
  padding-bottom: 0;
}

.steps-work-item__group .steps-work-item__title:nth-of-type(1) {
  -webkit-transform: translateY(-28px);
      -ms-transform: translateY(-28px);
          transform: translateY(-28px);
}

.steps-work-item__group .steps-work-item__title:nth-of-type(2) {
  -webkit-transform: translateY(28px);
      -ms-transform: translateY(28px);
          transform: translateY(28px);
}

.border-double {
  width: 50px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 100%;
  background: #fff;
  border: 2px solid #2977c5;
  border-right: none;
}

.border-double:after {
  content: '';
  width: 46px;
  height: calc(100% - 4px);
  position: absolute;
  top: 2px;
  right: 0;
  background: #fff;
  border: 2px solid #2977c5;
  border-right: none;
}

.border-double:before {
  content: '';
  display: block;
  top: 43%;
  right: 7px;
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: #083D66;
  position: relative;
  z-index: 1;
}

.steps-work-item__hide-before::before {
    display: none;
}

.steps-work-item.steps-work-item--group .rect-lines{
    top: 0px;
}

@media screen and (min-width: 992px) {
    .steps-work-item.steps-work-item--hide-right-border .rect-line-right {
        display: none;
    }
}

@media screen and (max-width: 991px) {
  .steps-work-item__group {
    right: -90px;
    top: 0;
    position: relative;
  }

  .steps-work-item.steps-work-item--group .rect-lines{
    top: 60px;
    width: 150px;
  }

  .steps-work-item__group .steps-work-item__title:nth-of-type(1) {
    -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
            transform: translateY(0px);
    padding-bottom: 20px !important;
  }
  
  .steps-work-item__group .steps-work-item__title:nth-of-type(2) {
    -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
            transform: translateY(0px);
  }

  .border-double {
    height: 63%;
    top: 21px;
  }

  .steps-work .title {
    margin-bottom: 40px;
  }

  .steps-work-item.steps-work-item--first {
    top: 0px;
  }
}