.block-white-container {
    background-color: #ffffff;
    padding: 40px 0;
}


/* Сетка для текста и фото — фиксированные 50% на 50% */
.vet-block {
    display: flex;
    align-items: stretch; /* Растягиваем дочерние элементы на всю высоту контейнера */
    gap: 40px;
    justify-content: space-between;
}

/* Каждый блок занимает ровно половину ширины минус отступ (gap) */
.vet-block > * {
    flex: 1 1 0; /* grow shrink basis. 0 в основе заставляет их делиться поровну */
    min-width: 0; /* Защита от переполнения длинным заголовком или текстом */
}

/* Стили конкретно для текстовой части (если нужен отдельный контроль) */
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали внутри своей половины */
}

/* Адаптивность: на мобильных устройствах колонки встают друг под друга */
@media (max-width: 768px) {
    .vet-block {
        flex-direction: column-reverse; /* Сначала ставим текст, чтобы кнопка была выше */
    }

    /* Возвращаем полную ширину блокам на мобильных */
    .vet-block > * {
        flex-basis: 100%;
    }

    .text-start.block-link.mt-5 {
        text-align: center;
    }
}



/* --- ОБЕРТКА СЕКЦИИ --- */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}


/* Заголовок H2 */
.faq-section h2 {
    text-align: center;
    font-size: 2.4rem;
    color: #1e3a8a;
    margin-bottom: 40px;
    font-weight: 600;
}

/* --- СТИЛИЗАЦИЯ ТЕГА DETAILS --- */
details {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
}

details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Убираем стандартный черный треугольник справа в Webkit-браузерах */
details summary::-webkit-details-marker {
    display: none;
}
/* Для Firefox */
details > summary {
    list-style: none;
}

/* Область вопроса (заголовок аккордеона) */
summary {
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e3a8a;
    position: relative;
    outline: none;
}

/* Иконка плюса/минуса сбоку */
summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #64748b;
    transition: transform 0.3s ease;
}

/* Превращаем плюс в минус при открытии */
details[open] summary::after {
    content: '–';
    transform: translateY(-50%) rotate(0deg);
}

/* Текст ответа внутри */
details p {
    padding: 0 25px 25px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
    border-top: 1px dashed #cbd5e1;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 640px) {
    .faq-section h2 {
        font-size: 1.8rem;
    }

    details summary {
        font-size: 1rem;
        padding: 18px 20px;
    }

    details p {
        padding-left: 20px;
        padding-right: 20px;
    }
}



.container-kom  {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.left-block {
    flex: 1;
    min-width: 300px;
}

.right-block {
    flex: 1.5;
    min-width: 300px;
}

.surgery-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}



.right-block p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.right-block ol {
    padding-left: 20px;
    margin: 0;
}

.right-block li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.right-block strong {
    color: #2980b9;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .container-kom {
        flex-direction: column;
    }

    .right-block h2 {
        font-size: 22px;
        text-align: center;
    }
}


:root {

    --border-radius: 12px;
    --gap-section: 30px;
    --gap-row: 20px;
}

.surgery-services {
    background-color: var(--color-white);
    padding: 40px 0;

}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-row);
    max-width: 1200px;
    margin: 0 auto var(--gap-section) auto;
    align-items: center;
}

.service-row:last-child {
    margin-bottom: 0;
}

/* Первый ряд: текст слева, картинка справа */
.service-row:first-child .service-content:first-child {
    order: 1;
}
.service-row:first-child .service-image {
    order: 2;
}

/* Второй ряд (обновлено): текст слева, картинка справа */
.service-row:last-child .service-content:first-child {
    order: 1;
}
.service-row:last-child .service-content:last-child {
    order: 2;
}

/* Общие стили контента */
.service-content {
    padding: 0 20px;
}

.service-content h2 {
    margin-top: 0;
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.service-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.service-content ul {
    padding-left: 20px;
    margin: 0;
}

.service-content li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

/* Стили изображений */
.service-image img, .service-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Адаптивность: на мобильных блоки встают друг под другом */
@media (max-width: 768px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: var(--gap-section);
    }

    .service-row:first-child .service-content:first-child,
    .service-row:last-child .service-content:first-child {
        order: 1;
    }

    .service-row:first-child .service-image,
    .service-row:last-child .service-content:last-child {
        order: 2;
    }

    .service-content h2 {
        font-size: 24px;
        text-align: center;
    }
}





.safety-section {

    padding: 50px 20px;

    text-align: center;
}

.safety-section h2 {
    margin-top: 0;
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.safety-section p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap-item);
    max-width: 1200px;
    margin: 0 auto;
}

.safety-item {
    background: #f9f9f9;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.safety-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-wrapper {
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.icon-wrapper picture,
.icon-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Если иконки монохромные, их можно окрасить в белый */
.icon-wrapper img {

}

.icon-text h3 {
    margin: 0;
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.icon-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .safety-section h2 {
        font-size: 28px;
    }

    .safety-section p {
        font-size: 16px;
        padding: 0 20px;
    }

    .safety-item {
        padding: 25px 15px;
    }

    .icon-text h3 {
        font-size: 18px;
    }

    .icon-text p {
        font-size: 14px;
    }
}
