* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #0F172A;
    background-color: #FFFFFF;
    line-height: 1.5;
    overflow-x: hidden;
}

html {

}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ========== НАВИГАЦИЯ ========== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.3;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s;
    
}

.nav-links a:hover {
    color: #000;
    text-decoration:underline;
}

.nav-btn {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 28px;
    background: none;
    border: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98) !important;
        padding: 10px 0;
    }
    
    body {
        padding-top: 64px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .burger {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        gap: 28px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-phone {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #E2E8F0;
        width: 100%;
        text-align: center!important;
    }
    
    .mobile-phone a {
        display: inline-flex;
        align-items: center;
        
        background: #059669;
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .mobile-phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: #059669;
        border-radius: 50%;
        text-decoration: none;
        font-size: 22px;
        transition: transform 0.2s, background 0.2s;
    }
    
    .mobile-phone-icon:hover {
        background: #047857;
        transform: scale(1.05);
    }
}

@media (min-width: 769px) {
    .mobile-phone-icon {
        display: none;
    }
}

/* ========== КНОПКИ ========== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

.btn-outline {
    background: transparent;
    color: #059669;
    border: 2px solid #059669;
}

.btn-outline:hover {
    background: #059669;
    color: white;
    transform: translateY(-3px);
}

/* ========== ЗАГОЛОВКИ ========== */
h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 35px;
    margin-bottom: 20px;
    color: #0F172A;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1E293B;
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    .btn { padding: 12px 24px; font-size: 14px; }
}

/* ========== HERO ========== */
.hero {
    padding: 30px 0 40px;
    background-color: #f1f1f1;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 1;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    padding: 8px 20px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 28px 0 20px;
}

@media (max-width: 768px) {
    .hero { padding: 40px 0 30px; }
    .hero-grid { flex-direction: column; }
    .hero-content { order: 1; }
    .hero-image { order: 0; margin-bottom: 20px;align-self: center !important; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
}

.placeholder-img {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    font-weight: 500;
    min-height: 300px;
}

/* ========== АНИМАЦИЯ ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== КАРТОЧКИ ========== */
.symptoms-grid, .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin: 48px 0;
}

.symptom-card, .stat-card, .step {
    background: white;
    padding: 28px 20px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.symptom-card:hover, .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    border-color: #10B981;
}

.icon-placeholder {
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.stat-number {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 12px 0;
}

/* ========== ТАБЛИЦА ========== */
.compare-wrapper {
    background: white;
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.05);
    margin: 40px 0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.compare-table th, .compare-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.compare-table th {
    background: #f1f1f1;
    color: #0F172A;
    font-weight: 900;
}

.check-green {
    color: #059669;
    font-weight: 700;
}

/* ========== СОСТАВ (РАСКРЫТЫЙ) ========== */
.composition-item {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.composition-item:hover {
    transform: translateX(5px);
    border-color: #10B981;
    box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
}

.composition-item h3 {
    color: #059669;
    margin-bottom: 12px;
}

.composition-item p {
    color: #475569;
    line-height: 1.6;
}

/* ========== АККОРДЕОН (исправленный для мобильных) ========== */
.accordion-item {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    font-size: 16px;
    line-height: 1.4;
}

.accordion-header:hover {
    background: #F8FAFC;
}

.accordion-header::after {
    content: '+';
    font-size: 22px;
    color: #059669;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.accordion-item.active .accordion-header::after {
    content: '−';
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
    max-height: none; /* Убираем ограничение высоты */
}

/* Дополнительные стили для текста внутри ответа */
.accordion-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #334155;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}

/* ========== БЛОК ВРАЧА ========== */
.doctor-section {
    background: #F8FAFC;
    padding: 80px 0;
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.doctor-image {
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
}

.doctor-image .placeholder-img {
    height: 450px;
    width: 100%;
}

.doctor-regalia {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #E2E8F0;
}

.doctor-regalia p {
    margin: 8px 0;
    color: #334155;
}

@media (max-width: 768px) {
    .doctor-section { padding: 50px 0; }
    .doctor-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .doctor-image {
        order: 0;
        max-width: 320px;
        margin: 0 auto;
    }
    .doctor-image .placeholder-img {
        height: 360px;
    }
    .doctor-info {
        order: 1;
        text-align: center;
    }
    .doctor-info .btn {
        margin-top: 16px;
    }
    .doctor-regalia {
        text-align: left;
    }
}

/* ========== ОТЗЫВЫ (карусель) ========== */
.reviews-swiper {
    padding: 20px 0 60px;
}

.review-card-full {
    background: white;
    border-radius: 24px;
    padding: 32px;
    padding-left:50px;
    padding-right:50px;
    box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
    border: 1px solid #E2E8F0;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card-full p {
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: #059669;
    font-style: normal;
}

.swiper-pagination-bullet-active {
    background: #059669 !important;
}

.swiper-button-prev, .swiper-button-next {
    color: #059669 !important;
}

@media (max-width: 768px) {
    .swiper-button-prev, .swiper-button-next {
        display: none !important;
    }
    .review-card-full {
        padding: 24px;
    }
}

/* ========== ФОРМА ========== */
.form-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 60px 0;
    border-radius: 40px;
    margin: 60px 0;
    text-align: center;
}

.form-section h2 {
    color: white;
}

.form-section p {
    color: #94A3B8;
}

.form-group {
    max-width: 450px;
    margin: 24px auto;
}

input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 60px;
    border: 1px solid #059669;
    font-size: 16px;
    background: white;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .form-section {
        padding: 40px 20px;
        border-radius: 28px;
        margin: 40px 0;
    }
    .form-group { margin: 20px auto; }
    input { padding: 14px 18px; }
}

/* ========== ПОПАП ========== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 32px;
    border-radius: 32px;
    max-width: 460px;
    width: 90%;
    position: relative;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.close-popup {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    color: #94A3B8;
}

@media (max-width: 768px) {
    .popup-content { padding: 28px 24px; }
}

/* Модалка для лицензий */
.license-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.license-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.license-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.license-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}

.license-modal-close:hover {
    color: #000;
}

/* ========== ФУТЕР ========== */
.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer a {
    color: #94A3B8;
    text-decoration: underline;
    transition: color 0.3s;
}

.footer a:hover {
    color: #10B981;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer { padding: 40px 0 20px; margin-top: 40px; }
    .footer-grid { gap: 32px;  }
}


/* ========== ИЗОБРАЖЕНИЕ В HERO (квадратное, адаптивное) ========== */
.hero-image {
    flex: 1;
    text-align: center;
    align-self: flex-start;
}

.hero-image-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
    margin-top:20px;
}

.hero-image-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.2);
}

/* Для планшетов */
@media (max-width: 1024px) {
    .hero-image-img {
        max-width: 420px;
    }
}

/* Для мобильных */
@media (max-width: 768px) {
    .hero-image-img {
        max-width: 320px;
        border-radius: 24px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-image-img {
        max-width: 330px;
        border-radius: 20px;
    }
}

/* ========== ШАГИ С ИЗОБРАЖЕНИЯМИ ========== */
.step {
    background: white;
    padding: 28px 20px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
    border-color: #10B981;
}

.step-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    margin: 16px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step-img:hover {
    transform: scale(1.03);
}

.step h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    color: #1E293B;
}

.step p {
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

/* Для мобильных */
@media (max-width: 768px) {
    .step-img {
        max-width: 340px;
    }
    
    .step {
        padding: 20px 16px;
    }
    
    .step h3 {
        font-size: 18px;
    }
    
    .step p {
        font-size: 14px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .step-img {
        max-width: 340px;
    }
}



/* ========== ИКОНКИ СИМПТОМОВ ========== */
.symptom-icon {
    max-width: 300px;
   
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 20px;
    padding: 12px;
    transition: transform 0.3s ease;
}

.symptom-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

.symptom-card:hover .symptom-icon {
    transform: scale(1.05);
}

/* Для мобильных */
@media (max-width: 768px) {
    .symptom-icon {
        max-width: 300px;
    
        padding: 10px;
    }
}


/* ========== КНОПКА "НАВЕРХ" ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.prokrutka{
    width:30px;
    margin:0 auto;
}
.prokrutka img{
    width:50px;
}
@media (min-width: 540px) {
    .prokrutka{
        display:none;
    }
}

        /* Дополнительные стили для страницы-хаба */
        .hub-header {
            text-align: center;
            padding: 60px 0 30px;
            background: #f8fafc;
        }
        .hub-header h1 {
            font-size: 48px;
            margin-bottom: 16px;
        }
        .hub-header p {
            font-size: 18px;
            color: #475569;
            max-width: 700px;
            margin: 0 auto;
        }
        .category-title {
            font-size: 32px;
            margin: 50px 0 25px;
            padding-bottom: 10px;
            border-bottom: 3px solid #10b981;
            display: inline-block;
        }
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        .service-card {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .service-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
            border-color: #10b981;
        }
        .service-icon {
            font-size: 44px;
            margin-bottom: 16px;
        }
        .service-card h3 {
            font-size: 22px;
            margin-bottom: 12px;
            color: #0f172a;
        }
        .service-card p {
            color: #475569;
            line-height: 1.5;
            font-size: 15px;
        }
        .badge-group {
            display: inline-block;
            background: #e6f7ec;
            color: #059669;
            font-size: 13px;
            padding: 4px 12px;
            border-radius: 30px;
            margin-top: 12px;
        }
        .note-warning {
            background: #fff3e0;
            border-left: 5px solid #f59e0b;
            padding: 20px;
            border-radius: 16px;
            margin: 40px 0;
        }
        @media (max-width: 768px) {
            .hub-header h1 { font-size: 32px; }
            .category-title { font-size: 26px; }
            .cards-grid { gap: 20px; }
        }


/* ========== СТИЛИ ДЛЯ КАРТОЧЕК УСЛУГ С ИЗОБРАЖЕНИЯМИ ========== */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-card-img {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
}

.service-card-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 390;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.03);
}

.service-card h3,
.service-card p,
.service-card .badge-group {
    padding-left: 20px;
    padding-right: 20px;
}

.service-card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

.service-card p {
    color: #475569;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 16px;
    padding-left: 20px;
    padding-right: 20px;
}

.service-card .badge-group {
    display: inline-block;
    background: #e6f7ec;
    color: #059669;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 30px;
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

.services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .service-card-home {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .service-card-home:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
            border-color: #10b981;
        }
        .service-icon {
            font-size: 44px;
            margin-bottom: 16px;
        }
        .service-card-home h3 {
            font-size: 22px;
            margin-bottom: 12px;
            color: #0f172a;
        }
        .service-card-home p {
            color: #475569;
            line-height: 1.5;
            font-size: 15px;
        }
        .reason-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .reason-item {
            background: #f8fafc;
            border-radius: 20px;
            padding: 24px;
            text-align: center;
        }
        .reason-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        .quote-block {
            background: linear-gradient(135deg, #05966910 0%, #10B98110 100%);
            border-left: 4px solid #059669;
            padding: 24px 32px;
            border-radius: 20px;
            margin: 40px 0;
            font-style: italic;
            font-size: 18px;
            color: #1e293b;
        }
        @media (max-width: 768px) {
            .services-grid { gap: 20px; }
            .reason-list { gap: 20px; }
        }

 .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .service-card-home {
            background: white;
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .service-card-home:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
            border-color: #10b981;
        }
        .service-icon {
            font-size: 44px;
            margin-bottom: 16px;
        }
        .service-card-home h3 {
            font-size: 22px;
            margin-bottom: 12px;
            color: #0f172a;
        }
        .service-card-home p {
            color: #475569;
            line-height: 1.5;
            font-size: 15px;
        }
        .reason-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .reason-item {
            background: #f8fafc;
            border-radius: 20px;
            padding: 24px;
            text-align: center;
        }
        .reason-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        .quote-block {
            background: linear-gradient(135deg, #05966910 0%, #10B98110 100%);
            border-left: 4px solid #059669;
            padding: 24px 32px;
            border-radius: 20px;
            margin: 40px 0;
            font-style: italic;
            font-size: 18px;
            color: #1e293b;
        }
        @media (max-width: 768px) {
            .services-grid { gap: 20px; }
            .reason-list { gap: 20px; }
        }

 .contact-block {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        .contact-card {
            background: white;
            border-radius: 24px;
            padding: 30px 20px;
            text-align: center;
            box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
            border: 1px solid #e2e8f0;
        }
        .contact-icon {
            font-size: 48px;
            margin: 0 auto;
            margin-bottom: 16px;
            
        }
        .contact-card a {
            color: #059669;
            text-decoration: none;
            font-weight: 500;
        }
        .action-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin: 40px 0;
        }
        .map-container {
            margin: 40px 0;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1);
        }
        .req-list p { margin: 8px 0; }


       .doctor-about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: start;
            margin: 40px 0;
        }
        .doctor-photo img { width: 100%; border-radius: 24px; box-shadow: 0 10px 25px -12px rgba(0,0,0,0.1); }
        .license-thumb-grid {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }
        .license-thumb {
            cursor: pointer;
            transition: transform 0.3s;
        }
        .license-thumb img {
            width: 150px;
            border: 1px solid #e2e8f0;
        }
        .license-thumb:hover { transform: scale(1.05); }
        .staff-card {
            background: white;
            border-radius: 20px;
            padding: 24px;
            text-align: center;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02);
        }
        .staff-card h3 { margin: 16px 0 8px; }
        @media (max-width: 768px) {
            .doctor-about-grid { grid-template-columns: 1fr; }
        }

/* ===== COOKIE БАННЕР ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.8); /* полупрозрачный тёмный фон */
    backdrop-filter: blur(4px);         /* лёгкое размытие фона за баннером */
    -webkit-backdrop-filter: blur(4px);
    color: #e2e8f0;
    padding: 16px 20px;
    z-index: 99999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    border-top: 2px solid rgba(5, 150, 105, 0.6);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.cookie-text {
    flex: 1 1 70%;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    color: #f1f5f9; /* чуть светлее для контраста */
}

.cookie-text a {
    color: #34d399;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-text a:hover {
    color: #6ee7b7;
}

.btn-cookie {
    flex-shrink: 0;
    background: #059669;
    color: #fff;
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.btn-cookie:hover {
    background: #047857;
}

@media (max-width: 600px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 12px;
    }
    .cookie-text {
        flex: 1 1 auto;
        font-size: 13px;
    }
    .btn-cookie {
        width: 100%;
        text-align: center;
    }
}


 .policy-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 50px;

        }

@media (max-width: 600px) {
            .policy-container {
                padding: 24px 20px;
            }
}


/* ========== ИЗОБРАЖЕНИЯ В БЛОКАХ ПРИЧИН (reason-list) ========== */
.reason-image {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 16px;
    background: #e2e8f0; /* фон на время загрузки */
}

.reason-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* квадратные, как иконки — можно изменить при необходимости */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reason-item:hover .reason-image img {
    transform: scale(1.03);
}


/* ============================================================
   ИКОНКИ (замена эмодзи на PNG/SVG)
   ============================================================ */

/* Инлайн-иконки в тексте (телефон, адрес, почта, часы) */
.inline-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: -3px;
    margin-right: 6px;
    flex-shrink: 0;
}

/* Иконка-галочка в списках (замена ✅) */
.inline-check {
    display: inline-block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    vertical-align: -10px;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Иконки в заголовках h3 (состав, «Профилактика/Лечение») */
.comp-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: -5px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Иконки в .icon-placeholder (статистика + шаги) */
.icon-placeholder img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    border-radius:10px;
}

/* Убираем font-size у .icon-placeholder — эмодзи больше нет */
.icon-placeholder {
    font-size: 0;
    line-height: 0;
}

/* В composition-item и списках выравниваем иконку и текст */
.composition-item h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0; /* margin-right у .comp-icon уже есть */
}

/* Список с галочками — иконка не должна «прыгать» при переносе */
li .inline-check {
    margin-right: 8px;
}

/* Карточки результатов — центрируем галочку с текстом */
.result-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Иконка телефона в мобильной навигации — делаем белой */
.mobile-phone-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .inline-icon,
    .inline-check {
        width: 30px;
        height: 30px;
        margin-right: 6px;
    }
    .comp-icon {
        width: 40px;
        height: 40px;
        margin-right: 8px;
    }
    .icon-placeholder img {
        width: 200px;
        height: 200px;
    }
}


/* ===== Иконки на странице контактов ===== */
.contact-icon {
    font-size: 0;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

.contact-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

/* Иконки внутри кнопок (.btn) */
.action-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-buttons .btn .inline-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: inline-block;
    margin: 0; /* сбрасываем margin-right из базового .inline-icon */
    vertical-align: middle;
    flex-shrink: 0;
}

/* На мобильных кнопки идут в столбик — иконки центрируем */
@media (max-width: 768px) {
    .action-buttons .btn {
        width: 100%;
    }
    .contact-icon,
    .contact-icon img {
        width: 44px;
        height: 44px;
    }
}

/* ============================================================
   СТРАНИЦА «О КЛИНИКЕ» — фото сотрудников и иконки преимуществ
   ============================================================ */

/* Контейнер с двумя фото внутри .staff-card */
.staff-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.staff-photos img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #e2e8f0; /* фон-заглушка на время загрузки */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.staff-card:hover .staff-photos img {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Заголовки внутри .staff-card с иконками — выравнивание по левому краю */
.staff-card h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Иконки внутри h3 в .staff-card — чуть крупнее базового .comp-icon */
.staff-card h3 .comp-icon {
    width: 250px;
    height: 273px;
    margin-right: 0; /* gap уже даёт отступ */
}

/* На мобильных */
@media (max-width: 768px) {
    .staff-photos {
        gap: 8px;
        margin-bottom: 16px;
    }
    .staff-photos img {
        border-radius: 12px;
    }
    .staff-card h3 {
        justify-content: center;
        text-align: center;
    }
    .staff-card h3 .comp-icon {
        width: 24px;
        height: 24px;
    }
}

/* ============================================================
   НОМЕР ШАГА (в блоке «3 шага»)
   ============================================================ */

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #d7fff3 0%, #10B981 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
}

/* На мобильных чуть меньше */
@media (max-width: 768px) {
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 24px;
        border-radius: 16px;
    }
}