/* ============================================================
   БАЗОВЫЕ СТИЛИ
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: #1a2b3c;
    background: #f8fafc;
    margin: 0;
    padding: 0;
}

article {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
}

/* ============================================================
   ТИПОГРАФИКА
   ============================================================ */
h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2b3c;
    margin: 30px 0 20px;
    line-height: 1.3;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2b3c;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c8dce8;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d5a73;
    margin: 25px 0 12px;
}

p {
    margin: 0 0 14px;
    text-align: justify;
}

ul, ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

li strong {
    color: #1a2b3c;
}

/* ============================================================
   БЛОК ЭКСПЕРТНОСТИ ВРАЧА
   ============================================================ */
.bv-expertise-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f5f9 0%, #e4ecf3 100%);
    border-radius: 16px;
    border: 1px solid #c8dce8;
    margin-bottom: 30px;
    align-items: center;
}

.bv-expertise-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
}

.bv-expertise-info {
    flex: 1;
}

.bv-expertise-author-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b8fa8;
    margin-bottom: 4px;
}

.bv-expertise-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 6px;
}

.bv-expertise-name a {
    color: #024e7e;
    text-decoration: none;
    transition: color 0.2s;
}

.bv-expertise-name a:hover {
    color: #1a6fa3;
    text-decoration: underline;
}

.bv-expertise-title {
    font-size: 0.95rem;
    color: #3d5a73;
    margin: 0 0 10px;
    font-style: italic;
}

.bv-expertise-intro {
    font-size: 0.95rem;
    color: #3d5a73;
    margin: 0 0 12px;
}

.bv-expertise-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bv-expertise-details li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #3d5a73;
    line-height: 1.5;
}

.bv-expertise-details li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #024e7e;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* ============================================================
   БЛОК МНЕНИЯ ВРАЧА (bv-expert-block)
   ============================================================ */
.bv-expert-block {
    display: flex;
    gap: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #e8f1f8 0%, #dce8f2 100%);
    border-radius: 14px;
    border-left: 4px solid #024e7e;
    margin: 24px 0;
    align-items: flex-start;
}

.bv-expert-block .bv-expert-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bv-expert-content {
    flex: 1;
}

.bv-expert-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #024e7e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.bv-expert-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #1a2b3c;
    font-style: italic;
    line-height: 1.7;
}

/* ============================================================
   АДАПТИВНЫЕ ИЗОБРАЖЕНИЯ
   ============================================================ */
.adaptive-image {
    margin: 24px 0;
    text-align: center;
}

.adaptive-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.adaptive-image figcaption {
    font-size: 0.85rem;
    color: #6b8fa8;
    margin-top: 10px;
    font-style: italic;
}

/* ============================================================
   ГАЛЕРЕЯ ДО/СРАЗУ ПОСЛЕ/РЕЗУЛЬТАТ (bv-before-after)
   1 кейс в ряд, 3 фото в одну линию
   ============================================================ */
.bv-before-after {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 24px 0;
}

.bv-ba-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #c8dce8;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bv-ba-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 3 фото в один ряд: До | Сразу после | Результат */
.bv-ba-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #c8dce8;
}

.bv-ba-images img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.bv-ba-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.bv-ba-img-wrap {
    position: relative;
}

.bv-ba-info {
    padding: 16px 18px;
}

.bv-ba-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 6px;
}

.bv-ba-desc {
    font-size: 0.85rem;
    color: #6b8fa8;
    margin: 0;
}

/* ============================================================
   ТАБЛИЦЫ (geo-table)
   ============================================================ */
.geo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 10px;
    overflow: hidden;
}

.geo-table thead {
    background: linear-gradient(135deg, #1a6fa3 0%, #024e7e 100%);
    color: #fff;
}

.geo-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.geo-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #c8dce8;
    vertical-align: top;
}

.geo-table tbody tr:nth-child(even) {
    background: #f0f5f9;
}

.geo-table tbody tr:hover {
    background: #e8f1f8;
}

.geo-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   ПРАЙС-ЛИСТ (bv-price)
   ============================================================ */
.bv-price-section {
    margin: 30px 0;
}

.bv-price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.bv-price-table thead {
    background: linear-gradient(135deg, #1a6fa3 0%, #024e7e 100%);
    color: #fff;
}

.bv-price-table th {
    padding: 16px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bv-price-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #c8dce8;
    vertical-align: middle;
}

.bv-price-table tbody tr:nth-child(even) {
    background: #f0f5f9;
}

.bv-price-table tbody tr:hover {
    background: #e8f1f8;
}

.bv-price-table tbody tr:last-child td {
    border-bottom: none;
}

.bv-price-value {
    font-weight: 700;
    color: #024e7e;
    font-size: 1.05rem;
    white-space: nowrap;
}

.bv-price-note {
    font-size: 0.8rem;
    color: #6b8fa8;
    margin-top: 4px;
}

.bv-price-disclaimer {
    background: #e8f1f8;
    border-left: 4px solid #024e7e;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #024e7e;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
    margin: 16px 0;
    padding: 18px 20px;
    background: #f0f5f9;
    border-radius: 12px;
    border: 1px solid #c8dce8;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.faq-question {
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 10px;
    font-size: 1rem;
}

.faq-item p {
    margin: 0;
    color: #3d5a73;
    font-size: 0.95rem;
}

.faq-item strong {
    color: #024e7e;
}

/* ============================================================
   БЛОК ЗАПИСИ НА КОНСУЛЬТАЦИЮ
   ============================================================ */
.bv-appt-section {
    background: #f0f5f9;
    padding: 40px 20px;
    margin: 40px -20px -20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bv-appt-bg {
    background: linear-gradient(135deg, #fff 0%, #f0f5f9 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid #c8dce8;
}

.bv-appt-bg .bv-expert-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bv-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.bv-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #c8dce8;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.bv-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #024e7e;
}

.bv-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.bv-contact-icon.phone { background: #e8f1f8; }
.bv-contact-icon.tg { background: #e8f1f8; }
.bv-contact-icon.email { background: #fdf0f0; }

.bv-contact-info {
    display: flex;
    flex-direction: column;
}

.bv-contact-label {
    font-size: 0.75rem;
    color: #8aa8be;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bv-contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2b3c;
}

.bv-appt-note {
    font-size: 0.85rem;
    color: #6b8fa8;
    margin-top: 14px;
    text-align: center;
}

/* ============================================================
   ЭТАПЫ ПРОЦЕДУРЫ (bv-steps)
   ============================================================ */
.bv-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.bv-step-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #c8dce8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.bv-step-card::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a6fa3, #024e7e);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(2,78,126,0.3);
}

.bv-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 10px;
    padding-right: 40px;
}

.bv-step-desc {
    font-size: 0.9rem;
    color: #3d5a73;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   СПИСОК ПРЕИМУЩЕСТВ (bv-features)
   ============================================================ */
.bv-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 24px 0;
}

.bv-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f0f5f9;
    border-radius: 12px;
    border: 1px solid #c8dce8;
}

.bv-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a6fa3, #024e7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bv-feature-text {
    font-size: 0.9rem;
    color: #3d5a73;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   БЛОК ВАЖНЫХ ФАКТОВ (bv-warning)
   ============================================================ */
.bv-warning {
    background: linear-gradient(135deg, #e8f1f8 0%, #dce8f2 100%);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    border: 1px solid #c8dce8;
}

.bv-warning-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #024e7e;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bv-warning ul {
    margin: 0;
    padding-left: 20px;
}

.bv-warning li {
    color: #024e7e;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

/* ============================================================
   КЕЙСЫ / ПРИМЕРЫ РАБОТ
   ============================================================ */
.bv-cases {
    margin: 24px 0;
}

.bv-case-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #f0f5f9;
    border-radius: 14px;
    margin-bottom: 14px;
    border: 1px solid #c8dce8;
    align-items: flex-start;
}

.bv-case-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fa3, #024e7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bv-case-content {
    flex: 1;
}

.bv-case-title {
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 4px;
    font-size: 1rem;
}

.bv-case-desc {
    color: #6b8fa8;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   АДАПТИВНОСТЬ (мобильные устройства)
   ============================================================ */
@media (max-width: 768px) {
    article {
        padding: 16px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .bv-expertise-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bv-expertise-details li {
        text-align: left;
    }

    .bv-expert-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bv-expert-content p {
        text-align: left;
    }

    .bv-contact-grid {
        grid-template-columns: 1fr;
    }

    .geo-table,
    .bv-price-table {
        font-size: 0.8rem;
    }

    .geo-table th,
    .geo-table td,
    .bv-price-table th,
    .bv-price-table td {
        padding: 10px 12px;
    }

    /* Галерея: 1 кейс в ряд, фото в колонку */
    .bv-before-after {
        grid-template-columns: 1fr;
    }

    .bv-ba-images {
        grid-template-columns: 1fr;
    }

    .bv-ba-images img {
        height: 200px;
    }

    .bv-features {
        grid-template-columns: 1fr;
    }

    .bv-appt-bg {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bv-appt-bg .bv-expert-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .bv-steps {
        grid-template-columns: 1fr;
    }
}