/* --- ПЕРЕМЕННЫЕ И ОБНУЛЕНИЕ --- */
:root {
    --dark-bg: #333333;       /* Цвет Top Bar */
    --accent-blue: #707c8b;   /* Серо-голубой цвет (кнопки) */
    --text-dark: #222222;     /* Основной текст */
    --text-light: #ffffff;    /* Белый текст */
    --border-color: #e0e0e0;  /* Разделители */
    --container-width: 1230px;
}

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

body {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.4;
    background-color: #f5f5f5;
    font-style: normal;
    padding-top: 147px;
}

body.no-scroll {
    overflow: hidden; /* Блокировка скролла при открытом меню */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- HEADER TOP --- */
header {
    font-family: 'Helvetica';
    font-style: normal;
}

section {
    font-family: 'Rubik';
}

.header__top {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 5px 0;
    font-size: 18px;
}

.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__link {
    color: var(--text-light);
    margin-right: 25px;
    z-index: 999;
}

.header__link:hover {
    color: var(--accent-blue);
}
.header__link p {
    margin: 0 !important;  
    padding: 0 !important;
    pointer-events: none;
}
.header__callback {
    color: var(--accent-blue);
    text-decoration: underline;
    margin-left: 15px;
}

.header__callback:hover {
    filter: brightness(90%);
}

.header__social {
    display: flex;
    gap: 10px;
}

.social-item {
    width: 36px;
    height: 36px;
    background-color: var(--text-light);
    border-radius: 15%;
    /* Иконки можно добавить через background-image или шрифтовые иконки */
}
.tg {
    background-image: url('/assets/img/icons/telegram.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.tg:hover {
    background-image: url('/assets/img/icons/telegramh.png');
}

.inst {
    background-image: url('/assets/img/icons/instagram.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.inst:hover {
    background-image: url('/assets/img/icons/instagramh.png');
}

.vb {
    background-image: url('/assets/img/icons/viber.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.vb:hover {
    background-image: url('/assets/img/icons/viberh.png');
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease; /* Плавный переход */
}

/* Стили, когда страница прокручена */
.header--fixed {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px); /* Модный эффект размытия */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header--fixed .header__top {
    display: none; /* Скрываем верхнюю полосу с контактами для экономии места */
}

.header--fixed .header__main {
    padding: 10px 0; /* Уменьшаем внутренние отступы */
}
/* Контейнер родителя */
.menu__item {
    position: relative; /* Чтобы саб-меню позиционировалось относительно этой ссылки */
}

/* Стили вложенного меню */
.sub-menu {
    position: absolute;
    top: 100%; /* Появляется сразу под ссылкой */
    left: -20px;
    width: 160px;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    
    /* Состояние по умолчанию (скрыто) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Показываем при наведении */
.menu__item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Элементы вложенного меню */
.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.sub-menu li a:hover {
    background-color: #f9f9f9;
    color: #8f9cab; /* Акцент при наведении */
}
/* --- HEADER MAIN & NAV --- */
.header__main {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    background: #fff;
}

.header__contacts {
    display: flex;
    align-items: center;
}
.header__contacts a {
    display: flex;
    align-items: center;
}

.phone {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    border-radius: 15%;
    background-image: url('/assets/img/icons/telephone-symbol-button.png');
    background-repeat: no-repeat;
    background-position: center;
}

.mail{
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 5px;
    border-radius: 15%;
    background-image: url('/assets/img/icons/email.png');
    background-repeat: no-repeat;
    background-position: center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Maybe one Day DEMO';
    color: #333;
    font-size: 40px;
    line-height: 0.75;
}

.logo img {
    height: 70px;
    margin-right: 10px;
}

.logo a {
    display: flex;
}

.menu {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.menu__link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    font-style: normal !important;
    transition: 0;
}

.menu__link:hover {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    transition: 0;
}

/* --- BURGER MENU --- */
.menu-toggle {
    display: none; /* Скрыт на десктопе */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

.section-title {
    text-align: center;
    font-family: 'Century Gothic';
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 36px;
}

/* --- HERO SECTION --- */
.hero {
    height: calc(100vh - 142px);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 15px;
}

.hero__title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: 'Rubik';
}

.btn {
    display: inline-flex;
    padding: 15px 10px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;
}

.btn:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */
}



.btn--calc img {
    margin-right: 5px;
}

/* --- MEDIA QUERIES --- */

/* Планшеты */
@media (max-width: 1024px) {
    .menu { gap: 10px; }
    .menu__link { font-size: 11px; }
}

/* Мобильные устройства (Бургер включается здесь) */
@media (max-width: 768px) {
    .header__contacts {
        display: flex;
        flex-direction: column;
    }
    .header__contacts a {
        margin-right: 0;
    }
    .header__top-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
        z-index: 1000;
    }

    .menu.active {
        left: 0;
        display: block !important;
        text-align: center;
    }

    .menu__item {
        margin: 15px 0;
    }

    .menu__link {
        font-size: 18px;
    }

    /* Анимация бургера в крестик */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero__title {
        font-size: 24px;
    }
}

.section-padding {
    padding: 40px 0;
    background-color: #f5f5f5; /* Светло-серый фон как на макете */
}

.about__card {
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    height: 730px;
}

/* Сетка фотографий */
.about__gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 730px;
}

.about__gallery > * {
    flex: 1; /* Это сделает все дочерние элементы одинаковыми по высоте */
}

.about__img {
    min-height: 0;   
    overflow: hidden; 
    height: 100%;   
}

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

.about__img--large {
    grid-row: 1 / 3; 
    grid-column: 1 / 2;
}

.about__img--top {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.about__img--bottom {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
}

/* Контент */
.about__text p {
    margin-bottom: 15px;
    font-size: 20px;
    color: #444;
    line-height: 1.3;
}

.about__banner {
    background-color: var(--accent-blue);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 14px 0;
    text-transform: uppercase;
    border-radius: 5px;
}

.about__list-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.about__list {
    margin-bottom: 25px;
}

.about__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 20px;
    margin-left: 10px;
}

.about__list li::before {
    content: '✓'; /* Галочка как в макете */
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* Адаптив для секции */
@media (max-width: 992px) {
    .about__inner {
        grid-template-columns: 1fr;
    }
    .about__gallery {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .about__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    .about__img--large {
        grid-row: span 1;
    }
}

/* --- SERVICES SECTION --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Минимальный зазор между плитками для эффекта монолитности */
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.service-card {
    position: relative;
    height: 190px;
    overflow: hidden;
    display: block;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Темный градиент поверх фото */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    transition: background 0.3s ease;
}

.service-card__content {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 25px;
    z-index: 2;
    color: #fff;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    position: relative;
}

/* Белая полоска под заголовком */
.service-card__content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 90px;
    height: 1px;
    background-color: var(--accent-blue);
}

.service-card__content::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -10px;
    height: 90px;
    width: 1px;
    background-color: var(--accent-blue);
}

.service-card__price {
    font-size: 13px;
    opacity: 0.9;
}

/* Эффект при наведении */
.service-card:hover .service-card__img {
    transform: scale(1.05);
}

.service-card:hover::after {
    background: rgba(0, 0, 0, 0.4); /* Делаем светлее при наведении */
}

/* Адаптив для услуг */
@media (max-width: 992px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        height: 200px;
    }
}

/* --- ADVANTAGES SECTION --- */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.adv-card {
    position: relative;
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.adv-card--image {
    grid-column: span 2;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.adv-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-card__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-card__overlay-title {
    color: #fff;
    font-family: 'Rubik';
    text-transform: uppercase;
    font-size: 36px;
    font-weight: bold;
    padding: 10px 20px;
}

.adv-card__icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    margin-bottom: 15px;
}

.adv-card__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.1;
}

.adv-card__title::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 2px;
    background-color: var(--accent-blue);
    top: 160px;
    left: 20px;
}

.adv-card__text {
    font-size: 16px;
    color: #777;
    line-height: 1.1;
    text-align: left;
}

/* --- CTA BANNER --- */
.cta-banner {
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.cta-banner__img {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

.cta-banner__img img {
    border-radius: 50%;
    object-fit: cover;
}

.cta-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-banner__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-banner__text {
    font-size: 24px;
    color: #333333;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .adv-card--image {
        grid-column: span 2;
        order: -1;
    }
}

@media (max-width: 480px) {
    .advantages__grid {
        grid-template-columns: 1fr;
    }
    .adv-card--image {
        grid-column: span 1;
        height: 200px;
        order: -1;
    }
}

/* --- GALLERY SECTION --- */
.gallery__filter-wrapper {
    background: #fff;
    padding: 15px;
    margin-bottom: 2px; /* Минимальный зазор перед сеткой */
    border-radius: 4px 4px 0 0;
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

.gallery__filter-item {
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 4px;
    transition: 0.3s;
}

.gallery__filter-item.active {
    background-color: var(--accent-blue);
    color: #fff;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 0 0 4px 4px;
}

.gallery__item {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* Адаптив */
@media (max-width: 768px) {
    .gallery__filters {
        flex-wrap: wrap;
        gap: 10px;
    }
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ SECTION --- */
.faq__card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.faq__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.faq__item {
    border-top: 1px solid #eee;
}

.faq__item:last-of-type {
    border-bottom: 1px solid #eee;
}

.faq__question {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
}

.faq__icon {
    font-size: 24px;
    color: #333;
    line-height: 1;
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    font-size: 14px;
    color: #555;
    padding-bottom: 0;
}

/* Состояние открытого вопроса */
.faq__item.active .faq__answer {
    max-height: 500px; /* Достаточное значение для контента */
    padding-bottom: 20px;
}

.faq__list {
    margin-top: 15px;
    list-style: none;
}

.faq__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.faq__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}
.faq__list--numbered {
    margin-top: 15px;
    list-style: none;
    counter-reset: faq-counter; /* Инициализируем счетчик */
}

.faq__list--numbered li {
    position: relative;
    padding-left: 30px; /* Увеличил отступ, чтобы цифры не слипались с текстом */
    margin-bottom: 8px;
    counter-increment: faq-counter; /* Увеличиваем значение на каждом элементе */
}

/* Стили для самих цифр */
.faq__list--numbered li::before {
    content: counter(faq-counter) "."; /* Выводим номер с точкой */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-variant-numeric: tabular-nums; /* Чтобы цифры были одной ширины */
}
.faq__image img {
    width: 100%;
    object-fit: cover;
}

.btn--callback {
    margin: 0 auto;
    margin-top: 30px;
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
}

/* Адаптив */
@media (max-width: 992px) {
    .faq__inner {
        grid-template-columns: 1fr;
    }
    .faq__image {
        display: none; /* Скрываем фото на планшетах для экономии места */
    }
}

/* --- CLIENTS SECTION --- */
.clients.section-padding {
    padding-bottom: 80px; /* Запас снизу, так как футера нет */
}

.clients__slider-container {
    position: relative;
    padding-bottom: 60px; /* Место для кнопок внизу */
}

.clients__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки на десктопе */
    gap: 40px;
    align-items: center;
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(0); /* Логотипы приглушены как на макете */
    opacity: 0.8;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Кнопки внизу справа */
.clients__controls {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-btn:hover {
    border-color: var(--accent-blue);
    background: #f0f0f0;
}

/* --- АДАПТИВ --- */
@media (max-width: 992px) {
    .clients__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .clients__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients__controls {
        right: 50%;
        transform: translateX(50%); /* Центрируем кнопки на мобилках */
    }
}

@media (max-width: 480px) {
    .clients__grid {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER --- */
.footer {
    background-color: #333333; /* Темно-серый фон */
    color: #ffffff;
    padding: 15px 0;
    font-size: 18px;
    font-family: 'Helvetica';
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr 1.5fr; /* 5 колонок по макету */
    gap: 30px;
    align-items: start;
}

.logo--white {
    color: #fff;
}
.footer__copy {
    color: #999999;
    font-size: 13px;
}

.footer__menu {
    list-style: none;
    padding: 0;
}

.footer__menu li {
    margin-bottom: 12px;
}

.footer__menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.footer__menu a:hover {
    color: var(--accent-blue);
}

.footer__callback {
    color: var(--accent-blue);
    text-decoration: underline;
    display: block;
    margin-top: 10px;
}

.footer__callback:hover {
    filter: brightness(90%);
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 15px;
}

.footer__contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer__contact-item a:hover {
    color: var(--accent-blue);
}

.footer__social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 4px; /* Квадратные со скруглением как на макете */
    display: inline-block;
}

/* --- АДАПТИВ ФУТЕРА --- */
@media (max-width: 1024px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer__col--logo {
        grid-column: span 2;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__col--logo, .footer__col--contacts {
        grid-column: span 1;
    }
    .footer__contact-item {
        justify-content: center;
    }
    .footer__social {
        justify-content: center;
    }
}

/* --- Твой основной CSS остается без изменений до начала MEDIA QUERIES --- */

/* ... (здесь весь твой код до раздела MEDIA QUERIES) ... */

/* --- АДАПТИВНАЯ ВЕРСТКА --- */

/* Планшеты (1024px и ниже) */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    
    .menu { gap: 20px; }
    .menu__link { font-size: 14px; }
    
    .logo { font-size: 32px; }
    .logo img { height: 55px; }

    .about__inner { 
        grid-template-columns: 1fr; 
        height: auto; 
    }
    .about__gallery { height: 450px; }

    .footer__inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .advantages__grid {
        display: grid;
        /* Создаем 2 колонки, чтобы остальные элементы делили пространство пополам */
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }

    /* Растягиваем именно карточку с картинкой на всю ширину */
    .adv-card--image {
        grid-column: 1 / -1;
        /* Если нужно, чтобы она всегда была САМОЙ ПЕРВОЙ сверху */
        order: -1; 
    }

    /* Все остальные карточки сбрасываем в дефолт (они станут по 1/2) */
    .adv-card:not(.adv-card--image) {
        grid-column: auto;
        order: 0;
    }
}

/* Мобильные устройства (768px и ниже) */
@media (max-width: 768px) {
    .header__top {
        padding: 8px 0;
    }

    .header__top-inner {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap; /* Строго в одну линию */
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }

    /* Делаем текст мелким, чтобы всё поместилось */
    .header__top-inner {
        font-size: 11px; /* Минимально читабельный размер */
    }

    .header__contacts, 
    .header__info, 
    .header__social {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    /* Показываем почту и всё остальное */
    .header__top .header__link, 
    .header__top .header__callback,
    .header__contacts a[href^="mailto"],
    .header__work-time { 
        display: flex !important;
        white-space: nowrap; /* Запрещаем перенос текста на новую строку */
        margin: 0;
    }

    /* Уменьшаем иконки, чтобы они не раздували ряд */
    .mail, .phone {
        width: 14px;
        height: 14px;
        background-size: contain;
        margin-right: 3px;
    }

    .social-item {
        width: 24px;
        height: 24px;
    }
    
    /* 2. ШРИФТЫ: Пропорциональное уменьшение */
    .section-title { font-size: 26px; margin-bottom: 30px; }
    .hero__title { font-size: 28px; }
    .about__text p, .about__list li, .about__list-title, .about__banner { font-size: 16px; }
    .adv-card__title { font-size: 20px; }
    .cta-banner__title { font-size: 22px; }
    .cta-banner__text { font-size: 16px; }
    .footer { font-size: 16px; }
    .adv-card__title::after { top: 150px;}
    .footer__inner { gap: 0px;}
    .footer__callback {margin-bottom: 10px;}
    .footer__copy { margin-top: 10px;text-align: center;}

    /* 3. СЕТКИ И ПОРЯДОК ЭЛЕМЕНТОВ */
    .header__main { padding: 10px 0; }
    .logo { font-size: 28px; }
    .logo img { height: 50px; }

    /* Бургер и меню */
    .menu-toggle { display: flex; }
    .menu {
        position: fixed; top: 0; left: -100%; width: 100%; height: 100vh;
        background-color: #fff; flex-direction: column; 
        align-items: center; justify-content: center;
        transition: 0.4s; z-index: 1000;
    }
    .menu.active { left: 0; }
    .menu__link { font-size: 16px; }

    /* Hero */
    .hero { height: 60vh; }

    /* About */
    .about__gallery { height: 350px; }

    /* Services */
    .services__grid { grid-template-columns: repeat(2, 1fr); }

    /* Advantages */
    .advantages__grid { grid-template-columns: 1fr; }
    .adv-card--image { grid-column: span 1; height: 250px; order: -1; } /* Картинка наверх */
    .adv-card__overlay-title { font-size: 28px; }
    .advantages__grid {
        display: grid;
        /* Создаем 2 колонки, чтобы остальные элементы делили пространство пополам */
        grid-template-columns: repeat(2, 1fr); 
    }

    /* Растягиваем именно карточку с картинкой на всю ширину */
    .adv-card--image {
        grid-column: 1 / -1;
        /* Если нужно, чтобы она всегда была САМОЙ ПЕРВОЙ сверху */
        order: -1; 
    }

    /* Все остальные карточки сбрасываем в дефолт (они станут по 1/2) */
    .adv-card:not(.adv-card--image) {
        grid-column: auto;
        order: 0;
    }

    /* CTA Banner */
    .cta-banner { flex-direction: column; text-align: center; padding: 20px; }
    .cta-banner__img { width: 150px; height: 150px; }

    /* FAQ */
    .faq__inner { grid-template-columns: 1fr; }
    .faq__image { display: none; }
    .faq__card { padding: 20px; }

    /* Clients */
    .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Footer */
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__col--logo { grid-column: span 2; text-align: center; margin-bottom: 10px; }
    .btn {justify-content: center; font-size: 16px; width: 85%; max-width: 240px; margin: 0 auto; display: flex;}
}

/* Маленькие смартфоны (480px и ниже) */
@media (max-width: 480px) {
    /* 1. ШАПКА: Убираем почту, режим работы и лишние ссылки */
    .header__work-time, .header__social, .hero__title br, .cta-banner__text br, .header__contacts a[href^="mailto"] { 
        display: none !important; 
     }
    .section-padding { padding: 40px 0; }
    .section-title { font-size: 22px; }
    
    .services__grid { grid-template-columns: 1fr; }
    
    .about__gallery { 
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(3, 180px); 
        height: auto; 
    }
    .advantages__grid {
        display: grid;
        /* Все элементы в одну колонку на 100% ширины */
        grid-template-columns: 1fr; 
        gap: 12px;
    }

    /* Делаем второй элемент (картинку) первым визуально */
    .advantages__grid > *:nth-child(2) {
        order: -1;
        grid-column: auto; /* Сбрасываем растяжение, если оно было */
    }

    /* Все остальные элементы идут следом в обычном порядке */
    .advantages__grid > * {
        order: 0;
    }
    .about__img--large { grid-row: span 1; grid-column: span 1; }
    .about__img--top, .about__img--bottom { grid-column: span 1; }

    .btn {justify-content: center; font-size: 14px; width: 85%; max-width: 240px; margin: 0 auto; display: flex;}

    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .footer__col--logo { grid-column: span 1; }
    .footer__col--logo {
        display: flex;
        justify-content: center;
    }
    .footer__contact-item { justify-content: center; }
    .footer__social { justify-content: center; }
}


.content-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    max-width: 900px; /* Ограничиваем ширину для удобства чтения */
}

.content-text p {
    margin-bottom: 20px;
}

/* Стили для вступления (первый абзац) */
.content-text p:first-of-type {
    font-size: 18px;
    color: #444;
}

/* Стили для списка услуг */
.content-text ul {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.content-text li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Маркер списка (можно заменить на цвет бренда) */
.content-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue); /* Золотистый акцент */
    border-radius: 50%;
}

/* Выделение сильных сторон или акцентов */
.content-text strong {
    color: #000;
    font-weight: 700;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .content-text {
        font-size: 15px;
    }
    .content-text p:first-of-type {
        font-size: 16px;
    }
}

.breadcrumbs {
    margin-top: 30px;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs__item {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs__link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs__link:hover {
    color: #000;
}

.breadcrumbs__current {
    color: #333;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

.content-text {
    line-height: 1.6;
    color: #333;
}

.content-text h2 {
    margin: 30px 0 15px;
}

main {
    font-family: 'Rubik';
}

:root {
    --gray-bg: #ececec;
    --accent-color: #26ced6;
    --text-dark: #333;
    --text-gray: #888;
}

/* Modal Logic */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 480px;
    padding: 40px;
    border-radius: 4px;
    position: relative;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #ccc;
}

/* Form Styles */
.form-title {
    text-align: center;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.label-hint {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.3;
}

.input-field {
    width: 100%;
    background-color: var(--gray-bg);
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

.textarea-field {
    min-height: 100px;
    resize: none;
}

/* Checkbox Custom */
.checkbox-list {
    margin: 20px 0;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    min-width: 18px;
    height: 18px;
    border: 1px solid #777;
    margin-right: 12px;
    position: relative;
    background: #fff;
}

.custom-checkbox input:checked + .checkmark::after {
    content: "\2713";
    position: absolute;
    left: 4px;
    top: 0px;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text a {
    color: inherit;
    text-decoration: underline;
}

/* Button */
.submit-btn {
    width: 100%;
    background-color: var(--accent-blue);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-blue);
    box-shadow: 0 4px 10px var(--accent-blue);
}

/* intl-tel-input Fix */
.iti { width: 100%; }

/* Адаптивные правки */
@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px; /* Уменьшаем внутренние отступы попапа */
        width: 95%; /* Даем чуть больше места на очень узких экранах */
    }

    .form-title {
        font-size: 20px; /* Уменьшаем заголовок, чтобы не переносился некрасиво */
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 15px; /* Чуть меньше шрифт подписей */
    }

    .label-hint {
        font-size: 12px; /* Компактная подсказка */
    }

    .input-field {
        padding: 10px 12px; /* Поля чуть менее громоздкие */
        font-size: 14px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    .checkbox-text {
        font-size: 13px; /* Текст условий чуть меньше */
    }
}

/* Фикс для очень низких экранов (горизонтальный режим телефона) */
@media (max-height: 500px) {
    .modal-content {
        max-height: 85vh;
        overflow-y: auto; /* Появляется скролл внутри попапа, если он не влезает */
    }
    .form-title {
        margin-bottom: 15px;
    }
}

.side-form input[type="checkbox"], .review-form input[type="checkbox"]{
    /* Меняем стандартный голубой на серый */
    accent-color: #777777; 
    /* Размер, чтобы лучше смотрелось */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Контейнер-сетка */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    /* Плавность в обе стороны. 
       0.4s — оптимально, чтобы не казалось затянутым, но было мягким */
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Состояние при открытии */
.faq__item.active .faq__answer {
    grid-template-rows: 1fr;
}

/* Внутренний контент */
.faq__answer-inner {
    min-height: 0;
    opacity: 0;
    transform: translateY(-10px); /* Начальная позиция чуть выше */
    /* Важно: transition для контента */
    transition: 
        opacity 0.3s ease, 
        transform 0.3s ease,
        padding 0.4s ease;
}

/* Эффект при открытии для контента */
.faq__item.active .faq__answer-inner {
    opacity: 1;
    transform: translateY(0);
    padding-top: 10px;
    padding-bottom: 25px;
}

:root {
    --accent-color: #ffcc00; /* Твой желтый/золотой */
    --text-dark: #333;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0,0,0,0.15);
    --radius: 8px;
}

.cookie-notice {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Сделаем справа, так привычнее для "помощников" */
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Эффект матового стекла */
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: cookieAppear 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex-direction: column;
}

.cookie-notice__content {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-notice__icon {
    font-size: 32px;
    line-height: 1;
}

.cookie-notice__title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.cookie-notice__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.cookie-notice__text a {
    color: inherit;
    text-decoration: underline;
}

/* Кнопки */
.cookie-notice__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.cookie-btn {
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.cookie-btn--link {
    background: transparent;
    color: #999;
}

.cookie-btn--link:hover {
    color: #666;
}

.cookie-btn--primary {
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.cookie-btn--primary:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */


}

@keyframes cookieAppear {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .cookie-notice {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
    }
}

.cookie-notice__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Выравнивание к правому краю */
    gap: 20px; /* Увеличил отступ между кнопками для чистоты */
}

.cookie-btn--link {
    background: transparent;
    color: #999;
    padding: 0;
    text-decoration: none;
}

.cookie-btn--link:hover {
    color: #333;
    text-decoration: underline;
}

.cookie-btn--primary {
    background: var(--accent-blue);
    color: #fff;
    padding: 12px 24px; /* Чуть увеличил кнопку для солидности */
    border-radius: 10px;
}

.cookie-notice__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Кнопки прижаты к началу (влево) */
    gap: 25px; /* Увеличили расстояние, чтобы кнопки не слипались */
}

/* Стили для главной кнопки */
.cookie-btn--primary {
    background: var(--accent-blue);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
}

/* Стили для ссылки отклонения */
.cookie-btn--link {
    background: transparent;
    color: #a0a0a0;
    font-size: 13px;
    font-weight: 500;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.cookie-btn--link:hover {
    color: #666;
    border-bottom-color: #ccc;
}

.callback-card {
    background: #fff;
    width: 95%;
    max-width: 750px; /* Форма стала шире (горизонтальная) */
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    font-family: 'Rubik';
}

.callback-card__title {
    font-size: 24px;
    font-weight: 300;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.3;
}

.callback-form__row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.callback-form .form-input {
    width: 250px;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    color: #333;
}

.btn--callback-submit {
    max-width: 250px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.btn--callback-submit:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */

}

/* Стили таймера */
.callback-timer {
    font-size: 32px;
    font-weight: 300;
    color: #555;
    font-family: 'Courier New', Courier, monospace; /* Моноширинный шрифт для цифр */
    margin-left: auto;
}

.callback-card__footer {
    margin-top: 20px;
}

.callback-link-alt {
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed #ccc;
}

.callback-link-alt:hover {
    color: #999;
    border-bottom-color: #999;
}

@media (max-width: 600px) {
    .callback-form__row {
        flex-direction: column;
        align-items: stretch;
    }
    .callback-timer {
        text-align: center;
        margin: 15px 0;
    }
}

.callback-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 10000;
    display: none; /* Появляется только после закрытия формы */
}


@keyframes widgetPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Оверлей */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none; align-items: center; justify-content: center;
    z-index: 10000; backdrop-filter: blur(3px);
}

/* Карточка */
.callback-card {
    background: #fff; padding: 40px; border-radius: 4px;
    width: 95%; max-width: 750px; position: relative;
}

.callback-card__title { font-size: 22px; color: #444; margin-bottom: 25px; font-weight: 300; }

.callback-form__row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }

.form-input { padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; }

.btn--callback-submit {
    background: var(--accent-blue); color: #fff; border: none; padding: 13px 25px;
    border-radius: 4px; cursor: pointer; font-size: 16px; transition: 0.3s;
}
.btn--callback-submit:hover {filter: brightness(90%);}

.callback-timer { font-size: 28px; color: #555; font-family: monospace; margin-left: auto; }

/* Дополнительные поля */
.callback-form__extra { display: none; margin-top: 20px; animation: fadeIn 0.4s; }
.extra-label { font-size: 14px; color: #888; margin-bottom: 8px; }
.extra-inputs { display: flex; gap: 10px; }

/* Виджет трубки */
.callback-widget {
    position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px;
    cursor: pointer; display: none; z-index: 9999;
}

.callback-widget__circle {
    position: absolute; width: 100%; height: 100%;
    background: var(--accent-blue); border-radius: 50%; opacity: 0.5;
    animation: widgetPulse 2s infinite;
}

.callback-widget__icon {
    position: absolute; width: 100%; height: 100%;
    background: var(--accent-blue); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.callback-widget__icon svg { width: 30px; }

@keyframes widgetPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.7); opacity: 0; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: 0; } }

.modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 28px; cursor: pointer; color: #ccc; }

/* Адаптивность для трубки */
@media (max-width: 768px) {
    .callback-widget {
        width: 50px;       /* Уменьшаем ширину */
        height: 50px;      /* Уменьшаем высоту */
        bottom: 20px;      /* Прижимаем чуть ближе к низу */
        right: 20px;       /* Прижимаем чуть ближе к краю */
    }

    .callback-widget__icon svg {
        width: 24px;       /* Уменьшаем саму иконку внутри */
    }

    /* Уменьшаем карточку формы, чтобы она не была на весь экран */
    .callback-card {
        padding: 25px 20px;
        width: 90%;
    }

    .callback-card__title {
        font-size: 18px;   /* Уменьшаем шрифт заголовка */
        margin-bottom: 15px;
    }

    .callback-form__row {
        flex-direction: column; /* Элементы формы встают друг под друга */
        align-items: stretch;
    }

    .callback-timer {
        margin: 10px auto 0;   /* Центрируем таймер под кнопкой */
        font-size: 24px;
    }
}

.menu-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.offer-card {
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(143, 156, 171, 0.2);
}

.offer-card__header {
    padding: 30px 20px;
    background-color: var(--accent-blue); /* Использую твой цвет из макета */
    color: #fff;
    text-align: center;
}

.offer-card__num {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
    opacity: 0.9;
}

.offer-card__price {
    font-family: 'Rubik', sans-serif;
    font-size: 34px;
    font-weight: 700;
}

.offer-card__price span {
    font-size: 14px;
    font-weight: 300;
    opacity: 0.85;
}

.offer-card__body {
    padding: 25px 20px;
    flex-grow: 1;
}

.menu-category-group {
    margin-bottom: 25px;
}

.menu-category__title {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-item {
    font-size: 13px;
    color: #555;
    padding: 5px 0 5px 18px;
    position: relative;
    line-height: 1.4;
}

/* Элегантная точка вместо тяжелой стрелки */
.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.offer-card__footer {
    padding: 25px 20px;
    background-color: #fafafa;
}

.btn--order-new {
    width: 100%;
    padding: 14px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.btn--order-new:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */

}

@media (max-width: 1150px) {
    .menu-offers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .menu-offers { grid-template-columns: 1fr; }
}

.booking-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.booking-content {
    flex: 0 0 66%; /* Занимает 2/3 */
}

.booking-form-container {
    flex: 0 0 calc(34% - 40px); /* Занимает 1/3 */
    position: sticky;
    top: 20px;
}

/* Стилизация вертикальной формы */
.side-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.side-form__title {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: center;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 15px;
}

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

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: #f4f4f4; /* Светло-серый фон как на твоем скрине формы */
    border: none;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.form-textarea {
    height: 100px;
    resize: none;
}

.form-contact-phonesboxes {
    margin: 20px 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    cursor: pointer;
}

.btn--submit {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.btn--submit:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */

}

/* Адаптивность */
@media (max-width: 992px) {
    .booking-wrapper {
        flex-direction: column;
    }
    .booking-content, .booking-form-container {
        flex: 0 0 100%;
    }
}

/* --- СЕКЦИЯ АКЦИЙ --- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.promo-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.promo-card__img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.promo-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.promo-card__title {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

/* --- ЛОГИКА ТЕКСТА "ПОДРОБНЕЕ" --- */
.promo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.promo-text-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 8px;
    
    /* Ограничение в 3 строки */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Когда добавлен класс активации (через JS) */
.promo-text-wrapper.is-expanded .promo-text-excerpt {
    display: block;
    -webkit-line-clamp: initial;
    overflow: visible;
}

.promo-more-btn {
    background: none;
    border: none;
    color: var(--accent-blue); /* Твой бирюзовый */
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-align: left;
    text-decoration: underline;
    width: fit-content;
}

.promo-more-btn:hover {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Адаптив */
@media (max-width: 850px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

/* Сетка 2 в ряд */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-card__img {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.review-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__title {
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Стили автора внизу */
.review-card__author {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-blue); /* Твой бирюзовый */
    text-transform: none;
}

/* Стили для обрезки (если не скопировал ранее) */
.promo-text-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Обрезаем на 3 строке */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
    color: #666;
}

.promo-text-wrapper.is-expanded .promo-text-excerpt {
    display: block;
    -webkit-line-clamp: initial;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
/* Кнопка "Добавить отзыв" */
.reviews-top {
    text-align: center;
    margin-bottom: 40px;
}

.btn--add-review {
    background-color: var(--accent-blue); /* Синий цвет как на твоем скрине */
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn--add-review:hover {
    filter: brightness(110%);
    box-shadow: 0 5px 15px var(--accent-blue);
}

/* Модальное окно */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.is-active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
}

/* Стилизация формы внутри модалки */
.review-form__title {
    font-family: 'Rubik', sans-serif;
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-note { color: green; font-size: 12px; margin-bottom: 5px; }
.form-subtext { font-size: 12px; color: #777; font-style: italic; margin-top: 5px; }

.btn--submit-review {
    width: 100%;
    background-color: var(--accent-blue); /* Твой бирюзовый */
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
}
.btn--submit-review:hover{
    
    filter: brightness(110%);
    box-shadow: 0 5px 15px var(--accent-blue);
    

}
.review-card__header {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 15px;
}

.review-card__user {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем имя под фото */
    flex: 0 0 90px;      /* Фиксированная ширина левой колонки */
}

.review-card__img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px; /* Отступ между фото и именем */
    border: 1px solid #eee;
}

.review-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__author {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-blue); /* Твой бирюзовый */
    text-align: center;
    line-height: 1.2;
}

.review-card__content-top {
    flex: 1;
    padding-top: 5px;
}

.review-card__title {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
}

/* Стили для обрезки текста остаются прежними */
.promo-text-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Теперь сделаем 2 строки для аккуратности */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 5px;
}

/* Контейнер контактов внутри 2/3 */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
contacts-grid-map {
    display: grid;
    margin-top: 40px;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
}

.contacts-info h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
}

.requisites {
    margin-top: 25px;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

/* Телефоны и соцсети */
.contact-phones {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-phones li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}
.contact-phones a{
    color: var(--text-dark);
}
.contact-phones a:hover {
    color: var(--accent-blue);
}
.provider {
    color: #e30613; /* Цвет логотипа A1 */
    font-size: 12px;
    font-weight: 900;
}

.contact-email a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
}

.contact-email a:hover {
    color: var(--accent-blue);
}

.social-block {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: #ccc;
    border-radius: 5px;
    display: inline-block;
    transition: 0.3s;
}
.footer__social .social-icon {
    background-color: #fff;
}

/* Примеры цветов для соцсетей при наведении */
.soc-ig:hover { background-color: #E1306C; }
.soc-vk:hover { background-color: #4C75A3; }
.soc-fb:hover { background-color: #3b5998; }

/* Адаптив для внутренних колонок контактов */
@media (max-width: 600px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* Кнопка "Загрузить еще" */
.btn-load-more {
    padding: 15px 40px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;
}

.btn-load-more:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */
    
}

/* Модальное окно увеличения */
.g-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.g-modal-wrap {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.g-modal-content {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.g-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Само модальное окно */
.g-modal {
    display: none;
    position: fixed;
    z-index: 99999; /* Максимальный приоритет */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

/* Кнопка закрытия */
.g-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 100000; /* Выше чем сама картинка */
    transition: transform 0.2s, color 0.2s;
    user-select: none;
}

.g-close:hover {
    color: #26c2c9; /* Твой бирюзовый */
    transform: scale(1.1);
}

/* Контейнер картинки */
.g-modal-wrap {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g-modal-content {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.inner-title {
    margin-bottom: 0px;
}

.info-wide-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Такая же тень, как у отзывов/форм */
    border: 1px solid #f0f0f0;
}

.info-wide-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

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

.info-wide-content strong {
    color: var(--text-dark);
    font-weight: 700;
}

/* Акцентная фраза в конце */
.info-accent {
    font-weight: 600;
    color: var(--accent-blue); /* Твой бирюзовый */
    border-left: 4px solid var(--accent-blue);
    padding-left: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .info-wide-card {
        padding: 25px;
    }
    .info-wide-content p {
        font-size: 16px;
    }
}

#callbackWidget {
    z-index: 999; /* Выше основного контента */
    cursor: pointer;
}

.buffet-grid {
    display: grid;
    /* 4 колонки на десктопе, авто-уменьшение на малых экранах */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 50px 0;
    align-items: flex-start;
}

@media (max-width: 1200px) {
    .buffet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .buffet-grid { grid-template-columns: 1fr; }
}

.buffet-card {
    border: 1px solid #eeeeee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.3s;
    transition: .3s;
    border-radius: 5px;
}

.buffet-card:hover { transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(143, 156, 171, 0.2); }

.buffet-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

/* Линия под иконкой как на фото */
.buffet-card__header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #f0f0f0;
}

.buffet-card__icon img { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ddd; padding: 5px; }
.buffet-card__title { font-size: 16px; font-weight: 800; margin: 0; text-transform: uppercase; }
.buffet-card__price { font-size: 15px; margin: 5px 0 0; color: #444; }

.buffet-accordion { flex-grow: 1; margin: 20px 0; }
.buffet-accordion__item { border-bottom: 1px solid #f0f0f0; }

.buffet-accordion__header {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buffet-accordion__header::after {
    content: '▼';
    font-size: 8px;
    color: #ccc;
    transition: 0.3s;
}

.buffet-accordion__item.active .buffet-accordion__header::after { transform: rotate(180deg); }

.buffet-accordion__content { display: none; padding-bottom: 15px; }
.buffet-accordion__item.active .buffet-accordion__content { display: block; }

.buffet-accordion__content ul { list-style: none; padding: 0; margin: 0; }
.buffet-accordion__content li { 
    font-size: 14px; 
    line-height: 1.6; 
    padding-left: 12px; 
    position: relative; 
    margin-bottom: 5px; 
}
.buffet-accordion__content li::before { content: '•'; position: absolute; left: 0; color: #000; }
.menu-info {
    padding: 40px 0 20px;
}

.menu-info__text {
    margin-bottom: 30px;
}

.menu-info__text p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #000;
    font-weight: 400;
}

/* Плашка */
.menu-prices-bar {
    display: flex;
    background-color: #f8f8f8; /* Светло-серый фон как на скрине */
    border: 1px solid #eeeeee;
    width: 100%;
}

.menu-prices-bar__item {
    flex: 1;
    padding: 15px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    border-right: 1px solid #eeeeee;
    white-space: nowrap;
}

.menu-prices-bar__item:last-child {
    border-right: none;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .menu-prices-bar {
        flex-direction: column;
    }
    .menu-prices-bar__item {
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        text-align: left;
        padding: 12px 20px;
    }
    .menu-prices-bar__item:last-child {
        border-bottom: none;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Цвет фона под твой стиль */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Поверх всего */
    transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader-content {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000000; /* Черный акцент в твоем стиле */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.preloader-content p {
    font-family: 'Maybe one Day DEMO';
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Класс для скрытия */
.preloader-hidden {
    opacity: 0;
    visibility: hidden; 
    pointer-events: none;
}

.price-table-section {
    padding: 50px 0;
}

/* Контейнер для центрирования и управления шириной 2/3 */
.price-table-wrapper {
    width: 66.666%; /* Занимает 2/3 экрана */
    margin: 0 auto; /* Центрируем */
}

.custom-price-table {
    width: 100%;
    border-collapse: collapse;
    font-family: sans-serif;
    border: 1px solid #000; /* Внешняя рамка */
}

.custom-price-table thead th {
    background-color: var(--accent-blue); /* Темно-бирюзовый из твоего макета */
    color: #ffffff;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 1px solid #000;
}

.custom-price-table tbody td {
    padding: 12px 20px;
    text-align: center;
    border: 1px solid #000;
    font-size: 15px;
    color: #000;
}

/* Зебра-эффект или просто белые строки (в макете белые) */
.custom-price-table tbody tr {
    background-color: #fff;
}

/* Адаптивность */
@media (max-width: 992px) {
    .price-table-wrapper {
        width: 80%; /* На планшетах чуть шире */
    }
}

@media (max-width: 600px) {
    .price-table-wrapper {
        width: 100%; /* На мобильных на весь экран */
        padding: 0 10px;
    }
    
    .custom-price-table thead th, 
    .custom-price-table tbody td {
        padding: 10px 5px;
        font-size: 13px; /* Уменьшаем шрифт для узких экранов */
    }
}

:root {
    --accent: #8f9cab;
}

.menu-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: flex-start;
}

.menu-card-new {
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 5px; /* Легкое скругление для современности */
}

.menu-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(143, 156, 171, 0.2);
    border-color: var(--accent);
}

.menu-card-new__header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f8f8f8;
}

.menu-card-new__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 15px;
}

.menu-card-new__label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.menu-card-new__price {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin: 0;
}

.menu-card-new__price span {
    font-size: 14px;
    font-weight: 400;
    color: #777;
}

.menu-card-new__content {
    padding: 25px;
    flex-grow: 1; /* Чтобы кнопки всегда были внизу в один ряд */
}

.menu-card-new__group {
    margin-bottom: 25px;
}

.menu-card-new__group h4 {
    color: var(--accent);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.menu-card-new__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-card-new__group li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    color: #444;
}

.menu-card-new__group li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.menu-card-new__btn {
    margin: 0 25px 25px;
    padding: 16px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.menu-card-new__btn:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */

}

/* Адаптивность */
@media (max-width: 1200px) {
    .menu-grid-new { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .menu-grid-new { grid-template-columns: 1fr; }
    .menu-card-new__btn { margin: 0 15px 15px; }
    .review-card {
        padding: 15px;
        
    }
    .review-card__title {
        font-size: 14px;
    }
    .content-text p{
        font-size: 14px;
    }
    .content-text h2 {
        font-size: 18px;
    }
    .info-wide-content p {
        font-size: 15px;
    }
    .info-accent{
        font-size: 14px;
    }
    .section-padding{
        padding: 20px 0;
    }
    .content-text li {
        font-size: 14px;
    }
    .cta-banner__title {
        font-size: 18px;
    }
    .cta-banner__text{
        font-size: 14px;
    }
    .content-text p:first-of-type{
        font-size: 15px;
    }
    .callback-form__row{
        align-items: center;
    }
    body {
        padding-top: 100px;
    }
}

@media (max-width: 992px) {
    /* 1. Контейнер меню */
    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding-top: 80px !important; /* Уменьшили верхний отступ всей панели */
        width: 100% !important;
    }

    /* 2. Основные пункты меню (Услуги, Меню, Галерея...) */
    .menu__item {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 12px !important; /* Сделали шаг между пунктами плотнее */
        transition: margin 0.3s ease;
    }

    /* Убираем лишний разрыв снизу, когда подменю открыто */
    .menu__item.active {
        margin-bottom: 5px !important; 
    }

    .menu__link {
        display: inline-block !important;
        font-size: 19px; /* Чуть компактнее основной шрифт */
        padding: 4px 0;
    }

    /* 3. Выпадающая "шторка" (Саб-меню) */
    .sub-menu {
        position: static !important;
        display: block !important;
        width: 100% !important;
        background-color: rgba(143, 156, 171, 0.04); /* Очень легкий тон для разделения */
        
        /* Скрытое состояние */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    }

    /* Раскрытое состояние саб-меню */
    .menu__item.active .sub-menu {
        max-height: 400px; /* Уменьшили лимит, чтобы анимация была быстрее */
        opacity: 1;
        padding: 8px 0 !important; /* Компактные отступы внутри списка */
        margin-top: 4px !important; /* Минимальный зазор от заголовка "Услуги" */
    }

    /* 4. Ссылки внутри подменю (Фуршет, Банкет...) */
    .sub-menu li {
        padding: 4px 0 !important; /* Плотно прижимаем пункты друг к другу */
        width: 100% !important;
    }

    .sub-menu li a {
        font-size: 15px !important; /* Текст вложенного меню визуально меньше */
        color: #777; /* Серый цвет, чтобы не спорил с основными пунктами */
        display: block !important;
        text-align: center !important;
        padding: 4px 20px !important;
    }
    .menu__link:hover {
        border-bottom: none;
    }
}

.active-link, .sub-menu li a.active-link {
    color: var(--accent-blue);
}

/* 1. Оставляем только это для body и main */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto; /* Это всё ещё нужно, чтобы выталкивать футер */
    /* УДАЛИЛИ ОТСЮДА display: flex и align-items */
}

/* 2. А вот теперь настраиваем только заглушку */
.page-stub {
    /* Растягиваем блок на всю оставшуюся высоту секции */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Вычитаем примерную высоту шапки и заголовка, чтобы не было лишнего скролла */
    min-height: 50vh; 
    text-align: center;
    padding: 60px 0;
}

.page-stub__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.page-stub__text {
    font-size: 18px;
    color: #666;
    max-width: 500px;
}

.page-stub__inner {
    padding-bottom: 40px;
}

/* Скрываем список по умолчанию */
.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out; /* Плавное открытие */
    margin: 0; /* Убираем отступы, чтобы не дергалось */
    padding-left: 20px; /* Сохраняем отступ для маркеров списка */
}

/* Стили для заголовка, чтобы было понятно, что он кликабельный */
.acc-header {
    cursor: pointer;
    position: relative;
    padding-right: 25px;
}

/* Добавим иконку плюсика/стрелочки (по желанию) */
.acc-header::after {
    content: '+';
    position: absolute;
    right: 0;
    transition: transform 0.3s;
}

/* Когда аккордеон открыт — меняем иконку */
.acc-header.active::after {
    content: '−';
}

/* Класс, который будет добавлять JS для открытия */
.acc-header.active + .acc-body {
    max-height: 1000px; /* Достаточная высота для контента */
    margin-bottom: 15px;
}

/* Название блюда — жирное */
.dish-name {
    font-weight: 500;
    color: #444; /* Можно настроить под твой дизайн */
}

/* Состав — легкий */
.dish-ingredients {
    font-weight: 300;
    font-style: italic;
    font-size: 0.9em; /* Чуть меньше основного текста */
    color: #777;     /* Серый цвет для визуальной разгрузки */
    margin-left: 4px;
}

/* Опционально: убираем маркеры списка, если аккордеон этого требует */
.acc-body {
    list-style: none;
    padding-left: 0;
}

.acc-body li {
    margin-bottom: 8px; /* Расстояние между позициями меню */
}
/* Основной контейнер - растягиваем на всю ширину */
.venue-card-horizontal {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 250px;
    margin-bottom: 30px;
    text-decoration: none !important;
    overflow: hidden; /* Чтобы фото не вылезало за границы */
    padding: 0 !important; /* Убираем внутренние отступы buffet-card, сделаем их сами */
    align-items: stretch !important;
    margin-top: 40px;
}

/* Левый блок: ровно 33% */
.venue-card-horizontal__image {
    flex: 0 0 33.33%; 
    max-width: 33.33%;
    position: relative;
    background: #f0f0f0;
}

.venue-card-horizontal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Фото заполнит все 33% без искажений */
    display: block;
}

/* Правый блок: остальное пространство */
.venue-card-horizontal__content {
    flex: 1;
    padding: 40px; /* Большие красивые отступы для текста */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Название сверху, кнопка снизу */
}

/* Заголовок площадки */
.venue-card-horizontal__title {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #000 !important;
    margin: 0 0 10px 0 !important;
    text-align: left !important;
}

/* Адрес площадки */
.venue-card-horizontal__address {
    font-size: 24px !important;
    color: #666 !important;
    font-weight: 300 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Кнопка внизу */
.venue-card-horizontal__footer {
    margin-top: 20px;
    text-align: left !important;
}

.venue-card-horizontal .btn--order-new {
    display: inline-block !important;
    width: auto !important;
    padding: 12px 40px !important;
}

/* Адаптив для мобилок (чтобы на телефоне не было слишком узко) */
@media (max-width: 768px) {
    .venue-card-horizontal {
        flex-direction: column !important;
    }
    .venue-card-horizontal__image {
        flex: 0 0 100%;
        max-width: 100%;
        height: 200px;
    }
    .venue-card-horizontal__content {
        padding: 20px;
    }
}

.venue-card-button {
    max-width: 140px;
    padding: 14px;
    background-color: var(--accent-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    letter-spacing: 1px;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Делаем кнопку полупрозрачной в обычном состоянии */
    opacity: 1; 
    transition: all 0.3s ease;
    
    /* Готовим фон к наложению цвета */
    background-blend-mode: multiply;

}

.venue-card-button:hover {
    opacity: 1;
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)); /* Затемняем */
    transform: translateY(-2px); /* Кнопка аккуратно прыгает вверх на 2 пикселя */

}

.venue-list-item a, .venue-booking-phone a {
    color: var(--text-dark)!important; 
}

.venue-list-item a:hover, .venue-booking-phone a:hover {
    text-decoration: underline;
}
.venue-list-item{
    font-weight: 400!important; 
}

/* Переносим в левый угол и уменьшаем */
.grecaptcha-badge { 
    width: 0px !important; /* Уменьшаем ширину */
    overflow: hidden !important; 
    transition: all 0.3s ease !important;
    left: 10px !important;  /* Прижимаем к левому краю */
    right: auto !important; /* Отменяем стандартное положение справа */
    bottom: 10px !important;
    filter: scale(0.8);      /* Масштабируем до 80% (можно сделать 0.7) */
    transform-origin: bottom left;
}

/* При наведении он будет плавно раскрываться, чтобы не мешать */
.grecaptcha-badge:hover { 
    width: 256px !important; 
}