/* services_styles.css - Стили для страницы "Услуги" */

.services-wrapper {
    margin: 20px 0;
}

.service-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
}

.section-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s;
}

.section-header:hover {
    background: #eef1f5;
}

.section-header-content {
    flex: 1;
}

.section-header-content h2 {
    font-size: 18px;
    font-weight: bold;
    /*color: #1a3a5c;*/
    margin: 0 0 4px 0;
    padding: 0;
}

.b-post .section-header-content h2 {
    margin-bottom: 4px;
}

.section-header .badge {
    display: inline-block;
    font-size: 12px;
    background: #e8eef5;
    /*color: #2a5a8c;*/
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: normal;
}

.section-arrow {
    font-size: 14px;
    /*color: #2a5a8c;*/
    transition: transform 0.3s;
}

.service-section.open .section-arrow {
    transform: rotate(180deg);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.service-section.open .section-content {
    max-height: 3000px; /* Достаточно для раскрытия */
}

.section-body {
    padding: 20px;
}

.section-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.b-post .section-body ul li {
    padding-left: 16px;
    margin-bottom: 10px;
    position: relative;
    font-size: 14px;
    color: #333333;
}

.b-post .section-body > ul > li:before {
    content: "•";
    position: absolute;
    left: 0;
	top: 1px;
    /*color: #2a5a8c;*/
    font-weight: bold;
}

.b-post .section-body ul ul {
    margin: 6px 0 0 20px;
}

.b-post .section-body ul ul li {
    margin-bottom: 5px;
    font-size: 13px;
    color: #555555;
}

.b-post .section-body ul ul li:before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0.5px;
    color: #555555;
}

.highlight-note {
    font-size: 13px;
    color: #333333;
    background: #f0f5fa;
    padding: 12px 16px;
    margin-top: 14px;
    border-left: 3px solid #333333;
}

.highlight-note a {
    color: #2a5a8c;
    text-decoration: underline;
}

.highlight-note a:hover {
    text-decoration: none;
}

.license-block {
    background: #f0f5fa;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    border: 1px solid #d0dce8;
}

.license-block h3 {
    font-size: 18px;
    margin-bottom: 10px;
    /*color: #1a3a5c;*/
    font-weight: bold;
}

.license-block p {
    font-size: 13px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid #e0e0e0;
    gap: 15px;
}

.order-info h3 {
    font-size: 16px;
    /*color: #1a3a5c;*/
    margin-bottom: 8px;
    font-weight: bold;
}

.order-info p {
    font-size: 14px;
    color: #333333;
    margin: 0;
}

.btn {
    background: #5a6478;
    color: #ffffff !important;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    transition: background 0.2s;
    border-radius: 4px;
}

.btn:hover {
    background: #4a5661;
    color: #ffffff;
    text-decoration: none;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .order-info {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header {
        padding: 12px 15px;
    }
    
    .section-header-content h2 {
        font-size: 16px;
    }
    
    .section-body {
        padding: 15px;
    }
    
    .license-block {
        padding: 15px;
    }
}