/* Страница «О враче» */

/* Заголовки */
.title-start {
    color: var(--olive-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.title-start::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--olive);
}

.title-center {
    color: var(--olive-dark);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.title-center::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--olive);
}

/* Секция подхода */
.doctor-approach-section {
    background: var(--gray-bg);
    position: relative;
    overflow: hidden;
}

.doctor-approach-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.1) 0%, transparent 100%);
    z-index: 0;
}

.approach-main-title {
    color: var(--olive-dark);
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.approach-main-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--olive);
    border-radius: 2px;
}

.approach-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Уникальный опыт */
.unique-experience-with-photo {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(107, 142, 35, 0.08);
    border: 1px solid var(--olive-card-border);
    position: relative;
    overflow: hidden;
}

.after-line { position: relative; overflow: hidden; }

.after-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--olive-light), var(--olive-dark));
    border-radius: 0 0 20px 20px;
}

.doctor-photo-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.doctor-photo {
    width: 100%;
    height: auto;
    max-height: 533px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.doctor-photo-wrapper:hover .doctor-photo { transform: scale(1.05); }

.unique-content {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.unique-description {
    color: var(--text-base);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.unique-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: auto;
}

.unique-feature-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--olive-card-bg);
    border: 1px solid var(--olive-card-border);
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.unique-feature-card:hover {
    background: rgba(107, 142, 35, 0.08);
    transform: translateX(8px);
    box-shadow: 5px 5px 20px rgba(107, 142, 35, 0.1);
}

.feature-number {
    background: var(--olive);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-content h5 {
    color: var(--olive-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.feature-content p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Опыт и наука */
.card-header    { margin-bottom: 3rem; position: relative; z-index: 1; }
.card-icon      { font-size: 3rem; color: var(--olive); margin-bottom: 1rem; display: inline-block; }

.highlight {
    color: var(--olive-dark);
    font-weight: 600;
    background: rgba(107, 142, 35, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.improved-list        { margin: 2rem 0; }

.improved-list-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.improved-list-item:last-child { border-bottom: none; }

.icon-wrapper {
    background: var(--olive-light);
    color: var(--olive-dark);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.icon-wrapper i { font-size: 0.9rem; }

.text-content { flex: 1; }

.item-title {
    font-weight: 600;
    color: var(--olive-dark);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.item-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.improved-science-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .improved-science-card { flex-direction: row; align-items: center; }
}

.improved-science-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--olive-light), var(--olive-dark));
    border-radius: 0 0 20px 20px;
}

.improved-content { flex: 1; }

.improved-stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--olive-light);
    border-radius: 15px;
    min-width: 150px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .improved-stats-wrapper {
        border-left: 2px solid var(--olive);
        border-top: none;
        padding-left: 2rem;
        margin-left: 2rem;
        background: transparent;
    }
}

.improved-stat-item    { text-align: center; }

.improved-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--olive);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) { .improved-stat-number { font-size: 2.5rem; } }

.improved-stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (min-width: 768px) { .improved-stat-label { font-size: 0.9rem; letter-spacing: 1px; } }

/* Международные стандарты */
.compact-standards {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(107, 142, 35, 0.08);
    border: 1px solid var(--olive-card-border);
}

.standards-subtitle {
    color: #666;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.standards-compact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.compact-standard-card {
    background: rgba(107, 142, 35, 0.02);
    border: 1px solid var(--olive-card-border);
    border-radius: 15px;
    padding: 1.8rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.compact-standard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--olive);
    transition: height 0.3s ease;
}

.compact-standard-card:hover {
    background: rgba(107, 142, 35, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 142, 35, 0.1);
}

.compact-standard-card:hover::before { height: 100%; }

.compact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.compact-card-icon {
    background: var(--olive);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.compact-card-header h5 {
    color: var(--olive-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.compact-standard-card p { color: var(--text-muted); margin: 0; line-height: 1.6; font-size: 0.95rem; }

/* Партнерство */
.partnership-section {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(107, 142, 35, 0.1);
}

.partnership-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(107, 142, 35, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--olive);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(107, 142, 35, 0.08);
    transform: translateX(8px);
    box-shadow: 5px 5px 20px rgba(107, 142, 35, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--olive);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-card:hover .step-number,
.unique-feature-card:hover .feature-number {
    background: var(--olive-dark);
    transform: scale(1.1);
}

.step-card h5 {
    color: var(--olive-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.partnership-quote {
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.1) 0%, rgba(143, 188, 143, 0.1) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--olive);
    text-align: center;
}

.partnership-quote blockquote {
    font-style: italic;
    color: var(--olive-dark);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

/* Вкладки достижений */
.tab-container { margin-bottom: 2rem; }

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.tab-btn {
    transition: var(--transition);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem 0.375rem 0 0;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    background-color: white;
    color: var(--olive);
    border-bottom: 2px solid var(--olive);
}

.tab-btn:not(.active) {
    background-color: rgba(107, 142, 35, 0.1);
    color: #666;
}

.tab-btn:hover:not(.active) {
    background-color: rgba(107, 142, 35, 0.2);
    color: var(--olive);
}

.tab-content { padding-top: 1rem; }
.tab-pane        { display: none; }
.tab-pane.active { display: block; }

.content-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--olive);
    margin-bottom: 1.5rem;
}

.content-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--olive);
}

.content-card ul { list-style-type: none; padding: 0; }

.content-card li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.content-card li:last-child { margin-bottom: 0; }

.content-card li i {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    color: var(--olive);
}

.content-card a         { color: var(--olive); text-decoration: none; }
.content-card a:hover   { text-decoration: underline; }

/* Адаптивность */
@media (max-width: 1023px) {
    .standards-compact-grid { grid-template-columns: 1fr; }
    .partnership-steps      { grid-template-columns: 1fr; }
    .compact-standards      { padding: 2rem; }
    .standards-subtitle     { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    .approach-main-title        { font-size: 2rem; }
    .unique-experience-with-photo { padding: 2rem; }

    .unique-feature-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    .feature-number         { width: 40px; height: 40px; font-size: 1rem; margin: 0 auto; }
    .doctor-photo-wrapper   { min-height: 250px; }
    .unique-content         { padding-top: 1.5rem; }

    .improved-science-card,
    .partnership-section    { padding: 1.5rem; }

    .improved-list-item     { padding: 0.8rem 0; }
    .improved-stats-wrapper { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 576px) {
    .compact-standard-card  { padding: 1.5rem; }
    .compact-card-icon      { width: 45px; height: 45px; font-size: 1.1rem; }
    .partnership-section    { padding: 1.5rem; }
    .step-card              { padding: 1.5rem; }
    .improved-science-card  { padding: 1.2rem; border-radius: 15px; }

    .improved-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-wrapper           { margin-bottom: 0.5rem; }
    .unique-feature-card    { padding: 1rem; }
    .feature-number         { width: 35px; height: 35px; font-size: 0.9rem; }
    .doctor-photo-wrapper   { min-height: 200px; border-radius: 10px; }
    .approach-main-title    { font-size: 1.8rem; }
    .unique-description     { font-size: 1rem; }

    .unique-experience-with-photo {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1279px) {
    .unique-content {
        padding-left: 0;
        padding-top: 2rem;
        width: 100%;
    }
    .doctor-photo-wrapper {
        min-height: 300px;
        height: auto;
        width: 100%;
        margin: 0 auto;
    }
    .doctor-photo {
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 991px) {
    .unique-content {
        padding-left: 0;
        padding-top: 2rem;
        width: 100%;
    }
    .doctor-photo-wrapper   { min-height: 250px; height: auto; width: 100%; }
    .doctor-photo           { width: 100%; height: auto; max-height: 400px; }
}
