        :root {
            --cream: #F9EFE6;
            --brown: #5F4441;
            --light-border: rgba(95, 68, 65, 0.15);
        }

        .faq-container {
            max-width: 860px;
            margin: 0 auto;
            /*padding: 80px 20px;*/
            padding-bottom: 4em;
        }

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

        .faq-title {
            font-weight: 600;
            font-size: 30px;
            font-weight: 600;
        }

        .faq-subtitle {
            margin: 12px auto 0;
            max-width: 700px;
            font-size: 16px;
            line-height: 1.5;
            color: rgba(95, 68, 65, 0.8);
        }

        .faq-subtitle a {
            color: #5F4441;
            border-bottom: 1px dashed rgba(95, 68, 65, 0.5);
        }

        .faq-subtitle a:hover {
            border-bottom-color: rgba(95, 68, 65, 0.9);
        }

        .faq-ask-modal {
            max-width: 560px;
            border-radius: 16px;
            overflow: hidden;
            padding: 22px 24px 24px;
            box-sizing: border-box;
        }

        .faq-ask-modal .modal-head {
            font-size: 23px;
            line-height: 1.1;
            font-weight: 500;
            margin-bottom: 8px;
            padding-right: 38px;
        }

        .faq-ask-modal .modal-body {
            padding: 0;
        }

        .faq-ask-modal a.close-modal {
            top: 18px;
            right: 18px;
        }

        .faq-ask-input {
            width: 100%;
            min-height: 110px;
            border: 1px solid var(--light-border);
            border-radius: 10px;
            padding: 12px 14px;
            resize: vertical;
            font-family: inherit;
            font-size: 16px;
        }

        .faq-ask-caption {
            margin-bottom: 10px;
            font-size: 14px;
            line-height: 1.45;
            color: rgba(95, 68, 65, 0.8);
        }

        .faq-ask-foot {
            margin-top: 12px;
        }

        .faq-ask-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .faq-ask-result {
            font-size: 14px;
            margin-top: 10px;
        }

        .faq-ask-result.success {
            color: #2e7d32;
        }

        .faq-ask-result.error {
            color: #c62828;
        }

        .faq-list {
            border-top: 1px solid var(--light-border);
        }

        .faq-item {
            border-bottom: 1px solid var(--light-border);
            padding: 28px 0;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-size: 1.25rem;
            font-weight: 400;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .faq-question::after {
            content: none;
            display: none;
        }

        .faq-question:hover {
            opacity: 0.8;
        }

        .faq-toggle {
            font-size: 1.8rem;
            margin-left: 20px;
            transition: transform 0.3s ease;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            padding-right: 40px;
        }

        .faq-answer-content {
            padding-top: 20px;
            font-size: 1.05rem;
            line-height: 1.7;
            opacity: 0;
            transition: opacity 0.4s ease 0.2s; /* Задержка для синхронизации с раскрытием */
        }

        .faq-item.active .faq-toggle {
            transform: rotate(45deg);
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        .faq-item.active .faq-answer-content {
            opacity: 1;
        }

        /* Анимация появления при скролле */
        .faq-item {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        }

        .faq-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-item:nth-child(odd) {
            transition-delay: 0.1s;
        }

        .faq-item:nth-child(even) {
            transition-delay: 0.2s;
        }

        @media (max-width: 768px) {
            .faq-container {
                padding: 40px 15px;
            }

            .faq-title {
                font-size: 2rem;
            }

            .faq-ask-modal {
                padding: 16px;
            }

            .faq-ask-modal .modal-head {
                font-size: 22px;
                margin-bottom: 6px;
            }

            .faq-question {
                font-size: 1.1rem;
                align-items: flex-start;
            }

            .faq-toggle {
                font-size: 1.5rem;
                margin-left: 15px;
            }

            .faq-answer-content {
                padding-right: 0;
            }

            .faq-ask-foot {
                margin-top: 10px;
            }

            .faq-ask-actions {
                width: 100%;
                flex-direction: column;
                align-items: stretch;
            }
        }
