/* ===== СБРОС BITRIX СТИЛЕЙ ===== */
.mbodpor-page,
.mbodpor-page body,
.mbodpor-page #workarea-content,
.mbodpor-page .workarea-content-paddings,
.mbodpor-page .main-blocks-wrapper,
.mbodpor-page .container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.mbodpor-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box;
    background: #ffffff;
}

/* ===== ШАПКА ===== */
.mbodpor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.mbodpor-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    padding: 0;
}

.mbodpor-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.mbodpor-brand-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2c3e50;
    letter-spacing: 1px;
    margin: 0;
}

/* ===== НАВИГАЦИЯ ===== */
.mbodpor-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mbodpor-nav-link {
    background: #ffffff;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid #fff300;
    transition: all 0.2s ease;
    display: inline-block;
}

.mbodpor-nav-link:hover {
    background: #fff300;
    color: black;
    transform: translateY(-2px);
}

/* ===== СЕКЦИИ ===== */
.mbodpor-section {
    width: 100%;
    margin-bottom: 40px;
}

.mbodpor-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
}

.mbodpor-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ===== СТИЛИ ДЛЯ КАЛЬКУЛЯТОРА ===== */
.mbodpor-calculator-wrapper {
    width: 100%;
}

/* ===== СТИЛИ ДЛЯ SEO КОНТЕНТА ===== */
.mbodpor-seo-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.mbodpor-seo-content h3 {
    color: #34495e;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #fff300;
}

.mbodpor-seo-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.mbodpor-seo-content ul,
.mbodpor-seo-content ol {
    margin: 15px 0 15px 25px;
}

.mbodpor-seo-content li {
    margin-bottom: 10px;
    padding-left: 8px;
    font-size: 1rem;
    line-height: 1.6;
}

.mbodpor-seo-content ul li::before {
    content: "•";
    color: #fff300;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.mbodpor-seo-content ol {
    counter-reset: mbodpor-item;
}

.mbodpor-seo-content ol li {
    counter-increment: mbodpor-item;
}

.mbodpor-seo-content ol li::before {
    content: counter(mbodpor-item) ".";
    color: #fff300;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

/* ===== СТИЛИ ДЛЯ FAQ ===== */
.mbodpor-faq-title {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.mbodpor-faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mbodpor-faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.mbodpor-faq-item:hover {
    border-color: #fff300;
}

.mbodpor-faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.mbodpor-faq-question:hover {
    background: rgba(255, 243, 0, 0.05);
}

.mbodpor-faq-question.active {
    background: rgba(255, 243, 0, 0.1);
    border-bottom: 2px solid #fff300;
}

.mbodpor-faq-question i {
    color: #fff300;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mbodpor-faq-question.active i {
    transform: rotate(180deg);
}

.mbodpor-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mbodpor-faq-answer.open {
    max-height: 500px;
}

.mbodpor-faq-answer-content {
    padding: 0 20px 20px;
}

.mbodpor-faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .mbodpor-container {
        padding: 15px !important;
    }
    
    .mbodpor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    .mbodpor-brand-title {
        font-size: 1.6rem;
    }
    
    .mbodpor-nav {
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .mbodpor-nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .mbodpor-card {
        padding: 20px;
        border-radius: 10px;
    }
    
    .mbodpor-seo-content h2 {
        font-size: 1.5rem;
    }
    
    .mbodpor-seo-content h3 {
        font-size: 1.2rem;
    }
    
    .mbodpor-faq-title {
        font-size: 1.5rem;
    }
    
    .mbodpor-faq-question {
        padding: 16px 18px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mbodpor-brand-title {
        font-size: 1.4rem;
    }
    
    .mbodpor-logo {
        width: 35px;
        height: 35px;
    }
    
    .mbodpor-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .mbodpor-nav-link {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
    
    .mbodpor-card {
        padding: 15px;
        border-radius: 8px;
    }
    
    .mbodpor-seo-content ul,
    .mbodpor-seo-content ol {
        margin-left: 20px;
    }
    
    .mbodpor-faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .mbodpor-faq-answer-content {
        padding: 0 16px 16px;
    }
}
/* ===== СТИЛИ ДЛЯ ССЫЛОК НА КАТАЛОГ ===== */
.mbodpor-catalog-link {
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #fff300;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.mbodpor-catalog-link:hover {
    color: #fff300;
    border-bottom-color: #2c3e50;
}

/* В списках SEO контента */
.mbodpor-seo-content ul li a.mbodpor-catalog-link {
    display: inline-block;
    margin-top: 5px;
}

/* Адаптивность для ссылок */
@media (max-width: 768px) {
    .mbodpor-catalog-link {
        font-size: 0.95rem;
    }
}