/*
Theme Name: Тема Колибри v.8 
Theme URI: https://kolibri-orel.ru/web/
Author: Евгений Чернов
Author URI: https://kolibri-orel.ru/web/
Description: Тема для сайта МедЭлит
Version: 8.1.1
*/
html {
    margin-top: 0 !important;
}


/* ============================================
   HEADER - Абсолютное позиционирование.doctor-card-title
   (слайдер заходит под него)
   ============================================ */

/* Обертка для всего сайта - добавляем отступ под абсолютный header */
body {
    margin: 0;
    padding: 0;
	font-family: 'Manrope', sans-serif;
}
/* ===== ОБЩИЕ ПЕРЕМЕННЫЕ ===== */
:root {
    --primary-blue: #447196;
    --primary-blue-light: #75A2AC;
    --primary-red: #F45349;
    --text-dark: #33384F;
    --text-light: #5A6E7F;
    --white: #FEFEFE;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 35px rgba(0, 0, 0, 0.13);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 14px;
	background: #F7F9FE;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.catalog-collection-item {
	display: inline-block;
    vertical-align: top;
    position: relative;
}

.header_site {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Чтобы клики проходили сквозь фон, но не сквозь контент */
}

.header_container {
    width: calc(100% - 60px);
    max-width: 1400px;
    background: #FEFEFE;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 3fr 1fr 1fr;
    align-items: center;
    padding: 12px 24px;
    gap: 20px;
    pointer-events: auto; /* Возвращаем кликабельность */
    transition: all 0.3s ease;
}

/* При скролле добавляем тень и уменьшаем отступ */
.header_site.header_scrolled .header_container {
    top: 0;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ===== ЛОГОТИП ===== */
.header_logo_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header_logo_wrap .custom-logo,
.header_logo_link img {
    max-width: 250px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* ===== МЕНЮ ===== */
.header_menu_wrap {
    display: flex;
    justify-content: center;
}

.header_menu_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.header_menu_list li {
    margin: 0;
    position: relative;
}

.header_menu_list a {
    display: block;
    padding: 10px 18px;
    color: #33384F;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.25s ease;
    border-radius: 30px;
	font-weight: 600;
}

.header_menu_list a:hover {
    color: #F45349; /* Красный из логотипа */
    background: rgba(244, 83, 73, 0.08);
}

/* Текущий пункт меню */
.header_menu_list .current-menu-item > a,
.header_menu_list .current-menu-ancestor > a,
.header_menu_list .current-page-ancestor > a {
    color: #F45349;
    font-weight: 600;
}

/* Выпадающие подменю */
.header_menu_list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #FEFEFE;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin: 8px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 101;
}

.header_menu_list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header_menu_list .sub-menu li {
    width: 100%;
}

.header_menu_list .sub-menu a {
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #33384F;
}

.header_menu_list .sub-menu a:hover {
    background: rgba(244, 83, 73, 0.08);
    color: #F45349;
    padding-left: 26px;
}

/* ===== ТЕЛЕФОН ===== */
.header_phone_wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.header_phone_link {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.header_phone_link:hover {
    color: #F45349;
}

.header_phone_subtitle {
    font-size: 0.9rem;
    color: #518384;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 900;
}

/* ===== КНОПКА ВЫЗОВА ===== */
.header_button_wrap {
    display: flex;
    justify-content: flex-end;
}

.header_callback_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: normal;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
	max-width: 300px;
    background: #002C52;
    box-shadow: 0 4px 15px rgba(0, 44, 82, 0.3);
}

.header_callback_btn:hover {
    background: #F45349;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 83, 73, 0.35);
}


/* ===== HERO ===== */
.services-hero {
    background: var(--primary-blue);
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
    opacity: 0.6;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/medelit46-fon-5.jpg) no-repeat center bottom;
    z-index: 0;
}

.services-hero-content {
    position: relative;
    z-index: 1;
}

/* Хлебные крошки */
.services-breadcrumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-align: left;
    max-width: 1400px;
    padding: 0 24px;
    margin-left: auto;
    margin-right: auto;
}

.services-breadcrumbs a {
    color: #000000;
    text-decoration: none;
    transition: var(--transition);
}

.services-breadcrumbs a:hover {
    color: #F6C3BF;
}

.breadcrumb-separator {
    margin: 0 8px;
    opacity: 0.5;
	color: #8B8B8B;
}

.breadcrumb-current {
    color: #8B8B8B;
    font-weight: 500;
}

.services-hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 0 12px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #022E69;
	text-align: left;
}

.services-hero-description {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
    line-height: 1.6;
    color: #022E69;
	text-align: left;
}

/* ===== РАЗДЕЛЫ ===== */
.services-categories {
    padding: 50px 0 60px;
    background: var(--white);
}

.category-block {
    margin-bottom: 55px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-info {
    flex: 1;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-light);
    background: #f0f2f5;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ===== ОПИСАНИЕ РАЗДЕЛА СО ССЫЛКОЙ ===== */
.category-description-wrapper {
    margin-top: 8px;
}

.category-description-content {
    font-size: 0.95rem;
    margin-top: 30px;
    color: var(--text-light);
    line-height: 1.6;
    max-height: 70px;
    overflow: hidden;
}

.category-description-content p {
    margin: 0 0 8px;
}

.category-description-content p:last-child {
    margin-bottom: 0;
}

.category-description-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.category-description-link:hover {
    color: var(--primary-red);
    gap: 10px;
}

/* ===== СЕТКА КАРТОЧЕК ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* ===== КАРТОЧКА УСЛУГИ ===== */
.service-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

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

.service-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #E8ECF0;
}

.service-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(68, 113, 150, 0.1) 0%, 
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

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

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

.service-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f2f5 0%, #e4e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-placeholder svg {
    color: #447196;
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.92) 0%, 
        rgba(0, 0, 0, 0.65) 30%, 
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.15) 80%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover .service-card-overlay {
    height: 88%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.7) 30%, 
        rgba(0, 0, 0, 0.4) 55%,
        rgba(0, 0, 0, 0.2) 80%,
        rgba(0, 0, 0, 0) 100%
    );
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px 20px;
    z-index: 3;
}

.service-card-title {
    font-size: 1.0rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.25;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.2px;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.service-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #75A2AC;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.service-card-more {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    font-weight: 500;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-card-more {
    color: #ffffff;
    transform: translateX(5px);
}

/* ===== CTA ===== */
.services-cta {
	margin-top: 50px;
    padding: 50px 0;
    background: #f8fafb;
    border-top: 1px solid #e8edf2;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0 0 25px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.cta-button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-button-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.cta-button-primary:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 83, 73, 0.3);
}

.cta-button-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
}

.cta-button-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== ПУСТОЙ СОСТОЯНИЕ ===== */
.services-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.services-empty svg {
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.3;
}

.services-empty h3 {
    font-size: 1.4rem;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.services-empty p {
    margin: 0;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .services-hero {
        padding: 100px 0 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 0 16px;
    }
    .services-hero {
        padding: 85px 0 30px;
    }
    .services-hero-title {
        font-size: 1.6rem;
    }
    .services-hero-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .service-card-image {
        height: 170px;
    }
    .service-card-title {
        font-size: 0.95rem;
    }
    .service-card-price {
        font-size: 0.85rem;
    }
    .service-card-more {
        font-size: 0.75rem;
    }
    .category-title {
        font-size: 1.3rem;
    }
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .category-count {
        margin-top: 4px;
    }
    .cta-content h2 {
        font-size: 1.4rem;
    }
    .cta-content p {
        font-size: 0.9rem;
    }
    .cta-button {
        padding: 11px 24px;
        font-size: 0.9rem;
    }
    .services-breadcrumbs {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 75px 0 25px;
    }
    .services-hero-title {
        font-size: 1.3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
	.service-card {
		min-width: 280px;
	}
    .service-card-image {
        height: 140px;
    }
    .service-card-title {
        font-size: 0.85rem;
    }
    .service-card-price {
        font-size: 0.8rem;
    }
    .service-card-more {
        font-size: 0.7rem;
    }
    .service-card-content {
        padding: 14px 14px 14px;
    }
    .service-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}


/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 992px) ===== */
@media (max-width: 992px) {
    .header_site {
        display: none; /* Скрываем десктопный header */
    }
    
    .header_mobile_bar {
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        background: #FEFEFE;
        border-radius: 20px;
        padding: 10px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .header_mobile_logo img {
        max-height: 50px;
        width: auto;
    }
    
    .header_mobile_toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .header_mobile_toggle span {
        width: 100%;
        height: 2px;
        background: #447196;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .header_mobile_toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 8px);
    }
    
    .header_mobile_toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .header_mobile_toggle.active span:last-child {
        transform: rotate(-45deg) translate(6px, -8px);
    }

    body.menu-open .header_mobile_bar {
        z-index: 201;
    }
    
    .header_mobile_menu {
        position: fixed;
        top: 0;
        right: -1000px;
        width: 370px;
        height: 100vh;
        background: #FEFEFE;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 200;
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .header_mobile_menu.active {
        right: 0;
    }
    
    .header_mobile_menu_inner {
        padding: 90px 50px 40px 20px;
    }
    
    .header_mobile_menu_list {
        list-style: none;
        padding: 0;
        margin: 0 0 30px;
    }
    
    .header_mobile_menu_list li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .header_mobile_menu_list > .menu-item-has-children {
        position: relative;
    }
    
    .header_mobile_menu_list a {
        display: block;
        padding: 14px 0;
        color: #33384F;
        text-decoration: none;
        font-weight: 500;
    }
    
    .header_mobile_menu_list a:hover {
        color: #F45349;
    }

    .header_mobile_menu_list > .menu-item-has-children > a {
        padding-right: 46px;
    }

    .header_mobile_submenu_toggle {
        position: absolute;
        top: 7px;
        right: 0;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #447196;
        cursor: pointer;
    }

    .header_mobile_submenu_toggle::before {
        content: '›';
        display: block;
        font-size: 24px;
        line-height: 1;
        transform: rotate(90deg);
        transition: transform 0.2s ease;
    }

    .header_mobile_submenu_toggle[aria-expanded="true"]::before {
        transform: rotate(-90deg);
    }

    .header_mobile_submenu_toggle:focus-visible {
        outline: 2px solid #447196;
        outline-offset: 2px;
    }
    
    .header_mobile_menu_list .sub-menu {
        padding-left: 20px;
        list-style: none;
    }

    .header_mobile_menu_list .sub-menu[hidden] {
        display: none;
    }
    
    .header_mobile_phone {
        margin-bottom: 25px;
        text-align: center;
    }
    
    .header_mobile_phone_link {
        font-size: 1.3rem;
        font-weight: 700;
        color: #447196;
        text-decoration: none;
        display: block;
    }
    
    .header_mobile_phone_subtitle {
        font-size: 0.7rem;
        color: #518384;
    }
    
    .header_mobile_callback_btn {
        display: block;
        box-sizing: border-box;
        text-decoration: none;
        text-align: center;
        font-family: Arial, sans-serif;
        line-height: normal;
        width: 100%;
        background: #447196;
        border: none;
        padding: 14px;
        border-radius: 40px;
        color: white;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
    }
    
    .header_mobile_callback_btn:hover {
        background: #F45349;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 150;
    }
}

@media (min-width: 993px) {
    .header_mobile_bar,
    .header_mobile_menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .header_container {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 12px;
        padding: 10px 16px;
    }
    
    .header_phone_wrap {
        display: none;
    }
    
    .header_menu_list a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .header_callback_btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 580px) {
    .header_container {
        grid-template-columns: 1fr 1fr;
    }
    
    .header_menu_wrap {
        display: none;
    }
}

/* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ ===== */
.section-prem {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding-bottom: 40px;
}

.section-prem-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-prem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
}

.section-prem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-prem-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.section-prem-item:hover .section-prem-icon-wrapper {
    transform: translateY(-4px);
}

.section-prem-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.section-prem-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 8px;
    line-height: 1.3;
    font-family: 'IBM Plex Sans', sans-serif;
}

.section-prem-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #5A6E7F;
    margin: 0;
    max-width: 280px;
	font-weight: 600;
}

/* Адаптив */
@media (max-width: 992px) {
    .section-prem-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .section-prem {
        margin-top: -10px;
        padding-bottom: 30px;
    }
    
    .section-prem-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 15px;
        gap: 20px;
        border-radius: 16px;
    }
    
    .section-prem-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .section-prem-icon {
        width: 30px;
        height: 30px;
    }
    
    .section-prem-title {
        font-size: 0.95rem;
    }
    
    .section-prem-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-prem-grid {
        grid-template-columns: 1fr 1fr;
        padding: 20px 12px;
        gap: 15px;
    }
    
    .section-prem-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .section-prem-icon {
        width: 24px;
        height: 24px;
    }
    
    .section-prem-title {
        font-size: 0.85rem;
    }
    
    .section-prem-description {
        font-size: 0.7rem;
    }
}

/* ============================================
   СЕКЦИЯ "КАК МЫ РАБОТАЕМ" (section-work)
   ============================================ */

.section-work {
    padding: 60px 0;
    background: inherit;
}

.section-work-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.section-work-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 50px;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: left;
}

/* ===== ДЕСКТОП: Горизонтальные столбцы со стрелками ===== */
.section-work-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.section-work-item {
    flex: 1;
    max-width: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

/* Иконка */
.section-work-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #F2F3F7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-work-item:hover .section-work-icon-wrapper {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.section-work-icon-wrapper img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    color: #022E51;
}

/* Заголовок */
.section-work-title-step {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A212F;
    margin: 0 0 8px;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Описание */
.section-work-description {
    font-size: 0.9rem;
    color: #535962;
    line-height: 1.5;
    margin: 0;
}

/* ===== СТРЕЛКА ===== */
.section-work-arrow {
    position: absolute;
    right: -40px;
    top: 28px;
    width: 32px;
    height: 32px;
    animation: arrowMove 2.5s ease-in-out infinite;
}

.section-work-arrow img {
    width: 32px;
    height: 32px;
    display: block;
}

/* Задержка для каждой стрелки */
.section-work-item:nth-child(2) .section-work-arrow {
    animation-delay: 0.4s;
}

.section-work-item:nth-child(3) .section-work-arrow {
    animation-delay: 0.8s;
}

@keyframes arrowMove {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(6px);
    }
}

/* ===== АДАПТИВ: Планшет ===== */
@media (max-width: 992px) {
    .section-work-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .section-work-item {
        flex: 0 0 calc(50% - 15px);
        max-width: 280px;
        padding: 0;
    }
    
    .section-work-arrow {
        display: none;
    }
    
    .section-work-title {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 35px;
    }
    
    .section-work-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .section-work-icon-wrapper img {
        width: 40px;
        height: 40px;
    }
}

/* ===== АДАПТИВ: Телефон ===== */
@media (max-width: 768px) {
    .section-work-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .section-work-item {
        flex: 0 0 calc(50% - 15px);
        max-width: 200px;
        padding: 0;
    }
    
    .section-work-arrow {
        display: none;
    }
    
    .section-work-title {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .section-work-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .section-work-icon-wrapper img {
        width: 32px;
        height: 32px;
    }
    
    .section-work-title-step {
        font-size: 0.95rem;
    }
    
    .section-work-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-work-item {
        flex: 0 0 calc(50% - 10px);
        max-width: 160px;
    }
    
    .section-work-grid {
        gap: 20px;
    }
    
    .section-work-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .section-work-icon-wrapper img {
        width: 28px;
        height: 28px;
    }
    
    .section-work-title-step {
        font-size: 0.85rem;
    }
    
    .section-work-description {
        font-size: 0.75rem;
    }
}

/* ============================================
   СЕКЦИЯ "О КЛИНИКЕ" (section-about)
   ============================================ */

.section-about {
    padding: 0 0;
}

.section-about-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #F6F7F6;
    border-radius: 30px;
}

/* Левый столбец — текст */
.section-about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.section-about-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #012C4F;
    margin: 0 0 20px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.section-about-description {
    font-size: 1rem;
	font-weight: 600;
    line-height: 1.7;
    color: #535962;
    margin-bottom: 30px;
}

.section-about-description p {
    margin: 0 0 15px;
}

.section-about-description p:last-child {
    margin-bottom: 0;
}

.section-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #082B47;
    color: #ffffff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.section-about-btn:hover {
    background: #0E3D5F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 43, 71, 0.25);
    gap: 12px;
}

/* Правый столбец — изображение */
.section-about-image {
    border-radius: 20px;
    overflow: hidden;
    min-height: 350px;
    background: #E8ECF0;
}

.section-about-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    display: block;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .section-about-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 24px;
    }
    
    .section-about-text {
        padding: 10px 0;
        order: 1;
    }
    
    .section-about-image {
        order: 0;
        min-height: 300px;
    }
    
    .section-about-image img {
        min-height: 300px;
    }
    
    .section-about-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .section-about {
        padding: 40px 0;
    }
    
    .section-about-container {
        padding: 0 16px;
        gap: 20px;
        border-radius: 20px;
    }
    
    .section-about-title {
        font-size: 1.5rem;
    }
    
    .section-about-description {
        font-size: 0.9rem;
    }
    
    .section-about-image {
        min-height: 220px;
    }
    
    .section-about-image img {
        min-height: 220px;
    }
    
    .section-about-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 85%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-about-container {
        border-radius: 16px;
    }
    
    .section-about-title {
        font-size: 1.3rem;
    }
    
    .section-about-image {
        min-height: 180px;
        border-radius: 12px;
    }
    
    .section-about-image img {
        min-height: 180px;
    }
}
/* ============================================
   СЕКЦИЯ "ОТЗЫВЫ" (section-reviews)
   ============================================ */

.section-reviews {
    padding: 60px 0;
    background: #FEFEFE;
}

.section-reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.section-reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: left;
}

.section-reviews-subtitle {
    font-size: 1rem;
    color: #5A6E7F;
    text-align: left;
    margin: 0 0 40px;
}

.section-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Карточка отзыва */
.review-card {
    background: #F8F9FA;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #E8ECF0;
}

.review-card-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #447196;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
}

.review-card-avatar-placeholder-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #447196;
    color: #447196;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
}

.review-card-author-info {
    display: flex;
    flex-direction: column;
}

.review-card-author-name {
    font-weight: 600;
    color: #1A2C3E;
    font-size: 0.95rem;
}

.review-card-date {
    font-size: 0.8rem;
    color: #8A9BAE;
}

.review-card-rating {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.review-card-star {
    width: 18px;
    height: 18px;
}

.review-card-star.star-filled {
    color: #F5A623;
}

.review-card-star.star-empty {
    color: #DDE1E6;
}

.review-card-body {
    margin-top: 4px;
}

.review-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #33384F;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-reviews-footer {
    text-align: left;
    margin-top: 35px;
}

.section-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #447196;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.section-reviews-link:hover {
    color: #F45349;
    gap: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .section-reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-reviews-title {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 18px;
    }
    
    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-card-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 6;
    }
}

@media (max-width: 480px) {
    .section-reviews {
        padding: 40px 0;
    }
    
    .section-reviews-title {
        font-size: 1.3rem;
    }
    
    .review-card-avatar,
    .review-card-avatar-placeholder {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* ===== РЕЙТИНГ В ШАПКЕ СЕКЦИИ ===== */
.section-reviews-header {
    display: flex;
	justify-content: flex-start;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}


.section-reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 8px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.section-reviews-subtitle {
    font-size: 1rem;
    color: #5A6E7F;
    margin: 0;
}

/* Рейтинг */
.section-reviews-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8F9FA;
    padding: 12px 20px;
    border-radius: 12px;
    flex-wrap: wrap;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-star {
    width: 22px;
    height: 22px;
}

.rating-star.star-filled {
    color: #F5A623;
}

.rating-star.star-empty {
    color: #DDE1E6;
}

.rating-value {
    font-size: 3rem;
    font-weight: 700;
    color: #447196;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1;
}

.rating-count {
    font-size: 0.85rem;
    color: #5A6E7F;
}

.rating-link {
    font-size: 0.8rem;
    color: #447196;
    text-decoration: none;
    padding: 4px 12px;
    background: #E8ECF0;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.rating-link:hover {
    background: #447196;
    color: #ffffff;
}

/* Адаптив */
@media (max-width: 768px) {
    .section-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-reviews-title {
        font-size: 1.5rem;
    }
    
    .section-reviews-rating {
        padding: 10px 16px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .rating-value {
        font-size: 1.2rem;
    }
    
    .rating-star {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .section-reviews-rating {
        gap: 8px;
    }
    
    .rating-count {
        font-size: 0.75rem;
        width: 100%;
        margin-left: 34px;
    }
    
    .rating-link {
        font-size: 0.7rem;
        padding: 2px 10px;
    }
}

/* ============================================
   СЕКЦИЯ "ВРАЧИ" (section-doctors)
   ============================================ */

.section-doctors {
    padding: 60px 0;
    background: #F8F9FA;
}

.section-doctors-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.section-doctors-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-doctors-title-wrapper {
    flex: 1;
}

.section-doctors-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 8px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.section-doctors-subtitle {
    font-size: 1rem;
    color: #5A6E7F;
    margin: 0;
}

.section-doctors-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #447196;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.section-doctors-all-link:hover {
    color: #F45349;
    gap: 12px;
}

.section-doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== КАРТОЧКА ВРАЧА ===== */
.doctor-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #F0F2F5;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.doctor-card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #F5F7FA;
}

.doctor-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-card-image img {
    transform: scale(1.04);
}

.doctor-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF0F2;
    color: #B0C4D9;
}

.doctor-card-body {
    padding: 20px 22px 22px;
}

.doctor-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 4px;
    font-family: 'IBM Plex Sans', sans-serif;
	min-height: 50px;
}

.doctor-card-position {
    font-size: 0.85rem;
    color: #447196;
    font-weight: 500;
    margin-bottom: 4px;
	min-height: 75px;
}

.doctor-card-degree {
    font-size: 0.8rem;
    color: #5A6E7F;
    font-style: italic;
    margin-bottom: 8px;
}

.doctor-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #F0F2F5;
}

.doctor-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.doctor-card-rating .rating-value {
    font-size: 0.8rem;
    color: #5A6E7F;
    font-weight: 500;
}

.doctor-card-experience {
    font-size: 0.8rem;
    color: #5A6E7F;
}

.section-doctors-footer {
    text-align: left;
    margin-top: 35px;
}

.section-doctors-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #447196;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.section-doctors-link:hover {
    color: #F45349;
    gap: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .section-doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .section-doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-doctors-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .section-doctors {
        padding: 40px 0;
    }
    .section-doctors-container {
        padding: 0 16px;
        width: 100%;
    }
    .section-doctors-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 30px;
    }
    .section-doctors-title {
        font-size: 1.5rem;
    }
    .section-doctors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .doctor-card-image {
        height: 220px;
    }
    .doctor-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-doctors {
        padding: 30px 0;
    }
    .section-doctors-title {
        font-size: 1.3rem;
    }
    .section-doctors-subtitle {
        font-size: 0.9rem;
    }
    .section-doctors-grid {
        grid-template-columns: 1fr;
    }
	.doctor-card {
		width: 90%;
	}
    .doctor-card-image {
        height: 180px;
    }
    .doctor-card-body {
        padding: 14px 14px 16px;
    }
    .doctor-card-title {
        font-size: 0.9rem;
    }
    .doctor-card-position {
        font-size: 0.75rem;
    }
    .doctor-card-degree {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    .doctor-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .doctor-card-rating {
        font-size: 0.8rem;
    }
    .doctor-card-experience {
        font-size: 0.7rem;
    }
    .section-doctors-link {
        font-size: 0.85rem;
    }
}


    /* ============================================
   СЕКЦИЯ "БАННЕР" (section-banner)
   ============================================ */

.section-banner {
    width: 100%;
    padding: 50px 0;
    background: transparent;
}

.section-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 95%;
}

.section-banner-content {
    background: url('/wp-content/uploads/image-23-06-26-09-54-1.png') no-repeat center center;
    background-size: cover;
    border-radius: 20px;
    padding: 50px 60px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
	align-items: flex-start;
}

/* Затемнение для читаемости текста на мобильных */
.section-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 18, 39, 0.3);
    border-radius: 20px;
    z-index: 0;
}

.section-banner-content > * {
    position: relative;
    z-index: 1;
}

/* Контентная часть — справа, 2/3 ширины */
.banner-title,
.banner-subtitle,
.banner-buttons {
    max-width: 66.666%;
    width: 100%;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #F4F4F5;
    margin: 0 0 10px;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: #BABFC9;
    margin: 0 0 30px;
    line-height: 1.4;
    max-width: 100%;
}

/* ===== КНОПКИ ===== */
.banner-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 30px 40px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.banner-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Кнопка "Вызов врача" — градиент */
.banner-btn-primary {
    background: linear-gradient(180deg, #4684EA 0%, #2554A0 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(70, 132, 234, 0.3);
}

.banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(70, 132, 234, 0.4);
}

.banner-btn-primary:active {
    transform: translateY(0);
}

/* Кнопки с обводкой */
.banner-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #344860;
    backdrop-filter: blur(4px);
}

.banner-btn-outline:hover {
    background: #ffffff;
    color: #001126;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.banner-btn-outline:hover svg {
    color: #001126;
}

.banner-btn-outline svg {
    transition: color 0.3s ease;
}

/* ===== АДАПТИВ ===== */

/* Планшет */
@media (max-width: 1024px) {
    .section-banner-content {
        padding: 40px 35px;
        min-height: 340px;
        background-position: 70% center;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .banner-title,
    .banner-subtitle,
    .banner-buttons {
        max-width: 75%;
    }
}

/* Телефон (горизонтальная ориентация) */
@media (max-width: 768px) {
    .section-banner {
        padding: 10px 0;
    }
    
    .section-banner-container {
        padding: 0 10px;
        width: 100%;
    }
    
    .section-banner-content {
        padding: 30px 20px;
        min-height: 300px;
        background-position: 30% center;
        border-radius: 16px;
    }
    
    .section-banner-content::before {
        background: rgba(1, 18, 39, 0.5);
        border-radius: 16px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .banner-title,
    .banner-subtitle,
    .banner-buttons {
        max-width: 100%;
    }
    
    .banner-buttons {
        gap: 12px;
        width: 100%;
    }
    
    .banner-btn {
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .banner-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Телефон (вертикальная ориентация, маленькие экраны) */
@media (max-width: 480px) {
	.section-banner {
  		width: 95%
	}
    .section-banner-content {
        padding: 25px 26px;
        min-height: 260px;
        background-position: 20% center;
        border-radius: 14px;
    }
    
    .section-banner-content::before {
        background: rgba(1, 18, 39, 0.6);
        border-radius: 14px;
    }
    
    .banner-title {
        font-size: 1.4rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .banner-btn {
        padding: 10px 0;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .banner-btn svg {
        width: 16px;
        height: 16px;
    }
}


/* ============================================
   ПОДВАЛ САЙТА (footer.php)
   ============================================ */

.site-footer {
    background: #00132C;
    color: #F4F4F5;
    padding: 50px 0 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== СТРОКИ ===== */
.footer-row {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-row-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding-bottom: 30px;
}

/* ===== ЛЕВЫЙ СТОЛБЕЦ (1/3) ===== */
.footer-col-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-site-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F4F4F5;
}

.footer-site-description {
    font-size: 0.9rem;
    color: #8B9CAF;
    line-height: 1.5;
}

.footer-buttons {
    display: flex;
	max-width: 90%;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1.5px solid #243146;
    border-radius: 40px;
    color: #F4F4F5;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-btn:hover {
    border-color: #447196;
    color: #447196;
}

.footer-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #243146;
    color: #8B9CAF;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    border-color: #447196;
    color: #447196;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== ПРАВЫЙ СТОЛБЕЦ (2/3) ===== */
.footer-col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.footer-menu-col {
    display: flex;
    flex-direction: column;
}

.footer-menu-col .menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: #F4F4F5;
    margin: 0 0 12px;
    letter-spacing: 0.3px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
	border-left: 1px solid #3A4559;
	padding-left: 20px;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #8B9CAF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #447196;
}

.footer-text {
    font-size: 0.95rem;
    color: #8B9CAF;
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text p {
    margin: 0 0 8px;
}

.footer-text p:last-child {
    margin-bottom: 0;
}

/* ===== СТРОКА 2: ПРЕИМУЩЕСТВА ===== */
.footer-row-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 0;
}

.footer-advantage {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-advantage-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-advantage-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.footer-advantage-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #F4F4F5;
}

.footer-advantage-description {
    font-size: 0.85rem;
    color: #8B9CAF;
}

/* ===== СТРОКА 3: КОПИРАЙТ ===== */
.footer-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #5A6E7F;
}

.footer-offer {
    font-size: 0.8rem;
    color: #5A6E7F;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .footer-row-top {
        grid-template-columns: 1fr;
        gap: 30px;
		padding: 0 20px;
    }
    
    .footer-col-left {
        order: 1;
    }
    
    .footer-col-right {
        order: 2;
    }
    
    .footer-menus {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-row-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0;
        width: 100%;
    }
    
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-menus {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-row-advantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-advantage {
        gap: 12px;
    }
    
    .footer-row-bottom {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .footer-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-advantage {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ===== CTA ===== */
.reviews-cta {
	max-width: 1400px;
    margin: auto;
	margin-top: 50px;
	margin-bottom: 30px;
    border-radius: 25px;
    padding: 50px 0;
    background: url('/wp-content/themes/WP Kolibri/assets/images/image-09-07-26-02-26-9.jpg') no-repeat left top;
    background-size: cover;
    background-color: #F1F1F7;
}

.cta-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.cta-text {
    max-width: 45%;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0D2B73;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.2;
}

.cta-description {
    font-size: 1rem;
    color: #5A6E7F;
    line-height: 1.6;
    margin: 0 0 30px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
	justify-content: flex-start;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.cta-btn-primary {
    background: #447196;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(68, 113, 150, 0.3);
}

.cta-btn-primary:hover {
    background: #F45349;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 83, 73, 0.3);
}

.cta-btn-outline {
    background: transparent;
    color: #447196;
    border: 1.5px solid #447196;
}

.cta-btn-outline:hover {
    background: #447196;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================
   СТРАНИЦА РАЗДЕЛА УСЛУГ (taxonomy-service_category)
   ============================================ */

/* ===== HERO ===== */
.category-hero {
    background: url('/wp-content/uploads/medelit46_fon_4.jpg') no-repeat center bottom;
    background-size: cover;
    background-color: #F4F9FD;
    padding: 250px 0 100px;
    margin-top: 0px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.category-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #447196, #75A2AC);
    opacity: 0.4;
}

.category-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
    position: relative;
    z-index: 2;
}

/* Хлебные крошки */
.category-breadcrumbs {
    font-size: 0.85rem;
    color: #5A6E7F;
    margin-bottom: 20px;
}

.category-breadcrumbs a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-breadcrumbs a:hover {
    color: #F45349;
}

.category-breadcrumbs .separator {
    margin: 0 8px;
    color: #B0C4D9;
}

.category-breadcrumbs .current {
    color: #33384F;
    font-weight: 500;
}

.category-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #022E69;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.category-subtitle {
    font-size: 1.05rem;
    color: #022E69;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* ===== ЦЕНА РАЗДЕЛА В HERO ===== */
.category-price-block {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #447196 0%, #75A2AC 100%);
    color: #ffffff;
    border-radius: 8px;
    font-size: 1.1rem;
    margin: 10px 0 20px;
}

.category-price-block .price-label {
    font-weight: 400;
    opacity: 0.9;
}

.category-price-block .price-value {
    font-weight: 700;
    margin-left: 8px;
}

/* ===== УСЛУГИ ===== */
.category-services {
    padding: 50px 0 40px;
    background: #F7F9FE;
}

.category-services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

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

/* ===== КАРТОЧКА УСЛУГИ ===== */
.service-card {
    display: flex;
	flex-direction: column;
    justify-content: flex-start;
    background: #FDFDFE;
    border: 1px solid #E3EBF4;
    border-radius: 12px;
    padding: 20px 22px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    min-height: 120px;
    position: relative;
    overflow: visible;
    margin-top: 12px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #447196;
}

.service-card:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* ===== КАРТОЧКА С МЕТКАМИ (УСЛУГА) ===== */
.service-card-has-tags {
    border: 2.5px solid #A9BBEB !important;
}

/* ===== БЕЙДЖИ НА КАРТОЧКЕ УСЛУГИ ===== */
.service-card-badge {
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #275AC2;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(39, 90, 194, 0.25);
    white-space: nowrap;
}

/* Если несколько меток - распределяем их по центру */
.service-card-badge:not(:first-child) {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 3px;
}

.service-card-has-tags .service-card-badge:first-child {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card-has-tags .service-card-badge:not(:first-child) {
    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
    transform: none;
    margin: 4px 3px 0;
}

/* ===== ИЗОБРАЖЕНИЕ В КАРТОЧКЕ ===== */
.service-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 14px;
    background: #F0F4F9;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

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

.service-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.service-card-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #F0F4F9;
}

.service-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #447196;
}

.service-card-icon svg {
    width: 50px;
    height: 50px;
    display: block;
}

.service-card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.service-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0D1F5F;
    margin: 0;
    line-height: 1.3;
    font-family: 'IBM Plex Sans', sans-serif;
    text-align: right;
}

.service-card-short {
    font-size: 0.85rem;
    color: #5A6E7F;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.service-card-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: #447196;
    white-space: nowrap;
}

.service-card-arrow {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F0F4F9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card-arrow svg {
    width: 14px;
    height: 14px;
    color: #447196;
}

.service-card:hover .service-card-arrow {
    background: #447196;
}

.service-card:hover .service-card-arrow svg,
.service-card-arrow:hover,
.service-card-arrow svg:hover {
    color: #ffffff !important;
	stroke: #ffffff !important;
}

/* ===== ПАКЕТЫ ===== */
.packages-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #E3EBF4;
}

.packages-title {
    font-size: 1.8rem;
    color: #0D1F5F;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-bottom: 30px;
}

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

/* ===== КАРТОЧКА ПАКЕТА ===== */
.package-card {
    background: #ffffff;
    padding: 30px 28px 28px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E3EBF4;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-top: 12px;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #447196;
}

/* ===== КАРТОЧКА С МЕТКАМИ (ПАКЕТ) ===== */
.package-card-has-tags {
    border: 2.5px solid #A9BBEB !important;
}

/* ===== БЕЙДЖИ НА КАРТОЧКЕ ПАКЕТА ===== */
.package-card-badge {
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #275AC2;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(39, 90, 194, 0.25);
    white-space: nowrap;
}

/* Если несколько меток - распределяем их по центру */
.package-card-badge:not(:first-child) {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 3px;
}

.package-card-has-tags .package-card-badge:first-child {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.package-card-has-tags .package-card-badge:not(:first-child) {
    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
    transform: none;
    margin: 4px 3px 0;
}

.package-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.package-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0D206B;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.3;
}

.package-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2250C6;
    margin: 4px 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.package-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.package-card-features li {
    padding: 6px 0 6px 28px;
    font-size: 0.92rem;
    color: #5A6E7F;
    line-height: 1.5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23447196' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") left center no-repeat;
    background-size: 18px;
    border-bottom: 1px solid #F5F7FA;
}

.package-card-features li:last-child {
    border-bottom: none;
}

/* ===== КНОПКА ПАКЕТА ===== */
.package-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #ffffff;
    color: #265CC6;
    border: 1.5px solid #265CC6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 4px;
    font-family: inherit;
}

.package-card-btn:hover {
    background: #265CC6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(38, 92, 198, 0.3);
}

/* ===== ОПИСАНИЕ РАЗДЕЛА ===== */
.category-description {
    padding: 40px 0 50px;
    background: #F7F9FE;
}

.category-description-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.category-description-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: #FDFDFE;
    border-radius: 16px;
    padding: 40px 45px;
    border: 1px solid #E3EBF4;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.category-description-image {
    flex-shrink: 0;
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
}

.category-description-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.category-description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #33384F;
    max-height: none;
    overflow: visible;
}

.category-description-content * {
    max-height: none;
    overflow: visible;
}

.category-description-content h2,
.category-description-content h3 {
    color: #0D1F5F;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-top: 0;
}

.category-description-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.category-description-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.category-description-content p {
    margin-bottom: 14px;
    max-height: none;
    overflow: visible;
}

.category-description-content p:last-child {
    margin-bottom: 0;
}

.category-description-content ul,
.category-description-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}

.category-description-content li {
    margin-bottom: 6px;
}

.category-description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.services-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5A6E7F;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-description-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    .category-description-image {
        width: 100%;
        max-width: 400px;
    }
    .category-description-image img {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .category-hero {
        padding: 120px 0 40px;
    }
    .category-title {
        font-size: 2.2rem;
    }
    .service-card-image {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .category-hero-content {
        padding: 0 16px;
        width: 100%;
        text-align: center;
    }
    .category-hero {
        padding: 100px 0 30px;
        background-position: center center;
    }
    .category-title {
        font-size: 1.8rem;
    }
    .category-subtitle {
        font-size: 0.95rem;
        margin: 0 auto;
    }
    .category-breadcrumbs {
        text-align: center;
        font-size: 0.8rem;
    }
    .category-price-block {
        font-size: 1rem;
        padding: 8px 18px;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .packages-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .service-card {
        padding: 16px 18px;
        min-height: 100px;
    }
    .service-card-title {
        font-size: 0.9rem;
    }
    .service-card-short {
        font-size: 0.8rem;
    }
    .service-card-icon svg {
        width: 20px;
        height: 20px;
    }
    .service-card-image {
        height: 150px;
    }
    .service-card-price {
        font-size: 0.75rem;
    }
    .package-card {
        padding: 20px 18px;
    }
    .package-card-title {
        font-size: 1.1rem;
    }
    .package-card-price {
        font-size: 1.1rem;
    }
    .package-card-features li {
        font-size: 0.82rem;
        padding: 4px 0 4px 24px;
        background-size: 16px;
    }
    .package-card-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .category-description-wrapper {
        padding: 20px;
        gap: 20px;
    }
    .category-description-image {
        max-width: 100%;
    }
    .category-description-image img {
        height: 170px;
    }
    .category-description-content {
        font-size: 0.95rem;
    }
    .category-description-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 1.4rem;
    }
    .category-subtitle {
        font-size: 0.85rem;
    }
    .category-price-block {
        font-size: 0.9rem;
        padding: 6px 14px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .service-card {
        padding: 14px 16px;
        min-height: 80px;
    }
    .service-card-title {
        font-size: 0.85rem;
    }
    .service-card-short {
        font-size: 0.75rem;
    }
    .service-card-arrow {
        width: 24px;
        height: 24px;
    }
    .service-card-arrow svg {
        width: 12px;
        height: 12px;
    }
    .service-card-image {
        height: 120px;
    }
    .service-card-price {
        font-size: 0.7rem;
    }
    .service-card-right {
        gap: 6px;
    }
    .package-card {
        padding: 16px 14px;
    }
    .package-card-title {
        font-size: 1rem;
    }
    .package-card-price {
        font-size: 1rem;
    }
    .package-card-features li {
        font-size: 0.78rem;
        padding: 3px 0 3px 22px;
        background-size: 14px;
    }
    .package-card-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .category-description-wrapper {
        padding: 16px;
    }
    .category-description-image img {
        height: 140px;
    }
    .category-description-content {
        font-size: 0.9rem;
    }
    .category-description-content h2 {
        font-size: 1.1rem;
    }
}

/* ============================================
   ШАБЛОН УСЛУГИ (single-service.php)
   ============================================ */
.single-service {
	padding-top: 75px;
}
	
.single-service-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.single-service-breadcrumbs {
    padding: 16px 0;
    background: #F8F9FA;
    border-bottom: 1px solid #EEF0F2;
}

.single-service-breadcrumbs .separator {
    margin: 0 8px;
    color: #B0C4D9;
}

.single-service-breadcrumbs a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
}

.single-service-breadcrumbs a:hover {
    color: #F45349;
}

.single-service-breadcrumbs .current {
    color: #33384F;
}

/* ===== HERO ===== */
.single-service-hero {
    padding: 50px 0 60px;
    background: #F8F9FA;
}

.single-service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.single-service-category {
    display: inline-block;
    padding: 4px 14px;
    background: #447196;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-service-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0B121B;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.2;
}

.single-service-excerpt {
    font-size: 1rem;
    color: #5A6E7F;
    line-height: 1.7;
    margin: 0 0 24px;
}

.single-service-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-label {
    color: #5A6E7F;
    font-size: 0.85rem;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.price-value {
    color: #447196;
}

.single-service-hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.single-service-hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.single-service-hero-buttons .btn-primary {
    background: #447196;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(68, 113, 150, 0.3);
}

.single-service-hero-buttons .btn-primary:hover {
    background: #F45349;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 83, 73, 0.3);
}

.single-service-hero-buttons .btn-secondary {
    background: transparent;
    color: #447196;
    border: 2px solid #447196;
}

.single-service-hero-buttons .btn-secondary:hover {
    background: #447196;
    color: #ffffff;
    transform: translateY(-2px);
}

.single-service-hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background: #EEF0F2;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.single-service-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 400px;
    background: #EEF0F2;
    color: #B0C4D9;
}

/* ===== СОДЕРЖАНИЕ ===== */
.single-service-content {
    padding: 50px 0;
    background: #ffffff;
}

.single-service-content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #33384F;
    max-width: 1160px;
    margin: 0 auto;
}

.single-service-content-text h2,
.single-service-content-text h3 {
    color: #0B121B;
    font-family: 'IBM Plex Sans', sans-serif;
    margin-top: 1.8em;
}

.single-service-content-text h2:first-child,
.single-service-content-text h3:first-child {
    margin-top: 0;
}

.single-service-content-text ul,
.single-service-content-text ol {
    padding-left: 24px;
}

.single-service-content-text li {
    margin-bottom: 8px;
}

.single-service-content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* ===== ДРУГИЕ УСЛУГИ ===== */
.single-service-related {
    padding: 50px 0;
    background: #F8F9FA;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.section-link {
    color: #447196;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: #F45349;
    gap: 6px;
}

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

.related-service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #F0F2F5;
}

.related-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.related-service-image {
    height: 180px;
    overflow: hidden;
    background: #EEF0F2;
}

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

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

.related-service-body {
    padding: 18px 20px 20px;
}

.related-service-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0B121B;
    margin: 0 0 6px;
}

.related-service-price {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #447196;
    margin-bottom: 8px;
}

.related-service-more {
    font-size: 0.85rem;
    color: #447196;
    font-weight: 500;
    transition: all 0.3s ease;
}

.related-service-card:hover .related-service-more {
    color: #F45349;
    transform: translateX(4px);
}

/* ===== CTA ===== */
.single-service-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #447196 0%, #5a8aa8 100%);
}

.cta-block {
    text-align: center;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

.cta-block h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.cta-block p {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0 0 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: #447196;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-buttons .btn-primary:hover {
    background: #F45349;
    color: #ffffff;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .single-service-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-service-hero-image {
        min-height: 240px;
    }
    
    .single-service-hero-image img {
        height: 300px;
    }
    
    .single-service-hero-placeholder {
        height: 300px;
    }
    
    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .single-service-container {
        padding: 0 16px;
        width: 100%;
    }
    
    .single-service-title {
        font-size: 1.6rem;
    }
    
    .single-service-hero {
        padding: 30px 0 40px;
    }
    
    .single-service-hero-image {
        min-height: 180px;
    }
    
    .single-service-hero-image img {
        height: 220px;
    }
    
    .single-service-hero-placeholder {
        height: 220px;
    }
    
    .single-service-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .single-service-hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .cta-block h2 {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .single-service-meta {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .single-service-title {
        font-size: 1.3rem;
    }
    
    .single-service-hero-image img {
        height: 180px;
    }
    
    .single-service-hero-placeholder {
        height: 180px;
    }
    
    .single-service-excerpt {
        font-size: 0.9rem;
    }
    
    .single-service-content-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) {
    body.menu-open .header_mobile_bar {
        z-index: 100;
    }

    .header_mobile_menu {
        height: 100vh;
        height: 100dvh;
    }

    .header_mobile_close {
        position: sticky;
        top: 15px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 15px 15px -59px auto;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #FEFEFE;
        color: #447196;
        cursor: pointer;
    }

    .header_mobile_close:focus-visible {
        outline: 2px solid #447196;
        outline-offset: 2px;
    }
}
@media (max-width: 992px) {
    .header_mobile_menu {
        box-sizing: border-box;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .header_mobile_menu > .header_mobile_close {
        position: absolute;
        top: 15px;
        right: 15px;
        bottom: auto;
        left: auto;
        z-index: 2;

        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
    }

    .header_mobile_menu > .header_mobile_menu_inner {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 90px 25px 40px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}
@media (max-width: 992px) {
    .section-work-container,
    .section-reviews-container,
    .section-doctors-container,
    .section-licenses-container,
    .licenses-btn {
        box-sizing: border-box;
        max-width: 100%;
    }

    .section-licenses-container > * {
        min-width: 0;
    }
}
/* ============================================
   АРХИВ ВРАЧЕЙ (archive-doctor.php)
   ============================================ */
.doctors-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}
/* ===== ХЛЕБНЫЕ КРОШКИ ДЛЯ ВРАЧЕЙ ===== */
.doctors-breadcrumbs,
.single-doctor-breadcrumbs {
    padding: 16px 0;
    background: #F8F9FA;
    border-bottom: 1px solid #EEF0F2;
	text-align: left;
}

.doctors-breadcrumbs .separator,
.single-doctor-breadcrumbs .separator {
    margin: 0 8px;
    color: #B0C4D9;
}

.doctors-breadcrumbs a,
.single-doctor-breadcrumbs a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
}

.doctors-breadcrumbs a:hover,
.single-doctor-breadcrumbs a:hover {
    color: #F45349;
}

.doctors-breadcrumbs .current,
.single-doctor-breadcrumbs .current {
    color: #33384F;
}

/* ===== HERO ===== */
.doctors-hero {
    background: #FFF;
    padding: 150px 0 50px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.doctors-hero-content {
		padding-top: 50px;
	}
.doctors-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #F45349;
    opacity: 0.6;
}

.doctors-hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #447196;
}

.doctors-hero-description {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #000000;
}

/* ===== СПИСОК ВРАЧЕЙ ===== */
.doctors-list {
    padding: 50px 0 60px;
    background: #F8F9FA;
}

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

/* ===== КАРТОЧКА ВРАЧА ===== */
.doctor-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid #F0F2F5;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.doctor-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #F5F7FA;
}

.doctor-card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-card-image img {
    transform: scale(1.04);
}

.doctor-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF0F2;
    color: #B0C4D9;
}

.doctor-card-body {
    padding: 20px 22px 22px;
}

.doctor-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 4px;
    font-family: 'IBM Plex Sans', sans-serif;
	min-height: 50px;
}

.doctor-card-position {
    font-size: 0.85rem;
    color: #447196;
    font-weight: 500;
    margin-bottom: 4px;
	min-height: 55px;
}

.doctor-card-degree {
    font-size: 0.8rem;
    color: #5A6E7F;
    font-style: italic;
    margin-bottom: 8px;
}

.doctor-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #F0F2F5;
}

.doctor-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.doctor-card-rating .rating-value {
    font-size: 0.8rem;
    color: #5A6E7F;
    font-weight: 500;
}

.doctor-card-experience {
    font-size: 0.8rem;
    color: #5A6E7F;
}

/* ===== CTA ===== */
.doctors-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #447196 0%, #5a8aa8 100%);
}

.doctors-cta .cta-block {
    text-align: center;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

.doctors-cta .cta-block h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.doctors-cta .cta-block p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin: 0 0 30px;
    line-height: 1.6;
}

.doctors-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.doctors-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.doctors-cta .btn-primary {
    background: #ffffff;
    color: #447196;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.doctors-cta .btn-primary:hover {
    background: #F45349;
    color: #ffffff;
    transform: translateY(-2px);
}

.doctors-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.doctors-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== ПУСТОЙ СОСТОЯНИЕ ===== */
.doctors-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5A6E7F;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .doctors-hero {
        padding: 100px 0 40px;
    }
    .doctors-hero-title {
        font-size: 2rem;
    }
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-container {
        padding: 0 16px;
        width: 100%;
    }
    .doctors-hero {
        padding: 85px 0 30px;
    }
    .doctors-hero-title {
        font-size: 1.6rem;
    }
    .doctors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .doctor-card-image {
        height: auto;
    }
    .doctor-card-title {
        font-size: 1rem;
    }
    .doctors-cta .cta-block h2 {
        font-size: 1.6rem;
    }
    .doctors-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .doctors-cta .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .doctors-hero-title {
        font-size: 1.3rem;
    }
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .doctor-card-image {
        height: 180px;
    }
    .doctor-card-body {
        padding: 14px 14px 16px;
    }
    .doctor-card-title {
        font-size: 0.9rem;
    }
    .doctor-card-position {
        font-size: 0.75rem;
    }
    .doctor-card-degree {
        font-size: 0.7rem;
    }
    .doctor-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .doctor-card-rating {
        font-size: 0.8rem;
    }
    .doctor-card-experience {
        font-size: 0.7rem;
    }
    .doctors-cta .cta-block h2 {
        font-size: 1.3rem;
    }
}
/* ============================================
   АРХИВ СТАТЕЙ (blog-archive)
   ============================================ */

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

/* ===== HERO ===== */
.blog-hero {
    background: url('/wp-content/uploads/image-09-07-26-02-26.jpg') no-repeat center top;
    background-size: cover;
    background-color: #F4F9FD;
    padding: 200px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #447196, #75A2AC);
    opacity: 0.4;
}

.blog-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.blog-breadcrumbs {
    font-size: 0.85rem;
    color: #5A6E7F;
    margin-bottom: 20px;
}

.blog-breadcrumbs a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumbs a:hover {
    color: #F45349;
}

.blog-breadcrumbs .separator {
    margin: 0 8px;
    color: #B0C4D9;
}

.blog-breadcrumbs .current {
    color: #33384F;
    font-weight: 500;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0A3374;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.blog-subtitle {
    font-size: 1.05rem;
    color: #606EA3;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* ===== СЕКЦИЯ ПОИСКА И ФИЛЬТРОВ ===== */
.blog-search-section {
    margin-top: -60px;
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
}

.blog-search-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

.blog-search-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

/* Строка поиска */
.blog-search-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 200px;
}

.blog-search-input-wrap .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.blog-search-input {
    width: 90%;
    padding: 14px 16px 14px 48px;
    border: 1.5px solid #E3EBF4;
    border-radius: 40px;
    font-size: 1rem;
    background: #F8F9FA;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #33384F;
}

.blog-search-input:focus {
    outline: none;
    border-color: #265EC4;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(38, 94, 196, 0.1);
}

.blog-search-input::placeholder {
    color: #B0C4D9;
}

.blog-search-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-search-btn {
    padding: 14px 32px;
    background: #265EC4;
    color: #ffffff;
    border: 1.5px solid #265EC4;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.blog-search-btn:hover {
    background: #ffffff;
    color: #265EC4;
}

.blog-search-reset {
    padding: 14px 32px;
    background: #ffffff;
    color: #265EC4;
    border: 1.5px solid #265EC4;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.blog-search-reset:hover {
    background: #F4F8FE;
}

/* Строка категорий */
.blog-categories-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-categories-label {
    font-weight: 600;
    color: #2E3E84;
    font-size: 0.95rem;
    white-space: nowrap;
}

.blog-categories-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.blog-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-btn {
    padding: 6px 18px;
    background: #F5F7FE;
    color: #415997;
    border: 1px solid #415997;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-btn:hover {
    background: #265EC4;
    color: #ffffff;
    border-color: #265EC4;
}

.category-btn.active {
    background: #265EC4;
    color: #ffffff;
    border-color: #265EC4;
}

.category-more-btn {
    padding: 6px 18px;
    background: #F9FCFD;
    color: #405190;
    border: 1px solid #DDE1E6;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.category-more-btn:hover {
    background: #F4F8FE;
}

.category-more-btn.active svg {
    transform: rotate(180deg);
}

/* Скрытые категории */
.blog-categories-hidden {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #F0F4F9;
    margin-top: 12px;
}

.blog-categories-hidden.show {
    display: flex;
}

/* ===== АРХИВ СТАТЕЙ ===== */
.blog-posts-section {
    padding: 40px 0 60px;
    background: #F7F9FE;
}

.blog-posts-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 40px;
    font-family: 'IBM Plex Sans', sans-serif;
}

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

/* ===== КАРТОЧКА СТАТЬИ ===== */
.blog-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.blog-post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 0 0 20px;
}

.blog-post-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #F5F7FA;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.04);
}

.blog-post-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F7FA;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 8px;
}

.blog-post-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4C6DCF;
    background: #E7EFFD;
    padding: 3px 14px;
    border-radius: 12px;
}

.blog-post-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #8B9CAF;
}

.blog-post-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #415784;
    margin: 4px 20px 8px;
    line-height: 1.3;
    font-family: 'IBM Plex Sans', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-excerpt {
    font-size: 0.9rem;
    color: #818EB0;
    margin: 0 20px 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 0;
    border-top: 1px solid #F5F7FA;
    margin: 0 20px;
}

.blog-post-date {
    font-size: 0.8rem;
    color: #8B9CAF;
}

.blog-post-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #447196;
    transition: all 0.3s ease;
}

.blog-post-more svg {
    transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-post-more svg {
    transform: translateX(6px);
}

/* ===== ПАГИНАЦИЯ ===== */
.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #E3EBF4;
    border-radius: 8px;
    color: #5A6E7F;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 40px;
}

.blog-pagination .page-numbers:hover {
    background: #F0F4F9;
    border-color: #447196;
}

.blog-pagination .page-numbers.current {
    background: #265EC4;
    color: #ffffff;
    border-color: #265EC4;
}

/* ===== ПОПУЛЯРНЫЕ ТЕМЫ ===== */
.blog-popular-topics {
    padding: 60px 0 80px;
    background: #ffffff;
}

.blog-popular-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 40px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.blog-popular-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.blog-popular-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #F4F7FD;
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.blog-popular-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: #447196;
}

.blog-popular-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #447196;
}

.blog-popular-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.blog-popular-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #51679D;
    line-height: 1.2;
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.blog-posts-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5A6E7F;
    grid-column: 1 / -1;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .blog-popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-hero {
        padding: 150px 0 140px;
    }
    .blog-title {
        font-size: 2.2rem;
    }
    .blog-search-wrapper {
        padding: 24px 20px;
    }
    .blog-search-row {
        flex-direction: column;
    }
    .blog-search-buttons {
        width: 100%;
    }
    .blog-search-btn,
    .blog-search-reset {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    .blog-categories-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 110px 0 120px;
        text-align: center;
        background-position: center center;
    }
    .blog-hero-content {
        padding: 0 16px;
        width: 100%;
    }
    .blog-title {
        font-size: 1.8rem;
    }
    .blog-subtitle {
        font-size: 0.95rem;
        margin: 0 auto;
    }
    .blog-breadcrumbs {
        text-align: center;
        font-size: 0.8rem;
    }
    .blog-posts-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .blog-popular-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .blog-popular-item {
        padding: 16px 12px;
    }
    .blog-popular-icon {
        width: 36px;
        height: 36px;
    }
    .blog-popular-icon img {
        width: 28px;
        height: 28px;
    }
    .blog-popular-name {
        font-size: 0.8rem;
    }
    .blog-search-wrapper {
        padding: 20px 16px;
    }
    .blog-search-input {
        padding: 12px 14px 12px 42px;
        font-size: 0.9rem;
    }
    .blog-search-btn,
    .blog-search-reset {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .blog-categories-label {
        font-size: 0.85rem;
    }
    .category-btn {
        font-size: 0.75rem;
        padding: 4px 14px;
    }
    .blog-posts-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 90px 0 100px;
    }
    .blog-title {
        font-size: 1.4rem;
    }
    .blog-subtitle {
        font-size: 0.85rem;
    }
    .blog-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-posts-grid {
        max-width: 100%;
    }
    .blog-post-title {
        font-size: 0.95rem;
    }
    .blog-post-excerpt {
        font-size: 0.85rem;
    }
}
	
	/* ===== БАННЕР С ПОПУЛЯРНОЙ СТАТЬЁЙ ===== */
.blog-top-banner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
    background-color: #1A2C3E;
    z-index: 2;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.blog-top-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.blog-top-banner .blog-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blog-top-banner-content {
    max-width: 45%;
}

.blog-top-badge {
    display: inline-block;
    padding: 4px 20px;
    background: #2B65CC;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.blog-top-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.2;
    font-family: 'IBM Plex Sans', sans-serif;
}

.blog-top-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-top-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-top-reading,
.blog-top-date,
.blog-top-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.blog-top-reading svg,
.blog-top-date svg,
.blog-top-views svg {
    flex-shrink: 0;
}

.blog-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #ffffff;
    color: #14399D;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.blog-top-btn svg {
    transition: transform 0.3s ease;
}

.blog-top-btn:hover {
    background: #14399D;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 57, 157, 0.4);
}

.blog-top-btn:hover svg {
    transform: translateX(6px);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .blog-top-banner-content {
        max-width: 55%;
    }
    .blog-top-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .blog-top-banner {
        padding: 60px 0;
        min-height: 320px;
        margin-top: -30px;
    }
    .blog-top-banner-content {
        max-width: 65%;
    }
    .blog-top-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-top-banner {
        padding: 40px 0;
        min-height: 280px;
        margin-top: -20px;
        border-radius: 12px;
        background-position: left center !important;
    }
    .blog-top-banner-overlay {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.5) 100%);
    }
    .blog-top-banner-content {
        max-width: 100%;
    }
    .blog-top-title {
        font-size: 1.3rem;
    }
    .blog-top-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    .blog-top-meta {
        gap: 12px;
        font-size: 0.8rem;
    }
    .blog-top-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-top-banner {
        padding: 30px 0;
        min-height: 220px;
        margin-top: -10px;
        border-radius: 8px;
    }
    .blog-top-title {
        font-size: 1.1rem;
    }
    .blog-top-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    .blog-top-meta {
        font-size: 0.7rem;
        gap: 8px;
    }
    .blog-top-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    .blog-top-btn svg {
        width: 16px;
        height: 16px;
    }
    .blog-top-badge {
        font-size: 0.65rem;
        padding: 2px 14px;
    }
}

	
	/* ============================================
   СЕКЦИЯ "ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ"
   ============================================ */

.prices-faq {
    padding: 60px 0 80px;
    background: #ffffff;
}

.prices-faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0D2669;
    margin: 0 0 40px;
    text-align: left;
}

.prices-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.prices-faq-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== ОДИН ВОПРОС ===== */
.faq-item {
    border: 1px solid #F3F7FD;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #E3EBF4;
}

/* ===== ВОПРОС ===== */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    color: #95A0BB;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    user-select: none;
    font-family: inherit;
}

.faq-question:hover {
    color: #0B121B;
}

.faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-arrow {
    flex-shrink: 0;
    color: #95A0BB;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #447196;
}

.faq-item.active .faq-question {
    color: #0B121B;
}

/* ===== ОТВЕТ ===== */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 20px;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 16px;
    color: #5A6E7F;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding: 0 20px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .prices-faq {
        padding: 40px 0 60px;
    }
    .prices-faq-title {
        font-size: 1.6rem;
    }
    .prices-faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .prices-faq {
        padding: 30px 0 40px;
    }
    .prices-faq-title {
        font-size: 1.3rem;
        margin-bottom: 30px;
    }
    .faq-question {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    .faq-answer p {
        font-size: 0.85rem;
        padding: 0 0 12px;
    }
    .faq-item.active .faq-answer {
        padding: 0 14px;
    }
}

@media (max-width: 480px) {
    .prices-faq-title {
        font-size: 1.1rem;
    }
    .faq-question {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    .faq-answer p {
        font-size: 0.8rem;
        padding: 0 0 10px;
    }
    .faq-item.active .faq-answer {
        padding: 0 12px;
    }
    .faq-arrow {
        width: 16px;
        height: 16px;
    }
}
/* ============================================
   СЕКЦИЯ "ЧТО ВХОДИТ В СТОИМОСТЬ" + ПАКЕТЫ
   ============================================ */

.prices-packages {
    padding: 60px 0 80px;
    background: #F7F9FE;
}

.prices-packages-grid {
    display: grid;
    grid-template-columns: 40% 1fr; /* 40% - левый, 60% - правый */
    gap: 40px;
    align-items: stretch;
}

/* ===== ЛЕВЫЙ БЛОК ===== */
.prices-included {
    display: flex;
    align-items: stretch;
}

.prices-included-inner {
    background: url('/wp-content/themes/WP Kolibri/assets/images/fon-12.png') no-repeat center center;
    background-size: cover;
    background-color: #E8F0FE;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prices-included-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0D2669;
    margin: 0 0 28px;
}

.prices-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prices-included-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-size: 1rem;
    color: #0D2669;
    font-weight: 500;
    line-height: 1.4;
    border-bottom: 1px solid rgba(13, 38, 105, 0.06);
}

.prices-included-list li:last-child {
    border-bottom: none;
}

.prices-included-list li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #ECF1FD;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230D2669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* ===== ПРАВЫЙ БЛОК (ПАКЕТЫ) ===== */
.prices-packages-right {
    display: flex;
    flex-direction: column;
}

.prices-packages-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 30px;
}

.prices-packages-grid {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
}

/* ===== КАРТОЧКА ПАКЕТА ===== */
.package-card {
	width: 30%;
	min-width: 220px;
    background: #ffffff;
    padding: 28px 24px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E3EBF4;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-top: 12px;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #447196;
}

/* ===== МЕТКИ НА КАРТОЧКЕ ПАКЕТА ===== */
.package-card-badge {
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #275AC2;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(39, 90, 194, 0.25);
    white-space: nowrap;
}

.package-card-has-tags {
    border: 2.5px solid #A9BBEB !important;
}

.package-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.package-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0D206B;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.3;
}

.package-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2250C6;
    margin: 4px 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.package-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.package-card-features li {
    padding: 5px 0 5px 28px;
    font-size: 0.88rem;
    color: #5A6E7F;
    line-height: 1.4;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23447196' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") left center no-repeat;
    background-size: 16px;
    border-bottom: 1px solid #F5F7FA;
}

.package-card-features li:last-child {
    border-bottom: none;
}

/* ===== КНОПКА ПАКЕТА ===== */
.package-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #275AC2;
    color: #ffffff;
    border: 1.5px solid #275AC2;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}

.package-card-btn:hover {
    background: #ffffff;
    color: #275AC2;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39, 90, 194, 0.2);
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.packages-empty {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #E3EBF4;
    color: #5A6E7F;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .prices-packages-grid {
        grid-template-columns: 40% 1fr;
    }
    .prices-packages-grid .prices-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .prices-packages {
        padding: 40px 0 60px;
    }
    .prices-packages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .prices-packages-grid .prices-packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .prices-included-inner {
        padding: 30px 28px;
        min-height: 200px;
    }
    .prices-included-title {
        font-size: 1.4rem;
    }
    .prices-packages-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .prices-packages {
        padding: 30px 0 40px;
    }
    .prices-packages-grid .prices-packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prices-included-title {
        font-size: 1.2rem;
    }
    .prices-included-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    .prices-packages-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .package-card {
        padding: 20px 16px 20px;
    }
    .package-card-title {
        font-size: 1rem;
    }
    .package-card-price {
        font-size: 1.1rem;
    }
    .package-card-features li {
        font-size: 0.8rem;
        padding: 4px 0 4px 24px;
        background-size: 14px;
    }
    .package-card-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .prices-packages-grid .prices-packages-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .prices-included-inner {
        padding: 20px 18px;
    }
    .prices-included-title {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    .prices-included-list li {
        font-size: 0.82rem;
        gap: 10px;
        padding: 6px 0;
    }
    .prices-included-list li::before {
        width: 20px;
        height: 20px;
        background-size: 12px;
    }
    .prices-packages-title {
        font-size: 1.1rem;
    }
    .package-card {
        padding: 16px 14px 18px;
    }
    .package-card-title {
        font-size: 0.95rem;
    }
    .package-card-price {
        font-size: 1rem;
    }
    .package-card-features li {
        font-size: 0.75rem;
        padding: 3px 0 3px 22px;
        background-size: 12px;
    }
    .package-card-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}
/* ============================================
   СТРАНИЦА "ЦЕНЫ" (page-prices.php)
   ============================================ */
.table-bottom-text {
	margin:auto;
	margin-top: 20px;
	text-align: center;
	color: #4A7CAD;
}
.table-bottom-text svg {
	margin-right: 10px;
}
.price_btn {
	border: none;
	float: right;
    padding: 14px 32px;
    border-radius: 40px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    max-width: 300px;
    background: #002C52;
    box-shadow: 0 4px 15px rgba(0, 44, 82, 0.3);
	text-decoration: none;
}
.price_btn:hover {
	background: #F45349;
}
.price_btn svg {
	margin-right: 10px;
}
.prices-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
}

/* ===== HERO ===== */
.prices-hero {
    background: url('/wp-content/themes/WP Kolibri/assets/images/image-07-07-26-11-04.png') no-repeat center center;
    background-size: cover;
    background-color: #E3E8F3;
    padding: 200px 0 180px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.prices-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.prices-breadcrumbs {
    font-size: 0.85rem;
    color: #5A6E7F;
    margin-bottom: 20px;
}

.prices-breadcrumbs a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prices-breadcrumbs a:hover {
    color: #F45349;
}

.prices-breadcrumbs .separator {
    margin: 0 8px;
    color: #B0C4D9;
}

.prices-breadcrumbs .current {
    color: #33384F;
    font-weight: 500;
}

.prices-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #162339;
    margin: 0 0 16px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.prices-subtitle {
    font-size: 1.05rem;
    color: #535A76;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* ===== НАПРАВЛЕНИЯ (6 столбцов) ===== */
.prices-directions {
    margin-top: -60px;
    position: relative;
    z-index: 3;
    padding-bottom: 60px;
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.direction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.direction-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.direction-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.direction-item:hover .direction-icon {
    transform: translateY(-2px);
}

.direction-name {
    font-size: 1rem;
    font-weight: 900;
    color: #133884;
    line-height: 1.2;
}

/* ===== ПОПУЛЯРНЫЕ УСЛУГИ ===== */
.prices-popular {
    padding: 20px 0 80px;
    background: #F7F9FE;
}

.popular-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.popular-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
}

.popular-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #447196;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.popular-all-link:hover {
    color: #F45349;
    gap: 12px;
}

.popular-all-link svg {
    transition: transform 0.3s ease;
}

.popular-all-link:hover svg {
    transform: translateX(4px);
}

/* ===== СЕТКА ПОПУЛЯРНЫХ УСЛУГ (3 колонки) ===== */
.popular-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== КАРТОЧКА ПОПУЛЯРНОЙ УСЛУГИ ===== */
.popular-service-card {
    display: flex;
    flex-direction: column;
    background: #FDFDFE;
    border: 1px solid #E3EBF4;
    border-radius: 12px;
    padding: 24px 24px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: visible;
    margin-top: 12px;
    min-height: 200px;
}

.popular-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #447196;
}

/* ===== МЕТКИ НА КАРТОЧКЕ ===== */
.service-card-badge {
    display: inline-block;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #275AC2;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(39, 90, 194, 0.25);
    white-space: nowrap;
}

.service-card-has-tags {
    border: 2.5px solid #A9BBEB !important;
}

/* ===== ЗАГОЛОВОК КАРТОЧКИ ===== */
.popular-service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.popular-service-icon {
    flex-shrink: 0;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #447196;
    border-radius: 100%;
    transition: all 0.3s ease;
}



.popular-service-icon svg {
    width: 75px;
    height: 75px;
    display: block;
}

.popular-service-icon img {
    width: 100%;
    height: 100%;
	border-radius: 100%;
    object-fit: contain;
    display: block;
}

.popular-service-header-text {
    flex: 1;
}

.popular-service-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #162F72;
    margin: 0 0 4px;
    line-height: 1.3;
}

.popular-service-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #104CB8;
	line-height: 2.5;
}

/* ===== ОСОБЕННОСТИ УСЛУГИ ===== */
.popular-service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.popular-service-features li {
    padding: 6px 0 6px 28px;
    font-size: 1rem;
    color: #8390B2;
    line-height: 1.2;
	font-weight: 600;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23447196' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") left center no-repeat;
    background-size: 16px;
    border-bottom: 1px solid #F5F7FA;
}

.popular-service-features li:last-child {
    border-bottom: none;
}

/* ===== КНОПКА "ПОДРОБНЕЕ" ===== */
.popular-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #ffffff;
    color: #265CC6;
    border: 1.5px solid #265CC6;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}

.popular-service-btn:hover {
    background: #265CC6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(38, 92, 198, 0.3);
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.popular-empty {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #E3EBF4;
    color: #5A6E7F;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .directions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .popular-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .prices-hero {
        padding: 150px 0 140px;
    }
    .prices-title {
        font-size: 2.2rem;
    }
    .popular-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .prices-hero {
        padding: 110px 0 120px;
        text-align: center;
        background-position: center center;
    }
    .prices-hero-content {
        padding: 0 16px;
        width: 100%;
    }
    .prices-title {
        font-size: 1.6rem;
    }
    .prices-subtitle {
        font-size: 0.95rem;
        margin: 0 auto;
    }
    .prices-breadcrumbs {
        text-align: center;
        font-size: 0.8rem;
    }
    .directions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px;
    }
    .direction-icon {
        width: 50px;
        height: 50px;
    }
    .direction-icon img {
        width: 30px;
        height: 30px;
    }
    .direction-name {
        font-size: 0.75rem;
    }
    .popular-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .popular-service-title {
        font-size: 0.9rem;
    }
    .popular-service-price {
        font-size: 0.85rem;
    }
    .popular-service-features li {
        font-size: 0.8rem;
    }
    .popular-service-btn {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
    .popular-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .prices-title {
        font-size: 1.3rem;
    }
    .prices-subtitle {
        font-size: 0.85rem;
    }
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    .direction-icon {
        width: 44px;
        height: 44px;
    }
    .direction-icon img {
        width: 26px;
        height: 26px;
    }
    .direction-name {
        font-size: 0.7rem;
    }
    .popular-services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .popular-service-card {
        padding: 18px 18px 22px;
    }
    .popular-service-title {
        font-size: 0.85rem;
    }
    .popular-service-price {
        font-size: 0.8rem;
    }
    .popular-service-features li {
        font-size: 0.78rem;
        padding: 4px 0 4px 24px;
        background-size: 14px;
    }
    .popular-service-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    .popular-title {
        font-size: 1.3rem;
    }
    .popular-all-link {
        font-size: 0.8rem;
    }
}
	
/* ============================================
   ТАБЛИЦА ЦЕН (в стиле сайта)
   ============================================ */

.prices-table-section {
    padding: 60px 0 80px;
    background: #F7F9FE;
}

/* ===== ЗАГОЛОВОК ===== */
.prices-table-header {
    text-align: center;
    margin-bottom: 40px;
}

.prices-table-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0B121B;
    margin: 0 0 8px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.prices-table-subtitle {
    font-size: 1rem;
    color: #5A6E7F;
    margin: 0;
}

/* ===== ОБЁРТКА ТАБЛИЦЫ ===== */
.prices-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #E3EBF4;
}

/* ===== ТАБЛИЦА ===== */
.prices-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
    min-width: 600px;
}

/* ===== ЗАГОЛОВОК ТАБЛИЦЫ ===== */
.prices-table thead tr {
    background: #EEF4FE;
}

.prices-table thead th {
    padding: 14px 20px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;

    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.prices-table thead th.col-number,
.prices-table thead th.col-code,
.prices-table thead th.col-duration,
.prices-table thead th.col-price {
    text-align: center;
}

/* ===== СТРОКА КАТЕГОРИИ ===== */
.prices-table .category-row td {
    background: #E8F0FE;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #002C52;
    border-top: 2px solid #B0C4D9;
    border-bottom: 2px solid #B0C4D9;
    letter-spacing: 0.3px;
    text-align: center;
}

/* ===== ЯЧЕЙКИ ТАБЛИЦЫ ===== */
.prices-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid #F0F4F9;
    vertical-align: middle;
}

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

/* ===== КОЛОНКА "№" ===== */
.prices-table .col-number {
    text-align: center;
    font-weight: 600;
    color: #33384F;
    width: 6%;
}

/* ===== КОЛОНКА "Код услуги" ===== */
.prices-table .col-code {
    text-align: center;
    font-size: 0.8rem;
    color: #5A6E7F;
    width: 14%;
}

/* ===== КОЛОНКА "Наименование" ===== */
.prices-table .col-name {
    width: 45%;
}

.prices-table .col-name a {
    color: #447196;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.prices-table .col-name a:hover {
    color: #F45349;
    text-decoration: underline;
}

/* ===== КОЛОНКА "Время / Кол-во" ===== */
.prices-table .col-duration {
    text-align: center;
    width: 20%;
    color: #33384F;
    font-size: 0.85rem;
}

/* ===== КОЛОНКА "Цена" ===== */
.prices-table .col-price {
    text-align: center;
    font-weight: 700;
    color: #447196;
    width: 15%;
    white-space: nowrap;
    font-size: 0.95rem;
}

/* ===== ЧЕРЕДОВАНИЕ СТРОК ===== */
.prices-table tbody tr:not(.category-row):nth-child(even) {
    background: #FAFCFE;
}

.prices-table tbody tr:not(.category-row):hover {
    background: #F0F7FF;
}

/* ===== ПУСТОЕ СОСТОЯНИЕ ===== */
.prices-table .table-empty {
    text-align: center;
    padding: 40px 20px;
    color: #5A6E7F;
    font-size: 0.95rem;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 992px) {
    .prices-table-section {
        padding: 40px 0 60px;
    }
    
    .prices-table-title {
        font-size: 1.6rem;
    }
    
    .prices-table {
        font-size: 0.85rem;
        min-width: 550px;
    }
    
    .prices-table thead th {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .prices-table tbody td {
        padding: 10px 16px;
    }
    
    .prices-table .col-code {
        font-size: 0.75rem;
    }
    
    .prices-table .category-row td {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .prices-table-section {
        padding: 30px 0 40px;
    }
    
    .prices-table-title {
        font-size: 1.3rem;
    }
    
    .prices-table-subtitle {
        font-size: 0.9rem;
    }
    
    .prices-table-wrapper {
        border-radius: 8px;
        padding: 0;
    }
    
    .prices-table {
        font-size: 0.75rem;
        min-width: 480px;
    }
    
    .prices-table thead th {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    .prices-table tbody td {
        padding: 8px 12px;
    }
    
    .prices-table .col-code {
        font-size: 0.65rem;
    }
    
    .prices-table .category-row td {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .prices-table .col-price {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .prices-table-title {
        font-size: 1.1rem;
    }
    
    .prices-table-subtitle {
        font-size: 0.8rem;
    }
    
    .prices-table {
        font-size: 0.65rem;
        min-width: 400px;
    }
    
    .prices-table thead th {
        padding: 6px 10px;
        font-size: 0.6rem;
    }
    
    .prices-table tbody td {
        padding: 6px 10px;
    }
    
    .prices-table .col-code {
        font-size: 0.55rem;
    }
    
    .prices-table .category-row td {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .prices-table .col-price {
        font-size: 0.7rem;
    }
}
