@charset "UTF-8";

/*
Theme Name: ivamassage
Author: Mger Martirosian
Author URI: https://wordpress.org/
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --header-height: ''; /* Задайте переменную с высотой header */
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
}

@keyframes pulse-animation-dark {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

@keyframes pulse-animation-light {
    0% {
      box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.2);
    }
    100% {
      box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

/* header */
header {
    background: #3F352D;
    border-bottom: 5px solid #C2BAB1;
}
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    max-width: 1040px;
    margin: auto;
    height: auto;
}
.header-burger-menu , .header-menu-dropdown {
    display: none;
}
.header-logo {
    padding-right: 60px;
}
.header-logo a {
    display: flex;
}
.header-menu-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}
.header-menu-nav ul li a {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}
.header-menu-nav ul li a:hover {
    border-color: #C2BAB1;
}
.header-menu-nav ul .reserv-btn {
    border-radius: 70px;
    border: 1px solid #C2BAB1;
    padding: 10px 20px;
}
.header-menu-nav ul .reserv-btn a {
    color: #C2BAB1;
}


.header-social-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    position: relative;
    padding: 0 20px;
}
.header-social-links ul::before {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: rgba(194, 186, 177, 0.10);
}
.header-social-links ul::after {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: rgba(194, 186, 177, 0.10);
}

.header-lang-toggle ul {
    list-style: none;
    display: flex;
    gap: 10px;
    text-transform: uppercase;
}
.header-lang-toggle ul li a {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}
.header-lang-toggle ul .current-lang a {
    color: #C2BAB1;
    border-bottom: 1px solid #C2BAB1;
    pointer-events: none;
}

/* footer */
footer {
    background: #3F352D;
}
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    max-width: 1040px;
    margin: auto;
}

.footer-menu-nav {
    padding: 0 48px;
    display: flex;
    position: relative;
}
.footer-menu-nav::before {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: rgba(194, 186, 177, 0.10);
}
.footer-menu-nav::after {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: rgba(194, 186, 177, 0.10);
}
.footer-menu-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 50px;
    text-align: center;
}
.footer-menu-nav ul li a {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}
.footer-menu-nav ul li a:hover {
    border-color: #C2BAB1;
}

.footer-social-links {
    display: flex;
    align-items: center;
}
.social-links-icons ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}
.social-links-icons ul li a {
    display: flex;
}
.social-links-icons ul li a img {
    width: 40px;
}
.social-links-text {
    padding-left: 20px;
}
.social-links__title {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.social-links__descr {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Main */
.main-content {
    position: relative;
    height: calc(100vh -  var(--header-height));
    z-index: 3;
}
.main-content::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(63, 53, 45, 0.8);
}
.video {
    display: flex;
    position: relative;
    z-index: 1;
}
video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100vh -  var(--header-height));
    object-fit: cover;
}
.main-container {
    position: relative;
    z-index: 3;
    max-width: 1040px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.main-container h2 {
    color: #FFF;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
}
.main-container h3 {
    color: #C2BAB1;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
}
.main-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}
.main-info > div {
    min-width: calc(100% / 3);
}
.main-location {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.main-location__ico {
    display: flex;
    margin-right: 10px;
}
.main-location__text {
    display: flex;
    flex-direction: column;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.main-info .main-reserv-btn {
    padding: 0 50px;
    display: flex;
    min-width: unset;
}
.main-reserv-btn::before {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: #C2BAB1;
}
.main-reserv-btn::after {
    content: '';
    width: 2px;
    height: auto;
    border-radius: 30px;
    background: #C2BAB1;
}
.main-reserv-btn a {
    text-decoration: none;
    color: #3F352D;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 25px 60px;
    border-radius: 70px;
    background: #C2BAB1;
    margin: 0 50px;
    animation: pulse-animation-light 1.5s infinite;
}
.main-work-time {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.main-work__ico {
    display: flex;
    margin-right: 10px;
}
.main-work__text {
    display: flex;
    flex-direction: column;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* About ME */
#about-me {
    background: #C2BAB1;
    position: relative;
}
.about-me-leaf {
    position: absolute;
    left: 50px;
    bottom: -95px;
    z-index: 2;
}
.about-me-table {
    position: absolute;
    right: 0;
    bottom: -19%;
}
.about-me-wrapper {
    position: absolute;
    left: 0;
    z-index: 0;
}
.about-me-container {
    max-width: 1120px;
    margin: auto;
    display: flex;
    position: relative;
    z-index: 1;
    padding-top: 88px;

}
.about-me__pic {
    display: flex;
    margin-right: 83px;
    width: 54%;
}
.about-me__text {
    width: 46%;
    padding-top: 50px;
}
.about-me__text h2 {
    color: #796250;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 50px;
}
.about-me__descr {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-me__descr p {
    color: #796250;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: break-spaces;
}
.about-me__descr b {
    font-weight: 600;
}

/* Services */
#services {
    background: rgba(194, 186, 177, 0.10);
}
.services-container {
    max-width: 1040px;
    margin: auto;
    padding:  100px 0;
}
.services-container h2 {
    color: #796250;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.services-list__item {
    border-bottom: 1px solid #796250;
}
.services-item__title {
    display: flex;
    padding: 50px 0 30px;
    position: relative;
    cursor: pointer;
}
.services-item__title::before {
    content: '';
    border: solid #796250;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    right: 0;
    top: 50px;
    transition: transform .3s;
}
.services-list__item.active .services-item__title::before {
    transform: rotate(-135deg);
    transition: transform .3s;
}
.services-item__info {
    display: flex;
    width: 53%;
}
.services-item__name {
    color: #796250;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 47%;
    padding-right: 30px;
}
.services-item__duration {
    color: #796250;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 50%;
    padding-right: 30px;
}
.services-item__price {
    color: #796250;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 50%;
}
.services-list__item.active .services-item__dropdown {
    transition: max-height 3s;
    max-height: 3000px;
}
.services-item__dropdown {
    transition: max-height .8s cubic-bezier(0, 1, 0, 1);
    max-height: 0px;
    overflow: hidden;
}
.dropdown-holder {
    display: flex;
    align-items: center;
    padding-bottom: 50px;
}
.services-item__descr {
    color: #796250;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 50%;
    margin-right: 30px;
}
.services-item__pic {
    width: 50%;
}
.services-reserv-btn {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.services-reserv-btn a {
    border-radius: 70px;
    background: #C2BAB1;
    text-decoration: none;
    padding: 25px 60px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    animation: pulse-animation-dark 1.5s infinite;
}

/* certificates */
#certificates {
    padding: 100px 0;
    position: relative;
}
.certificates-leaf {
    position: absolute;
    right: 67px;
    top: -125px;
}
.certificates-back {
    position: absolute;
    left: 0;
    bottom: 178px;
}
.certificates-front {
    position: absolute;
    right: 94px;
    bottom: -105px;
}
.certificates-container {
    /* padding-left: 180px; */
    max-width: 1040px;
    margin: auto;
}
.certificates-container h2 {
    color: #4C592E;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 930px;
}
.certificates__descr {
    color: #4C592E;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 50px 0;
}
.certificate-options {
    display: flex;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 20px;
}
.certificate-options__item {
    color: #4C592E;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-radius: 10px;
    border: 2px dashed #C2BAB1;
    background: rgba(194, 186, 177, 0.10);
    padding: 25px 30px;
    width: max-content;
    cursor: pointer;
}
.certificates-content {
    display: flex;
    position: relative;
}
.certificates__text {
    /* max-width: 760px; */
    width: 73%;
}
.certificates__pic {
    /* margin: 0 20px 0 -6%; */
    position: absolute;
    right: -11%;
}
.certificates-buy-text {
    color: #4C592E;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 780px;
    text-align: center;
    margin: auto;
    padding-top: 150px;
}
.certificates-buy-text b {
    font-weight: 600;
}
.certificates-buy-btn {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.certificates-buy-btn span {
    border-radius: 70px;
    background: #4C592E;
    padding: 25px 60px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    animation: pulse-animation-dark 1.5s infinite;
    cursor: pointer;
}

/* Contacts */
#contacts {
    background: #C2BAB1;
    padding: 100px 0;
}
.contacts-container {
    display: flex;
    align-items: center;
    max-width: 1040px;
    margin: auto;
}
.contacts-map iframe {
    width: 613px;
    height: 350px;
    border-radius: 20px;
}
.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 100px;
}
.contacts-content h2 {
    color: #FFF;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 80%;
}
.contacts-location, .contacts-work-time {
    display: flex;
}
.contacts__descr {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contacts-location__ico , .contacts-work-time__ico {
    display: flex;
    margin-right: 10px;
}
.contacts-location__descr, .contacts-work-time__descr {
    display: flex;
    flex-direction: column;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.contacts-reserv-btn {
    display: flex;
}
.contacts-reserv-btn a {
    border-radius: 70px;
    background: #796250;
    padding: 25px 60px;
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    animation: pulse-animation-dark 1.5s infinite;
}

/* overlay */
.menu-overlay .menu-overlay__background {
    display: none;
}
.menu-overlay.active .menu-overlay__background {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4;
}


/* mob version */
@media (max-width: 1279px) {
    /* header */
    .header {
        padding: 25px 40px;
    }
    .header-menu-nav ul li a {
        font-size: 16px;
    }
    .header-logo a {
        width: 180px;
    }
    .header-menu-nav ul {
        gap: 25px;
    }

    /* main */
    .main-container {
        padding: 0 40px;
    }
    .main-container h2 {
        font-size: 54px;
    }
    .main-container h3 {
        font-size: 40px;
    }
    .main-info {
        overflow: hidden;
    }
    .main-reserv-btn a {
        font-size: 16px;
    }

    /* about-me */
    .about-me-container {
        padding: 80px 40px 0;
    }
    .about-me__text h2 {
        font-size: 54px;
    }
    .about-me__descr p {
        font-size: 16px;
    }
    .about-me__text {
        width: 50%;
    }
    .about-me__pic {
        width: 50%;
        margin-right: 70px;
    }
    .about-me-table {
        width: 33%;
    }
    .about-me-leaf {
        width: 11%;
        bottom: -55px;
    }

    /* services */
    .services-container {
        padding: 100px 40px;
    }
    .services-container h2 {
        font-size: 54px;
    }
    .services-item__name, .services-item__duration, .services-item__price, .services-item__descr, .services-reserv-btn a {
        font-size: 16px;
    }
    .services-item__title::before {
        padding: 5px;
    }

    /* certificates */
    .certificates-container {
        padding: 0 40px;
    }
    .certificates__pic {
        right: 0;
    }
    .certificates-container h2 {
        font-size: 54px;
        width: 780px;
    }
    .certificates__descr {
        font-size: 16px;
    }
    .certificate-options__item {
        font-size: 16px;
        padding: 25px;
    }
    .certificates__text {
        width: 50%;
    }
    .certificates-buy-btn a {
        font-size: 16px;
    }
    .certificates-buy-text {
        font-size: 16px;
        max-width: 650px;
    }
    .certificates-front {
        right: 10px;
    }
    .certificates-back {
        bottom: 80px;
    }

    /* contacts */
    #contacts {
        padding: 100px 40px;
    }
    .contacts-content h2 {
        font-size: 54px;
    }
    .contacts-location__descr, .contacts-work-time__descr, .contacts-reserv-btn a {
        font-size: 16px;
    }
    .contacts-content {
        width: 40%;
    }
    .contacts-map {
        width: 60%;
    }
    .contacts-map iframe {
        width: 100%;
    }

    /* footer */
    .footer {
        padding: 50px 40px;
    }
    .footer-menu-nav ul li a, .social-links__descr {
        font-size: 16px;
    }
    .social-links__title {
        font-size: 24px;
    }
    .footer-logo a {
        display: flex;
        width: 180px;
    }
}

@media (max-width: 1024px) {
    /* header */
    .header {
        justify-content: space-between;
    }
    .header-menu-nav, .header-social-links, .header-lang-toggle {
        display: none;
    }
    .header-burger-menu {
        display: flex;
        align-items: center;
        position: relative;
        right: 0;
        width: 30px;
        height: 24px;
        z-index: 6;
        cursor: pointer;
    }
    .header-burger-menu > span, .header-burger-menu > span::before, .header-burger-menu > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #C2BAB1;
        transition-duration: .25s;
    }
    .header-burger-menu > span::before {
        content: '';
        top: -9px;
    }
    .header-burger-menu > span::after {
        content: '';
        top: 9px;
    }   
    .header.open .header-burger-menu > span {
        transform: rotate(45deg);
    }
    .header.open .header-burger-menu > span::after {
        top: 0;
        transform: rotate(90deg);
    }
    .header.open .header-burger-menu > span::before {
        display: none;
    }
    .header-menu-dropdown {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        position: fixed;
        visibility: hidden;
        top: 0;
        right: -100%;
        width: 450px;
        height: 100%;
        padding: 25px 40px 50px;
        background-color: #3F352D;
        z-index: 5;
        transition-duration: .25s;
    }
    .header.open .header-menu-dropdown {
        visibility: visible;
        right: 0;
        overflow-y: scroll;
    }
   
    .header-menu-dropdown__nav {
        padding-top: 50px;
        margin-bottom: 100px;
    }
    .header-menu-dropdown__nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }
    .header-menu-dropdown__nav ul li a {
        color: #FFF;
        font-size: 28px;
        font-style: normal;
        font-weight: 400;
        line-height: 32px; 
        text-decoration: none;
    }
    .header-menu-dropdown__nav ul .reserv-btn {
        display: flex;
    }
    .header-menu-dropdown__nav ul .reserv-btn a {
        color: #C2BAB1;
        font-size: 28px;
        font-style: normal;
        font-weight: 400;
        line-height: 90%;
        border-radius: 70px;
        border: 1px solid #C2BAB1;
        padding: 15px 30px;
    }
    .header-menu-dropdown__bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
    }
    .header-menu-dropdown__social ul {
        list-style: none;
        display: flex;
        gap: 20px;
    }
    .header-menu-dropdown__social ul li a {
        display: flex;
        width: 40px;
        height: 40px;
    }
    .header-menu-dropdown__lang ul {
        list-style: none;
        display: flex;
        gap: 10px;
        text-transform: uppercase;
    }
    .header-menu-dropdown__lang ul li a {
        color: #FFF;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;
    }
    .header-menu-dropdown__lang ul .current-lang a {
        color: #C2BAB1;
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        border-bottom: 1px solid #C2BAB1;
        pointer-events: none;
    }

    /* main */
    .main-info {
        flex-wrap: wrap;
    }
    .main-info > div {
        min-width: unset;
    }
    .main-info .main-reserv-btn {
        width: 100%;
        order: -1;
        justify-content: center;
        padding: unset;
    }
    .main-reserv-btn a {
        margin: 0 50px 30px;
    }
    .main-reserv-btn::before, .main-reserv-btn::after {
        display: none;
    }
    .main-location {
        margin-right: 40px;
    }

    /* about-me */
    .about-me-container {
        flex-direction: column-reverse;
    }
    .about-me__text {
        width: 100%;
        padding-top: unset;
    }
    .about-me__pic {
        width: 70%;
        margin: auto;
        text-align: center;
        padding-top: 55px;
    }
    .about-me-wrapper {
        bottom: 0;
    }
    .about-me-table {
        bottom: -9%;
        z-index: 1;
    }

    /* services */
    .services-item__title {
        flex-direction: column;
        padding: 30px 0 25px;
    }
    .services-item__info {
        width: 100%;
        padding-top: 10px;
    }
    .services-item__price {
        text-align: right;
    }
    .services-item__title::before {
        top: 30px;
    }
    .dropdown-holder {
        flex-direction: column-reverse;
        padding-bottom: 25px;
    }
    .services-item__descr {
        margin-right: unset;
        margin-top: 30px;
        width: unset;
    }

    /* certificates */
    .certificates-content {
        flex-direction: column;
    }
    .certificates__text {
        width: 100%;
    }
    .certificates-container h2 {
        width: 670px;
    }
    .certificates__pic {
        position: unset;
        text-align: center;
        margin-top: 40px;
    }
    .certificates-buy-text {
        padding-top: 30px;
    }
    .certificates-back {
        bottom: 250px;
        width: 18%;
    }
    .certificates-front {
        width: 25%;
        bottom: -65px;
    }

    /* contacts */
    .contacts-container {
        flex-direction: column;
    }
    .contacts-map {
        width: 100%;
    }
    .contacts-content {
        width: 100%;
        padding-left: unset;
        padding-top: 30px;
    }
    .contacts__descr {
        flex-direction: row;
        min-width: 67%;
    }
    .contacts-content {
        gap: unset;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .contacts-content h2 {
        width: 100%;
        padding-bottom: 30px;
    }
    .contacts-location, .contacts-work-time {
        align-items: center;
    }
    .contacts-reserv-btn a {
        padding: 25px 50px;
    }

    /* footer */
    .footer {
        justify-content: space-between;
    }
    .footer-menu-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    /* main */
    .main-container h3 {
        font-size: 30px;
        line-height: 50px;
    }
    .main-container h2 {
        font-size: 40px;
        line-height: 46px;
    }

    /* about me */
    .about-me__pic {
        width: 90%;
    }
    .about-me-leaf {
        width: 25%;
        bottom: -55px;
        left: -60px;
    }
    .about-me-table {
        width: 54%;
        bottom: -7%;
    }
    .about-me__text h2 {
        font-size: 40px;
        padding-bottom: 30px;
    }

    /* services */
    .services-container h2 {
        font-size: 40px;
    }
    .services-item__pic {
        width: 100%;
    }

    /* certificates */
    .certificates-container h2 {
        font-size: 40px;
        width: unset;
    }
    .certificate-options {
        flex-direction: column;
    }
    .certificate-options__item {
        width: 100%;
    }
    .certificates-back, .certificates-front {
        display: none;
    }
    .certificates-buy-text {
        padding: 30px 40px 0;
    }

    /* contacts */
    .contacts-content {
        gap: 30px;
    }
    .contacts-content h2 {
        padding-bottom: unset;
        font-size: 40px;
    }
    .contacts__descr {
        min-width: unset;
        width: 100%;
    }
    .contacts-reserv-btn {
        margin: auto;
    }

    /* footer */
    .footer {
        flex-direction: column;
        align-items: baseline;
        position: relative;
    }
    .social-links-icons {
        position: absolute;
        right: 40px;
        top: 59px;
    }
    .social-links-text {
        padding-left: unset;
        padding-top: 20px;
    }
}

@media (max-width: 550px) {
    /* header */
    .header .header-menu-dropdown {
        width: 100%;
    }
    .header.open .header-menu-dropdown {
        padding: 25px 30px 50px;
    }
    .header {
        padding: 30px;
    }

    /* main */
    .main-container {
        padding: 0 30px;
    }
    .main-info {
        justify-content: space-between;
    }
    .main-container h3 {
        font-size: 20px;
        line-height: 30px;
    }
    .main-container h2 {
        font-size: 32px;
        line-height: 38px;
    }
    .main-reserv-btn a {
        font-size: 14px;
        padding: 20px 40px;
    }
    .main-location {
        margin-right: 20px;
    }
    .main-location__ico, .main-work__ico {
        width: 27px;
        margin-right: 8px;
    }
    .main-location__text , .main-work__text {
        font-size: 14px;
    }

    /* about-me */
    .about-me-container {
        padding: 50px 30px 0;
    }
    .about-me__text h2 {
        font-size: 32px;
    }
    .about-me__pic {
        width: 100%;
    }
    .about-me-table {
        width: 65%;
        bottom: -8%;
    }
    .about-me-leaf {
        width: 36%;
        bottom: -45px;
    }
    .about-me__descr p {
        font-size: 14px;
    }

    /* services */
    .services-container {
        padding: 50px 30px;
    }
    .services-item__name {
        width: 60%;
        font-size: 14px;
    }
    .services-item__duration, .services-item__price, .services-item__descr {
        font-size: 14px;
    }
    .services-reserv-btn {
        margin-top: 40px;
    }
    .services-reserv-btn a {
        font-size: 14px;
        padding: 20px 40px;
    }

    /* certificates */
    .certificates-leaf {
        right: 20px;
        top: -75px;
        width: 37%;
    }
    #certificates {
        padding: 50px 0;
    }
    .certificates-container h2 {
        font-size: 32px;
    }
    .certificates__descr {
        font-size: 14px;
        padding: 30px 0;
    }
    .certificates-container {
        padding: 0 30px;
    }
    .certificate-options__item {
        font-size: 14px;
        padding: 20px 10px;
    }
    .certificates-buy-text {
        font-size: 14px;
        padding: 15px 30px 0;
    }
    .certificates__pic {
        width: 90%;
        margin: auto;
        padding-top: 30px;
    }
    .certificates-buy-btn {
        margin-top: 30px;
    }
    .certificates-buy-btn a {
        font-size: 14px;
        padding: 20px 40px;
    }

    /* contacts */
    #contacts {
        padding: 50px 30px;
    }
    .contacts-map iframe {
        height: 200px;
    }
    .contacts-content h2 {
        font-size: 32px;
    }
    .contacts-location__descr, .contacts-work-time__descr {
        font-size: 14px;
    }
    .contacts-reserv-btn a {
        font-size: 14px;
        padding: 20px 40px;
    }
    .contacts-location__ico, .contacts-work-time__ico {
        width: 27px;
    }
    .contacts__descr {
        gap: 20px;
    }

    /* footer */
    .footer {
        padding: 50px 30px;
    }
    .social-links__descr {
        font-size: 14px;
    }
}

@media (max-width: 389px) {
    /* header */
    .header.open .header-menu-dropdown {
        padding: 30px 30px 50px;
    }
    .header-logo {
        padding-right: 40px;
    }
    .header-menu-dropdown__logo a {
        display: flex;
        max-width: 180px;
    }

    /* main */
    .main-info {
        justify-content: center;
    }
    .main-info > div {
        min-width: 200px;
    }
    .main-location {
        margin-right: unset;
        margin-bottom: 20px;
    }
    .main-location__ico, .main-work__ico {
        width: 35px;
        margin-right: 10px;
    }

    /* contacts */
    .contacts__descr {
        flex-direction: column;
    }

    /* footer */
    .footer-social-links {
        flex-direction: column;
        align-items: baseline;
        padding-top: 20px;
    }
    .social-links-icons {
        position: unset;
    }
    .social-links__title {
        font-size: 22px;
    }
}

@keyframes wave-stroke2 {
    100% {
      width: 150%; 
      height: 150%;
      border-color: transparent;
      opacity: 0;
    }
  }

  .yButtonWave {
    animation: wave-stroke2 2s infinite cubic-bezier(.37,0,.8,.77)!important;
    -webkit-animation: wave-stroke2 2s infinite cubic-bezier(.37,0,.8,.77)!important;
  }


  /* form styles */
.buy-certificate-form {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: rgba(63, 53, 45, 0.95);
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    transition: opacity 0.3s ease-in-out, pointer-events 0.3s ease-in-out;
}
.buy-certificate-form.active {
    opacity: 1;
    pointer-events: auto;
}
.buy-certificate-form-holder {
    display: flex;
    flex-direction: column;
    width: 550px;
    padding: 70px 30px 40px;
    border-radius: 20px;
    background: #FFF;
    z-index: 6;
    opacity: 0;
    position: relative;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.buy-certificate-form.active .buy-certificate-form-holder {
    opacity: 1;
    transform: translateY(0);
}
.close-form__btn {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}
.certificate-form__title {
    color: #4C592E;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;
    padding-bottom: 30px;
    width: 90%;
    margin: auto;
}
.buy-certificate-form-holder form p {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.buy-certificate-form-holder .input-field {
    border-radius: 10px;
    border: 2px dashed #C2BAB1;
    background: rgba(194, 186, 177, 0.10);
    width: 100%;
    height: 63px;
    padding: 0 30px;
    color: #4C592E;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.buy-certificate-form-holder textarea {
    padding-top: 17px!important;
    resize: vertical;
}
.buy-certificate-form-holder .input-field::placeholder {
    color: rgba(76, 89, 46, .5);
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}
.buy-certificate-form-holder #type-ceritficates {
    color: rgba(76, 89, 46, .5);
    cursor: pointer;
}
.buy-certificate-form-holder .form-buy-btn {
    border-radius: 70px;
    background: #4C592E;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    padding: 25px 60px;
    animation: pulse-animation-dark 1.5s infinite;
    width: max-content;
    margin: auto;
    cursor: pointer;
}

[data-name="type-ceritficates"]::before {
    content: '';
    border: solid #C2BAB1;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    right: 20px;
    top: 20px;
}


.wpcf7-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}
.wpcf7-not-valid-tip {
    position: absolute;
}

@media (max-width: 550px) {
    .certificate-form__title {
        font-size: 24px;
        width: 100%;
        max-width: 320px;
        line-height: 120%;
    }
    .buy-certificate-form-holder {
        padding: 50px 20px 40px;
        margin: 0 20px;
    }
    .buy-certificate-form-holder .input-field {
        font-size: 16px;
        padding: 0 20px;
        height: 55px;
    }
    .buy-certificate-form-holder .input-field::placeholder  {
        font-size: 16px;
    }
    .buy-certificate-form-holder .form-buy-btn {
        font-size: 16px;
        padding: 20px 50px;
    }
    .buy-certificate-form-holder textarea {
        padding-top: 15px!important;
    }
    .buy-certificate-form-holder #type-ceritficates {
        padding: 0 40px 0 20px;
    }
    .buy-certificate-form-holder #message::placeholder {
        font-size: 14px!important;
        white-space: nowrap;
    }
    .close-form__btn {
        top: 20px;
        right: 20px;
        width: 30px;
    }
    [data-name="type-ceritficates"]::before {
        padding: 4px;
        right: 18px;
    }
}

@media (max-width: 375px) {
    .certificate-form__title {
        font-size: 22px;
    }
}