/*
Theme Name: Cosmetology Theme
Description:  тема для сайта косметолога
Version: 1.0
*/

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

body {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    color: #493A34;
}

input,
textarea {
    outline: none;
}

ul {
    list-style: none;
}

h1,
h2 {
    font-family: 'Gilroy', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;

}

.burger {
    display: none;
}

.menu-item a {
    font-family: 'Gilroy', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #493A34;
}

/* Хедер */
.main-header {
    background: #fff;
    padding: 10px 0;
}

.header-container {
    max-width: 1164px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
}

.container {
    max-width: 1164px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width:1487px) {
    .header-container {
        width: 1164px;
    }
}

/* Логотип */
.logo img {
    height: 50px;
    width: auto;
}

.bg-logo {
    margin: 0 auto;
    width: 305px;
}

/* Основное меню */
.main-menu .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.main-menu .menu li a {
    text-decoration: none;
    color: #493A34;
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu .menu li a:hover {
    color: #d4a86a;
}

/* Правая часть */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Соцсети */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link img {
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
}

.social-link:hover img {
    opacity: 1;
}

/* Телефон */
.header-phone a {
    text-decoration: none;
    color: #493A34;
    font-weight: bold;
    font-size: 28px;
    white-space: nowrap;
}

/* Базовые стили меню */
.main-menu .menu {
    display: flex;
    list-style: none;
    margin: 0 20px;
    gap: clamp(20px, 3vw, 65px);
}

.main-menu .menu li a {
    text-decoration: none;
    color: #493A34;
    font-weight: 500;
    transition: color 0.3s;
}

.main-menu .menu li a:hover {
    color: #d4a86a;
}

/* Адаптивность для планшетов (768px - 1024px) */
@media (max-width: 1024px) {
    .main-menu .menu {
        gap: 20px;

    }

    .main-menu .menu li a {
        font-size: 14px;
    }

    .social-link img {
        width: 24px;
        height: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для мобильных (до 768px) */
@media (max-width: 970px) {

    .main-menu,
    .social-links g {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        flex-wrap: wrap;
        position: relative;
    }

    .main-menu {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .main-menu.active {
        display: block;
        /* Показываем при активации */
    }

    .main-menu .menu {
        flex-direction: column;
        gap: 10px;
        background: white;
        padding: 20px;
    }
}

.hero {
    background: url(./images/background.png) no-repeat 0px center/cover;
    width: 100%;
    position: relative;
    display: flex;
}

.hero-content {
    padding: 100px 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.cosmetologist {
    height: fit-content;
    width: 400px;
    position: absolute;
    bottom: 0;
    left: 0;
}

h2,
h3,
h4,
button {
    font-family: 'Playfair Display';
}

h3 {
    font-size: 50px;
    font-weight: 400;
    line-height: 45px;
}

.stripe {
    padding: 28px 0 32px;
}

.bg-1 {
    background: #F0EEED;
}

.bg-2 {
    background: #E0D7CC;
}

.hero-text {
    width: 44%;

}

.fs-22 {
    font-size: 22px;
}

h2 {
    font-size: 52px;
    font-weight: 400;
    line-height: 60px;
    margin-bottom: 25px;
}

h2 span {
    display: block;
    margin-left: -120px;
}

.border {
    border: 1px solid #493A34;
    padding: 10px 40px;
    border-radius: 50px;
    width: fit-content;
    line-height: 20px;
    margin-bottom: 90px;
}

button {
    width: 100%;
    background: #C38467;
    font-size: 28px;
    color: #fff;
    border-radius: 50px;
    border: none;
    width: 526px;
    padding: 18px;
    transition: all 0.3s ease-in-out;
}

button:hover {
    cursor: pointer;
    background: #a77057;
}

.open-consultation-modal {
    margin-left: -30px;
    margin-top: 30px;
}

#consultation-btn {
    height: 50px;
}




.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image img {
    width: 100%;
    height: 304px;
    object-fit: cover;
}

.service-content {
    width: 100%;
    padding: 18px 30px 23px;
    border: 1px solid #BEB1AE;
    margin-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title,
.equipment-card__title {
    color: #AA6B4F;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 28px;
}

.service-excerpt,
.equipment-excerpt {
    color: #93827E;
    margin-bottom: 44px;
}

.equipment-card {
    display: flex;
}

.service-actions a {
    color: #fff;
    padding: 12px 30px;
    background: #BEB1AE;
    display: block;
    margin-top: 20px;
    width: fit-content;
    border-radius: 40px;
}

.none {
    display: none;
}




/* Страница отдельной услуги */
/* .service-single-page {
    padding: 60px 0;
} */

.breadcrumbs-container {
    border-top: 1px solid #E9E3E0;
    margin-top: 10px;
    padding-top: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #d4a86a;
}

.breadcrumbs span {
    color: #333;
    font-weight: 500;
    margin: 2px;
}

.breadcrumbs > *:nth-child(2) {
    text-transform: uppercase;
}

.post-page {
    margin-left: 10px;
    margin-right: 10px;
}

/* Заголовок услуги */
.services-grid {
    padding: 60px 0 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}


.service-single-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Изображение услуги */
.service-single-image {
    margin: 30px 0;
    text-align: center;
}

.service-featured-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Мета-информация (цена, длительность) */
.service-single-meta {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.service-single-price,
.service-single-duration {
    text-align: center;
}

.meta-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.duration-value {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
}

/* Основное описание */
.service-single-description {
    line-height: 1.7;
    font-size: 16px;
    margin: 40px 0;
}

.service-single-description h2,
.service-single-description h3 {
    color: #333;
    margin: 30px 0 15px 0;
    font-family: 'Playfair Display', serif;
}

.service-single-description ul,
.service-single-description ol {
    margin: 15px 0;
    padding-left: 20px;
}

.service-single-description li {
    margin-bottom: 8px;
}

/* Дополнительные блоки */
.service-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.info-block {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-block h3 {
    color: #333;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.info-block p {
    color: #666;
    line-height: 1.6;
}

/* Кнопки действий */
.service-single-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: #d4a86a;
    color: white;
}

.btn-primary:hover {
    background: #b89359;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e8e8e8;
}

.load-more-container {
    display: flex;
    justify-content: flex-end;
}

.load-more-btn {
    border: 1px solid #BEB1AE;
    border-radius: 70px;
    padding: 15px 70px;
}

.load-more-container a {
    color: #BEB1AE;
    font-size: 16px;
}


/* Форма консультации */

.consultation-form-section {
    margin-top: 65px;
    background: url('./images/consultation-bg.svg') no-repeat center/cover;
}

.consultation-form-wrapper {
    display: flex;
}

.consultation-form-wrapper .form-header h3 {
    width: 50%;
    color: #AA6B4F;
    padding-top: 40px;
}

.consultation-form-wrapper div:nth-child(2) {
    position: relative;
    z-index: 1001;
}

.consultation-form-wrapper div:nth-child(2) img {
    bottom: 0;
    left: -119px;
    position: absolute;
}

.consultation-form {
    padding-bottom: 56px;
}

.form-fields-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(278px, 1fr));
    gap: 20px;
    height: 50px;
    margin-top: 46px;
    margin-bottom: 30px;
}

.form-fields-row input,
#consultation-btn {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    border: 1px solid #BEB1AE;
    border-radius: 50px;
}

.form-fields-row input {
    padding-left: 30px;
    outline: none;
}

/* Скрываем стандартный чекбокс */
.checkbox-label input[type="checkbox"] {
    display: none;
}

/* Стили для кастомного чекбокса */
.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #BEB1AE;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Состояние когда чекбокс отмечен */
.checkbox-label input[type="checkbox"]:checked {
    border-color: #BEB1AE;
}

/* Галочка */
.checkbox-label input[type="checkbox"]:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 1.5px;
    top: 3px;
    width: 12px;
    height: 9px;
    background: url(./images/checkmark.svg);
}

.agreement-text {
    font-size: 14px;
    color: #93827E;
    cursor: pointer;
    user-select: none;
}



.equipment-subtitle {
    margin-top: 15px;
}

.font-brown {
    color: #AA6B4F;
}

.equipment-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}

.equipment-card__content {
    border: 1px solid #BEB1AE;
    padding: 44px 30px 0;
    width: 100%;
}

.equipment-card__image {
    object-fit: cover;
    width: 48%;
}


.learn-more-form-section {
    margin-top: 65px;
    padding: 70px 0 0;
    background: url(./images/bg-2.svg)no-repeat center center / cover;
}

.learn-more-form-wrapper {
    display: flex;
}

.learn-more-form {
    position: relative;
    z-index: 1001;
    padding-bottom: 70px;
}

.learn-more-form-wrapper div:nth-child(1) {
    flex: 2;
}

.learn-more-form-wrapper div:nth-child(2) {
    position: relative;
    flex: 1;
}

.learn-more-form-wrapper div:nth-child(2) img {
    bottom: 0;
    right: -170px;
    position: absolute;
}


.callback-form-section {
    background: url(./images/bg-3.svg) no-repeat center center/ cover;
}

.callback-form-wrapper {
    display: flex;
}

.callback-form-wrapper div:nth-child(1) {
    flex: 2;
    position: relative;
}

.callback-form-wrapper div:nth-child(1) img {
    position: absolute;
    width: 125%;
    left: -218px;
    bottom: 0;
}

.callback-form-wrapper #callback-form {
    flex: 1;
    padding-bottom: 70px;
}

.callback-form h3 {
    padding: 70px 0 60px;
}

#callback-form button {
    width: 100%;
    margin: 0 0 40px;
    height: 50px;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
}

#callback-form textarea {
    width: 100%;
    height: 137px;
    border-radius: 20px;
    border: 1px solid #BEB1AE;
    padding: 20px 0 0 40px;
    margin-bottom: 40px;
    resize: none;
}

#callback-form input {
    height: 50px;
    width: 100%;
    border-radius: 50px;
    margin-bottom: 20px;
    padding-left: 40px;
    border: 1px solid #BEB1AE;
}

#callback-form input::placeholder,
#callback-form textarea::placeholder {
    color: #93827E;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
}



.footer-section {
    background: #E0D7CC;
}

.footer-wrapper {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 48px;
}

#subscription input {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    border: 1px solid #BEB1AE;
    padding: 0 0 0 17px;
    margin-bottom: 30px;
}

#subscription input::placeholder {
    color: #93827E;
    font-size: 14px;
    font-family: 'Gilroy', sans-serif;
}

#social-list {
    display: flex;
    gap: 20px;
}

#social-list li a {
    display: block;
    background-size: contain;
    height: 14px;
    width: 17px;
    background-repeat: no-repeat;
    background-position: center bottom;
}

#social-list li:nth-child(1) a {
    background-image: url(./images/social/VK.svg);

}

#social-list li:nth-child(2) a {
    background-image: url(./images/social/Youtube.svg);

}

#social-list li:nth-child(3) a {
    background-image: url(./images/social/Instagram.svg);

}

#social-list li:nth-child(4) a {
    background-image: url(./images/social/Whatsapp.svg);

}

#social-list li:nth-child(5) a {
    background-image: url(./images/social/Facebook.svg);

}

#social-list li:nth-child(6) a {
    background-image: url(./images/social/Pinterest.svg);

}

#social-list li:nth-child(7) a {
    background-image: url(./images/social/Telegram.svg);

}

#social-list li:nth-child(8) a {
    background-image: url(./images/social/Tiktok.svg);

}

.footer-column:nth-child(1) {
    flex: 1.5;
    margin-right: 80px;
}

.footer-column:nth-child(2) {
    flex: 1;
}

.footer-column:nth-child(3) {
    flex: 1.5;
}

.footer-column:nth-child(4) {
    display: flex;
    flex: 1.5;
    align-items: flex-end;
    flex-direction: column;
}

.footer-column ul {
    margin-top: 28px;
}

#callback-btn {
    padding: 0;
    margin: 11px 0 21px;
    font-size: 16px;
    background: transparent;
    font-family: 'Gilroy', sans-serif;
    border: 1px solid #493A34;
    color: #493A34;
    height: 50px;
    width: 100%;

}

.footer-column h5 {
    font-size: 24px;
    color: #C38467;
    font-weight: 400;
    ;
    font-family: 'Gilroy', sans-serif;
}

.footer-column ul li {
    margin-bottom: 18px;
}

.footer-column ul li a {
    color: #493A34;
}

.tel {
    font-size: 20px;
    font-weight: bold;
    margin-top: 17px;
}

.tel span {
    font-size: 34px;
}

.mail {
    font-size: 14px;
    background: url(./images/social/mail.svg) no-repeat right center;
    padding-right: 30px;
}

.address {
    width: 70%;
    margin-top: 11px;
    font-size: 14px;
    text-align: right;
    padding-right: 30px;
    background: url(./images/social/place.svg) no-repeat right top;
}

.under-footer-section {
    background: #BEB1AE;
    padding: 23px 0;
}

.under-footer-section>p {
    color: #fff;
    font-size: 12px;
    width: 40%;
}

.work-time div {
    font-size: 11px;
    color: #fff;
}

.weekday,
.weekend {
    font-size: 13px;
    padding: 5px 12px 5px 0;
}

.weekday span {
    margin-right: 5px;
}


.weekend {
    color: #fff;
    padding: 5px 12px;
    border-radius: 12px;
    background: #C38467;
    width: 64px;
}

.schedule {
    width: 200px;
}

.schedule div:first-child,
.work-time {
    display: flex;
    justify-content: space-between;
}

.work-time {
    margin-top: 10px;
}

.under-footer-section .container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

@media (max-width: 1470px) {
    .cosmetologist {
        position: static;
    }

    .hero-text div,
    .hero-text h2,
    .hero-text p {
        text-align: center;
        width: auto;
    }

    .hero-text button {
        margin: 40px 0;
        width: 100%;
        font-size: 18px;
    }

    .hero-content {
        flex-direction: column-reverse;
        align-items: center;
        padding: 100px 0 0;
    }

    .consultation-form-wrapper {
        flex-direction: column;
    }

    .consultation-form-wrapper div:nth-child(2) {
        margin: 0 auto;
    }

    .consultation-form-wrapper div:nth-child(2) img {
        position: static;
        width: 100%;
    }

    .consultation-form input {
        display: block;
        height: 50px;
    }

    .consultation-form {
        display: flex;
        flex-direction: column;
    }

    .form-fields-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-fields-row {
        height: auto;
    }



    .equipment-grid {
        grid-template-columns: auto;
    }

    .learn-more-form-wrapper div:nth-child(2) {
        width: 60%;
        margin: 0 auto;
    }

    .learn-more-form-wrapper div:nth-child(2) img {
        position: static;
        width: 100%;
    }

    .learn-more-form-wrapper {
        flex-direction: column;
    }

    .callback-form-wrapper {
        flex-direction: column-reverse;
    }

    .callback-form-wrapper div:nth-child(1) img {
        width: 100%;
        position: static;
    }

    .equipment-card__content {
        padding: 25px 12px 0;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .under-footer-section .container {
        display: flex;
        gap: 40px;

    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
        height: 30px;
        width: 30px;
        background: url(./images/menu.svg) no-repeat;
    }


    .social-links {
        display: none;
    }

    .hero-text {
        width: 80%;
    }

    .hero-text h2 {
        font-size: 40px;
    }

    .services-grid {
        max-width: 370px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .form-fields-row {
        display: flex;
        flex-direction: column;
        width: 319px;
        height: auto;
    }

    .form-fields-row input,
    #consultation-btn {
        height: 50px;
    }

    .consultation-form-wrapper {
        flex-direction: column;
    }

    .consultation-form-wrapper div:nth-child(2) img {
        margin: 0 auto;
        left: auto;
    }

    #callback-btn {
        width: 100%;
    }

    .under-footer-section p {
        width: 100%;
    }

    .under-footer-section .container {
        flex-direction: column-reverse;
    }
}


/* Адаптивность */
@media (max-width: 768px) {
    .service-single-title {
        font-size: 2em;
    }

    .service-single-meta {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .service-additional-info {
        grid-template-columns: 1fr;
    }

    .service-single-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .equipment-grid {
        grid-template-columns: auto;
    }

    .equipment-card__content {
        width: 100%;
    }

    .footer-column:nth-child(4) {
        align-items: flex-start;
    }

    .mail {
        background-position: left center;
        padding-left: 25px;
    }

    .address {
        background-position: left top;
        width: auto;
        padding-left: 25px;
    }
}

@media (max-width: 640px) {
    .logo img {
        display: none;
    }

    .burger-menu {
        top: 54px
    }

    .hero-text h2 {
        margin-right: -48px;
    }

    .cosmetologist {
        width: 54%;
    }

    .equipment-card {
        flex-direction: column;
    }

    .equipment-card__image {
        width: 100%;
    }

    .hero-text p {
        display: none;
    }

    .hero-text div {
        margin-bottom: 0;
    }

    .tel {
        margin: 17px auto 0;
    }

}

@media (max-width: 390px) {

    .cosmetologist {
        margin-top: 10px;
    }

    h3 {
        font-size: 32px;
        line-height: 32px;
    }

    .hero-text h2 {
        line-height: 38px;
        font-size: 35px;
    }

    .none {
        display: block;
        width: fit-content;
        margin: 0 auto 30px;
        font-size: 18px;
    }

    .hero-text button {
        display: none;
    }

    .hero-text div {
        margin: 0 54px;
        font-size: 10px;
        padding: 2px 16px;
        margin-bottom: 0;
        width: max-content;
    }

    .hero-content {
        padding: 10px 0 0;
    }
}



/* Стили для бургер-меню */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
}



.burger-menu .menu {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.burger-menu .menu li {
    margin: 15px 0;
}

.burger-menu .menu a {
    font-size: 18px;
    color: #493A34;
    text-decoration: none;
}

.burger-menu .menu a:hover {
    color: #d4a86a;
}

.burger-menu .header-right {
    margin-top: 30px;
    flex-direction: column;
    align-items: flex-start;
}

.burger-menu .social-links {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

/* Иконка закрытия при активном меню */
.burger.active {
    background: url('./images/burger_close.svg') no-repeat center/ contain;
    background-size: 24px;
}

/* Иконка меню по умолчанию */
.burger:not(.active) {
    background: url('./images/Меню.svg') no-repeat center;
    background-size: 24px;
    margin: 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

body.burger-active .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.burger-menu {
    position: fixed;
    top: 74px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #F0EEED;
    z-index: 1001;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.3s ease;
}

@media (max-width: 640px) {
    .burger-menu {
        top: 54px
    }
}

.burger-menu .menu {
    margin-top: 30px;
}

.burger-menu.active {
    right: 0;
}

.burger-menu .fs-22 {
    font-size: 10px;
    margin-left: 107px;
    margin-top: 10px;
}

.burger-menu .border {
    padding: 5px 15px;
    margin-bottom: 0;
}

.burger-menu .tel {
    font-size: 30px;
}

.burger-menu .tel span {
    font-size: 43px;
}

.burger-menu h2 {
    line-height: 38px;
    font-size: 35px;
    margin: 0 109px;
}

.burger-menu h2 span {
    margin-left: -73px;
}

.burger-phone-mobile {
    display: none;
}

.header-phone a {
    text-decoration: none;
    color: #493A34;
    font-weight: bold;
    font-size: 28px;
    white-space: nowrap;
}

@media (max-width: 970px) {

    .main-menu,
    .social-links {
        display: none;
    }

    .header-phone {
        display: block !important;
        order: 2;
    }
}

/* Бургер на мобилках */
@media (max-width: 970px) {
    .burger {
        display: block;
        order: 3;
        /* бургер будет после телефона */
    }

    /* Телефон в бургер-меню */
    .burger-phone-mobile {
        display: block;
        margin-bottom: 30px;
        text-align: center;
    }

    .burger-phone-mobile .phone-link {
        font-size: 24px;
        font-weight: bold;
        color: #493A34;
        text-decoration: none;
    }
}

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

#yamap0 {
    height: 471px !important;
    position: relative;
}

@media (min-width: 1440px) {
    .contacts-page .callback-form-wrapper div:nth-child(1) img {
        width: 111%;
    }
}


.contacts-map {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.contacts-map .contact-details .tel {
    background: url(./images/contacts/whatsapp.svg) no-repeat center left;
    padding: 5px 0 0 55px;
    margin: 0 0 15px;
}

.contact-mail {
    background: url(./images/contacts/mail.svg) no-repeat center left;
    padding: 15px 0 15px 55px;
    margin: 0 0 15px;
}

.contact-address {
    background: url(./images/contacts/place.svg) no-repeat center left;
    padding: 15px 0 15px 55px;
    margin: 0 0 15px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details div #social-list li a {
    margin-top: 20px;
    width: 19px;
    height: 25px;
}

@media (max-width: 970px) {
    .contacts-map {
        grid-template-columns: 1fr;
    }
}


.blog-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 60px;
}

.blog-card {
    display: flex;
}

.blog-card__image {
    object-fit: cover;
    width: 48%;
}

.blog-card__title {
    color: #AA6B4F;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 28px;
}

.blog-card__content {
    width: 100%;
    border: 1px solid #BEB1AE;
    padding: 20px 30px 20px;
}

.blog-card__read-more {
    color: #fff;
    padding: 12px 0;
    background: #BEB1AE;
    display: block;
    text-align: center;
    margin-top: 20px;
    border-radius: 40px;
}

.article-single-page {
    color: #93827E;
    font-size: 16px;
}

.article-title {
    color: #493A34;
}



.article-body ol,
.service-single-page ol {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
    margin-top: 30px;
}

.article-body ol li,
.service-single-page ol li {
    counter-increment: item;
    margin-bottom: 18px;
}

.article-body ol li:before,
.service-single-page ol li:before{
    content: counter(item);
    margin-right: 10px;
    font-weight: bold;
    color: #AA6B4F;
}

.article-body ul,
.service-single-page ul {
    margin-top: 30px;
}

.article-body ul li:before,
.service-single-page ul li:before {
    content: url(./images/ul.svg);
    padding-right: 14px;
}

.article-body ul li,
.service-single-page ul li {
    margin-bottom: 20px;
}


.article-body h5,
.service-single-page h5 {
    font-size: 24px;
    color: #a77057;
    font-weight: 300;
    margin-top: 30px;
}

.article-body h6,
.service-single-page h6  {
    font-weight: 400;
    font-size: 16px;
    color: #a77057;
    margin-top: 20px;
}

.article-body p, .service-single-page p {
    margin-top: 20px;
    line-height: 22px;
}


.ds-markdown-paragraph {
    display: inline;
    margin: 0;
}

.article-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
}

.sidebar-news-grid .blog-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.sidebar-latest-news {
    margin-left: 30px;
}

.sidebar-news-grid .blog-card img {
    width: 100%;
}

.sidebar-title {
    margin-bottom: 40px;
    color: #493A34;
}

.sidebar-all-news-link {
    width: 100%;
    border: 1px solid #BEB1AE;
    margin-top: 20px;
    border-radius: 100px;
    text-align: center;
    padding: 16px 0;
}

.sidebar-all-news-link a {
    display: block;
    color: #93827E;
}

#sign-up-btn {
    height: 50px;
    width: auto;
    padding: 0;
    font-size: 16px;
    font-family: 'Gilroy', sans-serif;
}

.sign-up-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.sign-up-form-section {
    background: url(./images/consultation-bg.svg) no-repeat center / cover;
    padding: 60px 0 60px;
}

.sign-up-form-section .container .simple-form div .form-header {
    text-align: center;
}

.sign-up-form-section .container .simple-form div .form-agreement {
    text-align: center;
}

.form-description {
    margin: 0 auto;
    width: 58%;
}

#sign-up-form .form-fields-row {
    margin-top: 25px;
}

.service-single-page {
    padding-bottom: 40px;
}

.service-single-page h5 {
    color: #AA6B4F;
    font-size: 24px;
    font-family: 'Playfair Display';
    margin-top: 27px;
    font-weight: 400;
}

.service-single-page p:not(.form-subtitle),
.service-description {
    color: #93827E;
    margin-top: 20px;
}

.service-description {
    margin-top: 15px;
}

.form-subtitle {
    color: #AA6B4F;
    margin: 15px 0 40px;
}

.service-content-wrapper .cards-container {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.service-content-wrapper .cards-container .card-item {
    padding: 0 25px 50px;
    border: 1px solid #BEB1AE;
}

.card-description p {
    margin-top: 20px;
}


/* ОСНОВНЫЕ СТИЛИ СЛАЙДЕРА */
.custom-slider {
    position: relative;
}

.slider-container {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    margin-top: 40px;
}

/* КАЖДЫЙ СЛАЙД */
.slider-track .slide {
    border: 1px solid #BEB1AE;
    padding: 30px;
    flex: 0 0 calc(33.333% - 14px);
    background: white;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.slide-image {
    width: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    padding-top: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slide-description {
    color: #5d6d7e;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.slide-description p {
    margin: 0 0 15px 0;
}

.slide-description p:last-child {
    margin-bottom: 0;
}

/* НАВИГАЦИЯ */
.slider-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
    gap: 100px;
}

/* ТОЧКИ */
.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #BEB1AE;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #C38467;
}

/* КНОПКИ */
.slider-buttons {
    display: flex;
    gap: 15px;
}

.slider-prev,
.slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #C38467;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: #B06A50;
    transform: scale(1.05);
}

/* ИКОНКИ СТРЕЛОК (фоном) */
.slider-prev::before,
.slider-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
}

.slider-next::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .slider-track .slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {

    .slider-track .slide {
        flex: 0 0 100%;
    }

    .slider-nav {
        display: flex;
        flex-direction: row-reverse;
        gap: 20px;
        margin-top: 25px;
        justify-content: space-between;
    }

    .slider-dots {
        order: 2;
    }

    .slider-buttons {
        order: 1;
    }
}

.slider-main-description p {
    margin-top: 16px;
}

.section-slider {
    background: #F0EEED;
    margin-top: 60px;
    padding: 40px 0;
}

.slider-header h5 {
    margin: 0;
}




/* Контейнер слайдера отзывов */
.reviews-slider-container {
    margin-bottom: 40px;
}

.reviews-slider .slider-container {
    overflow: hidden;
}

.reviews-slider .slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

/* Карточка отзыва */
.review-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

.review-card {
    background: #F0EEED;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Строка с именем, рейтингом и датой */
.review-header-line {
    font-weight: 400;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.review-name {
    color: #AA6B4F;
    font-size: 18px;
    margin: 0;
}

.review-service-info {
    color: #93827E;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

/* Рейтинг звездами */
.review-rating {
    display: flex;
}

.star-rating-svg {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star-rating-svg .star-icon {
    width: 18px;
    height: 18px;
    display: block;
}

/* Дата отзыва */
.review-date {
    color: #93827E;
}

/* Контент отзыва */
.review-content {
    flex: 1;
    color: #93827E;
    line-height: 1.6;
    font-size: 15px;
}

.review-content p {
    margin-bottom: 10px;
    color: #93827E;
}

.review-content p:last-child {
    margin-bottom: 0;
}

/* Навигация слайдера */
.reviews-slider .slider-nav {
    display: flex;
    margin-top: 30px;
    gap: 100px;
}

.reviews-slider .slider-dots {
    display: flex;
    gap: 10px;
}

.reviews-slider .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #BEB1AE;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.reviews-slider .slider-dot.active {
    background: #C38467;
}

.reviews-slider .slider-buttons {
    display: flex;
    gap: 15px;
}

.reviews-slider .slider-prev,
.reviews-slider .slider-next {
    width: 44px;
    height: 44px;
    border: none;
    background: #C38467;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.reviews-slider .slider-prev:hover,
.reviews-slider .slider-next:hover {
    background: #8a543b;
}



/* Стили для одиночной страницы отзыва */
.review-single-page {
    padding: 80px 0;
}

.review-header {
    text-align: center;
    margin-bottom: 30px;
}

.review-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.client-info {
    background: #F0EEED;
    padding: 20px;
    margin-bottom: 30px;
}

.client-name {
    color: #AA6B4F;
    margin-bottom: 10px;
}

.review-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #93827E;
}

.review-meta {
    margin-top: 30px;
    padding-top: 20px;
}

.review-service {
    font-size: 16px;
    color: #93827E;
}

.review-service strong {
    color: #333;
}

/* Адаптивность */
@media (max-width: 992px) {
    .review-slide {
        flex: 0 0 calc(50% - 10px);
    }

    .reviews-slider[data-visible] {
        --visible-slides: 2;
    }
}

@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 100%;
    }

    .reviews-slider[data-visible] {
        --visible-slides: 1;
    }

    .review-header-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .review-meta {
        width: 100%;
        justify-content: space-between;
    }

    .service-reviews-section {
        padding: 60px 0;
    }

    .service-reviews-section .section-title {
        font-size: 26px;
    }

    .review-single-page {
        padding: 60px 0;
    }

    .review-title {
        font-size: 28px;
    }

    .service-content-wrapper .cards-container {
        grid-template-columns: 1fr;
    }

    .sign-up-grid {
        margin: auto auto 20px;
        grid-template-columns: 1fr;
        max-width: 90%;
    }

    .table-header h5 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 20px;
    }

    .review-name {
        font-size: 16px;
    }

    .review-content {
        font-size: 14px;
    }
}


@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: auto;
    }
}


@media (max-width: 768px) {
    .blog-card {
        flex-direction: column;
    }

    .blog-card__image,
    .blog-card__content {
        width: 100%;
        max-width: 370px;
        margin: 0 auto;
    }

}

@media (max-width:1064px) {
    .article-body {
        grid-template-columns: auto;
    }

    .sidebar-news-grid .blog-card img {
        display: none;
        margin: 0 auto;
    }

    .sidebar-title {
        font-size: 24px;
        display: flex;
        justify-content: center;
    }

    .sidebar-latest-news {
        margin: 0;
    }

    .sidebar-title {
        position: relative;
        padding: 15px 20px;
        margin: 0 -20px 20px -20px;
        background: #F0EEED;
        width: calc(100% + 40px);
    }

    .article-sidebar {
        overflow: visible;
        margin-top: 20px;
    }

    .blog-card__content {
        max-width: 360px;
        margin: 0 auto;
    }
}

.styled-prices-table {
    margin-top: 50px;
}

.table-header h5 {
    margin: 0;
}

.table-header,
.table-row {
    display: flex;
    justify-content: space-between;
}

.row-even {
    background-color: #F7F7F7;
    padding: 23px 21px;
}

.table-header,
.row-odd {
    background-color: #F0EEED;
    padding: 23px 21px;
}

.table-cell {
    color: #93827E;
}

.service-cell {
    margin-right: 15px;
}


.quote-text>p {
    background: #F0EEED url('./images/quote.svg') no-repeat 20px 20px;
    padding: 24px 27px 60px 91px;
    position: relative;
}

.important-inline {
    position: absolute;
    bottom: 25px;
    right: 30px;
    color: #C38467;

}

@media (max-width: 390px) {

    .quote-text p {
        background: #F0EEED url('./images/quote.svg') no-repeat 20px 30px;
        padding: 79px 20px 66px 20px;
    }
}