:root {
    --color-highlight: #ca774b;
    --color-dark: #333;
    --color-gray: #e8e8e8;
    --color-white: #fff;
    --color-gray-2: #ececec;
    --color-gray-3: #e2e2e2;
    --color-bg-block: #f5f5f5;



}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    border: initial;
}

input::placeholder {
    font-weight: 300;
}

.highlight {
    color: var(--color-highlight, #ca774b);
}

a:visited {
    color: inherit;
}

a {
    text-decoration: none;
    color: initial;
}

body {
    color: var(--color-dark, #333);
}

.b-flex {
    display: flex;
}

.fz-block {
    display: flex;
    align-items:center;
    justify-content: center;
}

section > .wrapper,
header.entry-header > .wrapper {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
    border-radius: 3px;
}

header.entry-header > .wrapper {
    background-color: #e8e8e8;
}

.item {
    border-radius: 3px;
}

section.padding {
    padding: 2.5em 0;
}

header.entry-header .wrapper {
    padding: 2.5em 1em;
}

header.entry-header h1 {
    font-size: clamp(1.25rem, calc(0.71rem + 2.7vw), 3.75rem);
    font-weight: 400;
    text-align: center;
    max-width: 950px;
    margin: .5em auto;
}

.page header.entry-header h1 {
    text-align: left;
    font-weight: 700;
    margin: 0;
}

article .post-thumbnail {
    width: 94%;
    max-width: 1224px;
    margin: 2em auto;
    text-align: center;
}

section.entry-content > *,
.single article .entry-meta {
    width: 94%;
    max-width: 950px;
    margin: 0 auto;
}

.single article .entry-meta {
    margin-bottom: 1em;
    display: none;
}

.single-post section.swiper-section .line-block {
    display: none;
}

section.entry-content p {
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 135%;
    margin-bottom: 1em;
}

section.entry-content h2 {
    font-size: 1.625rem;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 400;
}

section.entry-content h3 {
    font-size: 1.25rem;
    margin-top: 1em;
    margin-bottom: 1em;
    font-weight: 400;
}

section .wrapper > .inner-content {
    padding: 1em 0;
}

section .wrapper > .top-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

section .wrapper > .top-block h2,
section .top-block h2,
section.content-section .inner-content h2 {
    font-size: 1.875rem;
    line-height: 156%;
}


/*ГЛАВНОЕ МЕНЮ*/

header#masthead > .header-wrapper {
    width: 94%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: wrap;
}

header#masthead .left-block {
    order: 1;
}

header#masthead nav {
    order: 3;
}

header#masthead .right-block {
    order: 2;
}

.site-branding {
    height: 100%;
    display: flex;
    align-items: center;
}

header#masthead .left-block,
header#masthead .right-block {
    flex-shrink: 0;
    font-size: .5em;
    padding: 2em 0;
    width: 40%;
}

header#masthead .left-block {
    margin-left: 50px;
}

.site-branding .branding-text,
.schedule-text {
    padding-top: .7em;
    width: 11em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 1.2em;
}

.site-branding .branding-text {
    margin-left: .5rem;
}


.schedule-text {
    align-items: flex-end;
    padding-top: 0;
    width: 100%;
    margin-left: 0;
}


.branding-text p.site-title,
.schedule-text p.schedule-title {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-dark, #333);
    line-height: 1em;
    margin: 0 0 .2em;
    font-size: .4rem;
    text-wrap: nowrap;
}

/* .schedule-text {
    font-size: .9em;
} */

.schedule-text p.schedule-title {
    font-weight: 500;
    font-size: .7rem;
    padding-top: .35rem;
    line-height: 100%;
    
}

.branding-text .site-subtitle,
.schedule-text .schedule-subtitle {
    font-weight: 500;
    color: #bababa;
    line-height: 1em;
    letter-spacing: .05em;
    text-wrap: nowrap;
}

.branding-text p.site-title {
    font-size: .7rem;
}

.branding-text .site-subtitle {
    font-size: .44rem;
}

.schedule-text .schedule-subtitle {
    font-size: .45rem
}

.schedule-text .schedule-subtitle {
    color: var(--color-dark, #333);
    text-align: right;
}

.site-branding > a {
    height: 3em;
}

.site-branding > a > svg {
    height: 100%;
}

.site-subtitle,
.schedule-subtitle {
    font-weight: 500;
    font-size: .625em;
}

.top-menu {
    height: 7.563em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    border-bottom: 1px solid #fff;
}

.custom-logo-link {
    display: block;
    height: inherit;
}

.custom-logo-link > img {
    width: auto;
    height: inherit;
}

.site-branding .site-title > span:first-child {
    text-transform: uppercase;
    font-weight: 700;
}

.top-menu {
    font-size: .6em;
}

.top-menu .form-wrapper {
    display: none;
}

#search-form-header {
    background-color: #d9d9d917;
    padding: .5em 1em;
    border-radius: 10em;
    display: flex;
    align-items: center;
}

#search-form-header button {
    border: none;
    border-color: initial;
    border-radius: 0;
    background: inital;
    color: initial;
    line-height: 1;
    padding: 0;
}

#search-form-header button {
    width: 1.5em;
    height: 1.5em;
    background: none
}

#search-form-header > input {
    background: transparent;
    border: none;
    color: #000;
    border-radius: 0;
}

#search-form-header > input::placeholder {
    font-weight: 100;
    color: #ffffff87;
}



#primary-menu {
    display: none;
    width: 90.6%;
    margin: 0 auto;
    justify-content: space-between;
    height: 7vw;
    transition: height .4s ease;
}

#primary-menu .nav-logo-link a {
    height: auto;
    height: 3.6vw;
    width: 12.3vw;
    background: url('/wp-content/uploads/2022/08/black_logo_rus.png');
    background-size: cover;
    background-position: center center;
}

#primary-menu .nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo-link a img {
    width: auto;
}

#primary-menu a {
    color: #000;
    font-size: 1vw;
}

#primary-menu .sub-menu {
    position: absolute;
    display: block;
}

#primary-menu > li > ul.sub-menu {
    top: 4em;
}

#primary-menu > li {
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 300ms ease;
}

#primary-menu > li > a {
    justify-content: center;
    height: 100%;
    display: flex;
    width: 100%;
    font-size: 0.65em;
    align-items: center;
    letter-spacing: .1em;
    margin: 0 1em;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 999;
    transition: color 300ms ease;
}

#primary-menu > li:hover > a {
    color: #000;
    transition: color 300ms ease;
}

#primary-menu > li > .sub-menu > li {
    width: 100%;
    /*background: rgb(237, 237, 237);*/
}

#primary-menu > li > ul {
    left: 0;
    background: rgba(237, 237, 237, 1);
    box-shadow: none;
    width: 100%;
    max-height: 0;
    transition: max-height, .5s, padding .5s;
    overflow: hidden;
    top: 0;
    z-index: 99;
}

#primary-menu > li > ul.sub-menu > li > a {
    opacity: 0;
    display: block;
    color: #000;
    line-height: 1.2;
    text-decoration: none;
    margin: .8vw 0;
    font-weight: 400;
    width: 100%;
    padding: 0 1em;
    transition: all .3s ease;
}

#primary-menu > li > ul.sub-menu > li > a:hover {
    color: #000;
    transition: all .3s ease;
}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(1) > a {
    opacity: 1;
    transition: opacity .3s ease .2s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(2) > a {
    opacity: 1;
    transition: opacity .3s ease .25s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(3) > a {
    opacity: 1;
    transition: opacity .3s ease .3s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(4) > a {
    opacity: 1;
    transition: opacity .3s ease .35s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(5) > a {
    opacity: 1;
    transition: opacity .3s ease .4s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(6) > a {
    opacity: 1;
    transition: opacity .3s ease .45s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(7) > a {
    opacity: 1;
    transition: opacity .3s ease .5s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(8) > a {
    opacity: 1;
    transition: opacity .3s ease .55s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(9) > a {
    opacity: 1;
    transition: opacity .3s ease .6s;

}

#primary-menu > li:hover > ul.sub-menu > li:nth-child(10) > a {
    opacity: 1;
    transition: opacity .3s ease .65s;

}

#primary-menu > li:hover > ul {
    max-height: 1000px;
    transition: max-height, 1s, padding 1s;
    /*-webkit-backdrop-filter: blur(5px);*/
    /*backdrop-filter: blur(5px);*/
}

.mobile-menu {
    display: none;
}

nav.site-navigation {
    display: none;
}

#mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.main-navigation ul ul {
    box-shadow: none;
}

.main-navigation ul ul a {
    width: 100%;
}

#mobile-menu .menu-item.open > .sub-menu {
    max-height: 500px; /* Укажите достаточно большое значение */
}

/*_____КНОПКА_МЕНЮ_____*/

.menu-toggle {
    position: absolute;
    background-color: transparent;
    top: -46px;
    left: 2%;
    z-index: 99999;
    color: #ccc;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 25px;
    height: 30px;
    font-size: 0;
    text-indent: -9999px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border: none;
    border-radius: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}

.menu-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    top: 0;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle span {
  -webkit-transition: background 0s 0.3s;
  transition: background 0s 0.3s;
}
.menu-toggle span::before, .menu-toggle span::after {
  -webkit-transition-duration: 0.3s, 0.3s;
          transition-duration: 0.3s, 0.3s;
  -webkit-transition-delay: 0.3s, 0s;
          transition-delay: 0.3s, 0s;
}

.menu-toggle span::before {
  -webkit-transition-property: top, transform;
  transition-property: top, transform;
}
.menu-toggle span::after {
  -webkit-transition-property: bottom, transform;
  transition-property: bottom, transform;
}
.main-navigation.toggled .menu-toggle span {
  background: none;
}

.main-navigation.toggled .menu-toggle span::before, .main-navigation.toggled .menu-toggle span::after {
  background-color: #000;
  -webkit-transition-delay: 0s, 0.3s;
          transition-delay: 0s, 0.3s;
}

.main-navigation.toggled .menu-toggle span::before {
  top: 0;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.main-navigation.toggled .menu-toggle span::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.menu-toggle span {
    display: block;
    position: absolute;
    top: 12px;
    left: 0px;
    right: 0px;
    height: 2px;
    background: #000;
}

.menu-toggle span::before, .menu-toggle span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    content: "";
}

.menu-toggle span::before {
    top: -7px;
}

.menu-toggle span::after {
    bottom: -7px;
}
/*---------------*/
/*_____MOBILE_MENU_____*/

.main-navigation #mobile-menu li {
    float:none;
    border-bottom: 1px solid #ffffff16
}

#mobile-menu .sub-menu {
    width: 90%;
    position: relative;
    max-height: 0px;
    transition: max-height .3s ease;
}

#mobile-menu .sub-menu.active {
    max-height: 1000px;
}

.main-navigation {
    position: relative;
}

.main-navigation #mobile-menu {
    display: block;
    max-height: 0px;
    transition: max-height, .7s, padding .7s;
    overflow: hidden;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.main-navigation.toggled #mobile-menu {
    max-height: 1000px;
    transition: max-height, .7s, padding .7s;
}

#mobile-menu .menu-item {
    overflow: hidden;
}

#mobile-menu .menu-item > a {
    color: #000;
    padding: 1em; 
}

.t-nav_cat {
    border-bottom: 1px solid rgba(0, 0, 0, 0.32);
}

.t-nav_cat-label {
    position: relative;
    display: block;
    color: #000;
    text-transform: uppercase;
    letter-spacing: .04vw;
    font-weight: 700;
    font-size: 13px;
    padding: 36px 0;
    margin: 0;
}

.menu-item .t-nav__arrow {
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(0,-50%) rotate(90deg);
    transform: translate(0,-50%) rotate(90deg);
    transition: -webkit-transform .2s cubic-bezier(.86,0,.07,1);
    transition: transform .2s cubic-bezier(.86,0,.07,1);
}

.menu-item.active .t-nav__arrow {
    transform: translate(0,-50%) rotate(270deg)
}


.m-logo-link {
    position: absolute;
    left: 11px;
    top: 0;
}

.m-logo img {
    height: 32px;
    margin-top: 17px;
}
/*______________________*/


/* БАННЕР НА ГЛАВНОЙ */

section.main-header {
    position: relative;
}

section.main-header > .wrapper {
    background-color: var(--color-gray);
    border-radius: 5px;
    overflow: hidden;
    padding: 3.25em 1em 1em;
    position: relative;
}

section.main-header > .wrapper .text-block {
    z-index: 2;
    position: relative;
}

h1.title {
    font-size: 1.5rem;
    font-weight: 300;
    text-wrap: pretty;
}

section.main-header p {
    max-width: 700px;
}

p {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 156%;
}

section.main-header .site_btn {
    margin-top: 1.5em;
}

.site_btn {
    text-align: center;
}

button.btn {
    font-size: .8em;
    padding: 1.25em 1.875em;
    margin: 0 auto;
    text-align: center;
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background-color: var(--color-highlight, #ca774b);
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: 300;
}

button.btn.transparent {
    background-color: transparent;
    text-transform: initial;
    color: var(--color-dark, #333);
    font-size: 1.25em;
    padding: 0;
}

button.btn.transparent.v2 {
    color: #fff;
    font-size: 1em;
    text-align: left;
}

button.btn.transparent span {
    font-weight: 300;
}

button.btn.transparent:visited {
    color: var(--color-dark, #333);
}

button.btn.transparent.v2:visited {
    color: #fff;
}

button.btn.transparent::after {
    padding-left: 1em;
}

button.btn.transparent:active {
    background: transparent;
    opacity: .6;
}

button.btn::after {
    content: '>';
    padding-left: 3em;
    position: relative;
    left: 0;
    transition: all .3s ease;
}

button.btn:hover::after {
    left: .5em;
    transition: all .3s ease;
}

button.btn:active {
    background-color: #a45f3a;
}

button.btn:visited {
    color: white;
}

.img-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-block-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(232,232,232,1) 0%, rgba(31,53,47,0) 36%, rgba(31,53,47,0) 100%);
}

.img-block-cover {
    display: block;
    content: '';
    padding-top: 100%;
}

.space {
    width: 100%;
    background-color: transparent;
}

.space::before {
    display: block;
    content: '';
    padding-top: 70%;
}

nav.breadcrumbs {
    position: absolute;
    top: 2em;
    display: none;
}

.page.page-template-page-offers nav.breadcrumbs,
.page.page-template-page-about nav.breadcrumbs,
.page.page-template-page-consultation nav.breadcrumbs,
.page.page-template-page-single-offer nav.breadcrumbs {
    position: absolute;
    top: 2em;
}

.single nav.breadcrumbs,
.page nav.breadcrumbs {
    position: relative;
    top: 0;
    margin-bottom: 2em;
}

nav.breadcrumbs ul li {
    display: inline-block;
    font-size: .8125rem;
    line-height: 100%;
    font-weight: 300;
}

nav.breadcrumbs ul li a,
nav.breadcrumbs ul li a:visited {
    color: var(--color-dark, #333);
    transition: color .3s ease;
}

nav.breadcrumbs ul li:hover a {
    color: var(--color-highlight, #ca774b);
    transition: color .3s ease;
}

nav.breadcrumbs ul li::after {
    content: '/';
    display: inline-block;
    margin: 0 .5em;
}

nav.breadcrumbs ul li:last-child:after {
    content: '';
}

/*  */

section.about-content-block {
    position: relative;
}

section.about-content-block .content {
    font-size: 1.5rem;
    line-height: 130%;
    font-weight: 400;
}

section.about-content-block .subcontent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

section.about-content-block .subcontent .text {
    margin: 2em 0;
    font-size: 1em;
    font-weight: 300;
    line-height: 153%;
}

section.about-content-block.info-2 .arrow-block {
    right: initial;
    top: initial;
    bottom: -1.6em;
    left: 30%;
}

section.info-2 .wrapper .content {
    padding: 2.5em 0 0;
}

.arrow-block  {
    position: absolute;
    display: none;
    bottom: -5em;
    right: 30%;
    padding: 1.5em;
    width: min-content;
    border-radius: 8em;
    background-color: #fff;
}

.arrow-block .arrow-wrapper {
    background-color: #fff;
    width: 5em;
    height: 5em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5em;
    box-shadow: 0 9px 15px rgba(0, 0, 0, 0.22);
}



.arrow {
    width: 12px;
    height: 12px;
    border-top: 4px solid #000;
    border-right: 4px solid #000;
    transform: rotate(135deg)
}

/* ТАБЫ  */

.tabs__nav > button {
    background-color: initial;
    border-radius: initial;
    border: none;
    color: #000;
    padding: .5em 0;
    font-size: .875rem;
}

.tabs__nav > button:first-child {
    margin-right: 1em;
}

.tabs__nav {
    display: flex;
    margin: 1em 0;
}

.tabs__nav-btn {
    color: var(--color-dark, #333);
    transition: color .3s ease;
}

.tabs__nav-btn.active, .tabs__nav-btn.active:hover {
    color: var(--color-highlight, #ca774b);
    transition: color .3s ease;
}

.tabs__nav-btn:hover {
    color: #83827E;
    transition: color .3s ease;
}

.tabs__item {
    display: none;
}

.tabs__item.active {
    display: flex;
}


/* TILES / ПЛИТКИ */

.tile-block {
    flex-wrap: wrap;
    margin: 1em 0;
    gap: 2rem;
}

.tile-block a {
    color: var(--color-dark);
}

.tile-block .item-image {
    position: absolute;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 150px;
    width: 150px;
    border-radius: 145% 70% 160% 100%;
}

.tile-block .item {
    padding: 2em;
    background-color: var(--color-gray-2, #ececec);
    width: 100%;
    height: 300px;
    transition: all .3s ease;
    
}

.tile-block > a,
.tile-block > .item {
    flex: 1 1 100%;
    display: block;
}

.tile-block .item:hover {
    /* background-color: var(--color-dark, #333); */
    transition: all .3s ease;
}

.tile-block .item h3 {
    font-size: 1.625rem;
    line-height: 130%;
    font-weight: 300;
}

.tile-block .item h3.item-title {
    font-size: 1.5rem;
    line-height: 100%;
    font-weight: 500;
    overflow-wrap: break-word;
}

.tile-block .item:hover h3 {
    color: var(--color-white, #fff);
}

.tile-block .item .item-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.link-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1em;
    height: 1em;
    padding: 1em;
    background-color: var(--color-gray-3, #e2e2e2);
    border-radius: 3px;
}

.tile-block .item:hover .link-arrow  {
    background-color: var(--color-white, #fff);
}

/*  */


/* ОБЩАЯ СТИЛИЗАЦИЯ ДЛЯ РАЗНЫХ БЛОКОВ */

.border-line {
    height: 1px;
    position: absolute;
    background-color: #83827e;
}

.border-line.bl-1 {
    left: -5%;
    width: 95%;
}

.border-line.bl-2 {
    right: 0%;
    width: 70%;
}

.border-line.bl-3 {
    left: -5%;
    width: 70%;
}


.page-template-page-about .border-line.bl-3 {
    display: none;
}

.line-block {
    display: flex;
    align-items: center;
    padding-bottom: 2.5em;
}

.line-block.rel {
    padding: 2.5em 0 2.5em;
}

.section-adv .line-block.rel {
    padding-top: 0;
}

.line-block .line {
    height: 1px;
    width: 4em;
    background-color: #83827E;
}

.line-block.right {
    flex-direction: row-reverse;
}

.line-block.right .line {
    margin-right: 1em;
}

.line-block.left .line {
    margin-left: 1em;
}

/* ЦИФРЫ  */

.tile-block-2 {
    display: flex;
}

.tile-block-2 .item {
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: column;
    color: var(--color-white, #fff);
}

.tile-block-2 .item .item-wrapper {
    padding: 2em;
    height: 270px;
}

.tile-block-2 .item.question .item-wrapper {
    height: initial;
}

.item.has-image {
    position: relative;
    color: #fff;
}

.item.has-image::before {
    display: block;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #282828a8;
}

.tile-block-2 .item.no-image {
    background: var(--color-highlight, #ca774b);
}

.tile-block-2 .item.question {
    order: 2;
}

.tile-block-2 .item.question .site_btn {
    text-align: left;
}

.tile-block-2 .item h3.number {
    font-size: 3.75rem;
    font-weight: 600;
}

.tile-block-2 .item {
    height: auto;
}

.item .item-wrapper-bottom {
    position: relative;
    padding: .2em 2em 2em;
    border-top: 1px solid var(--color-white, #fff);
}

.tile-block-2 .item .item-wrapper-bottom p {
    padding-top: 1em;
    margin: 0;
}

.tile-block-2 .item.question {
    background-color: initial;
    color: var(--color-dark, #333);
}

.tile-block-2 .item.question h3 {
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 135%;
}

.tile-block-2 .item.question:hover h3{
    background-color: initial;
    color: var(--color-dark, #333);
}


/* ШАГИ */

section.section-steps .inner-content {
    padding-top: 4em;
}

.step-count {
    display: flex;
    align-items: center;
}

.step-count .word {
    font-size: 1.25rem;
    line-height: 136%;
}

.step-count .step-number {
    padding: .5em 1em;
    background-color: var(--color-highlight, #ca774b);
    border-radius: 3px;
    color: var(--color-white, #fff);
    margin: 0 2em 0 1em;
}

.step-count .step-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-gray, #e8e8e8);
}

section.section-steps .inner-content .item h3 {
    font-size: 1.875em;
    line-height: 156%;
    margin: .5em 0;
}

section.section-steps .inner-content .item p {
    font-weight: 300;
    padding-bottom: 1em;
}

/* ШАГИ 2 */

section.steps-2 .item {
    background-color: var(--color-bg-block, #f5f5f5);
    padding: 2em;
}

section.steps-2 .item .step-count {
    padding: 1em 0 2em;
    border-bottom: 1px solid #fff;
}
section.section-steps.steps-2 .inner-content .item h3 {
    font-size: 1.375rem;
    margin-top: 1em;
}

.steps-2 p {
    font-size: .93rem;
}

.steps-2 .inner-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* СЕКЦИЯ ФОРМЫ ОБРАТНОЙ СВЯЗИ */

#basic-feedback-form {
    position:relative;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    justify-content: center;
    max-width: 100%;
    z-index: 10;
}

#basic-feedback-form input::placeholder,
#basic-feedback-form textarea::placeholder {
    color: #666;
    font-weight: 300;
}

#basic-feedback-form input,
#basic-feedback-form textarea {
    background: transparent;
    padding: 1em 0;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 2em;
    border-radius: 0px;
}

#basic-feedback-form input[type="checkbox"] {
    margin-bottom: 0;
    width: 2em;
    height: 2em;
}

#success-message {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #4CAF50;
    border-radius: 10px;
    background-color: #e8f5e9;
    color: #4CAF50;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

section.section-form .wrapper {
    display: flex;
    flex-direction: column;
}

section.section-form .wrapper .left {
    padding: 3.3em 2em;
    background-color: var(--color-dark, #333);
    color: #fff;
}

section.section-form .wrapper .left h2 {
    font-size: 1.625rem;
    line-height: 135%;
    margin-bottom: 1em;
}

section.section-form .wrapper .right {
    background-color: var(--color-bg-block, #f5f5f5);
    padding: 3.3em 2em;
}

.png-img-block {
    position: absolute;
    bottom: 0;
    height: 70%;
    left: 40%;
    display: none;
}

.png-img-block > img {
    height: 100%;
    position: relative;
    left: -50%;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper > span {
    padding-left: 1em;
    font-size: .8rem;
}

/* ФОРМА ОНЛАЙН-ЗАПИСИ */

.online-form {
    padding: 2em;
    background-color: var(--color-bg-block, #f5f5f5);
}

.online-form > h3 {
    font-size: 1.5rem;
    line-height: 150%;
}

.online-form > p {
    font-size: .875rem;
    line-height: 150%;
    margin: 1em 0 2em;
}

.online-form label {
    font-size: .9em;
    font-weight: 300;
}

.online-form select {
    padding: 1em;
    border: initial;
    color: #666;
}

.online-form div.politic {
    display: block;
    font-size: .625em;
    line-height: 170%;
    text-align: center;
    padding: 2em;
    margin: 1em auto;
}

#appointment-form {
    width: 100%;
    margin: 0 auto;
}

#appointment-form input[type="text"],
#appointment-form input[type="tel"],
#appointment-form select {
    width: 100%;
    padding: 1em;
    margin-bottom: 2em;
}

#appointment-form button {
    width: 100%;
    color: #fff;
    padding: 1em;
    background: var(--color-highlight, #ca774b);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#appointment-form button > span::after {
    padding-left: 1em;
    content: '>';
    position: relative;
    transition: all .3s ease;
    left: 0;
}

#appointment-form button:hover > span:after {
    left: 1em;
    transition: all .3s ease;
}

#success-message {
    margin: 0 auto;
    border: 1px solid #4CAF50;
    background-color: #e8f5e9;
    color: #4CAF50;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* ГАРАНТИИ */

.controls {
    display: none;
    justify-content: flex-end;
}

.controls .c-wrapper {
    position: relative;
    width: 6em;
    bottom: 3em;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1em;
    color: var(--color-dark, #333); 
}

.cards-2 .swiper {
    margin-top: 2.5em;
}

section.section-guarantees .item,
section.cards-2 .item {
    background-color: var(--color-bg-block, #f5f5f5);
    padding: 2em;
    height: 100%;
}

section.cards-2 .item {
    height: initial;
}

section.cards-2 .swiper-slide {
    background-color: var(--color-bg-block, #f5f5f5);
}

.swiper-autoheight, .swiper-autoheight .swiper-slide {
    height: 100%;
}

section.section-guarantees .item .icon,
section.cards-2 .icon {
    width: 3em;
    margin-bottom: 1em;
}

section.section-guarantees .item h3,
section.cards-2 .item h3 {
    font-size: 1.375rem;
    line-height: 135%;
    font-weight: 400;
}

section.section-guarantees .item p,
section.cards-2 .item p {
    font-size: 1em;
    font-weight: 300;
}

section.cards-2 .item p {
    margin-top: 4em;
}

.garSwiper, section.cards-2 .swiper {
    width: 100%;
    max-width: 1800px;
    padding-left: 3%;
    padding-right: 3%;
}

.garSwiper, section.cards-2 .swiper {
    padding-bottom: 2em !important;
}

section.section-guarantees .wrapper > .top-block {
    flex-direction: column;
    margin-bottom: 2.5em;
    align-items: flex-start;
}

section.section-guarantees .wrapper > .top-block h2 {
    margin-bottom: .3em;
}

.swiper-horizontal>.swiper-scrollbar, .swiper-scrollbar.swiper-scrollbar-horizontal {
    position: relative;
    left: initial;
    bottom: initial;
    top: initial;
    z-index: 50;
    width: 94%;
    max-width: 1800px;
    margin: 2.5em auto 1em;
    border-radius: 0;
    height: 2px;
}

.swiper-scrollbar-drag {
    border-radius: 0;
    height: 2px;
    background-color: var(--color-highlight, #ca774b);
}

.nmb-crcl {
    display: flex;
    background-color: var(--color-highlight, #ca774b);
    border-radius: 4em;
    padding: 1em;
    width: 1em;
    font-size: 1em;
    line-height: 1em;
    height: 1em;
    justify-content: center;
    align-items: center;
    color: white;
}

/* ПРЕИМУЩЕСТВА */

section.section-adv .wrapper {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

section.section-adv .wrapper .adv-block {
    flex: 1 1 100%;
}

section.section-adv .adv-block:nth-child(2) {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

section.section-adv .adv-block .item {
    flex: 1 1 100%;
    padding: 2em;
    background-color: var(--color-bg-block, #f5f5f5);
}

section.section-adv .adv-block .item.has-bottom {
    padding: 0;
}

section.section-adv .adv-block .item.has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.section-adv .adv-block .item.has-bottom .item-wrapper {
    padding: 2em 2em 0;
    position: relative;
    min-height: 300px;
    flex-grow: 1;
}


section.section-adv .adv-block .item.has-bottom .item-wrapper-bottom {
    padding: 2em;
    position: relative;
}


/* СЕКЦИЯ КАРТА */

.map-block.map {
    height: 350px;
    width: 100%;
}

section.section-map .inner-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section.section-map .inner-content > .map-block {
    width: 100%;
}

section.section-map .inner-content > .map-block.text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

section.section-map .map-block.text .tel {
    font-size: 1.575rem;
    line-height: 150%;
    font-weight: 400;
    color: #fff;
    text-align: center;
}

section.section-map .map-block.text .tel a {
    color: #fff;
}

section.section-map .map-block.text .tel a:visited {
    color: #fff;
}

section.section-map .map-block.text .adres {
    font-size: .875rem;
    line-height: 130%;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin-top: 1em;
}

section.section-map .map-block.text > .top {
    background-color: var(--color-dark, #333);
    padding: 2em;
}

/* CLASSIC CARD BLOCK */

.card_wrapper {
    overflow: hidden;
}

.card_wrapper .card_cover {
    opacity: 1;
    position: relative;
    display: block;
    height: auto;
    transform: translate3d(0px, 0px, 0px);
    cursor: pointer;
    overflow: hidden;
    /* border-radius: 0.7vw; */
    background-position: center center;
    background-size: cover;
    -webkit-transform: translate3d(0,0,0) scale3d(1,1,1);
    transform: translate3d(0,0,0) scale3d(1,1,1);
    transition: -webkit-transform .5s ease;
    transition: transform .5s ease;
    background-repeat: no-repeat;
    z-index: 1;
}

.swiper-slide:hover .card_cover {
    -webkit-transform: translate3d(0,0,0) scale3d(1.1,1.1,1.1);
    transform: translate3d(0,0,0) scale3d(1.1,1.1,1.1);
}

.swiper-slide a {
    color: initial;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card_wrapper .card_cover:before {
    padding-top: 56%;
    content: "";
    display: block;
}

.card_info {
    padding: 2em;
    background-color: var(--color-bg-block, #f5f5f5);
    flex-grow: 1;
}

.card_info .date {
    font-size: .75rem;
}

.card_info h3 {
    font-size: .89rem;
    line-height: 150%;
    margin: 1em 0;
}

.card_info p {
    font-size: .875rem;
    color: #898989;
    line-height: 150%;
    margin: 1em 0;
}

a span.link-with-arrow {
    font-weight: 300;
}

a span.link-with-arrow::after {
    content: '>';
    padding-left: 1em;
    position: relative;
    left: 0;
    transition: all .3s ease;
}


.controls a {
    color: inherit;
    transition: color .3s ease;
}

.controls a:hover {
    color: var(--color-highlight, #ca774b);
    transition: color .3s ease;
}

a span.link-with-arrow:hover::after {
    left: .5em;
    transition: all .3s ease;
}

section.has-controls .controls {
    display: flex;
    margin-top: 2em;
    justify-content: space-between;
}

section.has-controls .controls .c-wrapper {
    bottom: 0;
    width: auto;
    display: flex;
    gap: 1rem;
}

section.has-controls .swiper-button-next, section.has-controls .swiper-button-prev {
    position: relative;
}

section.has-controls .swiper-button-prev {
    left: initial;
}

section.has-controls .swiper-button-next {
    right: initial;
}

section.has-controls .swiper {
    margin-top: 2.5em;
}

/* FOOTER */

section.bottom-footer .wrapper {
    padding-bottom: 2.5em;
    color: #939393;
}

a.privacy, a.privacy:visited {
    color: #939393;
}

a.privacy:hover {
    color: #000;
}

section.top-footer .wrapper {
    background-color: var(--color-bg-block,#f5f5f5);
    border-bottom: 1px solid #83827e;
    /* padding: 3.125em; */
    padding: 2em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

section.top-footer .site-branding {
    margin-bottom: 2em;
    justify-content: center;
}

section.top-footer .adres {
    text-align: center;
}

section.top-footer .link-map {
    margin-top: .7em;
    color: var(--color-highlight, #ca774b);
}

.social-icons {
    display: flex;
    gap: 1em;
    margin: 2.5em auto 1em;
}

.social-icons a {
    padding: 1em;
    background:#fff;
    border-radius: 3em;
    height: 3.5em;
    width: 3.5em;
    display: block;
    transition: all .3s ease;
}

.social-icons a:hover {
    background: var(--color-highlight);
}

.social-icons svg {
   height: 100%;
}

.social-icons svg path {
    fill: var(--color-dark);
    transition: color .3s ease;
}

.social-icons a:hover svg path {
    fill: var(--color-white);
    transition: color .3s ease;
}

section.top-footer .site-branding .branding-text,  section.top-footer .schedule-text {
    width: auto;
}

section.top-footer .site_btn {
    font-size: .8em;
}

section.top-footer .wrapper div.left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.top-footer .wrapper div.right-block {
    position: relative;
    display: flex;
    gap: 4em;
    /* flex: 1 1 100%; */
}

section.top-footer .wrapper div.right-block .underline {
    position: absolute;
    height: 1px;
    background-color: #83827E;
    width: 100%;
    top: 3.7em;
}

section.top-footer .wrapper div.right-block .col {
    display: flex;
    flex-direction: column;
    /* flex: 1 1 100%; */
    /* flex-basis: calc((100% / 4) - 2rem); */
}

.col > h3 {
    font-weight: 600;
    font-size: 1.125em;
    padding-bottom: 2em;
    margin-bottom: 2em;
}

.footer-submenu li {
    margin-bottom: .7em;
}

.col-4 a:hover {
    color: gray;
}

.col-4 a.btn {
    color: #fff;
}

.footer-submenu a,
.col-4 a {
    color: inherit;
    transition: color .3s ease;
}

.footer-submenu a:hover {
    color: var(--color-highlight, #ca774b);
}

.col .tel {
    font-size: 1.875em;
    font-weight: 400;
}

.contact-info-block > div {
    margin-bottom: 1em;
    text-align: center;
}

.contact-info-block > div.tel {
    margin-top: 1em;
}

section.top-footer .wrapper div.right-block .col-1, 
section.top-footer .wrapper div.right-block .col-2, 
section.top-footer .wrapper div.right-block .col-3,
section.top-footer .wrapper div.right-block .underline,
section.top-footer .wrapper div.right-block .col-4 h3 {
    display: none;
}

.circular {
    position: relative;
    overflow: hidden;
}

.circular > span {
    border-radius: 100%;
	position: absolute;
	display: block;
	content: "";
	z-index: 0;
	width: 0;
	height: 0;
	background: var(--color-dark, #333);
	transform: translate(-50%, -50%);
	transition: width 0.6s, padding-top 0.6s;
}

.circular:hover > span {
	width: 250%;
	padding-top: 250%;
}

.page-template-page-single-offer .info-2 .border-line.bl-3 {
    display: none;
}

/* SPECIALIZATION */

.section-spec .inner-content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 2.5em 0;
}

.section-spec .accordion {
    padding: 1em;
    border: 1px solid #ececec;
    position: relative;
}

.accordion__content {
    display: grid;
    grid-template-rows: 0fr;
    transition-duration: .3s;
}

.accordion__content p {
    font-size: .875rem;
    line-height: 1.375rem;
    font-weight: 300;
}

.accordion__image {
    flex-shrink: 0;
    height: 5.625em;
    width: 5.625em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 3px;
    margin-right: 1em;
}

.accordion__content-body {
    overflow: hidden;
}

.accordion__details[open] + .accordion__content {
    grid-template-rows: 1fr;
}

summary {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    outline: none;
    list-style: none; 
    position: relative;
    padding-right: 1em;
}

summary::after {
    content: '>';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
}

.accordion__details[open] summary::after {
    transform: translateY(-50%) rotate(-90deg);
}

summary::-webkit-details-marker {
    display: none;
}

.desk_image {
    display: none;
}

/*  */

section.section-lr-info .inner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

section.section-lr-info .inner-content > div {
    padding: 2em;
    border-radius: 3px;
    flex: 1 1 100%;
}

section.section-lr-info .inner-content > div.left {
    border: 1px solid var(--color-dark, #333);
}

section.section-lr-info .inner-content > div.right {
    background-color: var(--color-bg-block);
}

section.section-lr-info .inner-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 100%;
}

section.section-lr-info .inner-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.625rem;
}

/* БЛОК С ФОТО СЛЕВА */

section.color .wrapper {
    background-color: var(--color-bg-block, #f5f5f5);
}

.page-template-page-about .section-tabs .border-line,
.page-template-page-about .section-guarantees .border-line {
    display: none;
}

section.color .wrapper .inner-content {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
}
section.section-price.color .wrapper .inner-content {
    padding: 0;
}

section.color .item {
    padding: 2rem;
    background-color: #fff;
    flex: 1 1 100%;
}

section.color .item > .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4em;
}

section.color .item > .top .nmb-crcl {
    margin-left: 1em;
}

section.color .item > .top h3 {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 100%;
}

section.color .item p {
    font-size: .92rem;
    line-height: 1.5625rem;
    font-weight: 300;
}


section.color .wrapper .inner-wrapper {
    position: relative;
    width: 100%;
    /* background: linear-gradient(to right, rgba(31, 53, 47, 0), rgba(31, 53, 47, 0) 0%, rgba(232, 232, 232, 1) 22.27%); */
}

section.color .wrapper  {
    position: relative;
    padding-bottom: 62vw;
}

section.color .wrapper .image-block {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 62vw;
    background-color: red;
    background-size: cover;
    background-position: center center;
}

section.color .wrapper .image-block .image-cover {
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, rgba(31, 53, 47, 0), rgba(31, 53, 47, 0) 85.29%, rgba(247, 247, 247, 1));
}

section.info-2 .wrapper > .top-block {
    padding-bottom: 3em;
}

.page-template-page-consultation .border-line.bl-3 {
    left: initial;
    right: 0%;
    width: 97%;
}

section.section-price {
    margin-top: 4em;
}

section.section-price > .wrapper {
    padding: 2em;
}

section.section-price .price {
    display: block;
    font-size: 2.875rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-highlight,#ca774b);
    padding: .2em .2em;
    line-height: 100%;
    border-radius: 3px;
    margin: .3em 0;
    text-align: center;
}

.page-template-page-contacts .line-block.rel,
.page-template-page-contacts section .wrapper > .top-block {
    display: none;
}

.archive-list {
    margin: 2em auto;
}

.archive-list .wrapper .item {
    padding: 2em 0;
    border-bottom: 1px solid #ececec;
}

.archive-list .image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.archive-list .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.archive-list .info {
    padding: 1em 0 0;
}

.archive-list .date {
    display: inline-block;
    font-weight: 400;
    font-size: .875rem;
    line-height: 100%;
    padding: .5em;
    background-color: #ececec;
    border-radius: 3px;
}

.archive-list h2 {
    font-size: clamp(1.25rem, calc(0.98rem + 1.35vw), 2.5rem);
    font-weight: 400;
    line-height: 100%;
    margin: .8em 0;
}

.archive-list p {
    margin-bottom: 0;
}

.archive-list a {
    transition: color .3s ease;
}

.archive-list a:hover {
    color: var(--color-highlight, #ca774b);
    transition: color .3s ease;
}

.page-numbers {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

.page-numbers > * {
    margin: 0 .5em;
}

.page-numbers li > a,
.page-numbers li > span {
    display: flex;
    background-color: var(--color-bg-block, #f5f5f5);
    border-radius: 4rem;
    padding: 1.5rem;
    width: 1.5rem;
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1em;
    height: 1rem;
    justify-content: center;
    align-items: center;
    color: #333;
}

.page-numbers li > span.page-numbers.current {
    background-color: var(--color-highlight, #ca774b);
    color: #fff;
}

.content_light_style p {
    font-weight: 300;
}

.content_light_style .read-more {
    font-weight: 500;
}

.content_light_style .read-more::after {
    content: '>';
    padding-left: 1em;
    position: relative;
    left: 0;
    transition: all .3s ease;
    transform: rotate(90deg);
}

.content_light_style .read-more:hover::after {
    left: .5em;
    transition: all .3s ease;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Контент popup */
.popup-content {
    background-color: var(--color-bg-block, #f5f5f5);
    padding: 1.4em 2.5em;
    border-radius: 4px;
    width: 300px;
    text-align: center;
    position: relative;
}

.popup-content h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 1em;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

#close-popup {
    background: var(--color-highlight, #ca774b);
    padding: 1.25em 1.875em;
    border-radius: 3px;
}

/* Форма */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    background: transparent;
    padding: 1em 0;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 2em;
    border-radius: 0px;
}

button {
    padding: 0;
    background: initial;
    color: #fff;
    border: none;
    cursor: pointer;
}

