/* ---------------------------------------------------- */
/* ГЛОБАЛЬНЫЕ СТИЛИ: ПРЕМИУМ-ДИЗАЙН И НОВЫЕ ЦВЕТА */
/* ---------------------------------------------------- */
:root {
    /* Глубокий, премиальный индиго для фона и темного текста */
    --primary-deep: #1d1a39; 
    /* Яркий, современный электрический синий для акцентов */
    --accent-neon: #00eaff; 
    --text-dark: #2c3e50; 
    --text-light: #ffffff; 
    --bg-light: #f4f7f6; 
    --bg-secondary: #e0e6e4; 
    
    /* Современная, мягкая тень */
    --shadow-soft: 0 10px 30px rgba(29, 26, 57, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    scroll-behavior: smooth; 
}
.img_banner {
    display:none;
}
.container {
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 25px;
}

.section {
    padding: 100px 0; 
}

.section-title {
    font-size: 44px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 70px;
    color: var(--primary-deep);
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-neon);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* СТИЛИЗАЦИЯ КНОПКИ CTA */
.cta-button, .product-cta {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(90deg, #00eaff, #00bfff); 
    color: var(--primary-deep); 
    text-decoration: none;
    font-size: 18px;
    font-weight: 900; 
    border-radius: 50px; 
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 234, 255, 0.6); 
}

.cta-button:hover, .product-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 234, 255, 0.8);
}


/* ---------------------------------------------------- */
/* НАВИГАЦИЯ (Navbar) */
/* ---------------------------------------------------- */
.navbar {
    background-color: var(--primary-deep); 
    padding: 18px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-neon); 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-neon);
}

.cart-icon {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}
.cart-icon:hover {
    transform: scale(1.1);
}

.cart-icon span {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff3366; 
    color: var(--text-light);
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}


/* ---------------------------------------------------- */
/* БЛОК 1: HERO SECTION */
/* ---------------------------------------------------- */
.hero-section {
    padding: 120px 0;
    min-height: 90vh;
    background: linear-gradient(145deg, var(--bg-light) 60%, var(--bg-secondary) 100%); 
    overflow: hidden; 
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 50%; 
    z-index: 10;
}

.hero-title {
    font-size: 68px; 
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-deep);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600; 
    margin-bottom: 40px;
    color: var(--text-dark);
}

.hero-image {
    flex: 1;
    min-height: 500px; 
    background-image: url('img/hero-pillow.png'); /* Placeholder, предполагаем, что изображение есть */
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center right;
    border-radius: 18px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.1), -10px -10px 30px rgba(255, 255, 255, 0.8);
}


/* ---------------------------------------------------- */
/* БЛОК 2: ПРЕИМУЩЕСТВА */
/* ---------------------------------------------------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.advantage-card {
    padding: 35px;
    border: none;
    border-radius: 15px;
    background-color: var(--text-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(29, 26, 57, 0.25);
    border-bottom: 5px solid var(--accent-neon); 
}

.advantage-icon {
    font-size: 48px; 
    background: linear-gradient(45deg, #00eaff, #00bfff);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 10px;
    font-weight: 900;
    color: var(--primary-deep);
}


/* ---------------------------------------------------- */
/* БЛОК 3: КАТАЛОГ */
/* ---------------------------------------------------- */
.catalog-section {
    background-color: var(--bg-secondary);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px;
}

.product-card {
    background-color: var(--bg-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer; 
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    background-color: #ffffff; 
    background-size: contain; 
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    padding: 0 15px;
}

.product-description {
    color: #6c757d;
    font-size: 15px;
    margin-bottom: 10px;
    padding: 0 15px;
}

.product-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-deep); 
    margin-bottom: 15px;
}

.product-cta {
    width: 100%;
    border-radius: 0 0 15px 15px; 
    text-transform: none; 
    padding: 15px 0;
    font-size: 16px;
    box-shadow: none; 
}
.product-cta:hover {
    transform: none;
}


/* ---------------------------------------------------- */
/* БЛОК 4: ОТЗЫВЫ (Glassmorphism) */
/* ---------------------------------------------------- */
.reviews-section {
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15); 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1), 
                -4px -4px 15px var(--text-light); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-deep);
    border-left: 5px solid var(--accent-neon); 
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-name {
    font-weight: 900;
    color: var(--primary-deep);
}

.review-rating {
    color: #ffd700; 
    font-size: 20px;
}

.review-text {
    font-style: normal; 
    color: var(--text-dark);
}


/* ---------------------------------------------------- */
/* БЛОК 5: ДОСТАВКА И ОПЛАТА */
/* ---------------------------------------------------- */
.delivery-section {
    background-color: var(--bg-secondary);
}

.delivery-columns {
    display: flex;
    gap: 40px;
    justify-content: center;
    text-align: center;
}

.delivery-info {
    max-width: 48%;
    padding: 40px;
    border-radius: 15px;
    background-color: var(--bg-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.delivery-icon {
    font-size: 55px; 
    color: var(--accent-neon); 
    margin-bottom: 15px;
}

.delivery-info h3 {
    margin-bottom: 15px;
    color: var(--primary-deep);
    font-weight: 900;
}


/* ---------------------------------------------------- */
/* ФУТЕР */
/* ---------------------------------------------------- */
.footer {
    background-color: var(--primary-deep); 
    color: var(--text-light);
    padding-top: 50px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}

.footer-block h4 {
    color: var(--accent-neon);
    margin-bottom: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-block ul {
    list-style: none;
}

.footer-block ul li {
    margin-bottom: 8px;
}

.footer-block a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: var(--accent-neon);
}

.social-links a {
    color: var(--accent-neon);
    font-size: 30px; 
    margin-right: 15px;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.copyright {
    background-color: #110f22; 
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #332f4b;
}

/* ---------------------------------------------------- */
/* МОДАЛЬНЫЕ ОКНА: ОБЩИЕ СТИЛИ */
/* ---------------------------------------------------- */

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--text-light);
    margin: 5% auto; 
    padding: 30px;
    border-radius: 20px;
    width: 80%; 
    max-width: 1000px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.close-button {
    color: var(--primary-deep);
    float: right;
    font-size: 40px;
    font-weight: bold;
    transition: color 0.3s;
    line-height: 1;
}

.close-button:hover,
.close-button:focus {
    color: #ff3366; 
    text-decoration: none;
    cursor: pointer;
}

/* Стили для модального окна просмотра товара */
.modal-body {
    display: flex;
    gap: 40px;
    padding-top: 10px;
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.modal-product-image {
    width: 100%;
    height: 400px; 
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary); 
}

.modal-details {
    flex: 1.5;
}

.modal-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-deep);
    margin-bottom: 5px;
}

.modal-variant {
    font-size: 18px;
    color: var(--accent-neon);
    font-weight: 600;
    margin-bottom: 20px;
}

.modal-price-block {
    margin: 25px 0;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 20px;
}

.modal-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-deep);
}

.modal-full-description {
    margin-bottom: 30px;
}

.modal-full-description h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

#modal-add-to-cart-btn {
    width: 100%;
    font-size: 20px;
}

/* ---------------------------------------------------- */
/* СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА КОРЗИНЫ */
/* ---------------------------------------------------- */
#cart-modal .modal-content {
    max-width: 500px; 
    margin: 10% auto;
}
#cart-modal .modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.cart-modal-body {
    display: block; 
}

.cart-items-list {
    list-style: none;
    padding: 0;
    max-height: 300px; 
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr 100px 50px; 
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-secondary);
    font-size: 16px;
    color: var(--text-dark);
}

.cart-item-info {
    font-weight: 600;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-deep);
    text-align: right;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #ff3366;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-item-btn:hover {
    color: var(--primary-deep);
}

.cart-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--bg-secondary);
    font-size: 20px;
    font-weight: 900;
    text-align: right;
    color: var(--primary-deep);
}

#cart-total-amount {
    color: #ff3366; 
}

#checkout-btn {
    margin-top: 20px;
    width: 100%;
}

.cart-empty-message {
    text-align: center;
    color: #6c757d;
    padding: 30px;
    font-style: italic;
}


/* ---------------------------------------------------- */
/* СТИЛИ ДЛЯ ФОРМЫ ОФОРМЛЕНИЯ */
/* ---------------------------------------------------- */

.checkout-form {
    padding: 10px 0;
}

.checkout-form h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--bg-secondary);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--bg-secondary);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-neon);
    box-shadow: 0 0 0 3px rgba(0, 234, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.final-summary {
    margin: 30px 0;
    text-align: right; /* Сумма к оплате справа */
}

.back-to-cart-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 16px;
    margin-top: 15px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: color 0.2s;
}

.back-to-cart-btn:hover {
    color: var(--primary-deep);
    font-weight: 600;
}

/* ---------------------------------------------------- */
/* СТИЛИ ДЛЯ ЭКРАНА "СПАСИБО" */
/* ---------------------------------------------------- */
.thank-you-screen {
    text-align: center;
    padding: 50px 0;
}

.thank-you-icon {
    font-size: 80px;
    color: #38c172; /* Зеленый цвет успеха */
    margin-bottom: 30px;
    animation: bounce 0.8s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.thank-you-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary-deep);
    margin-bottom: 15px;
}

.thank-you-text {
    font-size: 20px;
    margin-bottom: 10px;
}

.thank-you-text-small {
    color: #6c757d;
    font-size: 16px;
    margin-top: 20px;
}


/* ---------------------------------------------------- */
/* АДАПТИВНОСТЬ */
/* ---------------------------------------------------- */
@media (max-width: 992px) {
    /* Адаптивность для страницы */
    .hero-title {
        font-size: 48px;
    }
    .hero-section .container {
        flex-direction: column; 
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        order: 2; 
    }
    .hero-image {
        display: none;
        order: 1;
        min-height: 400px;
        margin-bottom: 40px;
        background-position: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Адаптивность для модального окна просмотра */
    .modal-content {
        width: 90%;
        margin: 10% auto;
        padding: 20px;
    }
    .modal-body {
        flex-direction: column;
    }
    .modal-product-image {
        height: 300px;
    }
    .modal-price {
        font-size: 36px;
    }
    .modal-title {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 34px;
        margin-bottom: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .nav-links {
        display: none; 
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: 1fr 80px 40px;
    }
}
/* --- Стили для секции статей (БЛОГ) --- */

.blog-section {
    background-color: #ffffff; /* Чистый белый фон для статей */
}

.blog-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Для адаптивности */
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f8f9fa; /* Светлый фон карточки */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px); /* Легкий эффект при наведении */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid #3498db; /* Акцентная линия MOON Blue */
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c3e50; /* Темный заголовок */
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Чтобы кнопки чтения были на одном уровне */
}

.read-more {
    font-weight: 600;
    color: #e74c3c; /* Акцентный цвет MOON Red */
    align-self: flex-start;
    transition: color 0.2s;
}

.blog-card:hover .read-more {
    color: #c0392b;
}

/* --- Адаптивность для статей --- */
@media (max-width: 768px) {
    .blog-grid {
        flex-direction: column;
        align-items: center;
    }
    .blog-card {
        max-width: 90%;
    }
}
/* ---------------------------------------------------- */
/* СТИЛИ ДЛЯ СТРАНИЦЫ СТАТЬИ (blog-post.html) */
/* ---------------------------------------------------- */

.post-page {
    padding-top: 100px; /* Отступ под фиксированным навбаром */
    padding-bottom: 80px;
    background-color: var(--bg-light);
}

.blog-post-content {
    /* Увеличиваем максимальную ширину для более широкой статьи */
    max-width: 1000px; 
    margin: 0 auto;
    padding: 30px;
    background-color: var(--text-light); 
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.breadcrumbs {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--primary-deep);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.blog-post-content h1 {
    font-size: 2.5em;
    font-weight: 900;
    color: var(--primary-deep);
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-meta {
    font-size: 1em;
    color: #888;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--bg-secondary);
    padding-bottom: 15px;
}

.post-cover-image {
    width: 100%;
    height: 400px; /* Высота обложки */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.post-body h2 {
    font-size: 1.8em;
    color: var(--text-dark);
    margin-top: 35px;
    margin-bottom: 15px;
    border-left: 5px solid var(--accent-neon);
    padding-left: 15px;
}

.post-body h3 {
    font-size: 1.4em;
    color: var(--primary-deep);
    margin-top: 30px;
    margin-bottom: 10px;
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.1em;
}

.post-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.post-body ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
}

.post-body ul li::before {
    content: "\f00c"; /* Иконка галочки */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-neon);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.back-to-catalog-btn {
    display: block;
    max-width: 350px;
    margin: 40px auto 0;
    text-align: center;
}

/* АДАПТИВНОСТЬ для мобильных */
@media (max-width: 768px) {
    .blog-post-content {
        padding: 20px;
    }
    .blog-post-content h1 {
        font-size: 1.8em;
    }
    .post-cover-image {
        height: 250px;
    }
    .post-body h2 {
        font-size: 1.5em;
    }
    .post-body p, .post-body ul li {
        font-size: 1em;
    }
}
.info-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-block {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 3em;
    color: var(--accent-neon);
    margin-bottom: 15px;
    display: block;
}

.info-block h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-deep);
    margin-bottom: 15px;
}

.info-block p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.info-link {
    font-weight: 700;
    color: var(--accent-neon);
    text-decoration: none;
}

/* Стили для FAQ Аккордеона */

.faq-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--primary-deep);
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-deep);
    background-color: var(--text-light);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f0f3f2;
}

.faq-icon {
    font-size: 0.8em;
    transition: transform 0.3s;
    color: var(--accent-neon);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0; /* Для анимации */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #fcfcfc;
}

.faq-answer p {
    padding: 15px 20px;
    padding-top: 0;
    font-size: 1em;
    color: var(--text-dark);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .info-blocks-grid {
        gap: 20px;
    }
    .info-block {
        padding: 20px;
    }
    .faq-question {
        font-size: 1em;
    }
}
    @media screen and (max-width: 600px) {
    .img_banner {
        display:block;
        width: 100%;
        height: auto;
    }

    #target-block {
        width: 100%;
    }
}