

/* Start:/bitrix/templates/osoznanie/components/bitrix/news.detail/service_article/style.css?177074924813008*/
/* Цена в баннере */
.banner-price-box {
    display: inline-block;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600; 
    margin-top: 16px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

/* Блок содержание + автор */
.service-toc-author {
    margin-top: 48px;
    margin-bottom: 48px;
}

.toc-author-block {
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
}

.toc-list__item {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toc-list__item::before {
    content: counter(toc-counter) ".";
    font-weight: 700;
    color: #c82333;
    font-size: 1.1rem;
    min-width: 24px;
}

.toc-list__link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.toc-list__link:hover {
    color: #c82333;
}

/* Карточка автора */
.author-card {
    height: 100%;
}

.author-card__photo {
    object-fit: cover;
    flex-shrink: 0;
}

.author-card__name {
    font-size: 1.1rem;
}

/* Таблица цен - красивое оформление */
.prices-table-wrapper,
.price-table {
    overflow-x: auto;
}

.prices-table-wrapper table,
table.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Заголовок таблицы */
.prices-table-wrapper table thead,
table.price-table thead {
    background: #f8f9fa;
}

.prices-table-wrapper table th,
table.price-table th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.prices-table-wrapper table th:last-child,
table.price-table th:last-child {
    text-align: right;
}

/* Строки таблицы */
.prices-table-wrapper table tbody tr,
table.price-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.prices-table-wrapper table tbody tr:last-child,
table.price-table tbody tr:last-child {
    border-bottom: none;
}

.prices-table-wrapper table tbody tr:hover,
table.price-table tbody tr:hover {
    background: #fafbfc;
}

/* Ячейки */
.prices-table-wrapper table td,
table.price-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

/* Первая колонка - название услуги */
.prices-table-wrapper table td:first-child,
table.price-table td:first-child {
    font-weight: 500;
    color: #333;
    max-width: 400px;
}

/* Колонка с ценой */
.prices-table-wrapper table td:nth-child(2),
table.price-table td:nth-child(2),
.prices-table-wrapper table td.price-cell,
table.price-table td.price-cell {
    text-align: center;
    white-space: nowrap;
}

/* Цена - основное значение */
.prices-table-wrapper table td:nth-child(2) strong,
.prices-table-wrapper table td:nth-child(2) b,
table.price-table td:nth-child(2) strong,
table.price-table td:nth-child(2) b,
.price-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* Подпись под ценой (Процедура, От 1 дня и т.п.) */
.prices-table-wrapper table td:nth-child(2) small,
.prices-table-wrapper table td:nth-child(2) span,
table.price-table td:nth-child(2) small,
table.price-table td:nth-child(2) span:not(.price-value),
.price-note {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

/* Последняя колонка - кнопка */
.prices-table-wrapper table td:last-child,
table.price-table td:last-child {
    text-align: right;
}

.prices-table-wrapper table td:last-child a,
table.price-table td:last-child a,
.price-order-btn {
    display: inline-block;
    color: #5b4fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.prices-table-wrapper table td:last-child a:hover,
table.price-table td:last-child a:hover,
.price-order-btn:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Блок с заголовком таблицы (аккордеон стиль) */
.price-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-table-header + table,
.price-table-header + .price-table {
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
}

/* Кнопка закрыть */
.price-table-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.price-table-close:hover {
    color: #333;
}

/* Адаптив для таблицы */
@media (max-width: 767px) {
    .prices-table-wrapper table,
    table.price-table {
        display: block;
    }
    
    .prices-table-wrapper table thead,
    table.price-table thead {
        display: none;
    }
    
    .prices-table-wrapper table tbody,
    .prices-table-wrapper table tr,
    table.price-table tbody,
    table.price-table tr {
        display: block;
    }
    
    .prices-table-wrapper table tr,
    table.price-table tr {
        padding: 16px;
        margin-bottom: 12px;
        border: 1px solid #eee;
        border-radius: 12px;
        background: #fff;
    }
    
    .prices-table-wrapper table td,
    table.price-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }
    
    .prices-table-wrapper table td:first-child,
    table.price-table td:first-child {
        font-weight: 600;
        padding-bottom: 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid #eee;
        display: block;
    }
    
    .prices-table-wrapper table td:nth-child(2),
    table.price-table td:nth-child(2) {
        text-align: left;
    }
    
    .prices-table-wrapper table td:last-child,
    table.price-table td:last-child {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #eee;
    }
    
    .prices-table-wrapper table td:last-child a,
    table.price-table td:last-child a {
        width: 100%;
        text-align: center;
        padding: 10px;
        background: #5b4fff;
        color: #fff;
        border-radius: 8px;
    }
}

/* Порядок оказания услуги - новый дизайн */
.order-step-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    position: relative;
}

.order-step-card__num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5b4fff, #7c6fff);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.order-step-card__title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.order-step-card__text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA баннер */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner__title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-banner__phone a {
    font-weight: 700;
}

.cta-banner__img {
    max-height: 280px;
    object-fit: contain;
}

/* Блок эксперта - новый дизайн */
.expert-check-card {
    background: linear-gradient(135deg, #e8f4fc, #d4ecf9);
    border-radius: 20px;
    padding: 32px;
}

.expert-check-card__photo-wrapper {
    position: relative;
    text-align: center;
}

.expert-check-card__photo {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.expert-check-card__experience {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #5b4fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.expert-check-card__label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.expert-check-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 4px;
}

.expert-check-card__position {
    color: #333;
    font-size: 1rem;
}

.expert-check-card__date-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.expert-check-card__date {
    color: #c82333;
    font-size: 1.1rem;
    font-weight: 600;
}

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item__header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s;
}

.faq-item__header:hover {
    background: #f8f9fa;
}

.faq-item__question {
    font-weight: 600;
    font-size: 1rem;
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: #333;
    transition: transform 0.2s;
}

.faq-item__icon::before {
    width: 2px;
    height: 12px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-item__icon::after {
    width: 12px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.faq-item__header[aria-expanded="true"] .faq-item__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__body {
    border-top: 1px solid #dee2e6;
}

.faq-item__answer {
    padding: 16px 20px;
    color: #6c757d;
    line-height: 1.6;
}

/* Форма "Задать вопрос врачу" */
.ask-doctor-form {
    position: relative;
}

.ask-doctor-form__quote {
    position: relative;
}

.ask-doctor-form__quote-icon {
    font-size: 4rem;
    color: #c82333;
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.ask-doctor-form__photo {
    max-height: 300px;
    object-fit: contain;
}

/* Блок помощь (телефон + WhatsApp) */
.help-cta-block {
    background: linear-gradient(135deg, #e8ecf3, #d8e0eb);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.help-cta-block__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 500px;
}

.help-cta-block__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.help-cta-block .btn-outline-dark {
    border: 2px solid #333;
    color: #333;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px;
    background: transparent;
}

.help-cta-block .btn-outline-dark:hover {
    background: #333;
    color: #fff;
}

.help-cta-block .btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.help-cta-block .btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

.help-cta-block__img {
    max-height: 300px;
    object-fit: contain;
}

/* Контентные блоки */
.service-content-block {
    margin-top: 48px;
    margin-bottom: 48px;
}

.service-content-block .article-content h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.service-content-block .article-content h2:first-child {
    margin-top: 0;
}

/* Адаптив */
@media (max-width: 991px) {
    .banner-price-box {
        font-size: 1rem;
        padding: 10px 16px;
    }
    
    .cta-banner__title {
        font-size: 1.5rem;
    }
    
    .expert-check-card {
        padding: 24px;
    }
    
    .expert-check-card__photo {
        width: 120px;
        height: 150px;
    }
    
    .expert-check-card__name {
        font-size: 1.25rem;
    }
    
    .help-cta-block {
        padding: 32px;
    }
    
    .help-cta-block__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .service-toc-author {
        margin-top: 32px;
        margin-bottom: 32px;
    }
    
    .toc-author-block {
        padding: 24px !important;
    }
    
    .service-content-block {
        margin-top: 32px;
        margin-bottom: 32px;
    }
    
    .order-step-card {
        padding: 20px;
    }
    
    .expert-check-card__date-label,
    .expert-check-card__date {
        text-align: left;
        margin-top: 16px;
    }
    
    .help-cta-block {
        padding: 24px;
    }
    
    .help-cta-block__buttons {
        flex-direction: column;
    }
    
    .help-cta-block__buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* End */
/* /bitrix/templates/osoznanie/components/bitrix/news.detail/service_article/style.css?177074924813008 */
