.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;
    }
}



.infusion-grid {

    margin: 0 auto;
    padding: 24px;
}

.infusion-grid h2 {
    color: #00509d;
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
}

.infusion-grid .intro {
    font-size: 16px;
    margin-bottom: 32px;
    color: #555;
    text-align: center;
}

/* Контейнер сетки */
.cards-container {
    display: grid;
    grid-template-columns: 1fr; /* По умолчанию 1 колонка (мобильные) */
    gap: 24px;
}

/* Стили отдельной карточки */
.indication-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e5e9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.indication-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.indication-card h3 {
    color: #00509d;
    font-size: 20px;
    margin-bottom: 10px;
    flex-grow: 0;
    display: flex;
    align-items: center;
}

.indication-card h3::before {
    content: "⚕️";
    font-size: 24px;
    margin-right: 10px;
}

.indication-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Адаптивность */
@media (min-width: 600px) {
    /* Планшеты: 2 блока в ряд */
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    /* Десктопы: 3 блока в ряд */
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .infusion-grid h2 {
        font-size: 32px;
    }
}


.therapy-types {

    margin: 0 auto;
    padding: 0 20px 40px;
}

.therapy-types h2 {
    color: #00509d;
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}

/* Главная строка: две колонки (лево/право) */
.therapy-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Внутренний блок: картинка Сверху, текст Снизу */
.therapy-item {
    display: flex;
    flex-direction: column; /* Ключевое изменение */
    align-items: center;    /* Центрируем картинку и текст по горизонтали */
    text-align: center;
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e5e9;
    gap: 20px; /* Отступ между картинкой и текстом */
}

/* Добавим легкую смену фона для правого блока для визуального ритма */
.therapy-pair .therapy-item:nth-child(2) {
    background-color: #f8f9fa;
}

/* Визуальная часть (картинка) */
.therapy-visual {
    width: 100%;

    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.therapy-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Текстовая часть */
.therapy-text h3 {
    color: #00509d;
    font-size: 22px;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.therapy-text h3::before {
    content: "💉";
    font-size: 24px;
}

.therapy-text p {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Адаптивность: на мобильных устройствах оставляем один столбец */
@media (max-width: 768px) {
    .therapy-pair {
        grid-template-columns: 1fr;
    }

    .therapy-item {
        padding: 20px;
    }

    .therapy-types h2 {
        font-size: 26px;
    }

    .therapy-text h3 {
        font-size: 20px;
    }

    .therapy-text p {
        font-size: 14px;
    }
}



:root {
  --med-primary: #006c51;
  --med-line: #cfe0da;
  --med-text: #2b363f;
  --med-muted: #6b7a83;
}

.procedure-row {
  max-width: 1150px;
  margin: 32px auto;
  padding: 0 16px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.procedure-row h2 {
  text-align: center;
  color: var(--med-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 48px;
}

/* Ровно 5 колонок — без авторазмещения */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.steps-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Круг с номером */
.steps-grid .number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--med-primary);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  border-radius: 50%;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Горизонтальная линия через круги */
.steps-grid::before {
  content: "";
  position: absolute;
  margin-top: 24px; /* центр круга: 48px / 2 */
  height: 2px;
  background: var(--med-line);
  z-index: 0;
}



:root {
  --med-primary: #006c51;
  --med-text: #2b363f;
  --med-muted: #6b7a83;
}

/* Обёртка с заголовком */
.contraindications-wrap {
  margin: 40px auto;
  padding: 0 16px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.contraindications-wrap h2 {
  color: var(--med-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Две колонки */
.contraindications {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Текстовая колонка */
.contraindications .content {
  flex: 1 1 60%;
  min-width: 0;
}

.contraindications .content > p {
  color: var(--med-primary);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 18px;
}

.contraindications .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contraindications .list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5edeb;
  color: var(--med-text);
  font-size: 15px;
  line-height: 1.5;
}

.contraindications .list li:last-child {
  border-bottom: none;
}

.contraindications .icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}

/* Колонка с картинкой */
.contraindications .image {
  flex: 0 0 35%;

}

.contraindications .image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(43, 54, 63, 0.1);
}

/* Адаптив: на узких экранах — в колонку */
@media (max-width: 768px) {
  .contraindications {
    flex-direction: column;
    gap: 24px;
  }

  .contraindications .image {
    max-width: 100%;
    order: -1; /* картинка сверху; уберите, если она должна быть после текста */
  }
}


:root {
  --med-primary: #006c51;
  --med-text: #2b363f;
  --med-muted: #6b7a83;
  --med-bg: #f9fafb;
}

.procedure-controls {

  margin: 40px auto;
  padding: 0 16px;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.procedure-controls h2 {
  text-align: center;
  color: var(--med-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.control-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(43, 54, 63, 0.06);
  border-top: 4px solid var(--med-primary);
  display: flex;
  flex-direction: column;
}

.control-card h3 {
  color: var(--med-text);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.control-card p {
  color: var(--med-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Адаптив: на мобильных — в одну колонку */
@media (max-width: 768px) {
  .controls-grid {
    grid-template-columns: 1fr;
  }
}



/* --- ОБЕРТКА СЕКЦИИ --- */
.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;
    }
}
