:root {
    --color-primary: #1E40AF;
    --color-primary-hover: #1D4ED8;
    --color-accent: #F97316;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-border: #E5E7EB;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --container: 1200px;
}

/* 🔑 ИСПРАВЛЕНО: Добавлен селектор *, *::before, *::before */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: var(--font-main); color: var(--color-text); line-height: 1.5; background: var(--color-bg); }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--color-primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Кнопки */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: var(--radius); font-weight: 500;
    transition: all 0.2s; cursor: pointer; border: none; font-size: 15px;
    white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: #EFF6FF; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--full { width: 100%; }

/* Шапка */
.header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--color-border); z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.header__logo { font-size: 22px; font-weight: 700; }
.header__logo span { color: var(--color-primary); }
.header__nav { display: flex; gap: 24px; }
.header__nav a { font-weight: 500; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 700; font-size: 16px; color: var(--color-text); white-space: nowrap; }
.header__phone:hover { color: var(--color-primary); }
.header__burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--color-text); }

/* Герой (для index.html) */
.hero { background: linear-gradient(135deg, #f8fafc 0%, #EFF6FF 100%); padding: 60px 0 80px; }
.hero__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero__badge { display: inline-block; background: #DBEAFE; color: var(--color-primary); padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.hero__title { font-size: 38px; line-height: 1.2; margin-bottom: 16px; font-weight: 700; }
.hero__subtitle { font-size: 18px; color: var(--color-text-light); margin-bottom: 32px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.hero__features { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__features li { background: #fff; padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 500; font-size: 14px; }

/* Статистика */
.stats { padding: 60px 0; background: var(--color-bg-light); }
.stats__grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 32px; 
    text-align: center; 
}
.counter { 
    font-size: 52px; 
    font-weight: 800; 
    color: var(--color-primary); 
    line-height: 1; 
    display: block; 
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.stat-item span:not(.counter) { 
    color: var(--color-text-light); 
    font-size: 15px; 
    font-weight: 500;
    display: block; 
}
.stat-card__number { font-size: 32px; font-weight: 700; color: var(--color-primary); display: block; margin-bottom: 4px; }
.stat-card__label { color: var(--color-text-light); font-size: 14px; }

/* Секции */
.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--color-text-light); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Каталог */
.catalog { padding: 60px 0; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 32px; }
.catalog__more { text-align: center; }
.catalog__search { max-width: 550px; margin: 0 auto 32px; }
.catalog__search input { width: 100%; padding: 14px 16px; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; background: #fff; }
.catalog__search input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15); }
.search__not-found { text-align: center; padding: 40px 20px; color: var(--color-text-light); background: var(--color-bg-light); border-radius: var(--radius); margin-bottom: 32px; display: none; }
.search__not-found p { margin-bottom: 8px; }

/* Карточка товара */
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card__image { position: relative; height: 200px; background: var(--color-bg-light); display: flex; align-items: center; justify-content: center; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge { position: absolute; top: 12px; left: 12px; background: var(--color-primary); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 500; }
.product-card__content { padding: 20px; }
.product-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.product-card__desc { color: var(--color-text-light); font-size: 14px; margin-bottom: 16px; }
.product-card__specs { font-size: 13px; color: var(--color-text-light); margin-bottom: 16px; }
.product-card__specs li { margin-bottom: 4px; }
.product-card__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.product-card__delivery { font-size: 13px; color: var(--color-text-light); display: inline-flex; align-items: center; gap: 4px; }
.product-card__delivery:hover { color: var(--color-primary); }

/* Доставка */
.delivery { padding: 60px 0; background: var(--color-bg-light); }
.delivery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 32px; }
.delivery__card { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--color-border); }
.delivery__card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.delivery__card p { color: var(--color-text-light); margin-bottom: 12px; font-size: 14px; }
.delivery__card ul { list-style: disc; margin-left: 20px; color: var(--color-text-light); font-size: 14px; }
.delivery__card li { margin-bottom: 4px; }
.delivery__cta { text-align: center; }

/* О компании */
.about { padding: 60px 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about__text { color: var(--color-text-light); margin-bottom: 16px; font-size: 15px; }
.about__list { margin-top: 20px; }
.about__list li { margin-bottom: 8px; font-size: 14px; color: var(--color-text-light); }
.about__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Контакты */
.contacts { padding: 60px 0; background: var(--color-bg-light); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts__info p { margin-bottom: 12px; font-size: 15px; }
.contacts__info a { color: var(--color-primary); font-weight: 500; }
.contacts__social { display: flex; gap: 16px; margin-top: 20px; }
.contacts__social-link { padding: 8px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.contacts__social-link:hover { background: #fff; border-color: var(--color-primary); }
.contacts__form { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--color-border); }
.contacts__form h3 { font-size: 18px; font-weight: 600; margin-bottom: 20px; }

/* Формы */
.form input, .form textarea { width: 100%; padding: 14px; margin-bottom: 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 15px; font-family: inherit; }
.form textarea { resize: vertical; min-height: 100px; }
.form__note { font-size: 12px; color: var(--color-text-light); text-align: center; margin-top: 12px; }

/* Модальное окно */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 200; }
.modal.active { opacity: 1; pointer-events: all; }
.modal__content { background: #fff; padding: 32px; border-radius: var(--radius); max-width: 480px; width: 90%; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.modal__close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--color-text-light); line-height: 1; }
.modal__close:hover { color: var(--color-text); }
.modal__title { font-size: 24px; margin-bottom: 12px; }
.modal__text { color: var(--color-text-light); margin-bottom: 24px; font-size: 15px; }

/* Футер */
.footer { background: #111827; color: #fff; padding: 40px 0; text-align: center; }
.footer a { color: #93C5FD; }
.footer a:hover { color: #BFDBFE; }
.footer p { margin: 8px 0; font-size: 14px; color: #9CA3AF; }
.footer__disclaimer { font-size: 12px; margin-top: 16px; opacity: 0.7; }

/*  СТРАНИЦА ТОВАРА */
.breadcrumbs { padding: 16px 0; font-size: 14px; color: var(--color-text-light); }
.breadcrumbs a { color: var(--color-text-light); }
.breadcrumbs a:hover  { color: var(--color-primary); }
.breadcrumbs .current { color: var(--color-text); }

.product-page { padding: 20px 0 60px; }

/* ИСПРАВЛЕНО: grid-template-columns (убран пробел) */
.product-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.product-gallery__main { 
    background: var(--color-bg-light); border-radius: var(--radius); overflow: hidden; 
    height: 400px; display: flex; align-items: center; justify-content: center; 
    margin-bottom: 12px; 
}
.product-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; }

.product-gallery__thumbs { 
    display: flex; /* ИСПРАВЛЕНО: убран пробел в flex */
    gap: 8px; flex-wrap: wrap; 
}
.product-gallery__thumbs .thumb { 
    width: 70px; height: 70px; object-fit: cover; border-radius: 6px; 
    cursor: pointer; border: 2px solid transparent; opacity: 0.7; transition: 0.2s; 
}
.product-gallery__thumbs .thumb:hover, .product-gallery__thumbs .thumb.active { 
    border-color: var(--color-primary); opacity: 1; 
}

.product-info__header { margin-bottom: 20px; } /* ИСПРАВЛЕНО: убран пробел в header */
.product-info__title { font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.product-info__article { color: var(--color-text-light); font-size: 14px; display: block; margin-bottom: 8px; }
.product-info__badge { 
    display: inline-block; background: #DCFCE7; color: #166534; 
    padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 500; 
}
.product-info__short { color: var(--color-text-light); line-height: 1.6; margin-bottom: 24px; }

.price-block { background: #F8FAFC; padding: 16px; border-radius: var(--radius); margin-bottom: 20px; } /* ИСПРАВЛЕНО: border-radius */
.price-block__label { font-size: 14px; color: var(--color-text-light); display: block; }
.price-block__value { font-size: 24px; font-weight: 700; color: var(--color-primary); } /* ИСПРАВЛЕНО: font-weight */
.price-block__note { font-size: 12px; color: var(--color-text-light); margin-top: 4px; display: block; }

.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; } /* ИСПРАВЛЕНО: gap */

.product-tabs { margin-top: 32px; }
.tabs-nav { display: flex; gap: 0; border-bottom: 1px solid var(--color-border); margin-bottom: 16px; }
.tab-btn { padding: 10px 16px; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font-weight: 500; color: var(--color-text-light); transition: 0.2s; } /* ИСПРАВЛЕНО: padding */
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.tab-content { display: none; }
.tab-content.active  { display: block; animation: fadeIn 0.3s; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs-table tr:nth-child(odd) { background: #F9FAFB; }
.specs-table td { padding: 10px; border-bottom: 1px solid var(--color-border); }
.specs-table td:first-child { font-weight: 500; color: var(--color-text-light); width: 40%; }

.docs-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.doc-link { 
    padding: 12px; background: #EFF6FF; border-radius: var(--radius); 
    color: var(--color-primary); font-weight: 500; transition: 0.2s; 
}
.doc-link:hover { background: #DBEAFE; }
.docs-note, .delivery-note { font-size: 13px; color: var(--color-text-light); margin-top: 12px; }

.delivery-list { list-style: none; padding-left: 0; }
.delivery-list li { padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--color-border); }

.related { padding: 60px 0; background: var(--color-bg-light); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* 📝 БЛОГ / СТАТЬИ */
.articles-header { text-align: center; margin: 40px 0; }
.articles-header h1 { font-size: 32px; margin-bottom: 12px; }
.articles-subtitle { color: var(--color-text-light); max-width: 700px; margin: 0 auto; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 60px; }
.article-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: var(--shadow); }
.article-card__link { display: block; text-decoration: none; color: inherit; }
.article-card__image { height: 200px; background: var(--color-bg-light); }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; }
.article-card__content { padding: 20px; }
.article-card time { font-size: 13px; color: var(--color-text-light); display: block; margin-bottom: 8px; }
.article-card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.3; }
.article-card__excerpt { 
    color: var(--color-text-light); font-size: 14px; margin-bottom: 12px; 
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
}
.article-card__read { font-size: 14px; color: var(--color-primary); font-weight: 500; }

/* АДАПТИВ */
@media (max-width: 992px) {
    .about__inner, .contacts__grid, .product-page__grid { grid-template-columns: 1fr; }
    .about__image { order: -1; }
    .product-gallery__main { height: 300px; }
}
@media (max-width: 768px) {
    .header__nav { 
        display: none; position: absolute; top: 70px; left: 0; width: 100%; 
        background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow); gap: 12px; 
    }
    .header__nav.active { display: flex; }
    .header__burger { display: block; }
    .header__actions { gap: 8px; }
    .header__phone { font-size: 17px; }
    .hero { padding: 40px 0 60px; }
    .hero__title { font-size: 26px; }
    .hero__subtitle { font-size: 16px; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__features { flex-direction: column; align-items: center; }
    .section-title { font-size: 24px; }
    .product-card__actions { flex-direction: column; align-items: stretch; }
    .product-card__delivery { text-align: center; }
    .contacts__form { order: -1; }
    .product-info__title { font-size: 24px; }
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; }
        /* ===== НОВЫЕ ПРАВИЛА ДЛЯ ШАПКИ НА МОБИЛЬНЫХ ===== */
    .header__inner {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 12px 0;
    }
    .header__logo {
        order: 1;
        width: auto;
        margin-bottom: 8px;
    }
    .header__actions {
        order: 2;
        width: auto;
        justify-content: center;
    }
    .header__phone {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 8px;
        margin-bottom: 4px;
        font-size: 16px;
    }
    .header__burger {
        order: 4;
        margin-left: 10px;
    }
    .header__nav {
        order: 5;
    }
    /* Убираем старые правила, которые могут мешать */
    .header__actions {
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .header__inner { padding: 0 12px; }
    .header__logo { font-size: 20px; }
    .btn { padding: 10px 20px; font-size: 14px; }
    .hero__features li { font-size: 13px; padding: 8px 12px; }
    .stat-card__number { font-size: 28px; }
    .modal__content { padding: 24px; width: 95%; }
    .header__phone { font-size: 16px; }
    .catalog__search input { font-size: 15px; padding: 12px; }
}

/* Выпадающее меню */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown .dropbtn {
    display: inline-block;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: #1F2937;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
}
.dropdown-content a:hover {
    background-color: #F3F4F6;
    color: #1E40AF;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ссылки на доставку внутри карточек */
.delivery__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #1E40AF;
    text-decoration: none;
}
.delivery__link:hover {
    text-decoration: underline;
}

/* Адаптив для выпадающего меню на мобилках */
@media (max-width: 768px) {
    .dropdown {
        display: block;
        width: 100%;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    .header__nav a, .dropdown .dropbtn {
        display: block;
        width: 100%;
    }
}

/* Выравнивание кнопок в карточках товара */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card__actions {
    margin-top: auto;
    margin-bottom: 0;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ СТАТЬИ ===== */
.article-single {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
    box-shadow: var(--shadow);
}

.article-single__header {
    margin-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 16px;
}

.article-single__header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--color-text);
}

.article-single__meta {
    color: var(--color-text-light);
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.article-single__content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.article-single__content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-primary);
}

.article-single__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.article-single__content p {
    margin-bottom: 16px;
}

.article-single__content ul, 
.article-single__content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-single__content li {
    margin-bottom: 8px;
}

.article-single__content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.article-table th,
.article-table td {
    border: 1px solid var(--color-border);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.article-table th {
    background: var(--color-bg-light);
    font-weight: 600;
}

.article-cta {
    background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.article-cta p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

details {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 16px;
}

details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
}

details[open] {
    padding-bottom: 16px;
}

details p {
    margin-top: 12px;
    margin-bottom: 0;
}

/* Адаптив для статей */
@media (max-width: 768px) {
    .article-single {
        padding: 20px;
    }
    .article-single__header h1 {
        font-size: 26px;
    }
    .article-single__content h2 {
        font-size: 20px;
    }
    .article-table th,
    .article-table td {
        padding: 8px;
    }
    .article-cta {
        padding: 20px;
    }
}

/* ===== ПЛАВАЮЩАЯ КНОПКА ЗАКАЗАТЬ ЗВОНОК ===== */
.floating-callback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.callback-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1E40AF;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.callback-trigger:hover {
    background-color: #1D4ED8;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.callback-trigger svg {
    width: 22px;
    height: 22px;
}

/* Всплывающее окно */
.callback-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.floating-callback-button.active .callback-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.callback-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.callback-popup-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.close-popup {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #9CA3AF;
    line-height: 1;
}

.close-popup:hover {
    color: #1F2937;
}

.callback-popup-text {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.callback-popup input,
.callback-popup textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.callback-popup input:focus,
.callback-popup textarea:focus {
    outline: none;
    border-color: #1E40AF;
}

.callback-note {
    font-size: 11px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .floating-callback-button {
        bottom: 15px;
        right: 15px;
    }
    .callback-trigger {
        padding: 10px 16px;
        font-size: 14px;
    }
    .callback-trigger svg {
        width: 18px;
        height: 18px;
    }
    .callback-popup {
        width: 280px;
        bottom: 65px;
        padding: 16px;
    }
}

/* ===== БЛОК ОТЗЫВОВ ===== */
.reviews {
    padding: 60px 0;
    background: #F8FAFC;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-card__text {
    font-size: 16px;
    line-height: 1.5;
    color: #1F2937;
    margin-bottom: 20px;
    font-style: italic;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    background: #1E40AF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.review-card__name {
    font-weight: 600;
    color: #1F2937;
}

.review-card__company {
    font-size: 13px;
    color: #6B7280;
}

@media (max-width: 768px) {
    .reviews__grid {
        grid-template-columns: 1fr;
    }
}