
        /* Общие стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }
        
        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --gray: #7f8c8d;
        }
        
        body {
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        section {
            padding: 60px 0;
        }
        
        h1, h2, h3 {
            color: var(--dark);
            margin-bottom: 20px;
        }
        
        p {
            margin-bottom: 15px;
        }
        
		.logo img {
  max-width: 390px;
}

.social_ol {
  margin-top: 5px;
}


        .btn {
            display: inline-block;
            background-color: var(--secondary);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-align: center;
        }
        
        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .btn-secondary {
            background-color: transparent;
            color: var(--secondary);
            border: 2px solid var(--secondary);
        }
        
        .btn-secondary:hover {
            background-color: rgba(52, 152, 219, 0.1);
        }
        
        .btn-accent {
            background-color: var(--accent);
        }
        
        .btn-accent:hover {
            background-color: #c0392b;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background-color: var(--secondary);
            margin: 15px auto 0;
        }
        
 /* Шапка */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
		
		/* Десктопная шапка */
.header-top .logo img {
    height: 70px;
    width: auto;
}

/* Мобильная шапка */
.mobile-header .logo img {
    height: 40px;
    width: auto;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .desktop-logo {
        display: none !important;
    }
    
    .mobile-logo {
        display: block !important;
    }
    
    /* Дополнительные стили для мобильного логотипа */
    .mobile-header .logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .mobile-header .logo img {
        height: 30px;
    }
}

@media (max-width: 360px) {
    .mobile-header .logo img {
        height: 28px;
    }
}


        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo img {
            height: 70px;
            width: auto;
        }
        
        .contact-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .phone {
            font-size: 18px;
            font-weight: bold;
            color: #2a5782;
        }
		
		   .phone a {
			   color: #2a5782;
     text-decoration:none;
    }
		
	.phone:hover {
 background: linear-gradient(135deg, #dddfe15e 0%, #768bbb2e 100%);
  border-color: #4682B4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(70, 130, 180, 0.15);
  padding: 7px;
  border-radius: 10px;
}	
        
        .social_ol {
            display: flex;
            gap: 10px;
        }
        
        .social_ol a {
            display: flex;
            align-items: center;
        }
        
        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .btn-secondary {
            background-color: #2a5782;
            color: white;
        }
        
        .btn-secondary:hover {
            background-color: #1e3d5c;
        }
        
        /* Десктопная навигация */
        .header-nav {
            display: flex;
            justify-content: center;
            border-top: 1px solid #eee;
            padding: 15px 0;
        }
        
        .nav-item {
            margin: 0 15px;
            font-weight: bold;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 4px;
            transition: all 0.3s ease;
            color: #333;
        }
        
        .nav-item.active, .nav-item:hover {
            border-radius: 12px;
            background-color: #768bbb47;
            color: #0d4071;
        }

        /* Гамбургер меню */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: #2a5782;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

     /* Мобильное меню - исправленная версия */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    padding: 80px 20px 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .nav-item {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 8px 0;
    text-decoration: none;
}

.mobile-nav .nav-item.active,
.mobile-nav .nav-item:hover {
    background-color: #768bbb47;
    color: #0d4071;
    border-color: #0d4071;
}


/* Общие стили для логотипов */
.logo img {
    max-width: 390px;
    height: auto;
}

/* Скрываем логотипы по умолчанию */
.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
}





/* Мобильная шапка */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
}

.mobile-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.mobile-phone {
    font-size: 16px;
    font-weight: bold;
    color: #2a5782;
}

.mobile-phone a {
    color: #2a5782;
    text-decoration: none;
}

/* Кнопка закрытия меню */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: #2a5782;
}

/* Затемнение фона */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Гамбургер-меню */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2a5782;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Убедимся, что ссылки не переносятся на несколько строк */
    .mobile-nav .nav-item {
        white-space: nowrap;
        min-width: 200px;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .mobile-nav {
        padding: 70px 15px 30px;
    }
    
    .mobile-nav .nav-item {
        padding: 14px;
        font-size: 17px;
        margin: 6px 0;
    }
    
    .mobile-phone {
        font-size: 15px;
    }

    .mobile-header-left {
        gap: 12px;
    }

    .logo img {
        height: 35px;
    }
    
    .close-menu {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }
}

@media (max-width: 360px) {
    .mobile-phone {
        font-size: 14px;
    }
    
 
    
    .mobile-nav .nav-item {
        padding: 12px;
        font-size: 16px;
    }
}

        /* Мобильная шапка */
        .mobile-header {
            display: none;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 10px 0;
        }

        .mobile-header-left {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
        }

        .mobile-phone {
            font-size: 16px;
            font-weight: bold;
            color: #2a5782;
			margin: 0 auto;
        }
		
				   .mobile-phone a {
			   color: #2a5782;
     text-decoration:none;
    }
	
	
		
		
		

        /* Адаптивность */
        @media (max-width: 768px) {
            .header-top {
                display: none;
            }
            
            .header-nav {
                display: none;
            }
            
            .mobile-header {
                display: flex;
            }
            
            .hamburger {
                display: flex;
            }
            
            .mobile-nav {
                display: block;
            }

            .logo img {
                height: 35px;
            }
        }

        @media (max-width: 480px) {
            .mobile-nav {
                padding: 70px 15px 30px;
            }
            
            .mobile-nav .nav-item {
                padding: 12px;
                font-size: 15px;
            }
            
            .mobile-phone {
                font-size: 14px;
				margin: 0 auto;
            }

            .mobile-header-left {
                gap: 10px;
            }

            .logo img {
                height: 30px;
            }
        }

        @media (max-width: 360px) {
            .mobile-phone {
                font-size: 13px;
            }
            
            .mobile-header-left {
                display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
            }
        }



@media (max-width: 380px) {
    .mobile-header {
        padding: 10px 0;
        gap: 6px;
    }
    
    .mobile-header-left {
        gap: 6px;
    }
    
    .mobile-header .logo img {
        height: 34px;
        max-width: 90px;
    }
    
    .mobile-phone {
        font-size: 15px;
        padding: 2px 5px;
        letter-spacing: -0.2px; /* Слегка сжимаем текст */
    }
    
    /* Скрываем часть номера на самых маленьких экранах */
    .mobile-phone a::before {
        content: "";
    }
    
    .hamburger {
        width: 22px;
        height: 16px;
        margin-left: 3px;
    }
}

@media (max-width: 320px) {
    .mobile-header .logo img {
        height: 24px;
        max-width: 80px;
    }
    
    .mobile-phone {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    /* Альтернатива для очень маленьких экранов - иконка телефона */
    .mobile-phone-text {
        display: none;
    }
    
    .mobile-phone-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        background-color: #2a5782;
        border-radius: 50%;
        position: relative;
    }
    
    .mobile-phone-icon::before {
        content: "📞";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 12px;
    }
}

/* Дополнительные стили для улучшения отображения */
.mobile-phone:hover {
    background-color: rgba(118, 139, 187, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Если нужно совсем компактно, можно использовать иконку вместо текста */
.mobile-phone.compact {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2a5782;
    color: white;
    font-size: 14px;
}

.mobile-phone.compact a {
    color: white;
    text-decoration: none;
}

/* Анимация при нажатии */
.mobile-phone:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}
        
        /* Герой-секция */
        .hero {
           /* background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8)), url('https://images.unsplash.com/photo-1551076805-e1869033e561?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') no-repeat center center;*/
            background-size: cover;
            color: white;
            text-align: center;
            padding: 50px 0;
			overflow: hidden;
			border-radius: 50px;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
           color: #000;
		   text-align: left;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto 30px;
			color: #000;
        }
        
        .specialization {
          text-align: left;
            
        }
        
        .location {
            display: flex;
            justify-content: center;
           border-radius: 31px 31px 31px 31px;
  background-color: #768bbb47;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  max-width: 350px;
  margin: 0 auto;
  padding: 4px;
        }
        
        .location-item {
            margin: 0 15px;
            display: flex;
            align-items: center;
			color: #234c82;
        }
        
        .location-item i {
            margin-right: 5px;
			color: #234c82;
        }
        
        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
			margin-top: 30px;
        }
        
        /* Секция услуг */
        .services {
            background-color: white;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }
        
        .service-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }
        
        .service-icon {
            font-size: 40px;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .service-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .service-description {
            color: var(--gray);
            margin-bottom: 20px;
        }
		
		
		.services-with-bg {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services-grid-bg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.service-card-bg {
    position: relative;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.service-card-bg:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.7) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card-bg:hover .service-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.8) 100%
    );
}

.service-content {
    color: white;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.service-card-bg:hover .service-content {
    transform: translateY(-5px);
}

.service-title-bg {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.service-description-bg {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.service-card-bg .btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
}

.service-card-bg .btn-secondary:hover {
    background-color: white;
    color: var(--secondary);
    border-color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-grid-bg {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-bg {
        height: 250px;
    }
    
    .service-overlay {
        padding: 20px;
    }
    
    .service-title-bg {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .services-with-bg {
        padding: 60px 0;
    }
    
    .service-card-bg {
        height: 220px;
    }
}


        
        /* Секция о враче */
        .about {
            background-color: #768bbb21;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .doctor-photo {
            flex: 0 0 300px;
            height: 350px;
            border-radius: 10px;
            background-color: #ddd;
            overflow: hidden;
			box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
        }
        
        .doctor-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .doctor-info {
            flex: 1;
        }
        
        .doctor-name {
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        .doctor-specialty {
            color: var(--secondary);
            font-size: 1.2rem;
            margin-bottom: 20px;
        }
        
        .doctor-description {
            margin-bottom: 25px;
        }
        
        .education-list {
            list-style-type: none;
        }
        
        .education-list li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
        }
        
        .education-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-weight: bold;
        }
        
        /* Секция наркоза */
        .anesthesia {
            background-color: white;
        }
        
        .anesthesia-types {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .anesthesia-card {
            background-color: #768bbb21;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .anesthesia-title {
            font-size: 1.3rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .anesthesia-process {
            background-color: #768bbb21;
            border-radius: 8px;
            padding: 30px;
        }
        
        .process-steps {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        
        .process-step {
            flex: 1;
            min-width: 250px;
            text-align: center;
            padding: 20px;
        }
        
        .step-number {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--secondary);
            color: white;
            border-radius: 50%;
            line-height: 40px;
            margin-bottom: 15px;
            font-weight: bold;
        }
        
	         .anesthesia-process, .anesthesia-usage {
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 40px;
            transition: background-color 0.5s ease;
        }
        
        /* Стили по умолчанию для блоков с вкладками */
        .anesthesia-process {
            background-color: rgba(93, 138, 168, 0.1); /* Air Force Blue с прозрачностью */
        }
        
        .anesthesia-usage {
            background-color: rgba(93, 138, 168, 0.1); /* Air Force Blue с прозрачностью */
        }
        
        /* Классы для изменения фона */
        .anesthesia-process.general-active, .anesthesia-usage.general-active {
            background-color: rgba(93, 138, 168, 0.1); /* Air Force Blue с прозрачностью */
        }
        
        .anesthesia-process.sedation-active, .anesthesia-usage.sedation-active {
            background-color: rgba(93, 138, 168, 0.2); /* Sea Green с прозрачностью */
        }
        
        .anesthesia-process.local-active, .anesthesia-usage.local-active {
            background-color: rgba(120, 168, 200, 0.32); /* Indian Red с прозрачностью */
        }
        
        /* Стили для блоков с вкладками */
        .process-tabs, .usage-tabs {
            display: flex;
            border-bottom: 1px solid rgba(93, 138, 168, 0.3); /* Air Force Blue с прозрачностью */
            margin-bottom: 30px;
        }
        
        .tab-button {
            padding: 15px 25px;
            background: none;
            border: none;
            font-size: 18px;
            font-weight: 600;
            cursor: pointer;
            color: #696969; /* Dim Gray */
            transition: all 0.3s ease;
            position: relative;
            border-radius: 5px 5px 0 0;
        }
        
        .tab-button:hover {
            color: #5D8AA8; /* Air Force Blue */
            background-color: rgba(255, 255, 255, 0.5);
        }
        
        .tab-button.active {
            color: #5D8AA8; /* Air Force Blue */
            background-color: rgba(255, 255, 255, 0.7);
        }
        
        .tab-button.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #5D8AA8; /* Air Force Blue */
        }
        
        .tab-content {
            display: none;
            padding: 20px 0;
        }
        
        .tab-content.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .process-list, .usage-list {
            list-style-type: none;
        }
        
        .process-list li, .usage-list li {
            margin-bottom: 15px;
            padding-left: 20px;
            position: relative;
        }
        
        .process-list li::before, .usage-list li::before {
            content: "•";
            color: #5D8AA8; /* Air Force Blue */
            font-weight: bold;
            position: absolute;
            left: 0;
        }
        
        .process-list ol, .usage-list ol {
            list-style-type: decimal;
            padding-left: 25px;
        }
        
        .process-list ol li, .usage-list ol li {
            margin-bottom: 10px;
            padding-left: 5px;
        }
        
        .process-list ol li::before, .usage-list ol li::before {
            display: none;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .anesthesia-types {
                grid-template-columns: 1fr;
            }
            
            .process-tabs, .usage-tabs {
                flex-direction: column;
            }
            
            .tab-button {
                text-align: left;
                border-bottom: 1px solid rgba(93, 138, 168, 0.3); /* Air Force Blue с прозрачностью */
            }
            
            .tab-button.active::after {
                display: none;
            }
        }
		
		
		/* Блок преимуществ */


.benefits-title {
  color: var(--secondary);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-size: 43px; /* Air Force Blue */
}

.benefits-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.benefit-card {
    background-color: #768bbb21;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #5D8AA8;
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.8s ease forwards;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.8s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-card.sedation {
    border-left-color: #0d4071; /* Sea Green */
    animation-delay: 0.2s;
}

.benefit-card.local {
    border-left-color: var(--secondary);/* Indian Red */
    animation-delay: 0.4s;
}

.benefit-card-title {
    font-size: 1.3rem;
    color: #2F4F4F; /* Dark Slate Gray */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.benefit-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #5D8AA8;
    transition: width 0.4s ease;
}

.benefit-card:hover .benefit-card-title::after {
    width: 100px;
}

.benefit-card.sedation .benefit-card-title::after {
    background-color: #0d4071; /* Sea Green */
}

.benefit-card.local .benefit-card-title::after {
    background-color: var(--secondary);/* Indian Red */
}

.benefit-list {
    list-style-type: none;
}

.benefit-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemAppear 0.6s ease forwards;
    transition: all 0.3s ease;
}

.benefit-list li:hover {
    transform: translateX(5px);
}

.benefit-list li:nth-child(1) { animation-delay: 0.6s; }
.benefit-list li:nth-child(2) { animation-delay: 0.8s; }
.benefit-list li:nth-child(3) { animation-delay: 1.0s; }
.benefit-list li:nth-child(4) { animation-delay: 1.2s; }

.benefit-list li::before {
    content: "✓";
    color: #5D8AA8; /* Air Force Blue */
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.benefit-list li:hover::before {
    transform: scale(1.3);
}

.benefit-card.sedation .benefit-list li::before {
    color: var(--secondary); /* Sea Green */
}

.benefit-card.local .benefit-list li::before {
    color: #0d4071; /* Indian Red */
}

/* Анимации */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes listItemAppear {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .benefits-columns {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        animation-delay: 0s !important;
    }
    
    .benefit-list li {
        animation-delay: 0.2s !important;
    }
    
    .benefit-list li:nth-child(2) { animation-delay: 0.3s !important; }
    .benefit-list li:nth-child(3) { animation-delay: 0.4s !important; }
    .benefit-list li:nth-child(4) { animation-delay: 0.5s !important; }
}
		
        /* Секция реабилитации */
        .rehabilitation {
            background-color: #768bbb21;
        }
        
        .rehab-tabs {
            display: flex;
            margin-bottom: 30px;
            border-bottom: 1px solid #ddd;
        }
        
        .rehab-tab {
            padding: 12px 25px;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
        }
        
        .rehab-tab.active {
            border-bottom: 3px solid var(--secondary);
            color: var(--secondary);
            font-weight: bold;
        }
        
        .rehab-content {
            display: none;
        }
        
        .rehab-content.active {
            display: block;
        }
        
        .rehab-period {
            background-color: white;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .period-title {
            font-size: 1.3rem;
            color: var(--secondary);
            margin-bottom: 15px;
        }

		

		
		  /* Секция клиник */
    .clinics {
        background: linear-gradient(135deg, #f8f6fa 0%, #ffffff 100%);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .clinics::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('');
        pointer-events: none;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 1;
    }




    .clinics-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .clinic-card {
        background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(13, 77, 227, 0.1);
  border: 1px solid #e7eaf0;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
    }

    .clinic-card::before {
       content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #234f85, #2980b9);
  transform: scaleX(0);
  transition: transform 0.4s ease;
    }

    .clinic-card:hover {
   transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    }

    .clinic-card:hover::before {
        transform: scaleX(1);
    }
	


/* Анимация для текста */
.clinic-card[data-clinic="gercen"] .card-content {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.clinic-card[data-clinic="gercen"]:hover .card-content {
    opacity: 0;
    transform: translateY(10px);
}

/* Альтернативный вариант с более плавным переходом */
.clinic-card[data-clinic="gercen"].map-reveal {
  
       background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38)), url('/static/img/gercen.jpg') center/cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clinic-card[data-clinic="gercen"].map-reveal::before {
   
    position: absolute;
    top: 50%;
    left: 50%;
  
  
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><linearGradient id="mapBlue" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%235dade2"/><stop offset="100%" stop-color="%232980b9"/></linearGradient><radialGradient id="glow" cx="40%" cy="40%" r="80%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect x="30" y="30" width="240" height="240" rx="25" fill="url(%23mapBlue)"/><ellipse cx="180" cy="120" rx="60" ry="40" fill="url(%23glow)"/><path d="M80,100 C120,70 180,90 220,120 L220,220 C180,250 120,230 80,200 Z" fill="%23ffffff" opacity="0.15"/><circle cx="150" cy="150" r="20" fill="%23ffffff" opacity="0.9" stroke="%233498db" stroke-width="2"/><path d="M145,145 L155,155 M145,155 L155,145" stroke="%233498db" stroke-width="3"/><path d="M100,130 L130,100 M200,200 L230,170" stroke="%23ffffff" stroke-width="2" opacity="0.6" stroke-dasharray="5,3"/></svg>') center/contain no-repeat;
  
    opacity: 0;

}

.clinic-card[data-clinic="gercen"].map-reveal:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.clinic-card[data-clinic="gercen"].map-reveal:hover {
    background: 
        linear-gradient(rgba(52, 152, 219, 0.05), rgba(41, 128, 185, 0.1)),
        url('/static/img/gercen.jpg') center/cover;
}

.clinic-card[data-clinic="gercen"].map-reveal .card-content {
    transition: all 0.5s ease;
}

.clinic-card[data-clinic="gercen"].map-reveal:hover .card-content {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
}


.clinic-card[data-clinic="zvenig"] .card-content {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.clinic-card[data-clinic="zvenig"]:hover .card-content {
    opacity: 0;
    transform: translateY(10px);
}

/* Альтернативный вариант с более плавным переходом */
.clinic-card[data-clinic="gzvenig"].map-reveal {
  
       background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38)), url('/static/img/zvenig.jpg') center/cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clinic-card[data-clinic="zvenig"].map-reveal::before {
   
    position: absolute;
    top: 50%;
    left: 50%;
  
  
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><linearGradient id="mapBlue" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%235dade2"/><stop offset="100%" stop-color="%232980b9"/></linearGradient><radialGradient id="glow" cx="40%" cy="40%" r="80%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect x="30" y="30" width="240" height="240" rx="25" fill="url(%23mapBlue)"/><ellipse cx="180" cy="120" rx="60" ry="40" fill="url(%23glow)"/><path d="M80,100 C120,70 180,90 220,120 L220,220 C180,250 120,230 80,200 Z" fill="%23ffffff" opacity="0.15"/><circle cx="150" cy="150" r="20" fill="%23ffffff" opacity="0.9" stroke="%233498db" stroke-width="2"/><path d="M145,145 L155,155 M145,155 L155,145" stroke="%233498db" stroke-width="3"/><path d="M100,130 L130,100 M200,200 L230,170" stroke="%23ffffff" stroke-width="2" opacity="0.6" stroke-dasharray="5,3"/></svg>') center/contain no-repeat;
  
    opacity: 0;

}

.clinic-card[data-clinic="zvenig"].map-reveal:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.clinic-card[data-clinic="zvenig"].map-reveal:hover {
    background: 
	
	
        linear-gradient(rgba(52, 152, 219, 0.05), rgba(41, 128, 185, 0.1)),
        url('/static/img/zvenig.jpg') center/cover;
}

.clinic-card[data-clinic="zvenig"].map-reveal .card-content {
    transition: all 0.5s ease;
}

.clinic-card[data-clinic="zvenig"].map-reveal:hover .card-content {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
}





.clinic-card[data-clinic="artis"] .card-content {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.clinic-card[data-clinic="artis"]:hover .card-content {
    opacity: 0;
    transform: translateY(10px);
}

/* Альтернативный вариант с более плавным переходом */
.clinic-card[data-clinic="artis"].map-reveal {
  
       background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38)), url('/static/img/artis.jpg') center/cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clinic-card[data-clinic="artis"].map-reveal::before {
   
    position: absolute;
    top: 50%;
    left: 50%;
  
  
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><linearGradient id="mapBlue" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%235dade2"/><stop offset="100%" stop-color="%232980b9"/></linearGradient><radialGradient id="glow" cx="40%" cy="40%" r="80%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect x="30" y="30" width="240" height="240" rx="25" fill="url(%23mapBlue)"/><ellipse cx="180" cy="120" rx="60" ry="40" fill="url(%23glow)"/><path d="M80,100 C120,70 180,90 220,120 L220,220 C180,250 120,230 80,200 Z" fill="%23ffffff" opacity="0.15"/><circle cx="150" cy="150" r="20" fill="%23ffffff" opacity="0.9" stroke="%233498db" stroke-width="2"/><path d="M145,145 L155,155 M145,155 L155,145" stroke="%233498db" stroke-width="3"/><path d="M100,130 L130,100 M200,200 L230,170" stroke="%23ffffff" stroke-width="2" opacity="0.6" stroke-dasharray="5,3"/></svg>') center/contain no-repeat;
  
    opacity: 0;

}

.clinic-card[data-clinic="artis"].map-reveal:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.clinic-card[data-clinic="artis"].map-reveal:hover {
    background: 
        linear-gradient(rgba(52, 152, 219, 0.05), rgba(41, 128, 185, 0.1)),
        url('/static/img/artis.jpg') center/cover;
}

.clinic-card[data-clinic="artis"].map-reveal .card-content {
    transition: all 0.5s ease;
}

.clinic-card[data-clinic="artis"].map-reveal:hover .card-content {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
}







/* Анимация для текста */
.clinic-card[data-clinic="cen7"] .card-content {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.clinic-card[data-clinic="cen7"]:hover .card-content {
    opacity: 0;
    transform: translateY(10px);
}

/* Альтернативный вариант с более плавным переходом */
.clinic-card[data-clinic="cen7"].map-reveal {
  
       background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38)), url('/static/img/cen7.jpg') center/cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clinic-card[data-clinic="cen7"].map-reveal::before {
   
    position: absolute;
    top: 50%;
    left: 50%;
  
  
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><linearGradient id="mapBlue" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%235dade2"/><stop offset="100%" stop-color="%232980b9"/></linearGradient><radialGradient id="glow" cx="40%" cy="40%" r="80%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.3"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect x="30" y="30" width="240" height="240" rx="25" fill="url(%23mapBlue)"/><ellipse cx="180" cy="120" rx="60" ry="40" fill="url(%23glow)"/><path d="M80,100 C120,70 180,90 220,120 L220,220 C180,250 120,230 80,200 Z" fill="%23ffffff" opacity="0.15"/><circle cx="150" cy="150" r="20" fill="%23ffffff" opacity="0.9" stroke="%233498db" stroke-width="2"/><path d="M145,145 L155,155 M145,155 L155,145" stroke="%233498db" stroke-width="3"/><path d="M100,130 L130,100 M200,200 L230,170" stroke="%23ffffff" stroke-width="2" opacity="0.6" stroke-dasharray="5,3"/></svg>') center/contain no-repeat;
  
    opacity: 0;

}

.clinic-card[data-clinic="cen7"].map-reveal:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.clinic-card[data-clinic="cen7"].map-reveal:hover {
    background: 
        linear-gradient(rgba(52, 152, 219, 0.05), rgba(41, 128, 185, 0.1)),
        url('/static/img/cen7.jpg') center/cover;
}

.clinic-card[data-clinic="cen7"].map-reveal .card-content {
    transition: all 0.5s ease;
}

.clinic-card[data-clinic="cen7"].map-reveal:hover .card-content {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
}




.clinic-card[data-clinic="zvenig"].map-reveal {
  background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.38)), url('/static/img/zvenig.jpg') center/cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



    /* Фон с картой */
    .clinic-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" opacity="0.05"><path d="M100,20a80,80,0,1,0,80,80A80,80,0,0,0,100,20Zm0,150a70,70,0,1,1,70-70A70,70,0,0,1,100,170Z" fill="%23822f82"/><circle cx="100" cy="100" r="30" fill="%23822f82" opacity="0.1"/></svg>');
        background-size: 120px;
        background-position: right bottom;
        background-repeat: no-repeat;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .clinic-card:hover::after {
        opacity: 0.1;
    }

    .card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .text-content {
        flex: 1;
        display: flex;
        flex-direction: column;
		min-height: 200px;
}
    }

    .clinic-name {
        font-size: 1.4em;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 15px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
    }

    .clinic-address {
        color: #423d3d;
        font-size: 1.1em;
        line-height: 1.5;
        margin-bottom: 0;
        position: relative;
        z-index: 2;
        flex: 1;
    }

    .clinic-location {
font-size: 1em;
  position: relative;
  z-index: 2;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 300px;
  box-sizing: border-box;
  color: #fff;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  margin: 0 auto;
    }

    .clinic-card:hover .clinic-location {
        transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9, #2471a3);;
    }

    /* Анимация появления */
    @keyframes cardAppear {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .clinic-card {
        animation: cardAppear 0.6s ease-out;
    }

    .clinic-card:nth-child(1) { animation-delay: 0.1s; }
    .clinic-card:nth-child(2) { animation-delay: 0.2s; }
    .clinic-card:nth-child(3) { animation-delay: 0.3s; }
    .clinic-card:nth-child(4) { animation-delay: 0.4s; }

    /* Адаптивность для планшетов */
    @media (max-width: 968px) {
        .clinics-grid {
            grid-template-columns: 1fr;
            gap: 25px;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .clinic-card {
            padding: 25px;
            min-height: 170px;
        }
        
        .section-title {
            font-size: 2.2em;
        }
        
        .clinic-name {
            font-size: 1.3em;
        }
        
        .clinic-address {
            font-size: 1.05em;
        }
        
        .clinic-location {
            margin-top: 20px;
            padding: 10px 16px;
        }
    }

    /* Адаптивность для мобильных */
    @media (max-width: 768px) {
        .clinics {
            padding: 60px 0;
        }
        
        .container {
            padding: 0 15px;
        }
        
        .section-title {
            font-size: 1.8em;
            margin-bottom: 40px;
        }
        
        .clinics-grid {
            gap: 20px;
        }
        
        .clinic-card {
            padding: 20px;
            min-height: 160px;
            border-radius: 16px;
        }
        
        .clinic-name {
            font-size: 1.2em;
            margin-bottom: 12px;
        }
        
        .clinic-address {
            font-size: 1em;
        }
        
        .clinic-location {
            font-size: 0.95em;
            padding: 10px 14px;
            margin-top: 20px;
        }
        
        .clinic-card:hover {
            transform: translateY(-5px);
        }
    }

    /* Для очень маленьких экранов */
    @media (max-width: 480px) {
        .clinics {
            padding: 40px 0;
        }
        
        .section-title {
            font-size: 1.5em;
            margin-bottom: 30px;
        }
        
        .clinic-card {
            padding: 18px 15px;
            min-height: 150px;
            border-radius: 12px;
        }
        
        .clinic-name {
            font-size: 1.1em;
        }
        
        .clinic-address {
            font-size: 0.95em;
        }
        
        .clinic-location {
            font-size: 0.9em;
            padding: 8px 12px;
            margin-top: 18px;
        }
    }

    /* Эффект нажатия для мобильных */
    @media (max-width: 768px) {
        .clinic-card:active {
            transform: scale(0.98);
            transition: transform 0.1s ease;
        }
    }
        
        /* Секция консультации */
        .consultation {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            text-align: center;
        }
        
        .consultation h2 {
            color: white;
        }
        
        .consultation p {
            max-width: 700px;
            margin: 0 auto 30px;
        }
		
		
        /* Общие стили для блока результатов */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }
        
        :root {
            --primary: #2c3e50;
            --secondary: #3498db;
            --accent: #e74c3c;
            --light: #ecf0f1;
            --dark: #2c3e50;
            --gray: #7f8c8d;
        }
        
        body {
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
 
        h2 {
            color: var(--dark);
            margin-bottom: 20px;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
			font-size: 43px;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background-color: var(--secondary);
            margin: 15px auto 0;
        }
        
        .btn {
            display: inline-block;
            background-color: #234f85;;
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            text-align: center;
        }
        
        .btn:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
		
	
		
		 /* Дополнительные стили для модального окна */
   .modal-navigation {
       position: relative;
       z-index: 1003;
   }
   
   .nav-btn {
       position: relative;
       z-index: 1004;
   }
	/* Стили для модального окна */   
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Убедимся, что контент поверх затемнения */
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #768bbb;
}

.modal-image-container {
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-navigation {
      display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    color: white;
    position: relative;
    z-index: 1002; /* Увеличиваем z-index */
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1003; /* Убедимся, что кнопки поверх других элементов */
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}


.image-counter {
    font-size: 16px;
    font-weight: bold;
    color: white;
    min-width: 60px;
    text-align: center;
}

/* Анимация появления модального окна */
.modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


        
      /* Стили для блока результатов */
.results {
    background-color: white;
}

.results-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    border-radius: 12px 12px 12px 12px;
    background-color: #768bbb47;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
    color: #0d4071;
    font-size: 16px;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #234f85;
    color: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-10px);
}

.result-images {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.after-image {
    opacity: 0;
}

.result-card:hover .after-image {
    opacity: 1;
}

.result-card:hover .before-image {
    opacity: 0;
}

/* Стили для надписей на изображениях */
.image-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #768bbb;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    transition: all 0.3s ease;
}

.before-label {
    opacity: 1;
}

.after-label {
    opacity: 0;
    background: #768bbb;
}

.result-card:hover .before-label {
    opacity: 0;
}

.result-card:hover .after-label {
    opacity: 1;
}

.result-info {
    padding: 20px;
}

.result-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark);
}

.result-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
	display:none;
}

.result-description {
    color: var(--gray);
    margin-bottom: 15px;
	display:none;
}
        

        
        /* Анимация появления карточек */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .result-card {
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
        }
        
        .result-card:nth-child(1) { animation-delay: 0.1s; }
        .result-card:nth-child(2) { animation-delay: 0.2s; }
        .result-card:nth-child(3) { animation-delay: 0.3s; }
        .result-card:nth-child(4) { animation-delay: 0.4s; }
        .result-card:nth-child(5) { animation-delay: 0.5s; }
        .result-card:nth-child(6) { animation-delay: 0.6s; }
		
		.consultation-block {
background-color: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);

  max-width: 600px;
  float: left;
  clear: both;
  
  height: auto;

}


        
        /* Адаптивность */
		
		@media (max-width: 768px) {
    .consultation-block {
        float: none;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .consultation-content .location {
        justify-content: center;
    }
}


        @media (max-width: 768px) {
            .results-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
            
            .results-filters {
                flex-direction: column;
                align-items: center;
            }
            
            .filter-btn {
                width: 100%;
                max-width: 250px;
            }
        }
        
        @media (max-width: 576px) {
            .results-grid {
                grid-template-columns: 1fr;
            }
            
            .result-images {
                height: 250px;
            }
        }

        
        /* Футер */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .footer-section h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
		
		
		     .footer-section1 h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
		
		     .footer-section1  {
         min-width:500px;
        }
        
        
        .footer-links {
            list-style-type: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
			
			   .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
			font-size: 23px;
        }
		
		
            .about-content {
                flex-direction: column;
            }
            
            .doctor-photo {
                flex: 0 0 250px;
                width: 250px;
            }
        }
        
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
    padding-left: 20px;
            }
            
		.social_ol {
  margin-top: 5px;
  margin-left: 50px;
}	
			.phone-social-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
		padding-left: 20px;
    }
    
    .phone {
        margin-right: 0;
        font-size: 18px;
        font-weight: bold;
        color: var(--dark);
    }
    
    .social-icons {
        display: flex;
        gap: 10px;
    }
	
	
            .header-nav {
                flex-wrap: wrap;
            }
            
            .nav-item {
                margin: 5px 10px;
            }
            
            .hero h1 {
                font-size:  1.4rem;
            }
			
            .section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  font-size: 25px;
}
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 300px;
                margin-bottom: 10px;
            }
            
            .location {
                flex-direction: column;
                gap: 10px;
            }
            
            .process-steps {
                flex-direction: column;
            }
        }
        
        @media (max-width: 576px) {
            .rehab-tabs {
                flex-direction: column;
            }
            
            .rehab-tab {
                text-align: center;
            }
        }





/* Адаптивность */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .contact-info-desktop {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }
    
    .contact-info-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .logo {
        text-align: center;
    
    }
    
    .phone {
        font-size: 16px;
        font-weight: bold;
    }
    
    .social-icons {
        display: flex;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info-mobile {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-icons {
        align-self: flex-start;
    }
    
    .mobile-nav {
        padding: 70px 15px 30px;
    }
    
    .mobile-nav .nav-item {
        padding: 12px;
        font-size: 15px;
    }
}

/* Десктопная версия */
@media (min-width: 769px) {
    .mobile-controls {
        display: none;
    }
    
    .mobile-nav {
        display: none;
    }
    
    .mobile-overlay {
        display: none;
    }
}

.slider-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
   box-shadow: 0 8px 30px rgba(0, 0, 0, 0.44);
    background-color: white;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    background-color: white;
}

.doctor-info {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-image {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    position: relative;
    overflow: hidden;
   /* background: linear-gradient(135deg, #2980b9, #234c82);*/
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.doctor-name {
    margin-bottom: 20px;
}

.doctor-name h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #234c82;
}

.doctor-name h2 {
    font-size: 28px;
    font-weight: 400;
    color: #234c82;
    text-align: left;
}

.doctor-description {
    margin-bottom: 30px;
    line-height: 1.7;
    color: #5a6c7d;
    font-size: 16px;
    text-align: left;
}

.doctor-buttons {
    display: flex;
    gap: 15px;
}

.btn1 {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-details {
    background-color: #f8f9fa;
    color: #234c82;
    border: 1px solid #234c82;
}

.btn-details:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-consultation {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #2471a3);
}

.slider-controls {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
    z-index: 900;
}

.slider-controls button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    color: #3498db;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #3498db;
}

.slider-controls button:hover {
    background-color: #3498db;
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 40px;
    display: flex;
    gap: 12px;
    bottom: 9px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: #3498db;
    width: 33.33%;
    transition: width 0.3s ease;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .slider-container {
        max-width: 100%!important;
        
    }
    
    .slide {
        flex-direction: column-reverse;
        min-height: auto;
    }
    
    .doctor-info {
        width: 100%;
        padding: 25px 20px;
    }
    
    .doctor-image {
        width: 100%;
        height: 180px; /* Уменьшенная высота для мобильных */
        min-height: 180px;
    }
    
    .doctor-name h1 {
        font-size: 24px;
        text-align: center;
    }
    
    .doctor-name h2 {
        font-size: 18px;
        text-align: center;
    }
    
    .doctor-description {
        font-size: 14px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .doctor-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
		margin-left: 10px;
    }
    
    .btn1 {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .slider-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 5px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

/* Дополнительные медиа-запросы для очень маленьких экранов */
@media (max-width: 480px) {
    .doctor-image {
        height: 100%;
        max-height: 400px;
    }
    
    .doctor-info {
        padding: 20px 15px;
		margin-top: -50px;
    }
    
    .doctor-name h1 {
        font-size: 22px;
    }
    
    .doctor-name h2 {
        font-size: 16px;
    }
    
    .doctor-description {
        font-size: 13px;
    }
    
    .btn1 {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .slider-controls {
        bottom: 10px;
        right: 10px;
		display: none;
    }
    
    .slider-controls button {
        width: 36px;
        height: 36px;
    }
	
	
	.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}


.hero {
  background: none;
    background-size: auto, auto;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 15px 0;
  overflow: hidden;
  border-radius: 50px;
}

}



        /* Хлебные крошки */
        .breadcrumbs {
            background: #f8f9fa;
            padding: 15px 0;
            margin-top: 20px;
        }
        
        .breadcrumbs a {
            color: #2a5782;
            text-decoration: none;
        }
        
        .breadcrumbs span {
            color: #666;
        }
        
        /* Герой-секция */
        .service-hero {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        
        .service-hero h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            font-weight: 600;
			color:#fff;
        }
        
        .service-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto 30px;
        }
        
        .service-meta {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1rem;
        }
        
        .meta-item i {
            color: #54b6f7;
            font-size: 1.2rem;
        }
        
        /* Галерея */
        .service-gallery {
            padding: 10px 0;
            background: #fff;
        }
        
        .section-subtitle {
            text-align: center;
            color: #666;
            margin-bottom: 50px;
            font-size: 1.1rem;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            margin-top: 40px;
        }
        
        .comparison-slider {
            position: relative;
            height: 400px;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .comparison-slider .before,
        .comparison-slider .after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .comparison-slider .before img,
        .comparison-slider .after img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comparison-slider .after {
            width: 50%;
            border-right: 2px solid white;
        }
        
        .comparison-slider .label {
            position: absolute;
            bottom: 15px;
            background: #768bbb;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .comparison-slider .before .label {
            right: 15px;
        }
        
        .comparison-slider .after .label {
            left: 15px;
        }
        
        .slider-handle {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 4px;
            background: white;
            cursor: col-resize;
            transform: translateX(-50%);
        }
        
        .slider-line {
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: white;
            transform: translateX(-50%);
        }
        
        .slider-arrow {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            color: var(--secondary);
        }
        
        .gallery-info {
            margin-top: 20px;
            text-align: center;
        }
        
        .gallery-info h3 {
            color: var(--dark);
            margin-bottom: 5px;
        }
        
        /* Информационный блок */
        .service-info {
            padding: 80px 0;
            background: #f8f9fa;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }
        
        @media (max-width: 992px) {
            .info-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .method-card {
            background: white;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .method-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .method-number {
            width: 50px;
            height: 50px;
            background: var(--secondary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: bold;
        }
        
        .method-description {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #444;
            margin-bottom: 25px;
        }
        
        .method-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin: 30px 0;
        }
        
        .step {
            display: flex;
            gap: 15px;
        }
        
        .step-icon {
            width: 50px;
            height: 50px;
            background: #2980b9;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        
        .method-features {
            margin: 25px 0;
        }
        
        .feature {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
            color: #444;
        }
        
        .feature i {
            color: #0d4071;
        }
        
        .method-indication {
            background: #768bbb21;
            border-left: 4px solid var(--secondary);
            padding: 20px;
            border-radius: 0 8px 8px 0;
            margin-top: 25px;
        }
        
        .method-indication h4 {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary);
            margin-bottom: 10px;
        }
        
        .method-summary {
            background: white;
            border-radius: 12px;
            padding: 30px;
            display: flex;
            gap: 25px;
            align-items: flex-start;
            margin-top: 40px;
            border: 2px solid #e6f7ff;
        }
        
        .summary-icon {
            width: 60px;
            height: 60px;
            background: var(--secondary);
            color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        
        /* Сайдбар */
        .sidebar-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .sidebar-card h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary);
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .timeline {
            position: relative;
            padding-left: 30px;
        }
        
        .timeline:before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #e0e0e0;
        }
        
        .timeline-item {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            position: relative;
        }
        
        .timeline-number {
            width: 30px;
            height: 30px;
            background: var(--secondary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            flex-shrink: 0;
            position: relative;
            z-index: 1;
        }
        
        .contraindications li {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            color: #666;
        }
        
        .contraindications i {
            color: #ff6b6b;
        }
        
        .faq-item {
            border-bottom: 1px solid #eee;
            margin-bottom: 15px;
            padding-bottom: 15px;
        }
        
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .faq-question h4 {
            font-size: 1rem;
            color: #444;
            margin: 0;
        }
        
        .faq-answer {
            display: none;
            padding-top: 10px;
            color: #666;
        }
        
        .faq-answer.active {
            display: block;
        }
        
       
        
        /* Адаптивность */
        @media (max-width: 768px) {
			
			
			.method-number {
  width: 20px;
  height: 20px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  display: none;
}


            .service-hero h1 {
                font-size: 2.2rem;
            }
            
            .service-meta {
                flex-direction: column;
                gap: 15px;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            
            .comparison-slider {
                height: 300px;
            }
            
            .cta-content h2 {
                font-size: 2rem;
            }
        }
  



     /* Герой-секция */
        .hero-blepharoplasty {
         background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 60px 0;
  text-align: center;
        }
        
        .hero-blepharoplasty h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .hero-blepharoplasty .subtitle {
            font-size: 1.5rem;
            max-width: 800px;
            margin: 0 auto 30px;
            font-style: italic;
        }
        
        /* Основной контент */
        .content-section {
            background-color: white;
        }
        
        .intro {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            font-size: 1.2rem;
        }
        
        /* Методики */
        .methods {
            background-color: var(--light);
        }
        
        .methods-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .method-card {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }
        
        .method-card:hover {
            transform: translateY(-5px);
        }
        
        .method-icon {
            font-size: 40px;
            color: var(--secondary);
            margin-bottom: 20px;
        }
        
        .method-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .method-list {
            list-style-type: none;
            margin: 20px 0;
        }
        
        .method-list li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
        }
        
        .method-list li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--secondary);
            font-weight: bold;
        }
        
        /* Связанные процедуры */
        .related-procedures {
            background-color: white;
        }
        
        .procedures-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .procedure-card {
            background-color: var(--light);
            border-radius: 10px;
            padding: 25px;
            transition: all 0.3s ease;
        }
        
        .procedure-card:hover {
            background-color: #e3e9ec;
        }
        
        .procedure-title {
            color: var(--secondary);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        /* Преимущества */
        .benefits {
            background-color: var(--light);
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .benefit-item {
            text-align: center;
            padding: 25px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .benefit-icon {
            font-size: 40px;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .benefit-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        
        /* Консультация */
        .consultation {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            text-align: center;
        }
        
        .consultation h2 {
            color: white;
        }
        
        .consultation p {
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        /* Футер */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .footer-section h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
		
		.footer-section1 h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-links {
            list-style-type: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #aaa;
            font-size: 0.9rem;
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .contact-info {
                flex-wrap: wrap;
            }
            
            .hero-blepharoplasty h1 {
                font-size: 2.2rem;
            }
            
            .hero-blepharoplasty .subtitle {
                font-size: 1.2rem;
            }
            
            .methods-grid, .procedures-grid, .benefits-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .header-nav {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            .hero-blepharoplasty {
                padding: 80px 0;
            }
            
            .hero-blepharoplasty h1 {
                font-size: 1.8rem;
            }
            
            section {
                padding: 60px 0;
            }
        }
		
		
		
		 /* Герой-секция */
        .hero-facelift {
       background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 60px 0;
  text-align: center;
        }
        
        .hero-facelift h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .hero-facelift .subtitle {
            font-size: 1.5rem;
            max-width: 800px;
            margin: 0 auto 30px;
            font-style: italic;
        }
        
        /* Основной контент */
        .content-section {
            background-color: white;
        }
        
        .intro {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            font-size: 1.2rem;
			padding-bottom: 20px;
        }
        
        /* Стили для блока процедур с фотографиями */
    .procedures-with-photos {
        padding: 10px 0;
        background-color: white;
    }
    
    .section-subtitle {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 50px;
        color: var(--gray);
        font-size: 1.1rem;
    }
    
    .procedure-photo-block {
        margin-bottom: 60px;
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .procedure-photo-block:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }
    
    .procedure-photo-content {
        display: flex;
        min-height: 400px;
    }
    
    .procedure-photo-block.reverse .procedure-photo-content {
        flex-direction: row-reverse;
    }
    
    .procedure-text {
        flex: 1.2;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .procedure-image {
        flex: 0.8;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    }
    
    /* Стили для слайдера "до/после" */
    .before-after-slider {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .slider-container {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }
    
    .slider-images {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border-radius: 8px;
    }
    
    .slider-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .slider-image.active {
        opacity: 1;
    }
    
    .slider-controls {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        padding: 0 10px;
    }
    
    .slider-btn {
        padding: 8px 20px;
        background-color: #f0f0f0;
        border: none;
        border-radius: 20px;
        font-weight: bold;
        color: var(--gray);
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        max-width: 120px;
    }
    
    .slider-btn.active {
        background-color: var(--secondary);
        color: white;
    }
    
    .slider-btn:hover:not(.active) {
        background-color: #e0e0e0;
    }
    
    .slider-label {
        text-align: center;
        margin-top: 10px;
        padding: 5px 10px;
    }
    
    .slider-label-text {
        font-size: 0.9rem;
        color: var(--gray);
        font-style: italic;
    }
    
    .procedure-indications {
        margin: 20px 0;
    }
    
    .procedure-indications h4 {
        color: var(--secondary);
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    
    .procedure-indications ul {
        list-style-type: none;
        padding-left: 20px;
    }
    
    .procedure-indications li {
        margin-bottom: 8px;
        padding-left: 25px;
        position: relative;
    }
    
    .procedure-indications li:before {
        content: "—";
        position: absolute;
        left: 0;
        color: var(--secondary);
    }
    
    .procedure-result,
    .procedure-feature {
        background-color: var(--light);
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid #234f85;
        margin: 20px 0;
    }
    
    .procedure-methods {
        margin: 25px 0;
    }
    
    .procedure-methods h4 {
        color: var(--secondary);
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
    
    .method-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .method-option {
        background-color: rgba(52, 152, 219, 0.05);
        padding: 15px;
        border-radius: 8px;
        border: 1px solid rgba(52, 152, 219, 0.2);
    }
    
    .method-option h5 {
        color: var(--dark);
        margin-bottom: 8px;
        font-size: 1rem;
    }
    
    .method-option p {
        margin: 0;
        font-size: 0.95rem;
        color: var(--gray);
    }
	
	
	.indications-lists ul {
  list-style-type: none;
  padding-left: 20px;
}

.indications-list li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

.indications-list {
  list-style: none !important;
}

.indications-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--secondary);
}
    
    /* Адаптивность */
    @media (max-width: 992px) {
        .procedure-photo-content {
            flex-direction: column;
        }
        
        .procedure-photo-block.reverse .procedure-photo-content {
            flex-direction: column;
        }
        
        .procedure-image {
            order: -1;
            min-height: 300px;
            padding: 30px;
        }
        
        .procedure-text {
            padding: 30px;
        }
        
        .before-after-slider {
            max-width: 350px;
        }
        
        .slider-images {
            height: 280px;
        }
    }
    
    @media (max-width: 768px) {
        .procedures-with-photos {
            padding: 60px 0;
        }
        
        .procedure-photo-block {
            margin-bottom: 40px;
        }
        
        .procedure-photo-title {
            font-size: 1.5rem;
        }
        
        .procedure-text {
            padding: 25px;
        }
        
        .procedure-image {
            padding: 20px;
        }
        
        .before-after-slider {
            max-width: 320px;
        }
        
        .slider-images {
            height: 250px;
        }
        
        .method-options {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 480px) {
        .procedure-photo-title {
            font-size: 1.3rem;
        }
        
        .procedure-text {
            padding: 20px;
        }
        
        .before-after-slider {
            max-width: 100%;
        }
        
        .slider-images {
            height: 220px;
        }
        
        .slider-btn {
            padding: 6px 15px;
            font-size: 0.9rem;
        }
    }
        /* Методики */
        .methods-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }
        
        .method-item {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--secondary);
        }
        
        .method-title {
            color: var(--secondary);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
        
        /* Преимущества */
        .benefits {
            background-color: var(--light);
        }
        
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .benefit-item {
            text-align: center;
            padding: 25px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .benefit-icon {
            font-size: 40px;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .benefit-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        
  
 
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .contact-info {
                flex-wrap: wrap;
            }
            
            .hero-facelift h1 {
                font-size: 2.2rem;
            }
            
            .hero-facelift .subtitle {
                font-size: 1.2rem;
            }
            
            .procedure-grid, .methods-grid, .benefits-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .header-nav {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            .hero-facelift {
                padding: 80px 0;
            }
            
            .hero-facelift h1 {
                font-size: 1.8rem;
            }
            
            section {
                padding: 60px 0;
            }
            
            .procedure-card, .method-item {
                padding: 20px;
            }
        }
		
		
		
		
	 /* Основной контент */
        .content-intro {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 60px;
            text-align: center;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding: 30px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        /* Галерея фотографий до/после */
        .photo-gallery {
            margin-bottom: 80px;
        }
        
        .gallery-title {
            text-align: center;
            font-size: 2.2rem;
            color: #8a1b61;
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .gallery-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(135deg, #e84a8a 0%, #8a1b61 100%);
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .gallery-item {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(138, 27, 97, 0.15);
        }
        
        .gallery-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }
        
        .gallery-caption {
            padding: 20px;
            text-align: center;
        }
        
        .gallery-caption h3 {
            color: #8a1b61;
            margin-bottom: 10px;
            font-size: 1.3rem;
        }
        
        .gallery-caption p {
            color: #666;
            font-size: 0.95rem;
        }
        
        /* Методы коррекции */
        .methods-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            
        }
        
        .method-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #f0f0f0;
        }
        
        .method-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(138, 27, 97, 0.1);
        }
        
        .method-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .method-number {
            background: linear-gradient(135deg, #7ed3f5 0%, var(--secondary) 100%);
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.3rem;
            margin: -25px auto 20px;
            position: relative;
            z-index: 2;
        }
        
        .method-content {
            padding: 0 25px 25px;
        }
        
        .method-title {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-bottom: 15px;
            text-align: center;
        }
        
        .method-description {
            color: #666;
            font-size: 1rem;
            text-align: justify;
        }
        
        /* Фотографии процедур */
        .procedure-photos {
            margin-bottom: 10px;
        }
        
        .procedure-title {
            text-align: center;
            font-size: 2.2rem;
            color: var(--dark);
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .procedure-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: var(--secondary);
        }
        
        .procedure-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .procedure-item {
            text-align: center;
        }
        
        .procedure-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            margin-bottom: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .procedure-name {
            font-weight: 600;
            color: var(--secondary);
            font-size: 1.1rem;
        }
        
        /* Секция заключения */
        .conclusion-section {
            background-color: white;
            padding: 60px 50px;
            border-radius: 12px;
            margin-bottom: 80px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            border-top: 5px solid #e84a8a;
        }
        
        .conclusion-title {
            font-size: 1.8rem;
            color: #8a1b61;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .conclusion-text {
            color: #666;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        
      
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .hero-facelift h1 {
                font-size: 2.5rem;
            }
            
            .gallery-grid,
            .methods-container,
            .procedure-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .conclusion-section {
                padding: 40px 25px;
            }
            
            .gallery-title,
            .procedure-title {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 480px) {
          
            
            .method-content {
                padding: 0 20px 20px;
            }
            
      
        }
		
		
		     /* Основной контент */
        .content-section {
            background-color: white;
        }
        
        .intro {
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
            font-size: 1.2rem;
            line-height: 1.8;
        }
        
        .intro-highlight {
            background-color: var(--medical-light);
            padding: 25px;
            border-radius: 10px;
            border-left: 4px solid var(--medical-blue);
            margin: 30px 0;
            font-size: 1.1rem;
        }
        
        /* Типы операций */
        .operations {
            background-color: var(--medical-light);
        }
        
        .operations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .operation-card {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            border-top: 4px solid var(--medical-blue);
        }
        
        .operation-card:hover {
            transform: translateY(-5px);
        }
        
        .operation-icon {
            font-size: 40px;
            color: var(--medical-blue);
            margin-bottom: 20px;
        }
        
        .operation-title {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .operation-features {
            list-style-type: none;
            margin: 20px 0;
        }
        
        .operation-features li {
            margin-bottom: 12px;
            padding-left: 25px;
            position: relative;
        }
        
        .operation-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--medical-blue);
            font-weight: bold;
        }
        
        /* Группы риска */
        .risk-groups {
            background-color: white;
        }
        
        .risk-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .risk-card {
            background-color: var(--medical-light);
            border-radius: 10px;
            padding: 25px;
            transition: all 0.3s ease;
            border-left: 4px solid var(--secondary);
			box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
        }
        
        .risk-card:hover {
            background-color: #e1f0fa;
        }
        
        .risk-number {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--secondary);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .risk-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        /* Правовые аспекты */
        .legal-aspects {
            background-color: var(--medical-light);
        }
        
        .legal-content {
            max-width: 1200px;
            margin: 0 auto;
            background-color: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .legal-highlight {
            background-color: #e3e9ec;
            border-left: 4px solid var(--secondary);
            padding: 20px;
            margin: 25px 0;
            border-radius: 5px;
        }
        
        /* Восстановление и особенности */
        .recovery-section {
            background-color: white;
        }
        
        .recovery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .recovery-card {
            background-color: var(--medical-light);
            border-radius: 10px;
            padding: 30px;
            text-align: center;
			box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
        }
        
        .recovery-icon {
            font-size: 50px;
            color: var(--medical-blue);
            margin-bottom: 20px;
			color: var(--secondary);
        }
        
        .recovery-title {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: var(--dark);
        }
        
        .warning-card {
            background-color: #e3e9ec;
            border-left: 4px solid var(--accent);
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
        }
        
.fas.fa-shield-alt {
  font-size: 40px;
  color: var(--secondary);
}
   
        .fas.fa-heartbeat {
  font-size: 40px;
  color: var(--secondary);
}


        /* Адаптивность */
        @media (max-width: 768px) {
     
         
            
            .subtitle {
                font-size: 1.1rem;
            }
            
            .operations-grid, .risk-grid, .recovery-grid {
                grid-template-columns: 1fr;
            }
            
            .legal-content {
                padding: 25px;
            }
        }
        
        @media (max-width: 480px) {
     
            
            section {
                padding: 60px 0;
            }
            
            .operation-card, .risk-card, .recovery-card {
                padding: 20px;
            }
        }
		
		
		
		/* === СТИЛИ ДЛЯ БЛОКА "ДО И ПОСЛЕ" === */
.before-after-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
    width: 100%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #234f85;
    margin-bottom: 10px;
    font-weight: 700;
    padding: 0 20px;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
    padding: 0 20px;
}

/* === ОСНОВНАЯ СЕТКА СЛАЙДЕРОВ === */
.before-after-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* === КАРТОЧКА СЛАЙДЕРА === */
.comparison-container {
    width: 320px; /* Увеличена ширина */
    height: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin: 0;
}

/* Первые два блока в ряд */
.comparison-container:nth-child(1),
.comparison-container:nth-child(2) {
    flex: 0 0 calc(50% - 15px); /* Два блока в ряд */
    max-width: calc(50% - 15px);
}

/* Третий блок - по центру снизу */
.comparison-container:nth-child(3) {
    flex: 0 0 100%;
    max-width: 670px; /* Центральный блок шире */
    margin-top: 10px;
}

.comparison-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* === ОБЛАСТЬ СЛАЙДЕРА С ИЗОБРАЖЕНИЯМИ === */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    background-color: #f5f5f5;
}

/* Обертка для изображений */
.comparison-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* === КОНТЕЙНЕРЫ ДЛЯ ИЗОБРАЖЕНИЙ "ДО" И "ПОСЛЕ" === */
.comparison-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Изображение ДО - справа, закрывает часть ПОСЛЕ */
.image-before {
    right: 0;
    width: 50%; /* Начинаем с половины */
    z-index: 2;
    border-left: 2px solid white; /* Граница разделения */
}

/* Изображение ПОСЛЕ - слева, всегда видно полностью */
.image-after {
    left: 0;
    width: 100%;
    z-index: 1;
}

/* === СТИЛИ ДЛЯ ИЗОБРАЖЕНИЙ === */
.comparison-image img {
    width: 320px; /* Полная ширина контейнера */
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
}

/* Фото ДО выравниваем по правому краю */
.image-before img {
    right: 0;
}

/* Фото ПОСЛЕ выравниваем по левому краю */
.image-after img {
    left: 0;
}

/* === МЕТКИ "ДО" И "ПОСЛЕ" НА СЛАЙДЕРЕ === */
.image-label {
    position: absolute;
    bottom: 10px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-weight: 600;
    font-size: 11px;
    border-radius: 15px;
    z-index: 4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    min-width: 80px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.label-before {
    right: 10px;
    background: #6c757d;
}

.label-after {
    left: 10px;
    background: #28a745;
}

/* === ПОЛЗУНОК ДЛЯ ПЕРЕТАСКИВАНИЯ === */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
   
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: col-resize;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #234f85;
    color: #234f85;
    font-size: 14px;
    transition: all 0.2s ease;
}

.slider-handle:hover .slider-arrow {
    background: #234f85;
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}




/* Улучшенные стили для мобильного меню */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background-color: white;
    z-index: 1100;
    padding: 80px 25px 40px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1099;
    backdrop-filter: blur(3px);
}

.mobile-overlay.active {
    display: block;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #2a5782;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-menu:hover {
    background-color: rgba(42, 87, 130, 0.1);
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .mobile-nav {
        width: 280px;
        padding: 70px 20px 30px;
    }
}


/* ДОКТОРА */

.doctor-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .doctor-header-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .doctor-brand {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .doctor-brand i {
            font-size: 2rem;
        }
        
        .doctor-brand h1 {
            font-size: 1.6rem;
            font-weight: 600;
        }
        
        .doctor-contact-header {
            text-align: right;
        }
        
        .doctor-contact-header p {
            margin-bottom: 5px;
            font-size: 0.9rem;
        }
        
        /* Основной контент */
        .doctor-profile-wrapper {
            display: flex;
            flex-wrap: wrap;
            margin: 30px 0;
            gap: 30px;
        }
        
        /* Боковая панель с фото и краткой информацией */
        .doctor-bio-panel {
            flex: 1;
            min-width: 300px;
            background-color: white;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .doctor-photo-placeholder {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #0d47a1;
            margin-bottom: 25px;
            overflow: hidden;
        }
        
        .doctor-photo-placeholder i {
            font-size: 8rem;
            margin-bottom: 20px;
        }
        
        .doctor-photo-placeholder p {
            font-size: 1.2rem;
            font-weight: 500;
        }
        
        .doctor-qualifications {
            border-top: 1px solid #e0e0e0;
            padding-top: 20px;
        }
        
        .doctor-qualifications h3 {
            color: #234f85;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .doctor-qualifications p {
            margin-bottom: 12px;
            font-size: 1rem;
        }
        
        /* Основной информационный блок */
        .doctor-details-section {
            flex: 2;
            min-width: 300px;
        }
        
        .doctor-section-title {
            color: #0d47a1;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #bbdefb;
            font-size: 1.8rem;
        }
        
        .doctor-specializations {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .doctor-specializations h3 {
            color: #1565c0;
            margin-bottom: 20px;
            font-size: 1.4rem;
        }
        
        .doctor-skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .doctor-procedure-item {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            border-left: 4px solid var(--secondary);
        }
        
        .doctor-procedure-item h4 {
            color: #234f85;
            margin-bottom: 8px;
            font-size: 1.1rem;
        }
        
        .doctor-procedure-item p {
            font-size: 0.95rem;
            color: #555;
        }
        
        /* Клиники */
        .doctor-practice-locations {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .doctor-hospitals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .doctor-hospital-item {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 6px;
        }
        
        .doctor-hospital-item h4 {
            color: #1565c0;
            margin-bottom: 10px;
        }
        
        .doctor-hospital-item p {
            margin-bottom: 8px;
            font-size: 0.95rem;
        }
        
        /* Контакты */
        .doctor-contact-block {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .doctor-contact-options {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin-top: 20px;
        }
        
        .doctor-contact-method {
            flex: 1;
            min-width: 200px;
        }
        
        .doctor-contact-method h4 {
            color: #1565c0;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .doctor-contact-method i {
            color: #1976d2;
        }
        
        /* Футер */
    
        
        .doctor-footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
        }
        
        .doctor-footer-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .doctor-footer-column {
            flex: 1;
            min-width: 150px;
        }
        
        .doctor-footer-column h4 {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        
        .doctor-footer-column ul {
            list-style: none;
        }
        
        .doctor-footer-column li {
            margin-bottom: 10px;
        }
        
        .doctor-footer-column a {
            color: #bbdefb;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .doctor-footer-column a:hover {
            color: white;
        }
        
        .doctor-copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #bbdefb;
        }
        
        .doctor-legal-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 15px;
        }
        
        .doctor-legal-links a {
            color: #bbdefb;
            text-decoration: none;
            font-size: 0.85rem;
        }
        
        /* Кнопка записи */
        .doctor-consultation-btn {
            display: inline-block;
            background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
            color: white!important;
            padding: 12px 25px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 15px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .doctor-consultation-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(13, 71, 161, 0.2);
        }
        
        /* Адаптивность */
        @media (max-width: 768px) {
            .doctor-header-wrapper {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .doctor-contact-header {
                text-align: center;
            }
            
            .doctor-skills-grid {
                grid-template-columns: 1fr;
            }
            
            .doctor-footer-content {
                flex-direction: column;
            }
        }
		
		
		.btn-details a {
		color: #234c82;
		text-decoration:none;
		}
		
		
		
		/* Стили для горизонтального блока 7 */
		.method-card-horizontal {
			display: flex;
			align-items: center;
			background: #fff;
			border-radius: 12px;
			overflow: hidden;
			box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
			padding: 0;
			position: relative;
			max-width: 100%;
			padding-top: 40px;
			padding-bottom: 20px;
			margin-bottom: 40px;
		}
		
		.method-card-horizontal .method-image-horizontal {
			flex: 0 0 45%;
			max-width: 45%;
			height: 300px;
			object-fit: cover;
			border-radius: 12px 0 0 12px;
		}
		
		.method-card-horizontal .method-content-horizontal {
			flex: 1;
			padding: 40px;
			position: relative;
		}
		
		.method-card-horizontal .method-number-horizontal {
			position: absolute;
			top: -25px;
			left: 40px;
			background: linear-gradient(135deg, #7ed3f5 0%, var(--secondary) 100%);
			color: white;
			width: 50px;
			height: 50px;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 1.5rem;
			font-weight: bold;
			box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
			z-index: 2;
		}
		
		.method-card-horizontal .method-title-horizontal {
			color: var(--secondary);
			font-size: 1.8rem;
			margin-bottom: 20px;
			line-height: 1.3;
			padding-top: 10px;
		}
		
		.method-card-horizontal .method-description-horizontal {
			color: #555;
			font-size: 1.05rem;
			line-height: 1.7;
			margin-bottom: 25px;
		}
		
		.method-card-horizontal .method-features {
			background: #f8f9fa;
			padding: 20px;
			border-radius: 8px;
			margin-top: 25px;
			border-left: 4px solid #1976d2;
		}
		
		.method-card-horizontal .method-features h4 {
			color: #1565c0;
			margin-bottom: 15px;
			font-size: 1.2rem;
		}
		
		.method-card-horizontal .method-features ul {
			list-style: none;
			padding-left: 0;
		}
		
		.method-card-horizontal .method-features li {
			margin-bottom: 8px;
			padding-left: 25px;
			position: relative;
			color: #666;
		}
		
		.method-card-horizontal .method-features li:before {
			content: "✓";
			position: absolute;
			left: 0;
			color: #1976d2;
			font-weight: bold;
		}
		
		/* Адаптивность для горизонтального блока */
		@media (max-width: 992px) {
			.method-card-horizontal {
				flex-direction: column;
			}
			
			.method-card-horizontal .method-image-horizontal {
				flex: 0 0 100%;
				max-width: 100%;
				width: 100%;
				height: 300px;
				border-radius: 12px 12px 0 0;
			}
			
			.method-card-horizontal .method-content-horizontal {
				padding: 30px;
			}
			
			.method-card-horizontal .method-number-horizontal {
				top: -25px;
				left: 30px;
			}
			
			.method-card-horizontal .method-title-horizontal {
				font-size: 1.6rem;
			}
		}
		
		@media (max-width: 576px) {
			.method-card-horizontal .method-content-horizontal {
				padding: 25px 20px;
			}
			
			.method-card-horizontal .method-title-horizontal {
				font-size: 1.4rem;
			}
			
			.method-card-horizontal .method-number-horizontal {
				top: -20px;
				left: 20px;
				width: 40px;
				height: 40px;
				font-size: 1.2rem;
			}
		}
		

.intro-rino {
margin-bottom: -20px;
  background: #f2f4f8;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
}



.footer-section1 {
    min-width: 280px; /* Уменьшим минимальную ширину */
    max-width: 400px; /* Добавим максимальную ширину */
    flex: 1 1 auto; /* Позволит блоку сжиматься */
	margin-left: -80px;
}

.footer-section1 ul.footer-links li {
    word-break: break-word; /* Переносить длинные слова */
    overflow-wrap: break-word; /* Альтернатива для переноса */
    margin-bottom: 8px; /* Уменьшим отступы */
}

.footer-section1 ul.footer-links li a {
    display: inline-block; /* Чтобы телефонные ссылки нормально переносились */
    margin-bottom: 2px; /* Маленький отступ для ссылок */
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .footer-section1 {
        min-width: 100%; /* На мобильных занимает всю ширину */
        max-width: 100%;
        margin-bottom: 20px;
		margin-left: 1px;
    }
    
    .footer-section1 ul.footer-links li {
        font-size: 14px; /* Уменьшим шрифт на мобильных */
        line-height: 1.4; /* Увеличим межстрочный интервал */
    }
    
    .footer-section1 .social_ol {
        justify-content: center; /* Центрируем иконки соцсетей */
        margin-top: 15px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer-section1 ul.footer-links li {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .footer-section1 ul.footer-links li a {
        font-size: 13px;
    }
    
    /* Если номер телефона слишком длинный, можно его разбить */
    .footer-section1 ul.footer-links li a[href^="tel:"] {
        white-space: normal; /* Разрешаем перенос текста */
    }
}

/* Опционально: если нужно, чтобы имена докторов переносились на новую строку */
.footer-section1 ul.footer-links li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
	border: 1px solid #ffffff52;
  padding: 7px;
}

/* Скрываем имена докторов на очень маленьких экранах, если не помещаются */
@media (max-width: 360px) {
    .footer-section1 ul.footer-links li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-section1 ul.footer-links li a {
        margin-right: 0;
        margin-bottom: 2px;
    }
}


.doctor-contact-method a {
  color: #2a5782;
  text-decoration: none;
  font-weight: bold;
}


/* Стили для блока контактов в футере */
.footer-section1 {
    min-width: 350px;
    max-width: 500px;
    flex: 1 1 auto;
}

.footer-section1 .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section1 .footer-links li {
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.footer-section1 .footer-links li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Обертка для контакта */
.footer-contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Информация о контакта */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; /* Позволяет сжиматься */
}

.footer-contact-phone {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s ease;
}

.footer-contact-phone:hover {
    color: #768bbb;
}

.footer-doctor-name {
    color: #ddd;
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

/* Социальные иконки - выровнены по правому краю */
.footer-social-container {
    display: flex;
    gap: 12px;
    flex-shrink: 0; /* Не сжимаются */
    margin-left: auto; /* Прижимаем к правому краю */
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.footer-social-link:hover {
    transform: scale(1.15);
    opacity: 1;
}

.footer-social-icon {
    width: 27px;
    height: 27px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Убираем фильтры, оставляем оригинальные цвета иконок */
.footer-social-link:hover .footer-social-icon {
    filter: brightness(1.2);
}

/* Адаптивность для планшетов */
@media (max-width: 1100px) {
    .footer-section1 {
        min-width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .footer-section1 .footer-links li {
        padding: 15px;
    }
    
    .footer-contact-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .footer-contact-details {
        width: 100%;
    }
    
    .footer-social-container {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .footer-contact-phone {
        font-size: 15px;
    }
    
    .footer-doctor-name {
        font-size: 13px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .footer-section1 .footer-links li {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .footer-contact-wrapper {
        gap: 10px;
    }
    
    .footer-contact-phone {
        font-size: 14px;
    }
    
    .footer-doctor-name {
        font-size: 12px;
    }
    
    .footer-social-container {
        gap: 10px;
    }
    
    .footer-social-icon {
        width: 25px;
        height: 25px;
    }
}

/* Десктоп оптимизация */
@media (min-width: 769px) {
    .footer-section1 .footer-links li {
        min-height: 70px;
        display: flex;
        align-items: center;
    }
    
    .footer-contact-wrapper {
        width: 100%;
    }
    
    /* Специфичные настройки для разных иконок */
    .footer-social-link[href*="whatsapp"]:hover .footer-social-icon {
        filter: drop-shadow(0 0 3px rgba(37, 211, 102, 0.5));
    }
    
    .footer-social-link[href*="telegram"]:hover .footer-social-icon {
        filter: drop-shadow(0 0 3px rgba(0, 136, 204, 0.5));
    }
    
    .footer-social-link[href*="max"]:hover .footer-social-icon {
        filter: drop-shadow(0 0 3px rgba(255, 107, 53, 0.5));
    }
    
    .footer-social-link[href^="tel:"]:hover .footer-social-icon {
        filter: drop-shadow(0 0 3px rgba(52, 183, 241, 0.5));
    }
}

.content-intro-p a {
  color: var(--secondary);
  font-weight: bold;
}


.content-intro-p  {
	
	font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
 
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05)
}




.button.cookie_accept.btn.btn-primary.btn-sm {
  background-color: #e6e6e6;
  width: 100%;
  padding: 5px;
}

.button.cookie_accept.btn.btn-primary.btn-sm:hover {
  background-color: #fff;
  border:1px solid #000;
}


#cookie_note{
	display: none;position: fixed;z-index:100;
	bottom: 15px;left: 50%; max-width: 40%;transform: translateX(-50%);
	padding: 20px;background-color: white;
	border-radius: 4px;box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookie_note a {color:black; text-decoration:underline;}
#cookie_note p{margin: 0;font-size: 0.8rem;text-align: left;color: black;}
#cookie_note .btn-sm {display: block;margin: 0 auto; color: #234c82;}
.cookie_accept{width:20%;}
@media (min-width: 576px){#cookie_note.show{display: flex;}}
@media (max-width: 575px){#cookie_note.show{display: flex; text-align: left;}}


@media (max-width: 840px) {
#cookie_note {
  display: none;
  position: fixed;
  z-index: 100;
  bottom: 15px;
  left: 0%;
  max-width: 98%!important;
  transform: translateX(1%);
  padding: 20px;
  background-color: white;
  border-radius: 4px;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}
}

