/* ===== ЗАГОЛОВОК МАТРИЦЫ ===== */
.calc-matrix-title {
    color: #3E1A3E;
    font-size: 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.calc-matrix-info {
    color: rgba(49, 49, 49, 0.50);
    font-size: 18px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    text-align: center;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

/* ===== КНОПКА PDF ===== */
.calc-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 10px 32px;
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border: none;
    border-radius: 900px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.calc-pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 0, 194, 0.3);
    color: #fff !important;
    text-decoration: none !important;
}

.calc-pdf-btn i {
    margin-right: 8px;
}

/* ===== ЗАГОЛОВКИ РАЗДЕЛОВ ===== */
.calc-section-title {
    color: #3E1A3E;
    font-size: 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0 0 40px 0;
    line-height: 1.2;
}

/* ===== АККОРДЕОН В СТИЛЕ FAQ ===== */
.calc-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-accordion-item {
    border-radius: 12px;
    transition: background 0.3s ease;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    background: #E8E3E9;
}

.calc-accordion-item:nth-child(even) {
    background: #DCCDE1;
}

/* ===== КНОПКА ВОПРОСА ===== */
.calc-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 12px 12px 24px;
    cursor: pointer;
    min-height: 54px;
    gap: 12px;
    user-select: none;
    background: none;
    border: none !important;
    font-family: inherit;
    text-align: left;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    transition: padding 0.3s ease;
    box-shadow: none !important;
    text-decoration: none !important;
}

.calc-accordion-header:focus,
.calc-accordion-header:focus-visible,
.calc-accordion-header:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.calc-accordion-header::-moz-focus-inner {
    border: 0;
}

.calc-accordion-item-active .calc-accordion-header {
    padding-bottom: 16px;
}

.calc-accordion-title {
    color: #715573;
    font-size: 18px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    flex: 1;
    text-align: left;
}

.calc-accordion-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: #EFEFEE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.calc-accordion-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.calc-accordion-item-active .calc-accordion-icon svg {
    transform: rotate(45deg);
}

/* ===== ТЕЛО ОТВЕТА ===== */
.calc-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: max-height;
}

.calc-accordion-body-inner {
    padding: 0 24px 32px 24px;
    color: rgba(113, 85, 115, 0.50);
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

/* ===== СТАРЫЕ СТИЛИ (СКРЫВАЕМ) ===== */
.matrica-card-title { 
    cursor: pointer;
    border-bottom: 1px solid #fff;
    color: #0e6caa;
    font-size: 16px;
    font-weight: 600;
}

.matrica-header-top {
    padding: 9px 20px !important;
    border-radius: 37px !important;
    border: 3px solid #517dd1;
    background-color: #4c93a3 !important;
    color: #ffffff;
    margin-bottom: 10px;
}

.matrica-card-header {
    padding: 10px 33px 10px 65px;
    margin-bottom: 0; 
    position: relative;
    cursor: pointer;
}

.matrica-accordion-icon {
    display: none;
}

.matrica-accordion-img {
    display: none;
}

.matrica-accordion-zamok {
    position: absolute;
    right: -6px;
    top: 3%;
    width: 44px;
}

/* ===== ОСТАЛЬНЫЕ СТИЛИ ===== */
.rasshifrovatt {
    text-align: center;
    padding: 10px 30px;
    border: 2px solid #426EC1;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline !important;
    color: #fff !important;
    background: linear-gradient(137deg, rgb(62,108,179) 0%, rgb(133,90,164) 79%);
    font-size: 15px;
}

.rasshifrovatt:hover {
    background: linear-gradient(337deg, rgb(62,108,179) 0%, rgb(133,90,164) 79%);
}

.css-1ovke93 {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    letter-spacing: -0.2px;
    color: rgb(10, 25, 53);
    margin-top: 8px;
}

.css-1wl0oc4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 8px;
    background: rgb(250, 248, 246);
    border: 1.6px solid rgb(10, 25, 53);
    box-sizing: border-box;
    border-radius: 50%;
    font-family: Arial;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    letter-spacing: -0.2px;
    color: rgb(10, 25, 53);
}

.btn-pdf {
    display: inline-block;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #b7b7b7;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(137deg, rgb(62,108,179) 0%, rgb(133,90,164) 79%);
}

.nagod {
    text-align: center;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}

.show_prognoz_god_active {
    background: #fff !important;
    color: #4c93a3 !important;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 767px) {
    .calc-matrix-title {
        font-size: 22px;
    }
    
    .calc-matrix-info {
        font-size: 14px;
    }
    
    .calc-pdf-btn {
        height: 48px;
        font-size: 14px;
        padding: 10px 24px;
    }
    
    .calc-section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .calc-accordion-header {
        padding: 12px 24px;
    }
    
    .calc-accordion-title {
        font-size: 15px;
    }
    
    .calc-accordion-icon {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
    
    .calc-accordion-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .calc-accordion-body-inner {
        padding: 0 24px 24px 24px;
        font-size: 13px;
    }
}