




/* --- ОБЕРТКА СЕКЦИИ --- */
.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;
    }
}


.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;
    }
}
/* --- ОБЕРТКА СЕКЦИИ --- */
.emergency-block {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* Центрируем блоки */
    background-color: #fff;
    border-left: 6px solid #dc3545;
    border-radius: 8px;
    padding: 30px;
    margin: 40px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    gap: 30px; /* Отступ между блоками */
    max-width: 900px;
}

/* Контейнер для текста */
.content {
    flex: 0 0 calc(50% - 15px); /* Занимает 50% ширины минус половину отступа (gap) */
    min-width: 280px; /* Чтобы текст не сжимался слишком сильно */
}

/* Контейнер для картинки */
.icon {
    flex: 0 0 calc(50% - 15px); /* Занимает 50% ширины минус половину отступа */
    display: flex;
    justify-content: center; /* Центрируем картинку внутри блока */
    align-items: center;
    min-width: 280px;
}

/* Заголовок */
.content h2 {
    margin-top: 0;
    color: #212529;
    font-size: 28px;
}

/* Подзаголовок */
.subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

/* Список */
.warning-list {
    padding-left: 20px;
    margin: 0;
}

.warning-list li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.5;
    position: relative;
}

.warning-list li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #dc3545;
    border-radius: 50%;
}

/* Картинка */
.icon img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover; /* Чтобы картинка не искажалась */
}

/* --- АДАПТИВНОСТЬ (Mobile First) --- */
@media (max-width: 768px) {
    .emergency-block {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* На мобильных каждый блок на 100% ширины */
    .content, .icon {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .content h2 {
        font-size: 24px;
    }

    .warning-list li {
        font-size: 16px;
        text-align: left; /* Возвращаем выравнивание по левому краю для списка */
    }

    .warning-list {
        padding-left: 0; /* Убираем отступ для списка на мобильных */
    }

    .warning-list li::before {
        left: -15px;
        top: 7px;
    }
}


/* Основной контейнер секции */
.how-we-work {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

/* Заголовок секции */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 50px;
}

/* Контейнер для трех блоков */
.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Позволяет блокам переноситься на новую строку на узких экранах */
}

/* Индивидуальный блок шага */
.step-block {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Эффект при наведении на блок */
.step-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.step-block img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 20px;
}

/* Иконка внутри круга */
.step-icon {

}

/* Цвета обводки иконок (задаются в SVG внутри HTML) */

/* Заголовок шага */
.step-title {
    font-size: 20px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 15px 0;
}

/* Текст описания */
.step-text {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    flex-grow: 1; /* Заставляет текст заполнять пространство, чтобы кнопки/элементы были внизу, если они появятся */
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .steps-container {
        gap: 20px;
    }
    .step-block {
        padding: 30px 20px;
    }
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
}



/* --- ОБЕРТКА СЕКЦИИ --- */
.resuscitation-block {

    margin: 0 auto;
    padding: 60px 20px 60px 20px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.resuscitation-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 10px;
    font-weight: 700;
}

.resuscitation-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* --- ДВУХКОЛОНОЧНАЯ СЕТКА --- */
.columns-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.column {
    flex: 1;
    min-width: 300px;
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Цветовые акценты для заголовков колонок */
.column-dogs .species-title {
    color: #2563eb;
}

.column-cats .species-title {
    color: #7c3aed;
}

/* Иконки */
.species-icon {
    text-align: center;
    margin-bottom: 25px;
}

.species-icon svg {
    display: inline-block;
}

/* Заголовки внутри колонок */
.species-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

/* Списки */
.species-list {
    padding-left: 0;
    margin: 0;
}

.species-list li {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    position: relative;
    padding-left: 20px;
}

.species-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #6b7280;
    font-size: 1.2rem;
}

/* Блок для экзотов */
.exotics-block {
    background-color: #fef3c7;
    border-radius: 12px;
    padding: 25px 30px;
    border-left: 6px solid #f59e0b;
}

.exotics-title {
    margin-top: 0;
    color: #92400e;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.exotics-block p {
    margin: 0;
    color: #92400e;
    line-height: 1.6;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 900px) {
    .columns-container {
        flex-direction: column;
        align-items: center;
    }

    .resuscitation-title {
        font-size: 1.8rem;
    }
}
