

/* Start:/local/components/newsite/project/templates/.default/style.css?17926671474231*/

.faq-section {
    --faq-bg: #ffffff;
    --faq-border: #e0e6ed;
    --faq-text: #2c3e50;
    --faq-text-muted: #5a6b7c;
    --faq-accent: #333;
    --faq-accent-hover: #1f6391;
    --faq-radius: 8px;
    --faq-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 40px 0;
    background-color: #f8f9fa; /* Легкий фон для выделения блока, можно убрать */
}

.faq-title {
    font-family: 'Open Sans', 'Roboto', sans-serif; /* Подставь шрифт сайта */
    font-size: 28px;
    font-weight: 700;
    color: var(--faq-text);
    margin-bottom: 24px;
    text-align: center;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--faq-bg);
    border: 1px solid var(--faq-border);
    border-radius: var(--faq-radius);
    overflow: hidden;
    transition: box-shadow var(--faq-transition), border-color var(--faq-transition);
}

.faq-item:hover {
    border-color: var(--faq-accent);
}

.faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--faq-accent);
}


.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--faq-text);
    transition: color var(--faq-transition);
}

.faq-item.active .faq-header {
    color: var(--faq-accent);
}


.faq-icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: all 0.3s ease;
}


.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #475569;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.faq-icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}
.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}


.faq-header:hover .faq-icon {
    border-color: var(--faq-accent);
}

/* =========================================
   open stage
   ========================================= */
.faq-item.active .faq-icon {
    background-color: rgba(41, 128, 185, 0.1);
    border: 1px solid var(--faq-accent);
    border-radius: 50%;
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background-color: var(--faq-accent);
}


.faq-item.active .faq-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg); /* или 135deg */
}


.faq-item.active .faq-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: var(--faq-accent);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: var(--faq-accent);
}


.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.faq-item.active .faq-body {
    opacity: 1;
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: var(--faq-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/*inner content*/
.faq-content p {
    margin-bottom: 12px;
}

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

.faq-content a {
    color: var(--faq-accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.faq-content a:hover {
    color: var(--faq-accent-hover);
}

.faq-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 12px 0;
    display: block;
}


.faq-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    margin: 12px 0;
    background: #000;
}

.faq-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.faq-content ul, .faq-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-content li {
    margin-bottom: 6px;
}
/* End */
/* /local/components/newsite/project/templates/.default/style.css?17926671474231 */
