.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s;
    gap: 15px;
}

.preloader p {
    font-family: "Inter", serif;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #B7806F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    position: relative;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: center;
    height: 100px;
    background-color: #FFF;
}

.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

header img {
    height: 90px;
    width: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 48px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #252525;
    font-family: "Inter", serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
}

.nav-link:hover,
.nav-link:active {
    color: #B7806F;
    transition: 0.2s;
}

nav li {
    display: flex;
    align-items: center;
}

.nav_button-link button {
    padding: 12px 40px;
    align-items: center;
    border-radius: 16px;
    background: #B7806F;
    border: 0px;
    text-decoration: none;
    color: #FFF;
    font-family: "Inter", serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    cursor: pointer;
    transition: 0.2s;
}

.nav_button-link button:hover,
.nav_button-link button:active {
    background: #A96B5F;
    transition: 0.2s;
}

.close-block {
    display: flex;
    width: 100%;
    justify-content: end;
    margin-bottom: 30px;
}

.close {
    display: flex;
}

.header__nav--active {
    padding: 30px;
    box-sizing: border-box;
}

.burger_list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style-type: none;
    gap: 15px;
}

.nav__link {
    text-decoration: none;
    color: #252525;
    font-family: "Inter", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
}

.burger_list li {
    display: flex;
    justify-content: center;
}

.main_container {
    background-image: url(../img/main_back.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-con {
    display: flex;
    height: 500px;
    padding-top: 150px;
    flex-direction: column;
    gap: 25px;
    padding-left: 20px;
    padding-right: 20px;
}

.main-headline {
    margin: 0;
    color: #FFF;
    font-family: "EB Garamond", serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 600;
    line-height: 90%;
}

.main-text {
    margin: 0;
    color: #FFF;
    font-family: "Inter", serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 31.2px;
    max-width: 786px;
}

.main_btns {
    display: flex;
    flex-direction: row;
    gap: 25px;
    margin-top: 25px;
}

.main_high-btn button {
    padding: 16px 67px 16px 30px;
    border: 0px;
    border-radius: 16px;
    background: #B7806F;
    cursor: pointer;
    color: #FFF;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 25.2px;
    background-image: url(../img/strelka.svg);
    background-size: 22px;
    background-position: right 26px center;
    background-repeat: no-repeat;
    transition: 0.2s;
}

.main_high-btn button:hover,
.main_high-btn button:active {
    background-color: #A96B5F;
    transition: 0.2s;
}

.mini_btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.mini-btn {
    background: #FFF;
    width: 48px;
    height: 48px;
    border-radius: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.2s;
}

.mini-btn:hover,
.mini-btn:active {
    transform: scale(1.1);
    transition: 0.2s;
}

.mini-btn-1 {
    background-image: url(../img/tg.svg);
    background-repeat: no-repeat;
}

.mini-btn-2 {
    background-image: url(../img/phone.svg);
    background-repeat: no-repeat;
}

.about_container {
    overflow-x: hidden;
}

.about-con {
    padding-top: 60px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
}

.about-headline {
    margin: 0;
    padding: 0;
    font-family: "EB Garamond", serif;
    font-weight: 600;
    color: #111;
    font-size: 60px;
    font-style: normal;
    line-height: 54px;
}

.about-text {
    color: #111;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    max-width: 869px;
    margin-bottom: 25px;
}

.about-photos {
    display: flex;
    flex-direction: row;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    cursor: grab;
    scrollbar-width: none;
    margin-right: -100vw;
    padding-right: 100vw;
    margin-left: -100vw;
    padding-left: 100vw;
}

.c1 {
    flex-shrink: 0;
}

.services_container {
    background-color: #111;
    padding-top: 60px;
    padding-bottom: 80px;
}

.services-headline {
    color: #FFF;
    font-family: "EB Garamond", serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 54px;
    margin: 0;
}

.services_con {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

.services-text {
    color: #F3F3F3;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    margin: 0;
}

.accordion-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ac {
    width: 100%;
    background: #F3F3F3;
    box-sizing: border-box;
    border-radius: 30px;
    padding: 0px;
}

.ac-header {
    padding: 0;
    margin: 0;
}

.ac-trigger {
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border: none;
    background: #F3F3F3;
    padding: 0px;
    box-sizing: border-box;
    border-radius: 30px;
    padding: 20px;
}

.is-active .ac-trigger {
    padding: 0px;
    padding-bottom: 20px;
}

.is-active {
    padding: 20px;
}

.ac-item_title {
    color: #111;
    font-family: "EB Garamond", serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 31.2px;
}

.ac-item_accord {
    width: 40px;
    height: 40px;
    background-image: url(../img/plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.5s;
}

.is-active .ac-item_accord {
    transform: rotate(45deg);
    transition: 0.5s;
}

.ac-panel {
    overflow: hidden;
    background-color: #FFFF;
    border-radius: 20px;
    height: 100%;
    padding: 0px;
    margin: 0;
}

.ac-panel_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.is-active .ac-panel {
    padding: 10px 20px;
}

.ac-panel_item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ac-panel_item_title {
    margin: 0;
    padding: 0px;
    color: #111;
    font-family: "EB Garamond", serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 26.4px;
    max-width: 80%;
}

.ac-panel_block {
    display: flex;
    flex-direction: row;
    gap: 56px;
    align-items: center;
}

.ac-panel_price {
    color: #111;
    font-family: "EB Garamond", serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 26.4px;
}

.ac-panel_link {
    padding: 11px 38px;
    border-radius: 15px;
    background: #B7806F;
    transition: 0.2s;
}

.ac-panel_link:hover,
.ac-panel_link:active {
    background: #A96B5F;
    transition: 0.2s;
}

.ac-panel_link button {
    border: 0px;
    background: transparent;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
    cursor: pointer;
}

.reviews_con {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.reviews-headline {
    margin: 0;
    padding: 0;
    color: #07070D;
    font-family: "EB Garamond";
    font-size: 60px;
    font-style: normal;
    font-weight: 600;
    line-height: 54px;
}

.swiper-wrapper {
    padding-bottom: 40px;
}

.swiper-slide {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 15px;
    height: 100%;
    width: 100% !important;
    box-sizing: border-box;
}

.review-card {
    border-radius: 20px;
    background: #E8E6E2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    height: 100%;
}

.name-star_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.review-author {
    margin: 0;
    padding: 0;
    color: #07070D;
    font-family: Inter;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 26.4px;
}

.star_block {
    width: 96px;
    height: 15px;
    background-image: url(../img/stars.svg);
    background-repeat: no-repeat;
}

.review-text {
    display: flex;
    margin: 0;
    padding: 0;
    color: #07070D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
    flex-grow: 1;
}

.review-date {
    margin: 0;
    padding: 0;
    color: #666666;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.2px;
    margin-top: auto;
}

.swiper-pagination {
    bottom: 0px !important;
}

.swiper-pagination-bullet {
    margin: 0 8px !important;
    width: 10px !important;
    height: 10px !important;
}

.swiper-pagination-bullet-active {
    background: #B7806F !important;
}

footer {
    background-color: #111;
}

.footer_con {
    max-width: 1090px;
    padding: 50px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    padding-left: 20px;
}

.footer_logo {
    width: 100px;
    height: 142px;
    margin-bottom: 20px;
}

.footer_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_left a {
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 31.2px;
    transition: 0.2s;
}

.footer_left a:hover,
.footer_left a:active {
    color: #B7806F;
    transition: 0.2s;
}

.footer_item {
    margin: 0;
    padding: 0;
    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 31.2px;
}

.footer_item:last-child {
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
}

.footer_right iframe {
    border-radius: 20px;
    margin-right: 20px;
    height: 100%;
}

.burger-block {
    width: 30px;
    height: 23px;
    background-image: url(../img/burger.svg);
    background-repeat: no-repeat;
    display: none;
    background-position: center;
}

.burger {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.header__nav {
    display: none;
}

.close {
    width: 23px;
    height: 25px;
    background-image: url(../img/burger-close.png);
    background-repeat: no-repeat;
}

.header__nav--active {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 75vw;
    height: 100vh;
    background-color: #E8E6E2;
    box-shadow: 0 0 10px #888;
}

.btn_us button {
    background-image: none;
    padding: 16px 30px;
}

.zap_block {
    display: flex;
    gap: 10px;
}

.personal-cards {
    margin-top: 30px;
}

.personal_card {
    background-color: #E8E6E2;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 20px;
}

.personal_card img {
    border-radius: 20px;
    padding-bottom: 10px;
    box-sizing: border-box;
    width: 280px;
    height: 290px;
    object-fit: cover;
    object-position: top;
}

.personal_headline {
    margin: 0;
    padding: 0;
    padding-bottom: 10px;
    color: #07070D;
    font-family: "EB Garamond";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 31.2px;
}

.personal_text {
    margin: 0;
    padding: 0;
    color: #111;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.4px;
    padding-bottom: 15px;
}

.personal_btn {
    padding: 10px 14px;
    border: 0px;
    border-radius: 14px;
    background: #B7806F;
    cursor: pointer;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 25.2px;
    transition: 0.2s;
}

.sert_head {
    margin-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@media screen and (max-width: 1200px) {
    .c1 {
        max-width: 440px;
        max-height: 300px;
        height: auto;
    }
}

@media screen and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid img:nth-child(1),
    .grid img:nth-child(2) {
        display: none;
    }

    .personal_card {
        max-width: 260px;
    }

    .personal_card img {
        max-width: 220px;
    }

    header {
        height: 90px;
    }

    .logo img {
        height: 84px;
        width: 60px;
    }

    nav ul {
        gap: 30px;
    }

    .nav-link {
        font-size: 16px;
    }

    .nav_button-link button {
        font-size: 16px;
        padding: 10px 30px;
    }

    .main-con {
        padding-top: 0;
        justify-content: center;
        height: calc(100vh - 90px);
        max-height: 600px;
    }

    .main-headline {
        font-size: 50px;
    }

    .main-text {
        font-size: 18px;
        max-width: 730px;
    }

    .main_btns {
        margin-top: 0;
    }

    .main_high-btn button {
        font-size: 16px;
        background-size: 18px;
        background-position: right 20px center;
        padding: 12px 50px 12px 20px;
    }

    .btn_us button {
        background-image: none;
        padding: 12px 20px;
    }


    .mini-btn {
        width: 40px;
        height: 40px;
    }

    .about-headline,
    .services-headline,
    .reviews-headline {
        font-size: 48px;
        line-height: 50px;
    }

    .about-text {
        font-size: 16px;
    }

    .c1 {
        max-width: 400px;
        max-height: 260px;
    }

    .swiper-slide {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
        width: 100% !important;
    }

    .footer_right {
        margin-right: 20px;
    }

    .footer_right iframe {
        width: 100%;
        max-width: 420px;
    }

    .footer_left {
        gap: 0;
    }

    .footer_logo {
        width: 80px;
        height: 113px;
        margin-bottom: 40px;
    }

    .footer_item {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .personal_card {
        width: 240px;
    }

    .personal_headline {
        font-size: 20px;
        line-height: 26px;
    }

    .personal_card img {
        max-width: 200px;
        max-height: 240px;
    }

    .personal_text {
        font-size: 14px;
    }

    .personal_btn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .ac-panel_item_title {
        max-width: 100%;
    }

    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    header {
        height: 80px;
    }

    .header-container {
        padding: 20px;
    }

    .logo img {
        height: 70px;
        width: 55px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .nav_button-link button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .main-con {
        height: auto;
        padding-top: 80px;
        padding-bottom: 80px;
        gap: 20px;
    }

    .main-headline {
        font-size: 40px;
        line-height: 1.2;
    }

    .main-text {
        font-size: 16px;
        line-height: 1.4;
        max-width: 100%;
    }

    .main_btns {
        gap: 20px;
        margin-top: 10px;
    }

    .main_high-btn button {
        font-size: 16px;
        background-position: right 20px center;
    }

    .mini_btns {
        justify-content: center;
    }

    .about-con {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .about-headline {
        font-size: 36px;
        line-height: 1.2;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.4;
    }

    .about-photos {
        gap: 12px;
    }

    .c1 {
        max-width: 280px;
        max-height: 210px;
    }

    .services_container {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .services-headline {
        font-size: 36px;
        line-height: 1.2;
    }

    .services-text {
        font-size: 16px;
    }

    .accordion-list {
        gap: 20px;
    }

    .ac-trigger {
        padding: 15px;
    }

    .ac-item_title {
        font-size: 20px;
    }

    .ac-item_accord {
        width: 30px;
        height: 30px;
        background-size: contain;
    }

    .ac-panel_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .ac-panel_item:last-child {
        border-bottom: none;
    }

    .ac-panel_item_title {
        font-size: 18px;
    }

    .ac-panel_block {
        width: 100%;
        justify-content: space-between;
        gap: 20px;
    }

    .ac-panel_price {
        font-size: 18px;
    }

    .ac-panel_link {
        padding: 8px 20px;
    }

    .ac-panel_link button {
        font-size: 14px;
    }

    .reviews_con {
        padding: 40px 20px;
        gap: 30px;
    }

    .reviews-headline {
        font-size: 36px;
        line-height: 1.2;
    }

    .swiper-slide {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .review-card:nth-child(6) {
        display: none;
    }

    .review-card:nth-child(5) {
        display: none;
    }

    .review-card {
        padding: 20px;
    }

    .review-author {
        font-size: 18px;
    }

    .star_block {
        width: 80px;
        height: 12px;
        background-size: contain;
    }

    .review-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .footer_con {
        padding: 40px 20px;
        gap: 30px;
    }

    .footer_logo {
        width: 80px;
        height: auto;
        margin-bottom: 15px;
    }

    .footer_left a,
    .footer_item {
        font-size: 16px;
        line-height: 1.4;
    }

    .footer_item:last-child {
        margin-top: 15px;
        font-size: 12px;
    }

    .footer_right iframe {
        width: 100%;
    }

    .footer_right {
        margin: 0;
    }
}

@media screen and (max-width: 610px) {
    nav {
        display: none;
    }

    .burger-block {
        display: block;
    }

    .footer_con {
        flex-direction: column;
    }

    .footer_right iframe {
        min-height: 200px;
        margin: 0;
    }

    .zap_block {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn_us1 {
        display: none;
    }

    .btn_us2 {
        display: block !important;
    }
}

@media screen and (max-width: 500px) {
    .main_high-btn button {
        padding: 10px 48px 10px 18px;
    }

    .btn_us button {
        background-image: none;
        padding: 10px 18px;
    }
}

@media screen and (max-width: 480px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .main-headline {
        font-size: 32px;
    }

    .main-text {
        font-size: 14px;
    }

    .about-headline,
    .services-headline,
    .reviews-headline {
        font-size: 28px;
    }

    .nav-link {
        font-size: 14px;
    }

    nav ul {
        gap: 12px;
    }

    .ac-item_title {
        font-size: 18px;
    }

    .ac-panel_item_title {
        font-size: 16px;
    }

    .ac-panel_price {
        font-size: 16px;
    }

    .review-card {
        padding: 15px;
    }

    .personal_card {
        width: 260px;
    }
}

@media screen and (max-width: 391px) {
    .mini_btns {
        display: none;
    }
}

@media screen and (max-width: 340px) {
    .ac-panel_link {
        padding: 6px 10px;
    }
}