/* ===== ПРЕМИАЛЬНЫЙ МЕДИЦИНСКИЙ ДИЗАЙН ===== */
:root {
    /* ЦВЕТОВАЯ ПАЛИТРА */
    --primary-dark: #1F2A44;
    --primary: #6B8BB6;
    --primary-light: #E9EEF5;
    --accent: #4CAF50;
    --accent-light: #E8F5E9;
    --danger: #FF5252;
    --danger-light: #FFE5E5;
    --background: #F7F9FC;
    --white: #FFFFFF;
    --text-dark: #1F2A44;
    --text: #2D3A5E;
    --text-light: #6B7A8F;
    --border: #E2E9F2;
    
    /* ЦВЕТА МЕССЕНДЖЕРОВ */
    --whatsapp: #25D366;
    --telegram: #0088cc;
    --max: #FF6B00;
    --viber: #7360F2;
    
    /* ТЕНИ */
    --shadow-sm: 0 4px 12px rgba(31, 42, 68, 0.05);
    --shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
    --shadow-lg: 0 20px 40px rgba(31, 42, 68, 0.12);
    --shadow-accent: 0 4px 12px rgba(76, 175, 80, 0.3);
    
    /* ШРИФТЫ */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* РАЗМЕРЫ */
    --h1: 48px;
    --h2: 36px;
    --h3: 28px;
    --h4: 22px;
    --text-base: 18px;
    --text-sm: 16px;
    --text-xs: 14px;
    
    /* ОТСТУПЫ */
    --section-gap: 100px;
    --container-width: 1200px;
    --card-padding: 28px;
    --radius: 16px;
    --radius-sm: 12px;
    
    /* ТИПОГРАФИКА */
    --line-height: 1.6;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text);
    background: var(--background);
    line-height: var(--line-height);
    font-size: var(--text-base);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

p {
    color: var(--text);
    font-size: var(--text-base);
    line-height: var(--line-height);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-gap) 0;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 18px;
}

/* ===== ШАПКА ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-dark);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 20px;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    color: var(--primary);
    font-weight: 400;
    font-size: 12px;
}

.desktop-nav {
    flex: 1;
    margin: 0 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 32px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-list a:hover {
    color: var(--primary-dark);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-phone {
    background: var(--primary-dark);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.header-phone img {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary-light);
    font-size: 18px;
    cursor: pointer;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.mobile-menu-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-phone,
.mobile-menu-whatsapp,
.mobile-menu-telegram,
.mobile-menu-max {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    color: white;
}

.mobile-menu-phone { background: var(--primary-dark); }
.mobile-menu-whatsapp { background: var(--whatsapp); }
.mobile-menu-telegram { background: var(--telegram); }
.mobile-menu-max { background: var(--max); }

.mobile-menu-phone img,
.mobile-menu-whatsapp img,
.mobile-menu-telegram img,
.mobile-menu-max img {
    width: 20px;
    height: 20px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--accent);
    display: block;
    font-size: 48px;
    margin-top: 5px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-features {
    margin: 30px 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 18px;
}

.feature-marker {
    width: 24px;
    height: 24px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.btn {
    height: 50px;
    padding: 0 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-secondary);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: #3d9c41;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-icon {
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-icon.whatsapp:hover { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn-icon.telegram:hover { background: var(--telegram); border-color: var(--telegram); }
.btn-icon.max:hover { background: var(--max); border-color: var(--max); }

.btn-icon:hover img {
}

.btn-icon img {
    width: 24px;
    height: 24px;
    transition: filter 0.3s;
}

/* СОЦИАЛЬНОЕ ДОКАЗАТЕЛЬСТВО */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.9);
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
    border: 1px solid var(--border);
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #FFC107;
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    font-weight: 600;
    color: var(--primary-dark);
}

.review-sources {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-sources img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.review-sources img:hover {
    opacity: 1;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(5px);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-image-badge p {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.hero-image-badge span {
    color: var(--accent);
    font-size: 14px;
}

/* ФОРМА ЗАПИСИ */
.appointment-form {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.appointment-form h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 22px;
}

.appointment-form p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.appointment-form input,
.appointment-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 15px;
    transition: all 0.3s;
}

.appointment-form input:focus,
.appointment-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.appointment-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.appointment-form .checkbox a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.appointment-form .checkbox a:hover {
    color: var(--accent);
}

.appointment-form .submit-btn {
    width: 100%;
    height: 50px;
    border: none;
    cursor: pointer;
}

/* ===== БЛОК ДОВЕРИЯ ===== */
.trust-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    position: relative;
}

.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-dark);
}

.trust-content {
    flex: 1;
}

.trust-number {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 28px;
    color: var(--primary-dark);
    line-height: 1.2;
}

.trust-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== БЛОК СРОЧНЫХ СИМПТОМОВ ===== */
.urgent-section {
    background: var(--white);
}

.urgent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.urgent-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.urgent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.urgent-icon {
    width: 64px;
    height: 64px;
    background: var(--danger-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--danger);
}

.urgent-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.urgent-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.urgent-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    background: var(--danger);
    color: white;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.urgent-btn:hover {
    background: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 82, 82, 0.3);
}

/* ===== БЛОК ПРОБЛЕМ ===== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--white);
    padding: var(--card-padding);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border);
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-dark);
}

.problem-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.problem-card p {
    color: var(--text-light);
    font-size: 15px;
    margin: 0;
}

.problem-card.highlight-card {
    border: 2px solid var(--accent);
    background: var(--accent-light);
    transform: scale(1.02);
}

/* ===== БЛОК ПОЧЕМУ ВЫБИРАЮТ ===== */
.why-section {
    background: var(--primary-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--accent);
}

.why-card h3 {
    margin-bottom: 16px;
}

.why-card p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* ===== УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--card-padding);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    flex: 1;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.service-price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.service-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 10px;
}

.service-btn:hover {
    background: #3d9c41;
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 10px;
    color: var(--accent);
}

/* ===== ПРОЦЕСС ЛЕЧЕНИЯ ===== */
.process-section {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 40px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--white);
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.step-item:hover .step-number {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.step-item h4 {
    margin-bottom: 12px;
}

.step-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--primary-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--primary-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

/* ===== О ВРАЧЕ ===== */
.doctor-section {
    background: var(--white);
}

.doctor-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.doctor-photo {
    width: 100%;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.doctor-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

.doctor-desc {
    margin-top: 20px;
    color: var(--text);
    line-height: 1.8;
}

/* ===== КАБИНЕТ ===== */
.clinic-section {
    background: var(--primary-light);
}

.clinic-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(31, 42, 68, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* ===== ПАРТНЕРЫ ===== */
.partners-section {
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.partner-logo {
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 15px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-content h4 {
    margin-bottom: 8px;
}

.partner-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.partner-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.partner-link:hover {
    color: var(--accent);
}

.partners-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 15px;
    font-style: italic;
}

/* ===== ОТЗЫВЫ ===== */
.reviews-section {
    background: var(--primary-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-platform {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-platform img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.review-platform span {
    font-weight: 500;
    color: var(--text);
}

.review-rating {
    color: #FFC107;
    font-size: 16px;
}

.review-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: var(--primary-dark);
    text-align: right;
}

.reviews-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== ЦЕНЫ ===== */
.prices-section {
    background: var(--white);
}

.price-table {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.price-category {
    background: var(--primary-light);
    padding: 15px 30px;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    border-top: 2px solid var(--primary);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 30px;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.price-row:hover {
    background: var(--primary-light);
}

.price-row.header {
    background: var(--primary-dark);
    color: white;
    font-weight: 600;
}

.price-row.header .price-service,
.price-row.header .price-cost {
    color: white;
}

.price-row.highlight {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
}

.price-service {
    font-size: 16px;
    color: var(--text);
    padding-right: 20px;
    flex: 1;
}

.price-cost {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 17px;
    white-space: nowrap;
}

.price-note {
    margin-top: 30px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--radius);
    font-size: 15px;
    text-align: left;
    line-height: 1.7;
}

.price-note p {
    margin-bottom: 5px;
}

.note-small {
    font-size: 14px;
    color: var(--text-light);
}

/* Мобильные цены */
.mobile-prices {
    display: none;
    margin: 20px 0;
}

.mobile-prices-table {
    display: none;
    margin-top: 20px;
}

.mobile-prices-table .price-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
}

.mobile-prices-table .price-service {
    font-size: 14px;
    margin-bottom: 5px;
    width: 100%;
}

.mobile-prices-table .price-cost {
    font-size: 16px;
    align-self: flex-start;
}

.mobile-prices-table .price-category {
    padding: 10px 15px;
    font-size: 16px;
}

.toggle-prices-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-light);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s;
    margin: 20px 0;
}

.toggle-prices-btn:hover {
    background: var(--primary);
    color: white;
}

/* ===== СТАТЬИ ===== */
.articles-section {
    background: var(--primary-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.article-image {
    height: 160px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 24px;
}

.article-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.article-content h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.article-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-link:hover {
    gap: 10px;
}

/* ===== ГЕОГРАФИЯ ===== */
.geo-section {
    background: var(--white);
}

.geo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.geo-card {
    background: var(--primary-light);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.geo-card:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.geo-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-dark);
    transition: all 0.3s;
}

.geo-card:hover .geo-icon {
    color: white;
}

.geo-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-dark);
    transition: all 0.3s;
}

.geo-card:hover .geo-name {
    color: white;
}

.geo-note {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-top: 30px;
}

/* ===== КОНТАКТЫ ===== */
.contacts-section {
    background: var(--primary-light);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contacts-info h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 24px;
}

.contacts-info h3 img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.phone-list {
    margin-bottom: 30px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.phone-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.phone-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.phone-content {
    flex: 1;
}

.phone-number {
    display: block;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 18px;
}

.phone-label {
    font-size: 13px;
    color: var(--text-light);
}

.emergency-card {
    background: var(--danger-light);
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
    border-left: 4px solid var(--danger);
}

.emergency-card h4 {
    color: var(--danger);
    margin-bottom: 8px;
    font-size: 18px;
}

.address-block {
    margin: 30px 0;
}

.address-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.address-icon {
    font-size: 18px;
    min-width: 24px;
}

.address-item a {
    color: var(--primary);
    text-decoration: none;
}

.address-item a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-btn {
    flex: 1;
    min-width: 100px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: white;
    transition: all 0.3s;
    padding: 0 12px;
}

.contact-btn.whatsapp { background: var(--whatsapp); }
.contact-btn.telegram { background: var(--telegram); }
.contact-btn.max { background: var(--max); }
.contact-btn.call { background: var(--primary-dark); }

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-btn img {
    width: 16px;
    height: 16px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.social-card.whatsapp:hover { border-color: var(--whatsapp); }
.social-card.telegram:hover { border-color: var(--telegram); }
.social-card.max:hover { border-color: var(--max); }
.social-card.youtube:hover { border-color: #FF0000; }
.social-card.vk:hover { border-color: #4C75A3; }
.social-card.rutube:hover { border-color: #2F80ED; }

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.social-card span {
    font-size: 14px;
    font-weight: 500;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== ФИКСИРОВАННЫЕ КНОПКИ ===== */
.fixed-contact-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fixed-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 52px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    width: auto;
}

.fixed-btn.whatsapp { background: var(--whatsapp); }
.fixed-btn.telegram { background: var(--telegram); }
.fixed-btn.max { background: var(--max); }
.fixed-btn.call { background: var(--primary-dark); }
.fixed-btn.appointment { background: var(--accent); }

.fixed-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.fixed-btn img {
    width: 20px;
    height: 20px;
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9998;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== ФУТЕР ===== */
.main-footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background: rgba(255,255,255,0.1);
    color: white;
}

.footer-logo-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    color: white;
}

.footer-logo-text span {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}

.footer-about {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social-link img {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contacts-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.footer-contacts-item img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    object-fit: contain;
}

.footer-contacts-item a {
    color: white;
    text-decoration: none;
}

.footer-contacts-item a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ ИЗОБРАЖЕНИЙ ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-image img,
.doctor-photo img,
.service-image img,
.gallery-item img,
.article-image img,
.partner-logo img {
    width: 100%;
    height: 100%;
}

/* ===== ПЦР-ДИАГНОСТИКА ===== */
.pcr-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(76, 175, 80, 0.05) 100%);
    padding: 80px 0;
}

.pcr-container {
    background: white;
    border-radius: var(--radius);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.pcr-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
}

.pcr-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pcr-highlight {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    margin: 30px 0 40px;
    border: 2px dashed var(--primary);
}

.pcr-price {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.pcr-note {
    color: var(--text-light);
    font-size: 16px;
}

.pcr-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pcr-feature {
    text-align: center;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.pcr-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: white;
}

.pcr-feature .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--accent);
}

.pcr-feature p {
    font-weight: 600;
    color: var(--text);
    margin: 0;
    font-size: 16px;
}

/* ===== БЛОК ПРЕДУПРЕЖДЕНИЯ ===== */
.warning-section {
    padding: 40px 0;
    background: #FFF9E6;
    border-top: 3px solid #FFB800;
    border-bottom: 3px solid #FFB800;
}

.warning-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: 35px 40px;
    box-shadow: var(--shadow);
    border-left: 6px solid #FFB800;
}

.warning-icon {
    font-size: 48px;
    line-height: 1;
    background: #FFB800;
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #1F2A44;
    font-weight: 700;
    border-bottom: 2px solid #FFB800;
    padding-bottom: 10px;
}

.warning-item {
    margin-bottom: 25px;
}

.warning-item p {
    font-size: 18px;
    color: #2D3A5E;
    margin-bottom: 8px;
    line-height: 1.5;
}

.warning-item p strong {
    color: #C62828;
    background: #FFEBEE;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

.warning-description {
    font-size: 16px !important;
    color: #6B7A8F !important;
    padding-left: 20px;
    border-left: 3px solid #FFB800;
    margin-top: 5px;
}

.warning-highlight {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px dashed #E2E9F2;
}

.warning-highlight span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
}

.warning-highlight span:first-child {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.warning-highlight span:nth-child(2) {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FF5252;
    text-decoration: line-through;
}

.warning-highlight span:last-child {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FF5252;
    text-decoration: line-through;
}

@media (max-width: 768px) {
    .warning-container {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .warning-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
        margin: 0 auto;
    }
    
    .warning-content h3 {
        font-size: 22px;
        text-align: center;
    }
    
    .warning-item {
        text-align: left;
    }
    
    .warning-description {
        padding-left: 10px;
    }
    
    .warning-highlight {
        justify-content: center;
    }
    
    .warning-highlight span {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .warning-container {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .warning-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .warning-content h3 {
        font-size: 20px;
    }
    
    .warning-content p {
        font-size: 16px;
    }
    
    .warning-highlight {
        justify-content: center;
    }
    
    .warning-highlight span {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .pcr-container {
        padding: 30px 20px;
    }
    
    .pcr-content h3 {
        font-size: 24px;
    }
    
    .pcr-content p {
        font-size: 16px;
    }
    
    .pcr-price {
        font-size: 36px;
    }
    
    .pcr-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pcr-feature {
        padding: 15px;
    }
}

/* ===== КРАСИВЫЕ УВЕДОМЛЕНИЯ ===== */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    min-width: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 6px solid;
    overflow: hidden;
}

.custom-notification.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.custom-notification.success {
    border-left-color: #4CAF50;
}

.custom-notification.error {
    border-left-color: #FF5252;
}

.custom-notification.info {
    border-left-color: #6B8BB6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: white;
}

.notification-icon {
    font-size: 28px;
    line-height: 1;
    animation: bounce 0.5s ease;
}

.notification-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    font-family: var(--font-secondary);
}

.notification-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    border: none;
    color: var(--primary-dark);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.notification-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
    
    .notification-content {
        padding: 15px;
    }
    
    .notification-icon {
        font-size: 24px;
    }
    
    .notification-text {
        font-size: 14px;
    }
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 1024px) {
    :root {
        --h1: 42px;
        --h2: 32px;
        --section-gap: 80px;
    }
    
    .hero-container,
    .doctor-container,
    .contacts-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .trust-item:not(:last-child)::after {
        display: none;
    }
    
    .urgent-grid,
    .problems-grid,
    .services-grid,
    .why-grid,
    .reviews-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .geo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --h1: 36px;
        --h2: 28px;
        --text-base: 16px;
        --section-gap: 60px;
    }
    
    .desktop-nav,
    .header-phone {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
    }
    
    .social-proof {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .trust-grid,
    .urgent-grid,
    .problems-grid,
    .services-grid,
    .why-grid,
    .reviews-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .clinic-gallery {
        grid-template-columns: 1fr;
    }
    
    .doctor-container {
        padding: 30px;
    }
    
    .doctor-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .price-row {
        flex-direction: column;
        gap: 8px;
        padding: 15px 20px;
    }
    
    .price-cost {
        align-self: flex-start;
    }
    
    .price-category {
        padding: 12px 20px;
    }
    
    .desktop-prices {
        display: none !important;
    }
    
    .mobile-prices {
        display: block !important;
    }
    
    .geo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .fixed-contact-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fixed-btn span:last-child {
        display: none;
    }
    
    .fixed-btn {
        width: 52px;
        padding: 0;
        justify-content: center;
    }
    
    .fixed-btn img {
        margin: 0;
    }
    
    .scroll-top {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-icon {
        width: 50px;
    }
    
    .geo-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .mobile-prices {
        display: none !important;
    }
}

/* ===== РАСКРЫВАЮЩИЕСЯ РАЗДЕЛЫ ЦЕН ===== */
.price-category-header {
    background: var(--primary-light);
    padding: 18px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    transition: background 0.3s;
}

.price-category-header:hover {
    background: #d0e0f0;
}

.price-category-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--primary-dark);
}

.toggle-icon {
    font-size: 20px;
    color: var(--primary-dark);
    transition: transform 0.3s;
}

.price-category-header.active .toggle-icon {
    transform: rotate(180deg);
}

.price-section {
    display: none;
}

.price-section.active {
    display: block;
}

.price-section .price-row:last-child {
    border-bottom: none;
}

/* Скрываем старые категории */
.price-category {
    display: none;
}

/* ГЛОБАЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    /* Запрещаем горизонтальный скролл */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* Все контейнеры не шире экрана */
    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Все блоки не шире экрана */
    section, div, article, main {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Исправление для таблиц цен */
    .price-table {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .price-row {
        flex-wrap: wrap !important;
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .price-service {
        width: 100% !important;
        font-size: 14px !important;
    }
    
    .price-cost {
        align-self: flex-start !important;
        margin-left: 0 !important;
    }
    
    /* Исправление для карточек */
    .service-card,
    .problem-card,
    .why-card,
    .review-card,
    .article-card,
    .geo-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Исправление для изображений */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Исправление для фиксированных кнопок */
    .fixed-contact-buttons {
        right: 10px !important;
    }
}