/* Герой */
.hero-section {
    margin: 0;
    padding: 0;
    background-image: url('/images/fon.webp');
    background-size: cover;
    background-position: center;
}

.hero-main h1 {
    color: var(--olive-dark);
}

@media (min-width: 640px)  { .hero-main h1 { font-size: 2.1rem; } }
@media (min-width: 768px)  { .hero-main h1 { font-size: 2.5rem; } }
@media (min-width: 1280px) { .hero-main h1 { font-size: 3rem;   } }

.hero-main h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--olive);
    margin: 12px auto;
}

@media (min-width: 1280px) {
    .hero-main h1::after {
        margin: 15px 0;
        width: 150px;
    }
}

/* Текст описания */
.description-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Карточка врача на фото */
.doctor-info-card {
    width: auto;
    max-width: 90%;
    white-space: normal;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(107, 142, 35, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doctor-name {
    color: var(--olive-dark);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 4px;
}

.doctor-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    padding-left: 12px;
}

.doctor-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 3px;
    background: var(--olive);
    border-radius: 2px;
}

/* Рамка карточки с оливой */
.borderolive {
    border-top-width: 4px;
    border-color: var(--olive);
}

/* Счётчики */
.counter-icon-bg              { background-color: rgba(107, 142, 35, 0.1); }
#counters-section .counter    { color: var(--olive); font-size: 2rem; font-weight: bold; }
#counters-section .text-olive { color: var(--olive); }
#counters-section .fas        { color: var(--olive); }
