:root {
    --primary: #0A4D8C;
    --primary-light: #e6f2fb;
    --accent: #14b8a6;
    --accent-dark: #0d9488;
    --accent-light: #2dd4bf;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --border-light: #eef2f6;
    --footer-bg: #0a2540;
    --radius: 16px;
    --transition: all 0.3s ease;
}

body.dark-theme {
    --primary: #3b82f6;
    --primary-light: #1e3a5f;
    --accent: #14b8a6;
    --accent-dark: #2dd4bf;
    --accent-light: #0d9488;
    --text-dark: #f1f5f9;
    --text-gray: #94a3b8;
    --bg-light: #1e293b;
    --white: #0f172a;
    --border: #334155;
    --border-light: #334155;
    --footer-bg: #0a0f1a;
    background-color: #0f172a;
    color: #f1f5f9;
}

body.dark-theme .top-bar { background-color: #0a2540; }
body.dark-theme .logo { color: #ffffff; }
body.dark-theme .nav a { color: #f1f5f9; }
body.dark-theme .nav a:hover,
body.dark-theme .nav a.active { color: var(--accent); }
body.dark-theme .hero h1,
body.dark-theme .section-header h2,
body.dark-theme .about__text h2,
body.dark-theme .contacts__info h2,
body.dark-theme .form-card h3,
body.dark-theme .overlay-panel h3 {
    color: #ffffff;
}
body.dark-theme .hero__text,
body.dark-theme .section-header p,
body.dark-theme .about__text p,
body.dark-theme .contact-text p,
body.dark-theme .form-card p,
body.dark-theme .overlay-panel p {
    color: #94a3b8;
}
body.dark-theme .hero__bg-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.7) 70%, rgba(15, 23, 42, 0.4) 100%);
}
body.dark-theme .hero__bg-gradient.gradient-blue {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}
body.dark-theme .disclaimer-fixed {
    background: #0f172a;
    border-color: #334155;
    color: #64748b;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.theme-toggle .toggle-icon {
    font-size: 15px;
    color: #fff;
    margin-right: 0;
    transition: opacity 0.2s ease, transform 0.3s ease;
}
.theme-toggle .toggle-icon.moon {
    position: absolute;
    opacity: 1;
    transform: rotate(0deg);
}
.theme-toggle .toggle-icon.sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}
body.dark-theme .theme-toggle {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
body.dark-theme .theme-toggle .toggle-icon.moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
body.dark-theme .theme-toggle .toggle-icon.sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    padding-bottom: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 15px;
    text-align: center;
}
.btn-primary { background-color: var(--accent); color: #ffffff; }
.btn-primary:hover { background-color: var(--accent-light); }
.btn-secondary { background-color: var(--primary); color: #ffffff; }
.btn-secondary:hover { background-color: #1a6bb8; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #ffffff; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-md { padding: 10px 22px; font-size: 14px; }

.all-link {
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}
.all-link:hover { color: var(--primary); }
.all-link i { margin-left: 5px; font-size: 12px; }

/* ==== Верхняя панель с выбором адреса ==== */
.top-bar {
    background-color: var(--primary);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 8px 0;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==== Выпадающий список адресов в шапке ==== */
.address-selector {
    position: relative;
}
.address-selector__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}
.address-selector__trigger i:first-child {
    color: #ffffff;
    font-size: 13px;
}
.address-selector__trigger i:last-child {
    font-size: 10px;
    opacity: 0.7;
}
.address-selector__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: #ffffff;
    min-width: 260px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    padding: 10px 0;
    z-index: 200;
}
.address-selector__dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
}
.address-selector:hover .address-selector__dropdown {
    display: block;
}
.address-selector__item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: var(--transition);
}
.address-selector__item:hover {
    background: var(--primary-light);
}
.address-selector__item strong {
    display: block;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}
.address-selector__item span {
    font-size: 12px;
    color: #64748b;
}

/* Тёмная тема для выпадающего списка */
body.dark-theme .address-selector__dropdown {
    background-color: #1e293b;
    border-color: #334155;
}
body.dark-theme .address-selector__item:hover {
    background: #1e3a5f;
}
body.dark-theme .address-selector__item strong {
    color: #f1f5f9;
}
body.dark-theme .address-selector__item span {
    color: #94a3b8;
}

/* Скрытие на мобильных */
@media (max-width: 992px) {
    .address-selector {
        display: none;
    }
}

/* ==== Телефон с подписью ==== */
.phone-block {
    text-align: right;
}
.phone-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    line-height: 1.2;
}
.phone-number:hover { color: var(--primary); }
.phone-label {
    font-size: 12px;
    color: var(--text-gray);
    display: block;
    margin-top: 2px;
}

.top-bar a { color: #ffffff; text-decoration: none; font-weight: 500; }
.top-bar i { color: #ffffff; margin-right: 8px; font-size: 13px; }
.top-bar .vision-link {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-weight: 500;
    padding: 0;
    text-decoration: none;
}
.top-bar .vision-link:hover { color: var(--accent-light); }

.header-middle {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.header-middle__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.logo-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.logo__icon {
    background: var(--accent);
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 26px;
}
.logo-slogan {
    font-size: 13px;
    color: var(--text-gray);
    max-width: 150px;
    line-height: 1.3;
}
.header-socials {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
    background-color: var(--white);
}
.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.header-contacts {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}
.phone-block { text-align: right; }
.phone-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    line-height: 1.2;
    transition: var(--transition);
}
.phone-number:hover { color: var(--primary); }
.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-nav {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 18px 0;
    display: block;
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav li { position: relative; }
.nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 10px 0;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.nav .dropdown-menu li { display: block; margin: 0; position: relative; }
.nav .dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}
.nav .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav li.has-dropdown:hover .dropdown-menu { display: block; }
.nav li.has-dropdown > a::after { content: "▾"; margin-left: 5px; font-size: 10px; }
.search-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-toggle:hover { color: var(--accent); border-color: var(--accent); }

.fixed-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 150;
    transition: top 0.3s ease, background-color 0.3s ease;
    padding: 10px 0;
}
.fixed-header.visible { top: 0; }
.fixed-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.fixed-header .logo { font-size: 28px; flex-shrink: 0; margin-right: 20px; }
.fixed-header .logo__icon { width: 40px; height: 40px; font-size: 26px; border-radius: 12px; }
.fixed-header .fixed-nav { flex: 1; overflow: visible; }
.fixed-header .fixed-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    white-space: nowrap;
}
.fixed-header .fixed-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 18px 0;
    display: block;
}
.fixed-header .fixed-nav a:hover { color: var(--accent); }
.fixed-header .fixed-nav li { position: relative; }
.fixed-header .fixed-nav .dropdown-menu,
.fixed-header .fixed-nav .sub-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 10px 0;
    z-index: 200;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.fixed-header .fixed-nav .sub-dropdown-menu { left: 100%; top: 0; }
.fixed-header .fixed-nav .dropdown-menu li { display: block; margin: 0; position: relative; }
.fixed-header .fixed-nav .dropdown-menu a {
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}
.fixed-header .fixed-nav .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.fixed-header .fixed-nav li.has-dropdown:hover > .dropdown-menu { display: block; }
.fixed-header .fixed-nav li.has-sub-dropdown:hover > .sub-dropdown-menu { display: block; }
.fixed-header .fixed-nav li.has-dropdown > a::after { content: "▾"; margin-left: 5px; font-size: 10px; }
.fixed-header .fixed-nav li.has-sub-dropdown > a::after { content: "▸"; margin-left: 5px; font-size: 10px; float: right; }
.fixed-header .header-buttons { gap: 10px; flex-shrink: 0; }
.fixed-header .header-buttons .btn { padding: 10px 22px; font-size: 14px; }
.fixed-header .search-toggle { font-size: 16px; flex-shrink: 0; }

.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
    z-index: 300;
    padding: 10px 0;
    transition: var(--transition);
}
.mobile-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.mobile-header .logo { font-size: 20px; }
.mobile-header .logo__icon { width: 30px; height: 30px; font-size: 18px; border-radius: 8px; }
.mobile-header-icons { display: flex; align-items: center; gap: 8px; }
.mobile-header-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    cursor: pointer;
}
.mobile-header-icon:hover { color: var(--accent); border-color: var(--accent); }
.mobile-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 25px;
    flex-shrink: 0;
    margin-left: 5px;
}
.mobile-burger span {
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-burger.open span:nth-child(2) { opacity: 0; }
.mobile-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    position: fixed;
    top: 53px;
    left: 0;
    width: 100%;
    height: calc(100% - 53px);
    background-color: var(--white);
    z-index: 299;
    overflow-y: auto;
    display: none;
    padding: 20px;
    transition: var(--transition);
}
.mobile-menu.open { display: block; }
.mobile-menu__nav { list-style: none; margin-bottom: 25px; }
.mobile-menu__nav li { border-bottom: 1px solid var(--border-light); }
.mobile-menu__nav a,
.mobile-menu__nav .mobile-menu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav .mobile-menu-toggle:hover { color: var(--accent); }
.mobile-menu__nav .mobile-menu-arrow {
    font-size: 14px;
    color: var(--text-gray);
    transition: var(--transition);
}
.mobile-menu__nav .mobile-menu-arrow.open { transform: rotate(90deg); }
.mobile-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}
.mobile-submenu.open { max-height: 500px; }
.mobile-submenu li { border-bottom: 1px solid var(--border-light); }
.mobile-submenu li:last-child { border-bottom: none; }
.mobile-submenu a {
    padding: 12px 0;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-gray);
}
.mobile-submenu a:hover { color: var(--accent); }
.mobile-menu__contacts { padding-bottom: 30px; }
.mobile-menu__phone {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}
.mobile-menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.mobile-menu__info {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.mobile-menu__info i { color: var(--accent); margin-right: 10px; width: 20px; text-align: center; }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 400;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 20px 40px;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.overlay.open { opacity: 1; }
.overlay-panel {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.overlay.open .overlay-panel { opacity: 1; transform: translateY(0); }
.overlay-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-gray);
    transition: var(--transition);
}
.overlay-close:hover { color: var(--accent); }
.overlay-panel h3 { font-size: 22px; color: var(--primary); margin-bottom: 5px; }
.overlay-panel > p { color: var(--text-gray); margin-bottom: 20px; font-size: 14px; }
.overlay-panel input,
.overlay-panel select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}
.overlay-panel input:focus,
.overlay-panel select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.hero { position: relative; overflow: hidden; }
.hero .swiper { height: 550px; }
.hero .swiper-slide { display: flex; align-items: center; position: relative; overflow: hidden; }
.hero .swiper-slide .container { width: 100%; position: relative; z-index: 2; }
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(240, 247, 255, 0.95) 30%, rgba(240, 247, 255, 0.7) 70%, rgba(240, 247, 255, 0.4) 100%);
    z-index: 1;
    transition: var(--transition);
}
.hero__bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero__bg-gradient.gradient-blue {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f0fe 50%, #d0e8fc 100%);
    transition: var(--transition);
}
.badge {
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    transition: var(--transition);
}
.hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}
.highlight { color: var(--accent-dark); }
.hero__text { font-size: 17px; color: var(--text-gray); margin-bottom: 25px; transition: var(--transition); }
.hero__features { list-style: none; margin-bottom: 0; }
.hero__features li { margin-bottom: 10px; font-weight: 500; color: var(--text-dark); }
.check { color: var(--accent); font-weight: 800; margin-right: 8px; }
.hero__image-wrapper { position: relative; z-index: 2; }
.hero__image-wrapper img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.hero .swiper-button-prev,
.hero .swiper-button-next {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    border-radius: 50%;
    color: var(--text-gray);
    transition: var(--transition);
}
.hero .swiper-button-prev:after,
.hero .swiper-button-next:after { font-size: 18px; }
.hero .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(10, 77, 140, 0.25);
    opacity: 1;
}
.hero .swiper-pagination-bullet-active { background: var(--primary); transform: scale(1.2); }

.form-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.form-card h3 { font-size: 24px; margin-bottom: 5px; color: var(--text-dark); }
.form-card p { color: var(--text-gray); margin-bottom: 20px; font-size: 14px; }
.form-group { margin-bottom: 15px; }
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
}
.form-checkbox input[type="checkbox"] { width: auto; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.form-checkbox label { cursor: pointer; }
.form-checkbox a { color: var(--accent); text-decoration: none; }
.form-checkbox a:hover { text-decoration: underline; }
.success-message {
    background: #ecfdf5;
    color: #065f46;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

.advantages { padding: 40px 0; background-color: var(--white); transition: var(--transition); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    background-color: var(--white);
}
.adv-item:hover { background: var(--bg-light); transform: translateY(-3px); }
.adv-icon { font-size: 32px; margin-bottom: 10px; }
.adv-item h4 { margin-bottom: 8px; font-size: 16px; color: var(--text-dark); }
.adv-item p { font-size: 13px; color: var(--text-gray); }

.about { padding: 50px 0; background: var(--bg-light); transition: var(--transition); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__text h2 { font-size: 30px; color: var(--primary); margin-bottom: 20px; font-weight: 700; }
.about__text p { color: var(--text-gray); margin-bottom: 15px; font-size: 15px; line-height: 1.8; }
.about__image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border-light); }

.services { padding: 50px 0; background-color: var(--white); transition: var(--transition); }
.section-header { text-align: center; margin-bottom: 35px; }
.section-header h2 { font-size: 30px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.section-header p { color: var(--text-gray); font-size: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.service-img { height: 160px; background-size: cover; background-position: center; }
.service-body { padding: 20px; }
.service-body h3 { margin-bottom: 12px; font-size: 17px; font-weight: 600; color: var(--text-dark); }
.service-list { list-style: none; margin-bottom: 15px; }
.service-list li { margin-bottom: 8px; }
.service-list a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.service-list a:hover { color: var(--accent-dark); }
.btn-wrapper { text-align: center; margin-top: 35px; }

.doctors { padding: 50px 0; background: var(--bg-light); transition: var(--transition); }
.doctors-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.doctors-header .section-header { margin-bottom: 0; text-align: left; }
.doctors-header .section-header h2 { margin-bottom: 5px; }
.doctors-header .section-header p { font-size: 14px; }
.doctors-slider-wrapper,
.reviews-slider-wrapper { position: relative; }
.doctors .swiper { overflow: hidden; padding-bottom: 40px; }
.doctor-slide {
    background-color: var(--white);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    height: auto;
}
.doctor-slide:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.doctor-slide img { width: 100%; height: 200px; object-fit: cover; }
.doctor-slide__body { padding: 20px; }
.doctor-slide h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.3;
}
.doctor-slide .doctor-lastname { display: block; }
.doctor-slide .doctor-firstname { display: block; }
.doctor-slide .doctor-specialty {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 5px;
}
.doctor-slide .doctor-experience {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.doctor-slide .btn { width: 100%; }

.custom-prev,
.custom-next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 16px;
    z-index: 10;
}
.custom-prev:hover,
.custom-next:hover { border-color: var(--accent); color: var(--accent); }
.custom-prev { left: -25px; }
.custom-next { right: -25px; }

.reviews { padding: 50px 0; background-color: var(--white); transition: var(--transition); }
.reviews .swiper { overflow: hidden; padding-bottom: 40px; }
.review-slide {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    height: auto;
}
.review-slide:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 14px; }
.review-text {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
    flex: 1;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}
.review-author-info h4 { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.review-author-info span { font-size: 12px; color: var(--text-gray); }

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border);
    opacity: 1;
}
.swiper-pagination-bullet-active { background: var(--accent); transform: scale(1.2); }

.news { padding: 50px 0; background: var(--bg-light); transition: var(--transition); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.06); }
.news-img-link { display: block; height: 180px; background-size: cover; background-position: center; }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--text-gray); margin-bottom: 10px; }
.news-body h3 { font-size: 16px; margin-bottom: 10px; font-weight: 600; }
.news-body h3 a { color: var(--text-dark); text-decoration: none; transition: var(--transition); }
.news-body h3 a:hover { color: var(--accent-dark); }
.news-body p { font-size: 13px; color: var(--text-gray); margin-bottom: 15px; }
.news-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 13px; }
.news-link:hover { color: var(--accent-dark); }

.contacts { padding: 50px 0; background-color: var(--white); transition: var(--transition); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacts__info h2 { font-size: 30px; color: var(--primary); margin-bottom: 25px; font-weight: 700; }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.contact-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-text h4 { font-size: 15px; margin-bottom: 3px; font-weight: 600; color: var(--text-dark); }
.contact-text p { font-size: 14px; color: var(--text-gray); }
.contact-text a { color: var(--text-dark); text-decoration: none; }
.contact-text a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

.footer { background: var(--footer-bg); color: #cbd5e1; padding: 50px 0 30px; transition: var(--transition); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 40px; margin-bottom: 30px; }
.logo--light { color: #ffffff; margin-bottom: 15px; }
.footer h4 { color: #ffffff; margin-bottom: 15px; font-size: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer a { color: #cbd5e1; text-decoration: none; transition: var(--transition); }
.footer a:hover { color: var(--accent); }
.footer-links-under-logo { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.footer-links-under-logo a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}
.footer-links-under-logo a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 10px; margin-top: 15px; }
.footer-socials .social-link { border-color: rgba(255,255,255,0.2); color: #cbd5e1; background: transparent; }
.footer-socials .social-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}
.footer-copyright { color: #94a3b8; }
.footer-dev a { color: var(--accent); text-decoration: none; }
.footer-dev a:hover { text-decoration: underline; }

.disclaimer-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 10px 20px;
    text-align: center;
    font-size: 22px;
    color: #cbd5e1;
    z-index: 100;
    border-top: 1px solid var(--border-light);
    letter-spacing: 2px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .top-bar,
    .header-middle,
    .header-nav,
    .fixed-header { display: none !important; }
    .mobile-header { display: block; }
    .hero .swiper { height: auto; min-height: 400px; }
    .hero__grid { grid-template-columns: 1fr; gap: 0; padding: 60px 0 40px; }
    .hero__form-wrapper,
    .hero__image-wrapper { display: none; }
    .hero .swiper-button-prev,
    .hero .swiper-button-next { display: none; }
    .hero h1 { font-size: 30px; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .about__grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .contacts__grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .custom-prev,
    .custom-next { display: none; }

    .address-selector {
        display: none;
    }

}

@media (max-width: 600px) {
    .adv-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 26px; }
    .hero .swiper { min-height: 350px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .disclaimer-fixed { font-size: 12px; padding: 8px 15px; }
}



/* ==== Хлебные крошки ==== */
.breadcrumbs {
    background: var(--bg-light);
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span {
    color: var(--text-dark);
    font-weight: 600;
}
.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--text-gray);
}

/* ==== Заголовок страницы ==== */
.page-header {
    padding: 40px 0 20px;
}
.page-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
body.dark-theme .page-title { color: #ffffff; }
.page-subtitle {
    font-size: 16px;
    color: var(--text-gray);
}

/* ==== Текстовая страница ==== */
.text-page {
    padding: 20px 0 60px;
}
.text-page__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 25px;
}
body.dark-theme .text-page__title { color: #ffffff; }
.text-page__content {
    max-width: 800px;
}
.text-page__content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}
.text-page__content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 15px;
}
.text-page__content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.text-page__content li {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.text-page__content a {
    color: var(--accent);
    text-decoration: none;
}
.text-page__content a:hover {
    text-decoration: underline;
}


/* ==== Таблицы ==== */
.text-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.text-page__content thead th {
    background: var(--primary-light);
    color: var(--primary);
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}
.text-page__content tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}
.text-page__content tbody tr:last-child td {
    border-bottom: none;
}
.text-page__content tbody tr:hover td {
    background: var(--bg-light);
}

/* ==== Цитата ==== */
.text-page__content blockquote {
    border-left: 3px solid var(--accent);
    padding: 15px 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-gray);
}

/* ==== Изображения ==== */
.text-page__content figure {
    margin-bottom: 20px;
}
.text-page__content figure img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.text-page__content figcaption {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
    margin-top: 8px;
}

/* ==== Разделитель ==== */
.text-page__content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 30px 0;
}

/* ==== Списки определений ==== */
.text-page__content dl {
    margin-bottom: 15px;
}
.text-page__content dt {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.text-page__content dd {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

/* ==== Аккордеон ==== */
.faq-item {
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition);
}
.faq-question:hover {
    background: var(--bg-light);
}
.faq-icon {
    color: var(--accent);
    font-size: 14px;
    transition: var(--transition);
}
.faq-icon.open {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    /*background: var(--bg-light);*/
}
.faq-answer.open {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 20px 15px;
    font-size: 14px;
    color: var(--text-gray);
}


.text-page__content a.btn {
    color: #ffffff;
}
.text-page__content a.btn-outline {
    color: var(--primary);
}
.text-page__content a.btn-outline:hover {
    color: #ffffff;
}
.text-page__content a.all-link {
    color: var(--accent-dark);
}




/* ==== Страница цен ==== */
.prices-page {
    padding: 20px 0 60px;
}
.prices-page__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.prices-content {
    min-width: 0;
}

.prices-search {
    margin-bottom: 25px;
}
.prices-search__panel {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.search-box {
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}
.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    cursor: pointer;
    font-size: 16px;
}
.clear-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}
.clear-icon:hover {
    color: var(--accent);
}

.prices-groups {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.price-group__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
body.dark-theme .price-group__title {
    color: #ffffff;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 15px 20px;
    margin-bottom: 10px;
    transition: var(--transition);
}
.price-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.price-item__name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}
.price-item__cost {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
    min-width: 100px;
    text-align: right;
}
.price-item__btn {
    flex-shrink: 0;
}

.prices-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}
.prices-consult {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
    text-align: center;
}
.prices-consult h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.prices-consult p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.prices-consult .btn {
    width: 100%;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    display: none;
}
.no-results i {
    font-size: 50px;
    color: var(--border);
    margin-bottom: 15px;
}
.no-results h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.no-results p {
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .prices-page__grid {
        grid-template-columns: 1fr;
    }
    .prices-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .price-item__cost {
        text-align: left;
        min-width: auto;
    }
}




/* ==== Правая колонка страницы цен ==== */
.prices-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prices-consult {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
    text-align: center;
}
.prices-consult h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.prices-consult p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.prices-consult .btn {
    width: 100%;
}

.prices-banner {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
}
.prices-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.prices-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 77, 140, 0.2) 0%, rgba(10, 77, 140, 0.9) 100%);
}
.prices-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: #ffffff;
    text-align: center;
}
.filter-btn .badge {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    padding: 2px 8px;
    margin-left: 5px;
    font-size: 12px;
    margin-bottom: 0;
    display: inline;
}
.prices-banner h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}
.prices-banner p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}
.prices-banner .btn {
    width: 100%;
}

@media (max-width: 992px) {
    .prices-sidebar {
        position: static;
    }
    .prices-banner img {
        height: 200px;
    }
}






/* ==== Страница акций ==== */
.promo-page {
    padding: 20px 0 60px;
}
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.promo-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.promo-card__image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.promo-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.promo-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.promo-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.promo-card__body p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    flex: 1;
}
.promo-card__prices {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.promo-old-price {
    font-size: 14px;
    color: var(--text-gray);
    text-decoration: line-through;
}
.promo-new-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-dark);
}
.promo-card__date {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.promo-card__date i {
    color: var(--accent);
}

@media (max-width: 992px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}




/* ==== Пагинация ==== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination__item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.pagination__item:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination__item.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}
.pagination__dots {
    font-size: 16px;
    color: var(--text-gray);
    padding: 0 5px;
}
.pagination__arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background-color: var(--white);
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.pagination__arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination__arrow.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 600px) {
    .pagination__item,
    .pagination__arrow {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}





/* ==== Детальная акция ==== */
.promo-detail {
    padding: 30px 0 60px;
}
.promo-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.promo-detail__content {
    min-width: 0;
}
.promo-detail__badge {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}
.promo-detail__title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}
body.dark-theme .promo-detail__title {
    color: #ffffff;
}
.promo-detail__image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 25px;
}
.promo-detail__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}
.promo-detail__text p {
    margin-bottom: 15px;
}
.promo-detail__text h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 25px 0 15px;
}
.promo-detail__text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.promo-detail__text li {
    margin-bottom: 8px;
}

.promo-detail__sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.promo-detail__card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
    text-align: center;
}
.promo-detail__prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}
.promo-detail__old-price {
    font-size: 18px;
    color: var(--text-gray);
    text-decoration: line-through;
}
.promo-detail__new-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-dark);
}
.promo-detail__date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.promo-detail__date i {
    color: var(--accent);
}
.promo-detail__note {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 12px;
}
.promo-detail__consult {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    text-align: center;
}
.promo-detail__consult h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}
.promo-detail__consult p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .promo-detail__grid {
        grid-template-columns: 1fr;
    }
    .promo-detail__sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .promo-detail__title {
        font-size: 24px;
    }
    .promo-detail__new-price {
        font-size: 26px;
    }
}

/* ==== Страница отзывов ==== */
.reviews-filters {
    padding: 0 0 25px;
}
.reviews-filters__panel {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}
.reviews-filters__select {
    flex: 1;
    min-width: 200px;
}
.reviews-filters__select select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background-color: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}
.reviews-filters__select select:focus {
    border-color: var(--accent);
}
.reviews-filters__btn {
    flex-shrink: 0;
}

.reviews-page {
    padding: 0 0 60px;
}
.reviews-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.review-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.review-card__stars {
    color: #f59e0b;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-size: 14px;
}
.review-card__text {
    font-size: 14px;
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}
.review-card__author-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.review-card__author-info span {
    font-size: 12px;
    color: var(--text-gray);
    display: block;
}

@media (max-width: 992px) {
    .reviews-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-page__grid {
        grid-template-columns: 1fr;
    }
    .reviews-filters__panel {
        flex-direction: column;
    }
    .reviews-filters__select {
        min-width: 100%;
    }
}

/* ==== Textarea в оверлеях ==== */
.overlay-panel textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
    resize: vertical;
    min-height: 100px;
}
.overlay-panel textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
body.dark-theme .overlay-panel textarea {
    background-color: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}




/* ==== Выбор клиники в шапке ==== */
.header-clinics {
    position: relative;
}
.clinics-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    background-color: var(--white);
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.clinics-selector:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.clinics-selector i:first-child {
    color: var(--accent);
    font-size: 16px;
}
.clinics-selector i:last-child {
    font-size: 12px;
    color: var(--text-gray);
}
.clinics-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--white);
    min-width: 280px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 200;
}
.clinics-dropdown.open {
    display: block;
}
.clinics-dropdown__item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    transition: var(--transition);
}
.clinics-dropdown__item:hover {
    background: var(--primary-light);
}
.clinics-dropdown__item strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}
.clinics-dropdown__item span {
    font-size: 12px;
    color: var(--text-gray);
}

body.dark-theme .clinics-selector {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}
body.dark-theme .clinics-dropdown {
    background-color: #1e293b;
    border-color: #334155;
}
body.dark-theme .clinics-dropdown__item strong {
    color: #f1f5f9;
}

/* ==== Страница клиник ==== */
.clinics-page {
    padding: 20px 0 60px;
}
.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.clinic-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.clinic-card__image {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.clinic-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.clinic-card__body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}
.clinic-card__address,
.clinic-card__hours,
.clinic-card__metro {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.clinic-card__address i,
.clinic-card__hours i,
.clinic-card__metro i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}
.clinic-card__body .btn {
    margin-top: auto;
}

@media (max-width: 992px) {
    .clinics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-clinics {
        display: none;
    }
}

@media (max-width: 600px) {
    .clinics-grid {
        grid-template-columns: 1fr;
    }
}


/* ==== Детальная клиника ==== */
.clinic-detail {
    padding: 20px 0 60px;
}
.clinic-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.clinic-detail__content {
    min-width: 0;
}
.clinic-detail__image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 25px;
}
.clinic-detail__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}
.clinic-detail__text p {
    margin-bottom: 15px;
}

.clinic-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}
.clinic-info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    padding: 20px;
}
.clinic-info-card__icon {
    width: 46px;
    height: 46px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}
.clinic-info-card__text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.clinic-info-card__text p {
    font-size: 13px;
    color: var(--text-gray);
}
.clinic-info-card__text a {
    color: var(--text-gray);
    text-decoration: none;
}
.clinic-info-card__text a:hover {
    color: var(--accent);
}

.clinic-doctors {
    margin-bottom: 40px;
}
.clinic-doctors h2,
.clinic-services h2,
.clinic-map h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.clinic-doctors {
    margin-bottom: 40px;
}
.clinic-doctors .doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.clinic-doctors .doctors-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}
.clinic-doctors-slider-wrapper {
    position: relative;
}
.clinic-doctors .swiper {
    overflow: hidden;
    padding-bottom: 40px;
}
.clinic-doctor-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    height: auto;
}
.clinic-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.clinic-doctor-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.clinic-doctor-card__body {
    padding: 15px;
    text-align: center;
}
.clinic-doctor-card__body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.clinic-doctor-card__body p {
    font-size: 12px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .clinic-doctors-slider-wrapper .custom-prev,
    .clinic-doctors-slider-wrapper .custom-next {
        display: none;
    }
}
.clinic-doctor-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
}
.clinic-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.clinic-doctor-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.clinic-doctor-card__body {
    padding: 15px;
    text-align: center;
}
.clinic-doctor-card__body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.clinic-doctor-card__body p {
    font-size: 12px;
    color: var(--text-gray);
}

.clinic-services {
    margin-bottom: 40px;
}
.clinic-services__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.clinic-services__list a {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border-light);
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.clinic-services__list a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

.clinic-map .map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.clinic-map .map iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

.clinic-detail__sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.clinic-detail__card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
    text-align: center;
}
.clinic-detail__card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.clinic-detail__card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.clinic-detail__note {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 15px;
    margin-bottom: 5px;
}
.clinic-detail__phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.clinic-detail__phone:hover {
    color: var(--accent);
}
.clinic-detail__consult {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    text-align: center;
}
.clinic-detail__consult h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}
.clinic-detail__consult p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .clinic-detail__grid {
        grid-template-columns: 1fr;
    }
    .clinic-detail__sidebar {
        position: static;
    }
    .clinic-doctors__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .clinic-info-cards {
        grid-template-columns: 1fr;
    }
    .clinic-doctors__grid {
        grid-template-columns: 1fr;
    }
}


/* ==== Страница О клинике с левым меню ==== */
.about-section {
    padding: 20px 0 60px;
}
.about-section__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.about-menu {
    position: sticky;
    top: 100px;
    align-self: start;
}
.about-menu__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.about-menu__list {
    list-style: none;
}
.about-menu__item {
    border-bottom: 1px solid var(--border-light);
}
.about-menu__item:last-child {
    border-bottom: none;
}
.about-menu__item a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}
.about-menu__item a:hover {
    color: var(--accent-dark);
}
.about-menu__item.active a {
    color: var(--accent-dark);
    font-weight: 600;
}

.about-content {
    min-width: 0;
}
.about-content__image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}
.about-content__text h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.about-content__text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.about-stat {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.about-stat__number {
  font-size: 28px;
 font-weight: 800;
 color: var(--accent);
 margin-bottom: 5px;
 white-space: nowrap;
}
.about-stat__label {
    font-size: 14px;
    color: var(--text-gray);
}

.about-cta {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.about-cta h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.about-cta p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}
.about-cta__form {
    max-width: 500px;
    margin: 0 auto;
}
.about-cta__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .about-section__grid {
        grid-template-columns: 1fr;
    }
    .about-menu {
        position: static;
        margin-bottom: 20px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    .about-cta__fields {
        grid-template-columns: 1fr;
    }
}




/* ==== Галерея ==== */
.about-gallery {
    margin-bottom: 40px;
}
.about-gallery h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-gallery__slider-wrapper {
    position: relative;
}
.about-gallery .swiper {
    overflow: hidden;
    padding-bottom: 40px;
}
.gallery-slide {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.gallery-slide:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.gallery-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}
.gallery-slide:hover img {
    transform: scale(1.05);
}


/* ==== Страница контактов ==== */
.contacts-page {
    padding: 20px 0 60px;
}
.contacts-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}
.contacts-page__info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}
.contacts-page__info > p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 25px;
}
.contacts-page__buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}
.contacts-page__requisites {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
}
.contacts-page__requisites h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.contacts-page__requisites ul {
    list-style: none;
}
.contacts-page__requisites li {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.contacts-page__map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
}
.contacts-page__map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.contacts-clinics h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}
.contacts-clinics__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.contacts-clinic-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.contacts-clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.contacts-clinic-card__image {
    height: 160px;
    background-size: cover;
    background-position: center;
}
.contacts-clinic-card__body {
    padding: 20px;
}
.contacts-clinic-card__body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.contacts-clinic-card__body p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contacts-clinic-card__body p i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}
.contacts-clinic-card .all-link {
    margin-top: 10px;
    display: inline-block;
}

@media (max-width: 992px) {
    .contacts-page__grid {
        grid-template-columns: 1fr;
    }
    .contacts-clinics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .contacts-clinics__grid {
        grid-template-columns: 1fr;
    }
    .contacts-page__buttons {
        flex-direction: column;
    }
    .contacts-page__buttons .btn {
        width: 100%;
    }
}

/* ==== Страница 404 ==== */
.error-page {
    padding: 80px 0;
    text-align: center;
}
.error-page__content {
    max-width: 600px;
    margin: 0 auto;
}
.error-page__number {
    font-size: 120px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}
.error-page__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
body.dark-theme .error-page__title {
    color: #ffffff;
}
.error-page__text {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
}
.error-page__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .error-page__number {
        font-size: 80px;
    }
    .error-page__title {
        font-size: 22px;
    }
    .error-page__buttons {
        flex-direction: column;
    }
    .error-page__buttons .btn {
        width: 100%;
    }
}


/* ==== Страница Спасибо ==== */
.thankyou-page {
    padding: 80px 0;
    text-align: center;
}
.thankyou-page__content {
    max-width: 600px;
    margin: 0 auto;
}
.thankyou-page__icon {
    font-size: 80px;
    color: var(--accent);
    margin-bottom: 20px;
}
.thankyou-page__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
body.dark-theme .thankyou-page__title {
    color: #ffffff;
}
.thankyou-page__text {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 30px;
}
.thankyou-page__info {
    text-align: left;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    margin-bottom: 30px;
}
.thankyou-page__info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.thankyou-page__info p:last-child {
    margin-bottom: 0;
}
.thankyou-page__info i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}
.thankyou-page__info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.thankyou-page__info a:hover {
    color: var(--accent);
}
.thankyou-page__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .thankyou-page__icon {
        font-size: 60px;
    }
    .thankyou-page__title {
        font-size: 22px;
    }
    .thankyou-page__buttons {
        flex-direction: column;
    }
    .thankyou-page__buttons .btn {
        width: 100%;
    }
}



/* ==== Страница поиска ==== */
.search-page {
    padding: 20px 0 60px;
}
.search-page__header {
    margin-bottom: 30px;
}
.search-page__panel {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-top: 20px;
}
.search-page__form {
    max-width: 100%;
}
.search-page__input-wrapper {
    display: flex;
    gap: 10px;
}
.search-page__input-wrapper input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-dark);
}
.search-page__input-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.search-page__btn {
    flex-shrink: 0;
}

.search-page__results {
    margin-top: 20px;
}
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.search-result {
    display: block;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
}
.search-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.search-result__content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}
.search-result__content p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
}
.search-result__link {
    font-size: 12px;
    color: var(--accent);
}

@media (max-width: 600px) {
    .search-page__input-wrapper {
        flex-direction: column;
    }
    .search-page__btn {
        width: 100%;
    }
}




/* ==== Лицензии и документы ==== */
.licenses-page {
    padding: 20px 0 60px;
}
.licenses-page__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
.licenses-content {
    min-width: 0;
}
.licenses-section {
    margin-bottom: 50px;
}
.licenses-section h2,
.documents-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.license-item {
    display: block;
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
}
.license-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.license-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.license-item__title {
    display: block;
    padding: 12px 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    background-color: var(--white);
    border-top: 1px solid var(--border-light);
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
    text-decoration: none;
    transition: var(--transition);
}
.document-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.document-item__icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    flex-shrink: 0;
}
.document-item__content h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.document-item__content p {
    font-size: 13px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .licenses-page__grid {
        grid-template-columns: 1fr;
    }
    .about-menu {
        position: static;
        margin-bottom: 20px;
    }
    .licenses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .licenses-grid {
        grid-template-columns: 1fr;
    }
}


/* ==== Общее левое меню ==== */
.left-menu {
    position: sticky;
    top: 100px;
    align-self: start;
}
.left-menu__list {
    list-style: none;
}
.left-menu__item {
    border-bottom: 1px solid var(--border-light);
}
.left-menu__item:last-child {
    border-bottom: none;
}
.left-menu__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}
.left-menu__link:hover {
    color: var(--accent-dark);
}
.left-menu__item.active .left-menu__link {
    color: var(--accent-dark);
}
.left-menu__arrow {
    font-size: 13px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}
.left-menu__item.active .left-menu__arrow {
    transform: rotate(90deg);
    color: var(--accent-dark);
}
.left-menu__submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
}
.left-menu__submenu.open {
    max-height: 500px;
}
.left-menu__submenu li {
    margin-bottom: 5px;
}
.left-menu__submenu a {
    display: block;
    padding: 8px 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
}
.left-menu__submenu a:hover {
    color: var(--accent-dark);
}
.left-menu__submenu li.active a {
    color: var(--accent-dark);
    font-weight: 400;
}

/* ==== Страница детальной услуги ==== */
.service-detail {
    padding: 20px 0 60px;
}
.service-detail__grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
.service-detail__content {
    min-width: 0;
}
.service-detail__image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}
.service-detail__intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}
.service-detail__intro p {
    margin-bottom: 15px;
}
.service-detail__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}
.service-detail__text p {
    margin-bottom: 15px;
}

/* Цены */
.service-prices {
    margin-top: 40px;
    margin-bottom: 40px;
}
.service-prices h2,
.service-doctors h2,
.service-faq h2,
.service-appointment h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.service-price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    font-size: 14px;
}
.service-price-table thead th {
    background: var(--primary-light);
    color: var(--primary);
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}
.service-price-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}
.service-price-table tbody tr:last-child td {
    border-bottom: none;
}
.service-price-table tbody tr:hover td {
    background: var(--bg-light);
}
.service-price-table .price {
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
}

/* Врачи */
.service-doctors {
    margin-bottom: 40px;
}
.service-doctors .doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.service-doctors .doctors-header h2 {
    margin-bottom: 0;
}
.service-doctors .doctors-slider-wrapper {
    position: relative;
}
.service-doctors .swiper {
    overflow: hidden;
    padding-bottom: 40px;
}
.service-doctors .custom-prev,
.service-doctors .custom-next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 16px;
    z-index: 10;
}
.service-doctors .custom-prev:hover,
.service-doctors .custom-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.service-doctors .custom-prev { left: -25px; }
.service-doctors .custom-next { right: -25px; }

/* FAQ */
.service-faq .faq-answer {
    background: var(--white);
}

/* Форма */
.service-appointment {
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
}
.service-appointment > p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}
.service-appointment .success-message {
    background: #ecfdf5;
    color: #065f46;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

/* Тёмная тема */
body.dark-theme .left-menu__link {
    color: var(--text-dark);
}
body.dark-theme .left-menu__submenu a {
    color: var(--text-dark);
}
body.dark-theme .service-detail__intro {
    color: var(--text-dark);
}
body.dark-theme .service-prices h2,
body.dark-theme .service-doctors h2,
body.dark-theme .service-faq h2,
body.dark-theme .service-appointment h2 {
    color: #ffffff;
}
body.dark-theme .service-faq .faq-answer {
    background: var(--white);
}

/* Адаптив */
@media (max-width: 992px) {
    .service-detail__grid {
        grid-template-columns: 1fr;
    }
    .left-menu {
        position: static;
        margin-bottom: 20px;
    }
    .service-doctors .custom-prev,
    .service-doctors .custom-next {
        display: none;
    }
}
@media (max-width: 600px) {
    .service-detail__intro {
        font-size: 16px;
        padding-left: 15px;
    }
    .service-appointment {
        padding: 20px;
    }
}

/* ==== Руководство клиники ==== */
.management-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.management-item {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    transition: var(--transition);
}
.management-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.management-item__photo {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.management-item__info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.management-item__role {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 12px;
}
.management-item__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

body.dark-theme .management-item__info h3 {
    color: #ffffff;
}

@media (max-width: 600px) {
    .management-item {
        flex-direction: column;
    }
    .management-item__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}


/* ==== Надзорные органы ==== */
.supervisory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.supervisory-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    transition: var(--transition);
}
.supervisory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.supervisory-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}
.supervisory-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.6;
}
.supervisory-card a[href^="tel"] {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-dark);
    text-decoration: none;
    margin-bottom: 10px;
}

body.dark-theme .supervisory-card h3 {
    color: #ffffff;
}

@media (max-width: 992px) {
    .supervisory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .supervisory-grid {
        grid-template-columns: 1fr;
    }
}


/* ==== Страховые компании и партнеры ==== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}
.partner-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    transition: var(--transition);
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.partner-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.partner-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.partner-card a {
    display: block;
    font-size: 14px;
    color: var(--accent-dark);
    text-decoration: none;
    margin-bottom: 8px;
}
.partner-card a:first-of-type {
    margin-top: 15px;
}
.partner-card a:hover {
    color: var(--primary);
}
.partner-card--logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
}

body.dark-theme .partner-card h3 {
    color: #ffffff;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}








/* ==== Вакансии ==== */
.vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.vacancy-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}
.vacancy-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}
.vacancy-item__header:hover {
    background: var(--bg-light);
}
.vacancy-item__header h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.vacancy-item__header span {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-dark);
}
.vacancy-arrow {
    color: var(--text-gray);
    font-size: 14px;
    transition: transform 0.3s ease;
}
.vacancy-item.open .vacancy-arrow {
    transform: rotate(180deg);
}
.vacancy-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}
.vacancy-item.open .vacancy-item__body {
    max-height: 1000px;
    padding-bottom: 25px;
}
.vacancy-item__body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}
.vacancy-item__body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.vacancy-item__body ul {
    list-style: none;
    margin-bottom: 15px;
}
.vacancy-item__body li {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}
.vacancy-item__body li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.vacancy-item__body .btn {
    margin-top: 10px;
}

body.dark-theme .vacancy-item__header h3 {
    color: #ffffff;
}
body.dark-theme .vacancy-item__body h4 {
    color: #ffffff;
}





/* ==== Реквизиты ==== */
.requisites-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
}
.requisites-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}
.requisites-table {
    width: 100%;
    border-collapse: collapse;
}
.requisites-table tr {
    border-bottom: 1px solid var(--border-light);
}
.requisites-table tr:last-child {
    border-bottom: none;
}
.requisites-table td {
    padding: 12px 10px;
    font-size: 14px;
    vertical-align: top;
}
.requisites-table td:first-child {
    color: var(--text-gray);
    width: 40%;
    font-weight: 500;
}
.requisites-table td:last-child {
    color: var(--text-dark);
    font-weight: 600;
}
.requisites-table a {
    color: var(--accent-dark);
    text-decoration: none;
}
.requisites-table a:hover {
    color: var(--primary);
}

body.dark-theme .requisites-card h2 {
    color: #ffffff;
}
body.dark-theme .requisites-table td:last-child {
    color: #ffffff;
}

@media (max-width: 600px) {
    .requisites-card {
        padding: 20px;
    }
    .requisites-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
    }
    .requisites-table tr {
        padding: 10px 0;
        display: block;
    }
}

/* ==== Форма Вопрос-ответ ==== */
.faq-list {
    margin-bottom: 40px;
}
.faq-form {
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
}
.faq-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.faq-form > p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 20px;
}
.faq-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    resize: vertical;
    min-height: 100px;
}
.faq-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.faq-form .success-message {
    background: #ecfdf5;
    color: #065f46;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

body.dark-theme .faq-form h2 {
    color: #ffffff;
}

@media (max-width: 600px) {
    .faq-form {
        padding: 20px;
    }
}






/* ==== Страница Врачи ==== */
.filters-section {
    padding: 20px 0 30px;
}
.filters-wrapper {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.filters-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}
.search-box input {
    width: 100%;
    padding: 14px 45px 14px 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}
.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}
.search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}
.sort-box {
    min-width: 250px;
}
.sort-box select {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}
.sort-box select:focus {
    border-color: var(--accent);
}
.filters-bottom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    background: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-dark);
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}
.filter-btn .badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 5px;
    font-size: 12px;
}
.filter-btn.active .badge {
    background: rgba(255,255,255,0.25);
}

/* Сетка врачей */
.doctors-section {
    padding: 20px 0 60px;
}
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.doctor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.doctor-card__image {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.doctor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.doctor-card:hover .doctor-card__image img {
    transform: scale(1.05);
}
.doctor-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.doctor-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.doctor-card__name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    line-height: 1.3;
}
.doctor-card__name:hover {
    color: var(--accent);
}
.doctor-card .doctor-lastname,
.doctor-card .doctor-firstname {
    display: block;
}
.doctor-card__specialty {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 5px;
}
.doctor-card__experience {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.doctor-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    margin-bottom: 15px;
}
.doctor-rating .stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 18px;
    margin-bottom: 0;
}
.rating-value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 14px;
}
.rating-count {
    font-size: 11px;
    color: var(--text-gray);
}
.doctor-card__actions {
    margin-top: auto;
}
.doctor-card__actions .btn {
    width: 100%;
}
.results-count {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}
.results-count strong {
    color: var(--text-dark);
    font-weight: 700;
}
.no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}
.no-results i {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 20px;
}
.no-results h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.no-results p {
    color: var(--text-gray);
}

body.dark-theme .doctor-card__name {
    color: #ffffff;
}
body.dark-theme .no-results h3 {
    color: #ffffff;
}

@media (max-width: 992px) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .filters-top {
        flex-direction: column;
    }
    .search-box,
    .sort-box {
        min-width: 100%;
    }
}
@media (max-width: 600px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .doctor-card__image {
        height: 250px;
    }
}


/* ==== Профиль врача ==== */
.doctor-profile {
    padding: 40px 0 60px;
}
.doctor-profile__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
}
.doctor-profile__sidebar {
    align-self: start;
}
.doctor-photo {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    aspect-ratio: 3/4;
    object-fit: cover;
}
.doctor-appointment-btn {
    margin-bottom: 20px;
}
.doctor-quick-info {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.quick-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
.quick-info-item i {
    color: var(--accent);
    font-size: 18px;
    width: 24px;
    text-align: center;
}
.quick-info-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
}
.quick-info-item span {
    color: var(--text-gray);
}

.doctor-profile__content {
    min-width: 0;
}
.doctor-name {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.doctor-specialty {
    font-size: 20px;
    color: var(--accent-dark);
    margin-bottom: 15px;
    font-weight: 600;
}
.doctor-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.rating-text {
    font-size: 14px;
    color: var(--text-gray);
}
.doctor-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}
.doctor-description p {
    margin-bottom: 15px;
}

/* Табы */
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    margin-bottom: -2px;
}
.tab:hover {
    color: var(--primary);
}
.tab.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Образование */
.education-list {
    list-style: none;
}
.education-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.education-year {
    font-weight: 700;
    color: var(--accent);
    min-width: 80px;
    font-size: 16px;
}
.education-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}
.education-info p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Услуги врача */
.doctor-services {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.doctor-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.doctor-service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.doctor-service-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}
.service-duration {
    font-size: 13px;
    color: var(--text-gray);
}
.doctor-service-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-dark);
}

/* Направления */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.direction-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
}
.direction-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.direction-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
}
.direction-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.direction-info p {
    font-size: 13px;
    color: var(--text-gray);
}

/* Сертификаты */
.certificates-slider .swiper {
    padding-bottom: 40px;
}
.certificate-slide {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}
.certificate-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.certificate-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
.certificate-title {
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
    background: var(--white);
    border-top: 1px solid var(--border-light);
    text-decoration: none;
}
.certificates-slider-wrapper {
    position: relative;
}
.certificates-slider-wrapper .custom-prev,
.certificates-slider-wrapper .custom-next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 16px;
    z-index: 10;
}
.certificates-slider-wrapper .custom-prev:hover,
.certificates-slider-wrapper .custom-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.certificates-slider-wrapper .custom-prev {
    left: -25px;
}
.certificates-slider-wrapper .custom-next {
    right: -25px;
}

/* Отзывы */
.review-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 20px;
}
.review-author h4 {
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--text-dark);
}
.review-date {
    font-size: 13px;
    color: var(--text-gray);
}
.review-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
}
.leave-review-btn {
    margin-top: 10px;
    text-align: center;
}

/* Тёмная тема */
body.dark-theme .doctor-name,
body.dark-theme .education-info h4,
body.dark-theme .doctor-service-info h4,
body.dark-theme .direction-info h4,
body.dark-theme .review-author h4,
body.dark-theme .review-text {
    color: #ffffff;
}

/* Адаптив */
@media (max-width: 992px) {
    .doctor-profile__grid {
        grid-template-columns: 1fr;
    }
    .doctor-profile__sidebar {
        position: static;
    }
    .doctor-photo {
        max-width: 300px;
        margin: 0 auto 20px;
        display: block;
    }
    .directions-grid {
        grid-template-columns: 1fr;
    }
    .certificates-slider-wrapper .custom-prev,
    .certificates-slider-wrapper .custom-next {
        display: none;
    }
}
@media (max-width: 600px) {
    .doctor-name {
        font-size: 28px;
    }
    .doctor-specialty {
        font-size: 18px;
    }
    .tabs {
        flex-direction: column;
        gap: 10px;
    }
    .tab {
        padding: 10px;
        text-align: center;
    }
    .doctor-service-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .doctor-service-action {
        width: 100%;
        justify-content: space-between;
    }
}





/* ==== Детальная новость ==== */
.news-detail {
    padding: 40px 0 60px;
}
.news-detail__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    align-items: start;
}
.news-detail__content {
    min-width: 0;
}
.news-detail__date {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.news-detail__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}
.news-detail__image {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 25px;
}

/* Оглавление */
.news-toc {
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    margin-bottom: 25px;
}
.news-toc__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.news-toc__list {
    list-style: none;
}
.news-toc__list li {
    margin-bottom: 10px;
}
.news-toc__list a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}
.news-toc__list a:hover {
    color: var(--accent);
}

/* Текст новости */
.news-detail__text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}
.news-detail__text h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 25px;
    font-weight: 600;
}
.news-detail__text p {
    margin-bottom: 15px;
}
.news-detail__text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.news-detail__text li {
    margin-bottom: 8px;
}

/* Автор */
.news-author {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 25px;
    margin-top: 30px;
}
.news-author__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.news-author__info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}
.news-author__info p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.news-author__info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.news-author__info a:hover {
    color: var(--accent-dark);
}

/* Сайдбар */
.news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-consult {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2fb 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 30px;
    text-align: center;
}
.news-consult h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.news-consult p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.news-consult .btn {
    width: 100%;
}

/* Теги */
.news-tags {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
}
.news-tags__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.news-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.news-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 20px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}
.news-tag:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary-light);
}

/* Подписка */
.news-subscribe {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
}
.news-subscribe__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}
.news-subscribe__text {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}
.news-subscribe input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    margin-bottom: 10px;
    background: var(--white);
    color: var(--text-dark);
}
.news-subscribe input:focus {
    border-color: var(--accent);
}
.news-subscribe .btn {
    width: 100%;
}

/* Поделиться */
.news-share {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    padding: 20px;
}
.news-share__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.news-share__buttons {
    display: flex;
    gap: 10px;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}
.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Другие новости */
.other-news {
    padding: 40px 0 60px;
    background: var(--bg-light);
}
.other-news .section-header {
    text-align: center;
    margin-bottom: 30px;
}
.other-news .section-header h2 {
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}
.other-news-slider-wrapper {
    position: relative;
}
.other-news .swiper {
    overflow: hidden;
    padding-bottom: 40px;
}
.other-news .news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: auto;
}
.other-news .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.other-news .news-img-link {
    display: block;
    height: 180px;
    background-size: cover;
    background-position: center;
}
.other-news .news-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.other-news .news-date {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.other-news .news-body h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}
.other-news .news-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
}
.other-news .news-body h3 a:hover {
    color: var(--accent-dark);
}
.other-news .news-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin-top: auto;
}
.other-news .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border);
    opacity: 1;
}
.other-news .swiper-pagination-bullet-active {
    background: var(--accent);
    transform: scale(1.2);
}
.other-news .custom-prev,
.other-news .custom-next {
    position: absolute;
    top: calc(50% - 20px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-light);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: var(--transition);
    font-size: 16px;
    z-index: 10;
}
.other-news .custom-prev:hover,
.other-news .custom-next:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.other-news .custom-prev { left: -25px; }
.other-news .custom-next { right: -25px; }

/* Тёмная тема */
body.dark-theme .news-detail__title {
    color: #ffffff;
}
body.dark-theme .news-toc__title,
body.dark-theme .news-author__info h4,
body.dark-theme .news-tags__title,
body.dark-theme .news-subscribe__title,
body.dark-theme .news-share__title,
body.dark-theme .other-news .section-header h2 {
    color: #ffffff;
}
body.dark-theme .news-detail__text h4 {
    color: #ffffff;
}

/* Адаптив */
@media (max-width: 992px) {
    .news-detail__grid {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        position: static;
    }
    .other-news .custom-prev,
    .other-news .custom-next {
        display: none;
    }
}
@media (max-width: 600px) {
    .news-detail__title {
        font-size: 26px;
    }
    .news-author {
        flex-direction: column;
        text-align: center;
    }
}
