.block-white-container {
    background-color: #ffffff;
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Сетка для текста и фото — фиксированные 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;
    }
}


.cardio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    margin: 0 auto;
    padding: 50px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.cardio-text {
    flex: 1 1 350px;
    min-width: 280px;
}

.cardio-text h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 24px;

    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cardio-text ul {
    padding-left: 20px;
    margin: 0;
}

.cardio-text li {
    margin-bottom: 15px;
    color: #34495e;
    line-height: 1.5;
    position: relative;
}

.cardio-text li::before {
    content: "•";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: -15px;
    top: 0;
}

.cardio-image {
    flex: 1 1 350px;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cardio-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .cardio-container {
        flex-direction: column;
        padding: 15px;
    }
    .cardio-text h2 {
        font-size: 22px;
    }
}


.risk-section {

    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.risk-section h2 {

    color: #2c3e50;
    font-size: 26px;
    margin-bottom: 30px;

    padding-bottom: 10px;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.risk-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.risk-card__image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 20px;
}

.risk-card h3 {
    margin: 0 0 15px 0;
    color: #34495e;
    font-size: 20px;
}

.risk-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.risk-card li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.risk-card li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


.stages-section {

    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #fdfbfb;
}

.stages-section h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 26px;
    margin-bottom: 40px;

    padding-bottom: 10px;
}

.stages-timeline {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stage {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    width: 280px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e1e8ed;
}

.stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #3498db;
}

.stage-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.stage h3 {
    margin: 0 0 10px 0;
    color: #34495e;
    font-size: 18px;
    font-weight: 600;
}

.stage p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .stages-timeline {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .stage {
        width: 90%;
    }
}





/* --- ОБЕРТКА СЕКЦИИ --- */
.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;
    }
}
