@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --green: #027000;
    --grey: #323536;
    --gradient: linear-gradient(94.41deg, #027000 0.33%, #29A61F 50.29%, #027000 98.28%);
    --gradient2: linear-gradient(92.32deg, #027000 0%, #128A08 49%, #027000 100%);

}

.new-container * {
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Inter", sans-serif;
    font-style: normal;
}
.new-container{
    width: 100%;
    height: 100%;
    max-width: 1600px;
    padding: 0 20px;
    margin: 0 auto;
}
section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.new-container h1 {
    font-size: 55px !important;
    font-weight: 700 !important;
    font-family: "Inter", sans-serif !important;
    line-height: 120% !important;
}
.new-container h2 {
    font-size: 50px !important;
    font-weight: 600 !important;
    text-align: center;
    color: #000000;
    line-height: 120% !important;
    font-family: "Inter", sans-serif !important;
    display: block;
}
.new-container h3 {
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 120% !important;
    font-family: "Inter", sans-serif !important;
}

.button {
    border-radius: 5px !important;
    padding: 13px 26px !important;
    cursor: pointer;
    transition: all .3s !important;
    text-align: center;
    text-transform: uppercase;
    margin: 0 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}
.button-dark:hover,
.button-light:hover{
    box-shadow: 0px 4px 0px 0px #014900;
}

.button-dark {
    background: var(--gradient);
    color: white;
}
.button-light {
    border: 1px solid var(--green);
    background-color: white;
    color: var(--green);
}
.button-light-noborder {
    background-color: white;
    color: var(--green);
}
.button-light-noborder:hover{
    background: var(--gradient);
    color: white;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    margin: 40px 0 0 0 !important;
    opacity: 0;
}
.pagination .swiper-pagination-bullet {
    background-color: #888888;
    width: 24px;
    height: 6px;
    padding: 0 !important;
    border-radius: 2px;
    opacity: 1;
}
.pagination .swiper-pagination-bullet-active {
    background-color: var(--green);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: end;
}
.navigation-border {
    width: 1px;
    height: 30px;
    margin-bottom: 5px;
    background-color: #8E8E8E;
}
.navigation-prev,
.navigation-next {
    cursor: pointer;
}
.navigation-prev svg,
.navigation-next svg {
    width: 30px !important;
}
.navigation .swiper-button-lock + .navigation-border {
    display: none;
}

.swiper-button-disabled {
    opacity: .5;
    pointer-events: none;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
    .pagination {
        opacity: 1;
    }
    .navigation {
        display: none;
    }
}

.header-body {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo {
    max-width: 160px;
    width: 100%;
    cursor: pointer;
    padding: 3px 0;
}
.header-logo img {
    max-width: 100%;
}
.header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.header-menu-link {
    font-size: 16px;
    font-weight: 500;
    color: black;
    transition: color .2s;
}
.header-menu-link:hover{
    color: var(--green);
}
.header-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}
.header-phone-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}
.header-phone {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    min-width: 100%;
    height: 100%;
    cursor: pointer;
    box-shadow: 0px 3.27px 3.27px 0px #00000017;
    border-radius: 40px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    padding: 10px;
}
.header-phone svg {
    flex: 0 0 auto;
}
.header-phone-text {
    flex: 0 0 auto;
    width: 1px;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: all .3s;
    color: black;
}
.header-phone-wrapper:hover .header-phone-text{
    opacity: 1;
    width: 160px;
}
.header-phone-wrapper:hover .header-phone{
    box-shadow: 0px 10px 15px -4px #00000033;
}


.header-burger {
    display: none;
    cursor: pointer;
}
.header-mob-wrapper {
    top: -100vh;
    transition: all .3s ease-out;
    position: fixed;
    display: flex !important;
    z-index: 50;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    flex-direction: column;
    gap: 30px;
    background-color: white;
    padding: 20px;
}
.header-mob-wrapper.show {
    top: 0;
}

.header-mob-wrapper.show .header-menu {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
.header-mob-wrapper.show .header-buttons {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}
.header-mob-wrapper.show .header-button {
    width: 100%;
    max-width: 350px;
}
.header-mob-close {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.header-menu-link-has-child {
    position: relative;
}
.header-menu-link-has-child .header-menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.header-menu-link-has-child .header-menu-link::after {
    content: '';
    width: 8px;
    height: 4px;
    background-image: url("https://spabarhat.ru/wp-content/themes/barhat/img/address-dropdown.svg");
    position: relative;
    display: inline-block;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .3s;
}
.header-menu-link-has-child:hover .header-menu-link::after{
    transform: rotate(180deg);
}
.header-menu-link-childs{
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    width: fit-content;
    flex-direction: column;
    z-index: 11;
    padding-top: 20px;
    box-shadow: 0px 8px 8px 0px #00000042;
}
.header-menu-link-has-child:hover .header-menu-link-childs {
    display: flex;
}
.header-menu-subitem-link {
    background: white;
    padding: 3px 25px 10px 16px;
    white-space: nowrap;
    color: black;
    font-size: 14px;
}
.header-menu-subitem-link:hover{
    color: var(--green);
}

@media (max-width: 1480px) {
    .header-menu {
        gap: 10px;
    }
}
@media (max-width: 1350px) {
    .header-logo {
        max-width: 140px;
    }
    .header .button {
        padding: 13px;
    }
}
@media (max-width: 1230px) {
    .header-logo {
        max-width: 132px;
    }
}
@media (max-width: 1250px) {
    .header-menu,
    .header-buttons {
        display: none;
    }

    .header-burger {
        display: block;
        margin-top: 5px;
    }
    .header-phone-wrapper {
        margin-left: auto;
    }
    .header-body {
        gap: 30px;
    }
    .header-menu-link-has-child .header-menu-link {
        justify-content: start;
        width: 100%;
    }
    .header-menu-link-has-child{
        width: 100%;
    }
    .header-menu-link-childs {
        position: relative;
        top: auto;
        left: auto;
        width: fit-content;
        flex-direction: column;
        z-index: 11;
        padding-top: 20px;
        box-shadow: none;
    }
    .header-menu-link-has-child:hover .header-menu-link-childs {
        display: none;
    }
    .header-menu-link-has-child.child-active .header-menu-link-childs {
        display: flex !important;
    }
    .header-menu-link-has-child:hover .header-menu-link::after{
        transform: none;
    }
    .header-menu-link-has-child.child-active .header-menu-link::after{
        transform: rotate(180deg);
    }
}
@media (max-width: 600px) {
    .new-container h2 {
        font-size: 30px !important;
    } 
}



.map {
    position: relative;
    margin: 0;
}
.map-place{ 
    width: 100%;
    max-width: 100%;
    height: 500px;
}
.map-place iframe {
    width: 100%;
    height: 100%;
}
.map-place img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.map-container {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.map-body {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.map-info {
    pointer-events: visible;
    max-width: 320px;
}
.map-info-title {
    background: var(--gradient);
    padding: 20px 30px;
    color: white;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 0 !important;
}
.map-info-text {
    padding: 25px;
    background-color: var(--grey);
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.map-info-adress,
.map-info-email {
    display: flex;
    gap: 10px;
    align-items: start;
    justify-content: start;
}
.map-info-email{ 
    align-items: center;
}
.map-info-adress svg,
.map-info-email svg {
    flex: 0 0 auto;
}
.map-info-adress p,
.map-info-email a {
    color: white;
    font-size: 16px;
    transition: color .3s;
}
.map-info-email a:hover {
    color: var(--green);
}
.map-button {
    pointer-events: visible;
}

@media (max-width: 768px) {
    .map-body{
        flex-direction: column;
        gap: 20px;
        justify-content: start;
        margin-top: 30px;
    }
}

.footer {
    background-color: var(--grey);
}
.footer-body {
    padding: 90px 0 40px 0;
    display: grid;
    grid-template-columns: 350px 1fr 230px;
    align-items: start;
    gap: 50px;
}
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.footer-adress {
    display: flex;
    gap: 20px;
    align-items: start;
    justify-content: start;
}
.footer-adress p {
    color: white;
    font-size: 20px;
    line-height: 120%;
}
.footer-phone {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: start;
}
.footer-phone a {
    color: white;
    font-size: 20px;
    display: inline-block;
    transition: color .3s;
}
.footer-phone a:hover{
    color: var(--green);
}
.footer-adress svg,
.footer-phone img {
    flex: 0 0 auto;
}
.footer-button {
    max-width: 250px;
}
.footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 50px;
    grid-row-gap: 20px;
}
.footer-menu-item {
    font-size: 22px;
    color: white;
    font-weight: 600;
    transition: color .3s;
}
.footer-menu-item:hover{
    color: var(--green);
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 40px;    
}
.footer-social-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
}
.footer-social-list {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 40px;
}
.footer-social-item {
    transition: transform .3s;
}
.footer-social-item:hover {
    transform: translateY(-5px);
}

.footer-bottom {
    background-color: #262626;
    border-top: 1px solid white;
}
.footer-bottom-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}
.footer-copyright {
    color: #797B7B;
    font-size: 15px;
    margin-bottom: 0 !important;
}
.footer-processing {
    color: var(--green);
    font-size: 15px;
}

@media (max-width: 1200px) {
    .footer-body {
        grid-template-columns: 350px 1fr;
    }
}
@media (max-width: 900px) {
    .footer-body {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .footer-info {
        max-width: 500px;
    }
    .footer-button {
        max-width: 100%;
    }
    .footer-social-title {
        text-align: center;
    }
    .footer-menu {
        justify-items: center;
        grid-column-gap: 80px;
        margin: 40px 0;
    }
}
@media (max-width: 767px) {
    .item-views.services .item .title{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
    }
}
@media (max-width: 600px) {
    .footer-body {
        justify-items: start;
        padding: 40px 0 40px 0;
    }
    .footer-menu {
        grid-template-columns: 1fr;
        justify-items: start;
        margin: 0;
    }
    .footer-social-title {
        text-align: left;
    }
    .footer-menu-item:nth-child(3n) {
        margin-bottom: 20px;
    }
    .footer-bottom-body {
        flex-direction: column;
        gap: 20px;
    }
    .footer-copyright,
    .footer-processing {
        text-align: center;
    }
}