/* ===== ВЕРХНЯЯ ИНФО-ПАНЕЛЬ ===== */
.top-bar {
    background-color: var(--green-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 10px 0;
}

.top-bar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    white-space: nowrap;
}

.phone-box-wrapper {
    display: flex;
    align-items: center;
    gap: 5px
}

.phone-box-wrapper svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
}

.top-bar a {
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 0.75;
}

.top-search {
    position: relative;
    width: 320px;
}

.top-search input {
    width: 100%;
    padding: 8px 42px 8px 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transition: all 0.25s ease;
}

.top-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.top-search input:focus {
    outline: none;
    border-color: var(--peach);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(243, 182, 163, 0.15);
}

.top-search .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--peach);
    pointer-events: none;
}

/* ===== ШАПКА ===== */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    max-width: 200px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

nav {
    flex-grow: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    /* gap: 26px; */
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;
    font-family: var(--ff);
}

nav li {
    position: relative;
}

.main-nav li span,
nav a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
    position: relative;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a:hover {
    color: var(--green);
}

nav a::after {
    /* content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--green);
            transition: width 0.3s; */
}

nav a:hover::after {
    /* width: 100%; */
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ ===== */
.dropdown-toggle {
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle .caret {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.25s ease;
}

.dropdown:hover .dropdown-toggle .caret,
.dropdown.open .dropdown-toggle .caret {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(1, 118, 103, 0.15);
    border: 1px solid var(--border);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 200;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-gray);
    font-weight: 600;
    padding: 8px 12px 6px;
}

.dropdown-menu ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
}

.dropdown-menu ul li {
    position: static;
}

.dropdown-menu ul a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s;
    width: 100%;
}

.dropdown-menu ul a::after {
    display: none;
}

.dropdown-menu ul a:hover {
    background: var(--gray-light);
    color: var(--green);
    padding-left: 16px;
}

.dropdown-menu ul a .num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s;
}

.dropdown-menu ul a:hover .num {
    background: var(--green);
    color: var(--white);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== СКИДКА (белый) ===== */
.discount-banner-wrap {
    padding: 60px 0;
    background: var(--white);
}

.discount-banner {
    border-radius: var(--radius-lg);
    padding: 60px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.discount-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(243, 182, 163, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.discount-banner>* {
    position: relative;
    z-index: 1;
}

.discount-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.discount-banner p {
    margin-bottom: 28px;
    opacity: 0.9;
}

.discount-banner img {
    width: 100%;
    border-radius: var(--radius-md);
    height: 280px;
    object-fit: cover;
}

/* ===== КВИЗ (серый) ===== */
.quiz {
    padding: 60px 0 80px;
    background-color: var(--gray-light);
}

.quiz-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.quiz-card h2 {
    text-align: center;
    margin-bottom: 36px;
}

.quiz-question {
    margin-bottom: 28px;
}

.quiz-question p {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quiz-option {
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--gray-light);
    font-weight: 500;
}

.quiz-option:hover {
    border-color: var(--green);
    background: var(--white);
}

.quiz-option input[type="radio"] {
    display: none;
}

.quiz-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

/* ===== КОМПЛЕКС (белый) ===== */
.complex {
    padding: 60px 0;
    background: var(--white);
}

.complex-card {
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.complex-card h3 {
    color: var(--green);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.complex-list {
    list-style: none;
    margin-bottom: 28px;
}

.complex-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--text-gray);
}

.complex-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.complex-price {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--ff);
    color: var(--green);
    margin-bottom: 20px;
}

.complex-card img {
    width: 100%;
    border-radius: var(--radius-md);
    height: 280px;
    object-fit: cover;
}

/* ===== ГЛАВНЫЙ БАННЕР ===== */
.hero {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(1, 118, 103, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    /* background: radial-gradient(circle, rgba(243, 182, 163, 0.3) 0%, transparent 70%); */
    border-radius: 50%;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-light);
    color: var(--green);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(1, 118, 103, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(1, 118, 103, 0.15);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(1, 118, 103, 0.05);
    }
}

.hero-content h1 {
    font-size: 3.4rem;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content h1 .accent {
    color: var(--green);
    position: relative;
    display: inline-block;
}

.hero-content h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--peach);
    opacity: 0.5;
    border-radius: 4px;
    z-index: -1;
}

.hero-content .subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(1, 118, 103, 0.15);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 520px;
    position: relative;
    z-index: 2;
}


.hero-float-card {
    position: absolute;
    bottom: -24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 16px 40px rgba(1, 118, 103, 0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    border: 1px solid var(--border);
}

.hero-float-card .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-float-card .info .title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.hero-float-card .info .desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.hero-top-badge {
    position: absolute;
    top: 0;
    background: var(--white);
    border-radius: 50px;
    border: 1px solid var(--green-dark);
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
    box-shadow: 0 12px 30px rgba(1, 118, 103, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    font-family: var(--ff);
}

.hero-top-badge .star {
    color: #FFB800;
}

/* ===== ЧТО ТАКОЕ МРТ (белый) ===== */
.about-mrt {
    padding: 80px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 48px;
    border: 1px solid var(--border);
}

.about-grid img {
    width: 100%;
    border-radius: var(--radius-md);
    height: 340px;
    object-fit: cover;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

/* ============================================ */
/* ===== Услуги === */
/* ============================================ */
.services {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.services-header {
    text-align: center;
    margin-bottom: 16px;
}

.services-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 620px;
    margin: 0 auto 48px;
}

/* Фильтры-пилюли */
.services-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    font-family: var(--ff);
}

.filter-pill {
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.filter-pill:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.filter-pill.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    box-shadow: 0 8px 20px rgba(1, 118, 103, 0.25);
}

/* Сетка карточек с превью */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

.showcase-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-mid);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.08);
}

.showcase-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 74, 64, 0) 40%, rgba(1, 74, 64, 0.75) 100%);
}

.showcase-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    font-family: var(--ff);
}

.showcase-badge.popular {
    left: auto;
    right: 16px;
}

.showcase-duration {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--ff);
    color: var(--white);
    z-index: 2;
}

.showcase-duration svg {
    width: 13px;
    height: 13px;
}

.showcase-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.showcase-body h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.showcase-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
    gap: 12px;
}

.showcase-price {
    display: flex;
    flex-direction: column;
}

.showcase-price .price-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.showcase-price .price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1.1;
    font-family: var(--ff);
}

.showcase-price .price-value.sales {
    font-size: 1rem;
    font-weight: normal;
    text-decoration: line-through;
    color: rgb(190, 28, 28);
}

.showcase-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.showcase-btn:hover {
    background: var(--green);
    color: var(--white);
    transform: translateX(4px);
}

.showcase-btn svg {
    width: 18px;
    height: 18px;
}

/* CTA-карточка в конце сетки */
.showcase-card-cta {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    order: 1;
}

.showcase-card-cta::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(243, 182, 163, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.showcase-card-cta>* {
    position: relative;
    z-index: 1;
}

.showcase-card-cta .cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
}

.showcase-card-cta h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 12px;
    margin-top: 0;
}

.showcase-card-cta p {
    font-size: 0.92rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}

.showcase-card-cta .btn {
    align-self: center;
}

/* Кнопка "Показать ещё" под сеткой услуг */
.services-load-more {
    display: block;
    margin: 40px auto 0;
    padding: 14px 40px;
    border-radius: 50px;
    background: var(--white);
    border: 1.5px solid var(--green);
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--ff);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
    grid-column: 1 / -1;
    order: 2;
    justify-self: center;
}

.services-load-more:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(1, 118, 103, 0.25);
}

.services-load-more:active {
    transform: translateY(0);
}

.advent-prices {
    margin-top: 64px;
}

a {
    color: inherit;
    text-decoration: none
}

section {
    padding: var(--default-padding) 0;
}

.section-head {
    margin-bottom: 36px;
    max-width: 680px;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 10px;
}

.section-head h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--teal-700);
    line-height: 1.15;
    margin: 0;
}

.section-head p {
    color: var(--muted);
    margin-top: 10px;
    font-size: 16px
}

/* ============================================
   СЕКЦИЯ АКЦИЙ (PROMO SLIDER)
   ============================================ */
.promo-section {
    padding: 60px 0 80px;
    overflow: hidden;
}

.promo-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.promo-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--teal-700);
    line-height: 1.15;
    margin: 0;
}

/* Кнопки навигации */
.promo-nav-buttons {
    display: flex;
    gap: 12px;
}

.promo-nav-buttons button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 118, 103, 0.05);
}

.promo-nav-buttons button:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.promo-nav-buttons button svg {
    width: 20px;
    height: 20px;
}

.promo-nav-buttons button.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Карточка */
.promo-swiper {
    /* overflow: visible; */
    padding-top: 20px;
}

.promo-card {
    background: var(--bg);
    /* Фон карточки совпадает с фоном секции */
    border: 2px dashed var(--green);
    /* Пунктирная рамка */
    border-radius: var(--radius-lg);
    padding: 30px 32px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Плашка в углу */
.promo-badge {
    position: absolute;
    top: -16px;
    /* Выступает за границы карточки */
    right: 24px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    z-index: 2;
}

.promo-badge.badge-price {
    background-color: var(--green);
    box-shadow: 0 4px 12px rgba(1, 118, 103, 0.2);
}

.promo-badge.badge-percent {
    background-color: var(--green);
    /* В макете обе плашки зеленые */
    box-shadow: 0 4px 12px rgba(1, 118, 103, 0.2);
}

/* Контент карточки */
.promo-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promo-card-title {
    font-size: 1.25rem;
    color: var(--green-dark);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    margin-top: 0;
}

.promo-card-content {
    flex-grow: 1;
    /* Растягивает контент, чтобы кнопка была прижата к низу */
    margin-bottom: 24px;
}

/* Список */
.promo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.promo-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.promo-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 1.2rem;
    line-height: 1;
}

/* Старая цена */
.promo-old-price {
    font-size: 1rem;
    color: var(--text-gray);
    text-decoration: line-through;
    font-weight: 500;
}

/* Текст описания */
.promo-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Кнопка */
.promo-btn {
    align-self: flex-start;
    /* Кнопка слева */
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    margin-top: auto;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .promo-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .promo-section {
        padding: 40px 0 60px;
    }

    .promo-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .promo-title {
        font-size: 1.3rem;
    }

    .promo-nav-buttons {
        align-self: flex-end;
    }

    .promo-card {
        padding: 32px 24px 24px;
    }

    .promo-badge {
        right: 16px;
        top: -14px;
        padding: 6px 16px;
        font-size: 1rem;
    }

    .promo-card-title {
        font-size: 1.15rem;
        padding-right: 40px;
    }
}

/* ============================================
   СЕКЦИЯ ДОКУМЕНТОВ И ЛИЦЕНЗИЙ
   ============================================ */
.docs-section {

}

.docs-title {
    color: var(--green-dark);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.doc-card {
    background: var(--white);
    border: 1px solid #B8E2D8;
    /* Светло-зеленая рамка, как на макете */
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(1, 118, 103, 0.03);
    transition: box-shadow 0.3s ease;
}

.doc-card:hover {
    box-shadow: 0 12px 24px rgba(1, 118, 103, 0.08);
}

.doc-image-wrap {
    background-color: #EAF5F2;
    /* Светло-зеленый подложка для фото */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-height: 260px;
    /* Чтобы карточки были одинаковыми по высоте */
}

.doc-image-wrap img {
    max-width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Легкая тень для самого документа */
    border-radius: 4px;
}

.doc-info {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.doc-name {
    color: var(--green-dark);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.docs-action {
    text-align: center;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 колонки на планшетах */
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .docs-section {
        padding: 40px 0 60px;
    }

    .docs-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .docs-grid {
        grid-template-columns: 1fr;
        /* 1 колонка на мобильных */
        gap: 16px;
    }

    .doc-image-wrap {
        min-height: 200px;
        padding: 16px;
    }

    .doc-image-wrap img {
        max-height: 180px;
    }

}

/* ---------- ГЕРОЙ ---------- */
.hero {
    padding: 56px 0 40px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center
}

.hero h1 {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--teal-900);
    font-weight: 800;
    margin-bottom: 18px
}

.hero p.lead {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 520px
}

.hero-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted)
}

.meta-item b {
    color: var(--teal-900);
    font-weight: 700
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-500)
}

.price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.price-row.end {
    align-items: flex-end;
}
.price {
    font-size: 40px;
    font-weight: 800;
    color: var(--teal-900);
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
}
.price.end {
    align-items: flex-end;
}

.price small {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted);
    margin-left: 4px;
}
.price.end small {
    margin-bottom: 4px;
}

.price-tag {
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.cta-note {
    font-size: 13px;
    color: var(--muted);
    margin-top: 14px
}

.hero-visual {
    position: relative
}

.hero-photo {
    width: 100%;
    aspect-ratio: 4/3.2;
    border-radius: 24px;
    background: radial-gradient(circle at 30% 20%, #b9dede, transparent 55%),
        linear-gradient(135deg, #0E5C5E, #128A8C);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-photo .scan-ring {
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .35);
    display: grid;
    place-items: center;
    animation: spin 18s linear infinite;
}

.hero-photo .scan-core {
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .35);
    display: grid;
    place-items: center;
    font-size: 34px;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.badge-card {
    position: absolute;
    right: -14px;
    top: 26px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 12px 30px rgba(11, 59, 60, .14);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 250px;
}

.badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--teal-50);
    display: grid;
    place-items: center;
    color: var(--teal-700);
    font-size: 18px;
}

.badge-card b {
    display: block;
    font-size: 14px;
    color: var(--green)
}

.badge-card span {
    font-size: 12px;
    color: var(--muted)
}

.badge-card.second {
    top: auto;
    bottom: 26px;
    right: auto;
    left: -14px
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature .f-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--teal-50);
    color: var(--teal-700);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.feature b {
    display: block;
    font-size: 15px;
    color: var(--teal-900);
    margin-bottom: 2px
}

.feature span {
    font-size: 13px;
    color: var(--muted)
}

/* ---------- АККОРДЕОН ---------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s;
}

.acc-item[open] {
    box-shadow: var(--shadow)
}

.acc-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal-900);
    font-family: var(--ff);
}

.acc-item summary::-webkit-details-marker {
    display: none
}

.acc-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--teal-500);
    flex-shrink: 0;
    transition: transform .2s;
}

.acc-item[open] summary::after {
    content: '−';
    transform: rotate(180deg)
}

.acc-body {
    padding: 0 26px 24px;
    color: var(--teal-700);
    font-size: 15px
}

.acc-body ul {
    /* margin:10px 0 0 18px; */
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.acc-body li {
    line-height: 1.55
}

.acc-body h3 {
    font-size: 1.15rem;
    font-weight: 500;
}


.acc-item table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 0.95rem;
    text-align: left;
    display: block; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.acc-item table th {
    background-color: var(--gray-light);
    color: var(--text-dark);
    font-weight: 600;
    padding: 14px 16px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.acc-item table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    color: var(--text-dark);
    line-height: 1.5;
    vertical-align: top;
}

.acc-item table {
    border: none;
}

.acc-item table tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
    .acc-item table tr:hover td {
        background-color: var(--green-soft);
        transition: background-color 0.2s ease;
    }
}
@media (max-width: 768px) {
    .acc-item table td {
        padding: 4px 6px;
    }
}

.content-block-wrapper table th,
.content-block-wrapper table td {
    min-width: 120px;
}

/* ---------- ЦЕНЫ ---------- */
.prices {
    background: #fff
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.price-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg);
    transition: .15s;
}

.price-item a:hover {
    text-decoration: underline;
}

.price-item:hover {
    border-color: var(--teal-300);
    background: #fff
}

.price-item .name {
    font-size: 16px;
    font-weight: 600;
    color: var(--teal-900)
}

.price-item .name span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px
}

.price-item .amount {
    font-size: 20px;
    font-weight: 800;
    color: var(--teal-700);
    white-space: nowrap;
    font-family: var(--ff);
    text-align: right;
}

.price-item .btn {
    padding: 10px 18px;
    font-size: 14px
}

.price-note {
    font-size: 12px;
    font-family: var(--ff);
    font-weight: 500;
    color: var(--green-dark);
}

.price-number {
    position: relative;
}

.price-item .warning-price .price-number::after {
    content: '*';
    margin-left: 5px;
    color: red;
}

/* ===== FAQ  ===== */
.faq {
    padding: var(--default-padding) 0;
}
.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
	position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: var(--green);
}
.faq .faq-item:last-child {
	margin-bottom: 0;
}
.faq-question {
	position: relative;
	padding: 24px 32px;
	cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}
.faq-item .faq-question::after {
	content: "+";
	position: absolute;
	right: 20px;
	font-size: 30px;
    transition: all .2s ease-in-out;
}
.faq-item.active .faq-question::after {
	transform: rotate(45deg);
}
.faq-answer {
	position: relative;
	overflow: hidden;
	max-height: 0;
    border-radius: 10px;
    padding: 0 32px;
	transition: 0.3s;
}
.faq-answer p {
	padding: 20px;
	margin: 0;
}
.faq-answer > * {
    padding-bottom: 20px;
}

@media (max-width: 780px) {
    .faq-question {
        padding: 18px 16px;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 16px;
        font-size: 0.9rem;
    }
    .faq-item .faq-question::after {
        right: 10px;
    }
}

/* ---------- ВРАЧИ ---------- */
.gradient-section {
    background-color: var(--off-white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.doctor {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .2s;
    display: flex;
    flex-direction: column;
}

.doctor:hover {
    box-shadow: var(--shadow);
    border-color: var(--teal-300)
}

.doctor-photo {
    aspect-ratio: 1/1.05;
    background: linear-gradient(135deg, #d9efef, #7fc7c8);
    display: grid;
    place-items: center;
}

.doctor-photo img {
    aspect-ratio: 1/1.05;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1
}

.doctor-body h3 {
    font-size: 16px;
    color: var(--green);
    font-weight: 700;
    line-height: 1.25;
    flex-grow: 1;
}

.doctor-body .role {
    font-size: 13px;
    color: var(--muted)
}

.doctor-body .exp {
    display: inline-block;
    align-self: flex-start;
    margin-top: 8px;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.doctor-body .btn {
    margin-top: 14px;
    box-sizing: border-box;
}

/* ---------- ОБОРУДОВАНИЕ ---------- */
.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    color: #fff;
    gap: 20px;
}

.equipment-img-cell .default-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
}

.equipment-img-cell .current-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    align-self: center;
    justify-self: center;
    border-radius: var(--radius-md);
}

.equipment h2 {
    margin-top: 0;
}

.equipment {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    border-radius: 24px;
    overflow: hidden;
    padding: 56px 48px;
}

.equipment .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0
}

.equip-visual {
    /* background:var(--green); */
    display: grid;
    place-items: center;
    min-height: 340px;
}

/* img {
        width: 100%;
      border-radius: var(--radius-md);
      height: 320px;
      object-fit: cover;
  } */
/* .equip-text{padding:56px 48px} */
.equip-text h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 16px
}

.equip-text p {
    color: #B8D6D5;
    font-size: 15px;
    margin-bottom: 14px
}

.equip-text .specs {
    display: flex;
    gap: 28px;
    margin-top: 24px;
    flex-wrap: wrap
}

.spec b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--teal-300)
}

.spec span {
    font-size: 13px;
    color: #B8D6D5
}

/* ---------- ФОРМА + КАРТА ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch
}

.map-box {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 460px;
    background:
        linear-gradient(rgba(11, 59, 60, .04), rgba(11, 59, 60, .04)),
        repeating-linear-gradient(0deg, transparent, transparent 39px, #dce7e6 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, #dce7e6 40px),
        #eef5f4;
    position: relative;
    border: 1px solid var(--line);
}

.map-pin {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--teal-500);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 0 0 10px rgba(18, 138, 140, .15), 0 0 0 22px rgba(18, 138, 140, .08);
}

.map-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.map-info b {
    display: block;
    font-size: 14px;
    color: var(--green)
}

.map-info span {
    font-size: 13px;
    color: var(--muted)
}

.map-info a {
    color: var(--teal-700);
    font-weight: 600;
    font-size: 13px
}

.map-info a:hover {
    text-decoration: underline
}

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.form-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--green);
    margin-bottom: 6px;
    margin-top: 0;
}

.form-card>p {
    font-size: 14px;
    color: var(--muted);
    margin: 7px 0;
}

.field {
    margin-bottom: 10px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 6px;
}

.field input,
.field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg);
    transition: .15s;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18, 138, 140, .12);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
    text-align: center;
    line-height: 1.5;
    display: flex;
    align-items: center;
    column-gap: 5px;
}

/* ---------- CTA-ПОЛОСА ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.cta-band h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px
}

.cta-band p {
    color: #CFE7E6;
    font-size: 15px;
    max-width: 520px
}

.cta-band .btn {
    background: #fff;
    color: var(--teal-700)
}

.cta-band .btn:hover {
    background: var(--teal-50)
}

/* ===== ФУТЕР ===== */
footer {
    background: var(--green-dark);
    color: var(--white);
    padding: 60px 0 30px;
    font-family: var(--ff);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-brand .logo-mark {
    background: var(--white);
    color: var(--green-dark);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.85rem;

}

footer .socials a {
    filter: invert(90%);
}

.vk_link {
    background: url(../images/icons/vk.svg)no-repeat center;
}

.whatsapp_link {
    background: url(../images/icons/whatsapp.svg)no-repeat center;
}

.telegram_link {
    background: url(../images/icons/telegram.svg)no-repeat center;
}

/* .socials a:hover {
            background: var(--white);
            color: var(--green-dark);
            transform: translateY(-3px);
        } */
.logo-footer {
    /* filter: invert(1); */
    filter: brightness(1.4);
}

/* ---------- АДАПТИВ ---------- */
@media(max-width:960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .hero h1 {
        font-size: 34px
    }

    .menu {
        display: none
    }

    .features {
        grid-template-columns: 1fr
    }

    .badge-card {
        right: 10px
    }

    .badge-card.second {
        left: 10px
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .equipment .container {
        grid-template-columns: 1fr
    }

    .contact-grid {
        grid-template-columns: 1fr
    }

    .price-item {
        grid-template-columns: 1fr auto;
        row-gap: 12px
    }

    .price-item .btn {
        grid-column: 1/-1
    }

    .cta-band {
        padding: 36px;
        text-align: left
    }
}

@media(max-width:600px) {
    section {
        padding: var(--default-padding) 0
    }

    .topbar-left span:nth-child(2) {
        display: none
    }

    .hero h1 {
        font-size: 28px
    }

    .price {
        font-size: 32px
    }

    .nav {
        height: 64px
    }

    .phone {
        display: none
    }

    .section-head h2 {
        font-size: 26px
    }

    .doctors-grid {
        grid-template-columns: 1fr
    }

    .equip-text {
        padding: 0;
    }

    .form-card {
        padding: 24px
    }

    .cta-band {
        padding: 28px;
        grid-template-columns: none;
        gap: 16px;
    }

    .cta-band h2 {
        font-size: 22px
    }

    .order_fast .d-flex {
        flex-direction: column;
        row-gap: 16px;
    }

    .acc-body ul,
    .acc-body ol {
        margin: 0;
    }

    .equipment {
        padding: 12px;
    }

    .equipment-grid {
        grid-template-columns: none;
    }

    .btn-area {
        flex-direction: column;
        row-gap: 12px;
        display: flex;
    }
}

.offcanvas {
    position: fixed;
    bottom: 0;
    z-index: 1045;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #212121;
    visibility: hidden;
    background-color: #F8F8F8;
    background-clip: padding-box;
    outline: 0;
    transition: all 0.3s ease-in-out;
    top: 0;
    right: 0;
    left: 0;
    max-width: 460px;
    transform: translateX(-100%);
}

.offcanvas.show {
    transform: none;
    visibility: visible;
}

.btn-close {
    position: absolute;
    right: 20px;
    top: 10px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    outline: none;
}

.btn-canvas-action {
    padding: 0;
    height: 40px;
    width: 31px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.btn-canvas-action span {
    width: 100%;
    background-color: var(--green);
    height: 3px;
}

.offcanvas-body {
    height: 100%;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 780px) {
    .top-bar-left {
        flex-direction: column;
    }

    .top-bar-inner {
        grid-template-columns: none;
    }
}

.menu_mobile {
    flex-direction: column;
}

.av-toggle-wrap {
    margin: 0;
}

.av-toggle__text {
    max-width: 120px;
}

.av-toggle {
    padding-right: 5px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {

    /* nav ul {
        gap: 16px;
    } */
    nav a {
        font-size: 0.88rem;
    }

    .top-search {
        width: 240px;
    }

    .top-bar-left .top-bar-item:first-child {
        display: none;
    }
}

@media (max-width: 1024px) {

    .hero-inner,
    .about-grid,
    .equipment-card,
    .discount-banner,
    .complex-card {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .services-showcase,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* nav {
        display: none;
    } */

    .hero-content h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .top-bar-inner {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-items: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
    }

    .hero-image::before {
        display: none;
    }

}

@media (max-width: 640px) {

    .services-showcase,
    .benefits-grid,
    .quiz-options,
    .equipment-stats,
    .footer-grid,
    .contacts-map-card .map-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer-col h4 {
        margin-top: 0;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stat .num {
        font-size: 1.5rem;
    }

    .hero-buttons .btn {
        /* width: 100%; */
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-image img {
        height: 320px;
    }

    .hero-float-card {
        bottom: 12px;
        left: 12px;
        padding: 12px 16px;
    }

    .discount-banner,
    .equipment-card,
    .quiz-card,
    .about-grid,
    .complex-card,
    .contacts-form-card {
        padding: 32px 24px;
    }

    .top-search {
        width: 100%;
        max-width: 320px;
        display: none;
    }

    .top-bar-left {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .price-item {
        padding: 12px;
    }

    .price-note {
        max-width: 150px;
    }

    .price-item .amount {
        white-space: unset;
    }

    .faq-item.open .faq-answer {
        max-height: 800px;
    }

    .about-grid {
        gap: 0;
    }

    .about-grid img {
        height: auto;
    }
}

/* ===== Базовая обёртка aside ===== */
aside {
    width: 280px;
    max-width: 100%;
    padding: 20px 0;
    height: 100vh;
    overflow-y: auto;
    position: sticky;
    top: 0;
    scrollbar-width: thin;
    scrollbar-color: #cfd6e0 transparent;
}

aside::-webkit-scrollbar {
    width: 6px;
}

aside::-webkit-scrollbar-thumb {
    background: #cfd6e0;
    border-radius: 3px;
}

.categories_box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== Список меню ===== */
.menu_mobile {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.menu_mobile>li {
    position: relative;
}

/* ===== Ссылки и span-заголовки ===== */
.menu_mobile .menu_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    color: #2c3444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
}

.offcanvas-contacts {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

/* ===== Стрелочка у пунктов с подменю ===== */
.menu_mobile .menu-item-has-children>.menu_link::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    opacity: 0.7;
    display: none;
}

.menu_mobile .menu-item-has-children.open>.menu_link::after {
    transform: rotate(-135deg);
}

/* ===== Подменю (свёрнуто по умолчанию) ===== */
.menu_mobile .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #f8fafc;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding-left: 0;
    padding-right: 0;
}

.menu_mobile .menu-item-has-children.open>.sub-menu {
    max-height: 500px;
    /* запас под длину */
    padding: 6px 0;
}

/* Пункты подменю */
.menu_mobile .sub-menu .sub-menu-item .menu_link {
    padding: 9px 22px 9px 40px;
    font-size: 14px;
    font-weight: 400;
    color: #4b5563;
    border-left: 3px solid transparent;
    position: relative;
}

/* Точка-маркер слева от подпункта */
.menu_mobile .sub-menu .sub-menu-item .menu_link::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c4ccd8;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}

.menu_mobile .sub-menu .sub-menu-item .menu_link:hover {
    background: #eef4ff;
    color: #0f62fe;
    border-left-color: #0f62fe;
}

.menu_mobile .sub-menu .sub-menu-item .menu_link:hover::before {
    background: #0f62fe;
}

/* Убираем стрелку у подпунктов */
.menu_mobile .sub-menu .menu_link::after {
    display: none;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inherit;
}

.top-search .socials a {
    border: none;
    filter: invert();
}

.offcanvas-body .socials a {
    border: none;
}

.popular-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 768px) {
    .popular-list {
        grid-template-columns: none;
    }

    .top-search .socials {
        display: none;
    }

    aside {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e6e9ef;
        box-shadow: none;
    }

    .mobile-only {
        display: inherit;
    }

    .desktop-only {
        display: none;
    }

    .menu_mobile .menu_link {
        font-size: 16px;
    }

    .sub-menu .sub-menu-item .menu_link {
        padding-left: 36px;
    }

    .sub-menu .sub-menu-item .menu_link::before {
        left: 20px;
    }

    .hero-badge {
        margin-bottom: 0;
        padding-left: 0;
    }

    .logo {
        max-width: 150px;
    }

    .showcase-image {
        display: none;
    }

    .showcase-body h3 {
        margin-top: 0;
    }

    .showcase-desc {
        display: none;
    }

    .services-load-more {
        order: 1;
        margin-top: 20px;
    }

    .showcase-card-cta {
        order: 2;
    }
}